what-the-bank/sources/com/scb/phone/view/activity/cardmanagement/Hilt_CreditCardTermsAndCond...

675 lines
38 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.cardmanagement;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivityWithFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13068fPo;
import o.C13073fPt;
import o.C4403bZM;
import o.InterfaceC10001duX;
import o.InterfaceC17278vUG;
import o.VLM;
import o.fOV;
import o.fPA;
import o.jTb;
import o.xzZ;
/* loaded from: classes4.dex */
public abstract class Hilt_CreditCardTermsAndConditionsActivity extends BaseActivityWithFragment implements fPA {
private volatile C13073fPt b;
private static final byte[] $$y = {Ascii.ETB, -9, -41, -17};
private static final int $$z = 126;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int s = 1;
/* renamed from: o, reason: collision with root package name */
private static int[] f6632o = {1187793665, -2105146594, -1221607991, -175946511, -832322421, 660960137, -620263034, -990388071, -1823190953, 2073079695, -635417308, -1424174358, 1594039161, -427884503, 1442673076, 313223190, -38510187, -1534622593};
private static char k = 33210;
private static char q = 59158;
private static char t = 62783;
private static char r = 47441;
private final Object m = new Object();
boolean l = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x002c). 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 aF(byte r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 2
int r0 = 1 - r6
int r8 = r8 * 3
int r8 = r8 + 4
int r7 = r7 + 66
byte[] r1 = com.scb.phone.view.activity.cardmanagement.Hilt_CreditCardTermsAndConditionsActivity.$$y
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L16
r3 = r8
r4 = r2
goto L2c
L16:
r3 = r2
L17:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r6) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L24:
r4 = r1[r8]
int r3 = r3 + 1
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L2c:
int r8 = -r8
int r7 = r7 + r8
int r8 = r3 + 1
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.Hilt_CreditCardTermsAndConditionsActivity.aF(byte, short, short, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_CreditCardTermsAndConditionsActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.cardmanagement.Hilt_CreditCardTermsAndConditionsActivity.5
private Hilt_CreditCardTermsAndConditionsActivity d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_CreditCardTermsAndConditionsActivity hilt_CreditCardTermsAndConditionsActivity = this.d;
if (hilt_CreditCardTermsAndConditionsActivity.l) {
return;
}
hilt_CreditCardTermsAndConditionsActivity.l = true;
((InterfaceC10001duX) hilt_CreditCardTermsAndConditionsActivity.y_()).d((CreditCardTermsAndConditionsActivity) hilt_CreditCardTermsAndConditionsActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = s + 35;
p = i2 % 128;
int i3 = i2 % 2;
C13073fPt f = f();
if (i3 == 0) {
return f.y_();
}
f.y_();
throw null;
}
private C13073fPt f() {
if (this.b == null) {
synchronized (this.m) {
if (this.b == null) {
this.b = new C13073fPt(this);
}
}
}
return this.b;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i2 = p + 15;
s = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
int i4 = p + 45;
s = i4 % 128;
int i5 = i4 % 2;
} else {
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aE(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 + 27;
$11 = i4 % 128;
int i5 = i4 % 2;
while (jtb.b < cArr.length) {
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i6 = $11 + 125;
$10 = i6 % 128;
int i7 = i6 % 2;
int i8 = 58224;
int i9 = i3;
while (i9 < 16) {
char c = cArr3[1];
char c2 = cArr3[i3];
int i10 = (c2 + i8) ^ ((c2 << 4) + ((char) (t ^ 41718355337583039L)));
int i11 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(r);
objArr2[2] = Integer.valueOf(i11);
objArr2[1] = Integer.valueOf(i10);
objArr2[i3] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 412, 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b = (byte) i3;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, b2, 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) (k ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(q)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 412, 5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aF(b3, b4, b4, 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(99 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 5 - Color.green(0), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 + 1);
Object[] objArr7 = new Object[1];
aF(b5, b6, (byte) (b6 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i12 = $11 + 7;
$10 = i12 % 128;
int i13 = i12 % 2;
cArr3 = cArr5;
i3 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
private static void aD(int[] iArr, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = f6632o;
int i4 = 729798706;
int i5 = 16;
int i6 = 1;
int i7 = 0;
if (iArr2 != null) {
int length = iArr2.length;
int[] iArr3 = new int[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[i6];
objArr2[0] = Integer.valueOf(iArr2[i8]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - ((Process.getThreadPriority(0) + 20) >> 6), 5 - (ViewConfiguration.getPressedStateDuration() >> i5), (char) (KeyEvent.getDeadChar(0, 0) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i8++;
i5 = 16;
i6 = 1;
} 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 = f6632o;
if (iArr5 != null) {
int i9 = $10 + 49;
$11 = i9 % 128;
int i10 = i9 % 2;
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i11 = 0;
while (i11 < length3) {
try {
Object[] objArr3 = new Object[1];
objArr3[i7] = Integer.valueOf(iArr5[i11]);
Object obj2 = xzZ.y.get(Integer.valueOf(i4));
if (obj2 != null) {
i2 = i4;
} else {
obj2 = ((Class) xzZ.c(15 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (Process.myPid() >> 22) + 5, (char) (58134 - (ViewConfiguration.getDoubleTapTimeout() >> 16)))).getMethod("i", Integer.TYPE);
i2 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr6[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i11++;
int i12 = $10 + 35;
$11 = i12 % 128;
int i13 = i12 % 2;
i4 = i2;
i7 = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr5 = iArr6;
}
int i14 = i7;
System.arraycopy(iArr5, i14, iArr4, i14, length2);
c4403bZM.b = i14;
int i15 = $11 + 87;
$10 = i15 % 128;
int i16 = i15 % 2;
while (c4403bZM.b < iArr.length) {
cArr[0] = (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 i17 = 0;
for (int i18 = 16; i17 < i18; i18 = 16) {
c4403bZM.e ^= iArr4[i17];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c(118 - TextUtils.getTrimmedLength(""), 5 - TextUtils.indexOf("", "", 0), (char) TextUtils.indexOf("", "", 0, 0));
byte b = (byte) 0;
Object[] objArr5 = new Object[1];
aF(b, (byte) (b | 38), b, objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i17++;
}
int i19 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i19;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i20 = c4403bZM.e;
int i21 = 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[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 98, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aF(b2, (byte) (b2 | ISO7816.INS_CHANGE_CHV), b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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 void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{-2042399588, -6036673, -758993166, 1118011736, -306793011, -440113320, 2130599786, 194216331, 35508888, 1552352989}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{29245, 22891, 8646, 50366, 26641, 30770}, View.MeasureSpec.makeMeasureSpec(0, 0) + 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) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 121;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aD(new int[]{-2042399588, -6036673, -758993166, 1118011736, 203530465, 1075859244, 1658385928, 1721361035, 1753939432, -1961291356, -762589572, 1932918800, -1693596359, 1049835781}, (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 26, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new int[]{847452433, -1328420703, 1461783375, -303888873, -2121617611, -394345194, 1781901166, 189784126, 65541481, 168678371}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_service_unregister_success_description_one).substring(30, 31).codePointAt(0) - 14, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 23;
p = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = s + 85;
p = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Process.getGidForName("") + 493, TextUtils.getOffsetAfter("", 0) + 5, (char) TextUtils.getCapsMode("", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE(new char[]{30647, 32884, 44687, 44367, 60151, 13686, 34142, 31635, 3630, 62583, 43527, 39961, 2149, 2291, 13012, 12792, 65134, 18982, 2524, 40936, 13250, 26645, 42119, 3760, 15975, 11888, 3231, 59108, 25545, 8089, 46934, 59615, 64125, 48807, 34417, 8297, 24256, 11637, 19240, 10577, 22522, 59970, 36631, 51386, 'm', 65468, 56767, 11013}, 48 - (ViewConfiguration.getTouchSlop() >> 8), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{30216, 46140, 18659, 24572, 1401, 53904, 5660, 33885, 22, 42873, 34277, 43962, 34277, 43962, 4081, 6163, 43234, 40204, 55849, 39867, 40075, 47781, 23209, 48144, 57845, 54067, 22531, 49585, 13943, 50822, 16601, 25023, 36166, 48025, 48670, 30362, 44793, 14569, 19240, 10577, 1401, 53904, 27951, 28813, 4366, 57716, 1401, 53904, 1033, 19505, 31674, 48202, 'm', 65468, 60630, 44836, 39366, 50106, 35874, 8258, 1401, 53904, 63936, 31340}, 64 - ExpandableListView.getPackedPositionType(0L), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new char[]{18628, 45279, 21427, 56828, 51295, 45867, 5061, 39977, 13943, 50822, 36368, 8713, 56513, 8450, 16601, 25023, 24404, 21541, 19378, 61003, 12427, 25511, 27189, 29199, 'm', 65468, 24256, 11637, 46453, 18585, 16873, 32518, 44687, 44367, 24816, 56554, 16281, 21268, 34841, 15212, 50622, 38093, 20243, 37910, 32014, 1458, 18659, 24572, 36817, 41095, 2524, 40936, 57284, 61305, 26061, 44780, 50348, 40148, 34142, 31635, 44793, 14569, 35490, 7420}, ExpandableListView.getPackedPositionChild(0L) + 65, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{47046, 37779, 11424, 47804, 6197, 44174, 14449, 17688, 35880, 19610, 18521, 43389, 44888, 57247, 656, 40329, 29579, 56494, 59377, 28365, 29492, 60607, 48600, 1593, 64368, 15362, 20178, 26082, 16976, 2477, 24432, 34620, 21382, 22000, 61980, 30775, 28514, 43204, 34649, 11776, 14077, 31926, 59726, 22739, 7842, 8436, 14077, 31926, 922, 4210, 44888, 57247, 28867, 9373, 58506, 14211, 9898, 48482, 37224, 2029, 59917, 16482, 53369, 14101, 21055, 11614, 52337, 32665, 44278, 28825, 984, 54958, 17776, 13585}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.one_point_redemption).substring(0, 18).codePointAt(11) - 27, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(new char[]{43863, 14997, 19035, 9054, 50053, 591}, 5 - View.combineMeasuredStates(0, 0), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(new int[]{-229438942, -1806261988, -1310579884, -276186608, 486746958, -550711831, -207742881, -826853013, -1399527086, -271298665, 162774657, -881793188, 2039295235, 172959330, 238620063, -205448125, -1687312547, -1664421885}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_insurance_verify_email_pop_up_description).substring(93, 94).codePointAt(0) + 4, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) (Process.getGidForName("") + 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);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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 void onResume() {
Method method;
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = p + 37;
s = i2 % 128;
if (i2 % 2 == 0) {
Object[] objArr = new Object[1];
aD(new int[]{-2042399588, -6036673, -758993166, 1118011736, 203530465, 1075859244, 1658385928, 1721361035, 1753939432, -1961291356, -762589572, 1932918800, -1693596359, 1049835781}, 33 << (ViewConfiguration.getWindowTouchSlop() >>> 94), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{847452433, -1328420703, 1461783375, -303888873, -2121617611, -394345194, 1781901166, 189784126, 65541481, 168678371}, 32 >> (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr2);
method = cls.getMethod((String) objArr2[0], new Class[1]);
} else {
Object[] objArr3 = new Object[1];
aD(new int[]{-2042399588, -6036673, -758993166, 1118011736, 203530465, 1075859244, 1658385928, 1721361035, 1753939432, -1961291356, -762589572, 1932918800, -1693596359, 1049835781}, (ViewConfiguration.getWindowTouchSlop() >> 8) + 26, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new int[]{847452433, -1328420703, 1461783375, -303888873, -2121617611, -394345194, 1781901166, 189784126, 65541481, 168678371}, 19 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
int i3 = p + 59;
s = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 492, 4 - ExpandableListView.getPackedPositionChild(0L), (char) Color.green(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - Gravity.getAbsoluteGravity(0, 0), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr5);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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 void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new int[]{-2042399588, -6036673, -758993166, 1118011736, 203530465, 1075859244, 1658385928, 1721361035, 1753939432, -1961291356, -762589572, 1932918800, -1693596359, 1049835781}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{847452433, -1328420703, 1461783375, -303888873, -2121617611, -394345194, 1781901166, 189784126, 65541481, 168678371}, 18 - (ViewConfiguration.getScrollDefaultDelay() >> 16), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = p + 85;
s = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = p + 45;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 493, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) TextUtils.indexOf("", "", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - TextUtils.indexOf("", "", 0), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) View.resolveSize(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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 void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{-2042399588, -6036673, -758993166, 1118011736, -306793011, -440113320, 2130599786, 194216331, 35508888, 1552352989}, ((Process.getThreadPriority(0) + 20) >> 6) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{29245, 22891, 8646, 50366, 26641, 30770}, TextUtils.indexOf("", "", 0, 0) + 5, objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = p + 119;
s = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i4 = s + 109;
p = i4 % 128;
if (i4 % 2 != 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i5 = s + 121;
p = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarSize() >> 8), 5 - Color.blue(0), (char) Drawable.resolveOpacity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aE(new char[]{30647, 32884, 44687, 44367, 60151, 13686, 34142, 31635, 3630, 62583, 43527, 39961, 2149, 2291, 13012, 12792, 65134, 18982, 2524, 40936, 13250, 26645, 42119, 3760, 15975, 11888, 3231, 59108, 25545, 8089, 46934, 59615, 64125, 48807, 34417, 8297, 24256, 11637, 19240, 10577, 22522, 59970, 36631, 51386, 'm', 65468, 56767, 11013}, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 47, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new char[]{30216, 46140, 18659, 24572, 1401, 53904, 5660, 33885, 22, 42873, 34277, 43962, 34277, 43962, 4081, 6163, 43234, 40204, 55849, 39867, 40075, 47781, 23209, 48144, 57845, 54067, 22531, 49585, 13943, 50822, 16601, 25023, 36166, 48025, 48670, 30362, 44793, 14569, 19240, 10577, 1401, 53904, 27951, 28813, 4366, 57716, 1401, 53904, 1033, 19505, 31674, 48202, 'm', 65468, 60630, 44836, 39366, 50106, 35874, 8258, 1401, 53904, 63936, 31340}, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new char[]{18628, 45279, 21427, 56828, 51295, 45867, 5061, 39977, 13943, 50822, 36368, 8713, 56513, 8450, 16601, 25023, 24404, 21541, 19378, 61003, 12427, 25511, 27189, 29199, 'm', 65468, 24256, 11637, 46453, 18585, 16873, 32518, 44687, 44367, 24816, 56554, 16281, 21268, 34841, 15212, 50622, 38093, 20243, 37910, 32014, 1458, 18659, 24572, 36817, 41095, 2524, 40936, 57284, 61305, 26061, 44780, 50348, 40148, 34142, 31635, 44793, 14569, 35490, 7420}, 64 - (ViewConfiguration.getEdgeSlop() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{47046, 37779, 11424, 47804, 6197, 44174, 14449, 17688, 35880, 19610, 18521, 43389, 44888, 57247, 656, 40329, 29579, 56494, 59377, 28365, 29492, 60607, 48600, 1593, 64368, 15362, 20178, 26082, 16976, 2477, 24432, 34620, 21382, 22000, 61980, 30775, 28514, 43204, 34649, 11776, 14077, 31926, 59726, 22739, 7842, 8436, 14077, 31926, 922, 4210, 44888, 57247, 28867, 9373, 58506, 14211, 9898, 48482, 37224, 2029, 59917, 16482, 53369, 14101, 21055, 11614, 52337, 32665, 44278, 28825, 984, 54958, 17776, 13585}, (ViewConfiguration.getTouchSlop() >> 8) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new char[]{43863, 14997, 19035, 9054, 50053, 591}, (Process.myTid() >> 22) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{-229438942, -1806261988, -1310579884, -276186608, 486746958, -550711831, -207742881, -826853013, -1399527086, -271298665, 162774657, -881793188, 2039295235, 172959330, 238620063, -205448125, -1687312547, -1664421885}, TextUtils.indexOf("", "", 0) + 36, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - TextUtils.getOffsetAfter("", 0), 5 - Drawable.resolveOpacity(0, 0), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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 void onStart() {
int i = 2 % 2;
int i2 = p + 77;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 81 / 0;
}
int i5 = p + 99;
s = i5 % 128;
int i6 = i5 % 2;
}
}