what-the-bank/sources/com/scb/phone/view/activity/ccrredemption/ecoupon/MyECouponActivity.java

860 lines
45 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ccrredemption.ecoupon;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import android.widget.TextView;
import androidx.appcompat.widget.Toolbar;
import androidx.viewpager.widget.ViewPager;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.android.material.tabs.TabLayout;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.custom.common.NonSwipeableViewPager;
import java.lang.reflect.Method;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import o.C12074erO;
import o.C14957gcv;
import o.C4403bZM;
import o.InterfaceC10108dwY;
import o.jTb;
import o.nMh;
import o.xzZ;
import o.yRS;
import org.jmrtd.lds.CVCAFile;
/* loaded from: classes4.dex */
public final class MyECouponActivity extends Hilt_MyECouponActivity {
public static final HBt b;
private static char p;
private static char q;
private static char r;
private static int[] s;
private static char t;
private static int v;
private C12074erO k;
private String l;
public InterfaceC10108dwY m;
/* renamed from: o, reason: collision with root package name */
private boolean f6684o;
@BindView
public TabLayout tabLayout;
@BindView
public NonSwipeableViewPager vpECouponViewPager;
private static final byte[] $$E = {110, 84, -61, CVCAFile.CAR_TAG};
private static final int $$F = 206;
private static int $10 = 0;
private static int $11 = 1;
private static int y = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0027). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aJ(int r6, byte r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 3
int r6 = 4 - r6
byte[] r0 = com.scb.phone.view.activity.ccrredemption.ecoupon.MyECouponActivity.$$E
int r7 = r7 * 3
int r7 = r7 + 1
int r8 = r8 + 66
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r4 = r2
r8 = r7
goto L27
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r8
r1[r3] = r5
if (r4 != r7) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
r3 = r0[r6]
L27:
int r8 = r8 + r3
int r6 = r6 + 1
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.ecoupon.MyECouponActivity.aJ(int, byte, int, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object e(Object[] objArr) {
MyECouponActivity myECouponActivity = (MyECouponActivity) objArr[0];
int i = 2 % 2;
int i2 = v + 59;
int i3 = i2 % 128;
y = i3;
int i4 = i2 % 2;
InterfaceC10108dwY interfaceC10108dwY = myECouponActivity.m;
if (i4 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i5 = i3 + 113;
v = i5 % 128;
int i6 = i5 % 2;
return interfaceC10108dwY;
}
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public static Intent ZN_(Context context, String str, boolean z) {
C14957gcv.e(context, "");
C14957gcv.e(str, "");
Intent intent = new Intent(context, (Class<?>) MyECouponActivity.class);
intent.putExtra("EXTRA_MY_E_COUPON_CARD_REF_KEY", str);
intent.putExtra("EXTRA_E_COUPON_IS_FROM_DEEP_LINK_FLOW", z);
return intent;
}
public /* synthetic */ HBt(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = y + 93;
v = i2 % 128;
int i3 = i2 % 2;
h();
super.Z();
setTitle(R.string.my_e_coupons);
ac();
int i4 = y + 99;
v = i4 % 128;
int i5 = i4 % 2;
}
/* loaded from: classes4.dex */
public static final class Sts implements ViewPager.ojQ {
private MyECouponActivity d;
@Override // androidx.viewpager.widget.ViewPager.ojQ
public final void onPageScrollStateChanged(int i) {
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public final void onPageSelected(int i) {
}
Sts(MyECouponActivity myECouponActivity) {
this.d = myECouponActivity;
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public final void onPageScrolled(int i, float f, int i2) {
Object[] objArr = {this.d};
InterfaceC10108dwY interfaceC10108dwY = (InterfaceC10108dwY) MyECouponActivity.e(objArr);
if (interfaceC10108dwY != null) {
interfaceC10108dwY.a(i, i2);
}
}
}
private static void aG(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
int i4 = $10 + 83;
$11 = i4 % 128;
int i5 = i4 % 2;
while (jtb.b < cArr.length) {
int i6 = $10 + 123;
$11 = i6 % 128;
int i7 = i6 % 2;
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i8 = 58224;
int i9 = i3;
while (i9 < 16) {
int i10 = $11 + 75;
$10 = i10 % 128;
int i11 = i10 % 2;
char c = cArr3[1];
char c2 = cArr3[i3];
int i12 = (c2 + i8) ^ ((c2 << 4) + ((char) (p ^ 41718355337583039L)));
int i13 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(q);
objArr2[2] = Integer.valueOf(i13);
objArr2[1] = Integer.valueOf(i12);
objArr2[i3] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - TextUtils.indexOf("", ""), 5 - Color.green(i3), (char) TextUtils.getTrimmedLength(""));
byte b2 = (byte) i3;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aJ(b2, b3, b3, objArr3);
String str = (String) objArr3[i3];
Class<?>[] clsArr = new Class[4];
clsArr[i3] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i3]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (r ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(t)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 412, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aJ(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i8 -= 40503;
i9++;
cArr3 = cArr4;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 98, View.getDefaultSize(0, 0) + 5, (char) TextUtils.getOffsetAfter("", 0));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aJ(b6, b7, (byte) (b7 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i3 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
private static void aI(int[] iArr, int i, Object[] objArr) {
int i2;
int i3;
int i4 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = s;
long j = 0;
int i5 = 729798706;
int i6 = 1;
char c = 0;
if (iArr2 != null) {
int i7 = $10;
int i8 = i7 + 69;
$11 = i8 % 128;
int i9 = i8 % 2;
int length = iArr2.length;
int[] iArr3 = new int[length];
int i10 = i7 + 47;
$11 = i10 % 128;
int i11 = i10 % 2;
int i12 = 0;
while (i12 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[c] = Integer.valueOf(iArr2[i12]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionGroup(j) + 15, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i12] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i12++;
j = 0;
c = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr2 = iArr3;
}
int length2 = iArr2.length;
int[] iArr4 = new int[length2];
int[] iArr5 = s;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i13 = 0;
while (i13 < length3) {
int i14 = $10 + 11;
$11 = i14 % 128;
if (i14 % 2 == 0) {
Object[] objArr3 = new Object[i6];
objArr3[0] = Integer.valueOf(iArr5[i13]);
Object obj2 = xzZ.y.get(Integer.valueOf(i5));
if (obj2 != null) {
i3 = length3;
} else {
obj2 = ((Class) xzZ.c(15 - TextUtils.getCapsMode("", 0, 0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE);
i3 = length3;
xzZ.y.put(729798706, obj2);
}
iArr6[i13] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i13--;
length3 = i3;
i5 = 729798706;
} else {
int i15 = length3;
Object[] objArr4 = {Integer.valueOf(iArr5[i13])};
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
i2 = 729798706;
} else {
obj3 = ((Class) xzZ.c(15 - (ViewConfiguration.getLongPressTimeout() >> 16), Gravity.getAbsoluteGravity(0, 0) + 5, (char) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 58134))).getMethod("i", Integer.TYPE);
i2 = 729798706;
xzZ.y.put(729798706, obj3);
}
iArr6[i13] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i13++;
i5 = i2;
length3 = i15;
}
i6 = 1;
}
iArr5 = iArr6;
}
char c2 = 0;
System.arraycopy(iArr5, 0, iArr4, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
cArr[c2] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr4);
int i16 = 0;
for (int i17 = 16; i16 < i17; i17 = 16) {
c4403bZM.e ^= iArr4[i16];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 118, 4 - TextUtils.lastIndexOf("", '0'), (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr6 = new Object[1];
aJ(b2, b3, (byte) (b3 | 38), objArr6);
obj4 = cls.getMethod((String) objArr6[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i16++;
}
int i18 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i18;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i19 = c4403bZM.e;
int i20 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr4);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr7 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c((Process.myTid() >> 22) + 98, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) ((-1) - TextUtils.lastIndexOf("", '0')));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr8 = new Object[1];
aJ(b4, b5, (byte) (b5 | ISO7816.INS_CHANGE_CHV), objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr7);
c2 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_MyECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.BaseECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_BaseECouponActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onCreate(Bundle bundle) {
String str;
Bundle extras;
String string;
int i = 2 % 2;
Object[] objArr = new Object[1];
aG(new char[]{10427, 59421, 19703, 11528, 26513, 11860, 25684, 52205, 8394, 4437, 5582, 29398, 44533, 48628, 6192, 5198, 55007, 5461}, 18 - (Process.myTid() >> 22), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{21881, 56157, 48228, 44092, 41973, 38763}, Drawable.resolveOpacity(0, 0) + 5, objArr2);
NonSwipeableViewPager nonSwipeableViewPager = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aG(new char[]{10427, 59421, 19703, 11528, 26513, 11860, 25684, 52205, 35493, 5988, 14824, 6119, 34350, 50260, 23473, 5906, 11927, 25495, 3569, 43632, 29563, 56822, 27902, 36705, 49759, 7757}, TextUtils.lastIndexOf("", '0') + 27, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aG(new char[]{49031, 10873, 50504, 32725, 58345, 63248, 46586, 57534, 54920, 27189, 37825, 57658, 15138, 4566, 23473, 5906, 52716, 26319}, TextUtils.getOffsetBefore("", 0) + 18, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getEdgeSlop() >> 16), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (Process.myTid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aG(new char[]{9979, 38444, 32668, 44916, 1507, 17686, 28812, 61634, 42014, 65186, 59424, 36411, 26925, 60497, 28586, 61784, 51500, 42134, 21223, 58866, 31675, 14870, 11936, 42486, 63819, 59016, 44421, 60692, 18179, 18118, 50636, 60180, 9781, 4567, 12202, 54341, 41199, 23297, 63756, 14986, 45271, 7323, 7992, 63501, 49738, 30292, 30196, 1922}, 47 - TextUtils.lastIndexOf("", '0', 0), objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new int[]{-885342798, -208580560, -1073451273, 1009183059, -1765370786, 1467939284, -1825292101, 938222352, 1428300820, -1835007996, -733965984, -1653923422, 1510562740, 928529159, -1234643678, -434209010, -1387654434, 871841009, -1125660664, -1284329333, -1243049465, 2079851167, 707825393, 355440323, -209421481, -1720619474, 2068413442, -462310802, 1365381947, -1251904169, 838582212, -800618195}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_document_description_mhmc).substring(65, 66).codePointAt(0) + 32, objArr6);
String str3 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new int[]{1002008616, 1236640700, -1801025233, 2145168368, 1293246975, 108050272, 946197418, 683271766, 162583696, 518626688, -413063854, -2010874585, 1942999957, -194635367, -663456008, -1457897251, -147053195, 874137876, 650720854, 331735206, -1084158479, -143390317, 139769395, 574760833, 231163409, -1983241216, 1482206842, 169362646, -805531813, 507901851, 425202457, -1290227623}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr7);
String str4 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new char[]{50426, 44348, 32618, 26502, 42879, 7115, 37818, 26143, 53748, 46133, 36990, 48800, 33483, 37595, 14000, 22756, 1636, 4377, 21009, 58285, 37169, 58422, 29355, 10196, 34462, 19208, 40074, 59315, 63401, 28649, 29117, 60084, 45327, 29365, 4168, 45981, 64829, 18737, 51594, 3179, 30106, 11177, 27027, 62666, 20535, 22789, 30106, 11177, 6161, 2009, 33483, 37595, 39762, 34974, 35493, 5988, 48961, 29063, 46734, 19406, 42161, 2059, 55745, 55677, 42565, 14366, 16631, 20483, 25633, 28212, 58345, 63248, 51735, 6006}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 61, objArr8);
String str5 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aI(new int[]{464760592, 671014195, 1701484276, 1550645865}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr9);
String str6 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aG(new char[]{29117, 60084, 45271, 7323, 6906, 38932, 58852, 30774, 59190, 63729, 14997, 1461, 4038, 3328, 44023, 57539, 13838, 14404, 42714, 52741, 16801, 35123, 51785, 58600, 3777, 5999, 59424, 36411, 11744, 575, 44421, 60692, 33512, 13654, 6575, 25565}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 75, objArr10);
Object[] objArr11 = {baseContext, str2, str3, str4, str5, true, str6, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 5 - View.getDefaultSize(0, 0), (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558682);
ButterKnife.Dg_(this);
Intent intent = getIntent();
if (intent != null && (extras = intent.getExtras()) != null) {
C14957gcv.e("EXTRA_MY_E_COUPON_CARD_REF_KEY", "");
if (extras == null) {
int i2 = y + 5;
v = i2 % 128;
int i3 = i2 % 2;
string = "";
} else {
string = extras.getString("EXTRA_MY_E_COUPON_CARD_REF_KEY", "");
C14957gcv.c((Object) string, "");
}
this.l = string;
this.f6684o = extras.getBoolean("EXTRA_E_COUPON_IS_FROM_DEEP_LINK_FLOW");
}
yRS supportFragmentManager = getSupportFragmentManager();
C14957gcv.c(supportFragmentManager, "");
MyECouponActivity myECouponActivity = this;
List<Integer> g = g();
String str7 = this.l;
if (str7 == null) {
C14957gcv.a("");
str = null;
} else {
str = str7;
}
this.k = new C12074erO(supportFragmentManager, myECouponActivity, g, str, this.f6684o);
NonSwipeableViewPager nonSwipeableViewPager2 = this.vpECouponViewPager;
if (nonSwipeableViewPager2 == null) {
C14957gcv.a("");
nonSwipeableViewPager2 = null;
}
nonSwipeableViewPager2.setAdapter(this.k);
NonSwipeableViewPager nonSwipeableViewPager3 = this.vpECouponViewPager;
if (nonSwipeableViewPager3 != null) {
int i4 = v + 15;
y = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
nonSwipeableViewPager3 = null;
}
nonSwipeableViewPager3.setOffscreenPageLimit(g().size());
NonSwipeableViewPager nonSwipeableViewPager4 = this.vpECouponViewPager;
if (nonSwipeableViewPager4 != null) {
int i6 = v + 111;
y = i6 % 128;
int i7 = i6 % 2;
} else {
C14957gcv.a("");
int i8 = v + 105;
y = i8 % 128;
int i9 = i8 % 2;
nonSwipeableViewPager4 = null;
}
nonSwipeableViewPager4.setDisableSwiping(true);
NonSwipeableViewPager nonSwipeableViewPager5 = this.vpECouponViewPager;
if (nonSwipeableViewPager5 != null) {
int i10 = y + 19;
v = i10 % 128;
if (i10 % 2 == 0) {
nonSwipeableViewPager.hashCode();
throw null;
}
} else {
C14957gcv.a("");
nonSwipeableViewPager5 = null;
}
nonSwipeableViewPager5.addOnPageChangeListener(new Sts(this));
TabLayout tabLayout = this.tabLayout;
if (tabLayout == null) {
C14957gcv.a("");
tabLayout = null;
}
NonSwipeableViewPager nonSwipeableViewPager6 = this.vpECouponViewPager;
if (nonSwipeableViewPager6 != null) {
int i11 = y + 23;
v = i11 % 128;
int i12 = i11 % 2;
nonSwipeableViewPager = nonSwipeableViewPager6;
} else {
C14957gcv.a("");
}
tabLayout.setupWithViewPager(nonSwipeableViewPager);
h();
super.Z();
setTitle(R.string.my_e_coupons);
ac();
}
private final void h() {
int i = 2 % 2;
int i2 = v + 79;
y = i2 % 128;
int i3 = i2 % 2;
Toolbar toolbar = this.mToolbar;
if (toolbar != null) {
toolbar.setBackgroundResource(R.color.f14042131100912);
int i4 = y + 39;
v = i4 % 128;
int i5 = i4 % 2;
}
TextView textView = this.mActionBarTitle;
if (textView != null) {
int i6 = y + 119;
v = i6 % 128;
if (i6 % 2 != 0) {
textView.setTextColor(nMh.getColor(this, R.color.f2112131099717));
} else {
textView.setTextColor(nMh.getColor(this, R.color.f2112131099717));
int i7 = 46 / 0;
}
}
}
@Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_MyECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.BaseECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_BaseECouponActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onResume() {
int i = 2 % 2;
int i2 = v + 111;
y = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aG(new char[]{10427, 59421, 19703, 11528, 26513, 11860, 25684, 52205, 35493, 5988, 14824, 6119, 34350, 50260, 23473, 5906, 11927, 25495, 3569, 43632, 29563, 56822, 27902, 36705, 49759, 7757}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{49031, 10873, 50504, 32725, 58345, 63248, 46586, 57534, 54920, 27189, 37825, 57658, 15138, 4566, 23473, 5906, 52716, 26319}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.app_version).substring(0, 9).length() + 9, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = v + 71;
y = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "", 0) + 492, 5 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) Color.argb(0, 0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 5 - View.combineMeasuredStates(0, 0), (char) View.MeasureSpec.getMode(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_MyECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.BaseECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_BaseECouponActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aG(new char[]{10427, 59421, 19703, 11528, 26513, 11860, 25684, 52205, 35493, 5988, 14824, 6119, 34350, 50260, 23473, 5906, 11927, 25495, 3569, 43632, 29563, 56822, 27902, 36705, 49759, 7757}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{49031, 10873, 50504, 32725, 58345, 63248, 46586, 57534, 54920, 27189, 37825, 57658, 15138, 4566, 23473, 5906, 52716, 26319}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = y + 73;
v = i2 % 128;
try {
if (i2 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getWindowTouchSlop() >> 8), ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) View.getDefaultSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(486 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - (ViewConfiguration.getTapTimeout() >> 16), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 487, 5 - TextUtils.getOffsetBefore("", 0), (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i3 = y + 77;
v = i3 % 128;
if (i3 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_MyECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.BaseECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_BaseECouponActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = v + 61;
y = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(new char[]{10427, 59421, 19703, 11528, 26513, 11860, 25684, 52205, 8394, 4437, 5582, 29398, 44533, 48628, 6192, 5198, 55007, 5461}, KeyEvent.getDeadChar(0, 0) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{21881, 56157, 48228, 44092, 41973, 38763}, TextUtils.indexOf("", "") + 5, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
context2 = context.getApplicationContext();
int i4 = y + 25;
v = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i6 = y + 41;
v = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 492, TextUtils.getOffsetBefore("", 0) + 5, (char) View.combineMeasuredStates(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aG(new char[]{9979, 38444, 32668, 44916, 1507, 17686, 28812, 61634, 42014, 65186, 59424, 36411, 26925, 60497, 28586, 61784, 51500, 42134, 21223, 58866, 31675, 14870, 11936, 42486, 63819, 59016, 44421, 60692, 18179, 18118, 50636, 60180, 9781, 4567, 12202, 54341, 41199, 23297, 63756, 14986, 45271, 7323, 7992, 63501, 49738, 30292, 30196, 1922}, 48 - View.getDefaultSize(0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aI(new int[]{-885342798, -208580560, -1073451273, 1009183059, -1765370786, 1467939284, -1825292101, 938222352, 1428300820, -1835007996, -733965984, -1653923422, 1510562740, 928529159, -1234643678, -434209010, -1387654434, 871841009, -1125660664, -1284329333, -1243049465, 2079851167, 707825393, 355440323, -209421481, -1720619474, 2068413442, -462310802, 1365381947, -1251904169, 838582212, -800618195}, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new int[]{1002008616, 1236640700, -1801025233, 2145168368, 1293246975, 108050272, 946197418, 683271766, 162583696, 518626688, -413063854, -2010874585, 1942999957, -194635367, -663456008, -1457897251, -147053195, 874137876, 650720854, 331735206, -1084158479, -143390317, 139769395, 574760833, 231163409, -1983241216, 1482206842, 169362646, -805531813, 507901851, 425202457, -1290227623}, 64 - TextUtils.indexOf("", ""), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new char[]{50426, 44348, 32618, 26502, 42879, 7115, 37818, 26143, 53748, 46133, 36990, 48800, 33483, 37595, 14000, 22756, 1636, 4377, 21009, 58285, 37169, 58422, 29355, 10196, 34462, 19208, 40074, 59315, 63401, 28649, 29117, 60084, 45327, 29365, 4168, 45981, 64829, 18737, 51594, 3179, 30106, 11177, 27027, 62666, 20535, 22789, 30106, 11177, 6161, 2009, 33483, 37595, 39762, 34974, 35493, 5988, 48961, 29063, 46734, 19406, 42161, 2059, 55745, 55677, 42565, 14366, 16631, 20483, 25633, 28212, 58345, 63248, 51735, 6006}, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new int[]{464760592, 671014195, 1701484276, 1550645865}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new char[]{29117, 60084, 45271, 7323, 6906, 38932, 58852, 30774, 59190, 63729, 14997, 1461, 4038, 3328, 44023, 57539, 13838, 14404, 42714, 52741, 16801, 35123, 51785, 58600, 3777, 5999, 59424, 36411, 11744, 575, 44421, 60692, 33512, 13654, 6575, 25565}, 36 - TextUtils.indexOf("", "", 0), objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 487, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
static void f() {
r = (char) 15087;
t = (char) 59719;
p = (char) 62238;
q = (char) 47047;
s = new int[]{-179755772, -1250913429, -70086856, -953903526, -215550985, 1807106097, 1092153156, -590587310, 1538993119, 200187565, 664000347, -833719138, 1634748725, -2042622751, 1354287461, 1581995688, 1664670253, -1519340928};
}
@Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_MyECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.BaseECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_BaseECouponActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onStart() {
int i = 2 % 2;
int i2 = y + 15;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = y + 79;
v = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 9 / 0;
}
}
public static final Intent ZM_(Context context, String str) {
int i = 2 % 2;
int i2 = v + 91;
y = i2 % 128;
int i3 = i2 % 2;
Intent ZN_ = HBt.ZN_(context, str, false);
int i4 = v + 95;
y = i4 % 128;
int i5 = i4 % 2;
return ZN_;
}
public static final /* synthetic */ InterfaceC10108dwY b(MyECouponActivity myECouponActivity) {
return (InterfaceC10108dwY) e(new Object[]{myECouponActivity});
}
static {
v = 1;
f();
b = new HBt((byte) 0);
int i = y + 103;
v = i % 128;
if (i % 2 == 0) {
int i2 = 39 / 0;
}
}
}