what-the-bank/sources/o/AbstractActivityC11434efK.java

666 lines
38 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity;
import java.lang.reflect.Method;
import o.C13068fPo;
import o.VLM;
/* renamed from: o.efK, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11434efK extends BaseActivity implements fPA {
private volatile C13073fPt b;
private static final byte[] $$E = {124, -55, -59, 62};
private static final int $$F = 89;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int s = 1;
private static long m = 1417990239674980405L;
private static int[] k = {-133191737, 1675042917, -1830904323, 795710244, -476477548, -1597857856, -1967591784, -80776917, -1556069898, 1179987930, 939642598, 775649437, 504034204, 398675661, -401073359, 1893098050, -115908760, -255889809};
/* renamed from: o, reason: collision with root package name */
private final Object f8992o = new Object();
private boolean l = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0026). 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(byte r5, int r6, short r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 4
int r5 = 4 - r5
byte[] r0 = o.AbstractActivityC11434efK.$$E
int r6 = r6 + 102
int r7 = r7 * 3
int r1 = r7 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L14
r4 = r7
r3 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r7) goto L22
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L22:
int r3 = r3 + 1
r4 = r0[r5]
L26:
int r5 = r5 + 1
int r6 = r6 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11434efK.aJ(byte, int, short, java.lang.Object[]):void");
}
public AbstractActivityC11434efK() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.efK.3
private AbstractActivityC11434efK a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.a.aF_();
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = s + 71;
p = i2 % 128;
int i3 = i2 % 2;
Object y_ = h().y_();
int i4 = p + 95;
s = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt h() {
if (this.b == null) {
synchronized (this.f8992o) {
if (this.b == null) {
this.b = new C13073fPt(this);
}
}
}
return this.b;
}
protected void aF_() {
int i = 2 % 2;
int i2 = p + 125;
int i3 = i2 % 128;
s = i3;
if (i2 % 2 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
if (!this.l) {
int i4 = i3 + 105;
p = i4 % 128;
if (i4 % 2 != 0) {
this.l = false;
} else {
this.l = true;
}
((InterfaceC11427efD) y_()).a((BasePersonalInfoActivity) this);
int i5 = s + 99;
p = i5 % 128;
int i6 = i5 % 2;
}
}
private static void aG(char[] cArr, int i, Object[] objArr) {
Object obj;
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(m ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (true) {
obj = null;
if (guL.a >= a.length) {
break;
}
int i3 = $11 + 103;
$10 = i3 % 128;
int i4 = i3 % 2;
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(m)};
Object obj2 = xzZ.y.get(428080616);
if (obj2 == null) {
Class cls = (Class) xzZ.c(View.resolveSize(0, 0) + 208, 4 - MotionEvent.axisFromString(""), (char) (Color.argb(0, 0, 0, 0) + 1706));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aJ(b, (byte) (b | 17), b, objArr3);
obj2 = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj2);
}
a[i5] = ((Character) ((Method) obj2).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {guL, guL};
Object obj3 = xzZ.y.get(-1875914398);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 392, 5 - TextUtils.indexOf("", "", 0, 0), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aJ(b2, (byte) (b2 | 19), b2, objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj3);
}
((Method) obj3).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
String str = new String(a, 4, a.length - 4);
int i6 = $11 + 55;
$10 = i6 % 128;
if (i6 % 2 == 0) {
objArr[0] = str;
} else {
obj.hashCode();
throw null;
}
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = p + 119;
s = i2 % 128;
Bundle bundle = null;
if (i2 % 2 == 0) {
super.getDefaultViewModelProviderFactory();
((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
getIntent();
bundle.hashCode();
throw null;
}
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
bundle = getIntent().getExtras();
} else {
int i3 = p + 57;
s = i3 % 128;
int i4 = i3 % 2;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
@Override // 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 obj = null;
Object[] objArr = new Object[1];
aG(new char[]{44293, 44388, 23404, 56168, 60035, 59955, 17393, 49853, 44226, 55575, 59547, 16501, 44602, 55461, 61065, 18019, 43407, 56929, 61228, 17646, 43990, 56341}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.email_otp_input_message).substring(42, 43).length() - 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new int[]{1236699075, -1477520602, 1637058259, -1129305678}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, 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) {
Object[] objArr3 = new Object[1];
aG(new char[]{50059, 50154, 17531, 50303, 28182, 28326, 3147, 36103, 49740, 50688, 27662, 4047, 49338, 51121, 27202, 2471, 50994, 49530, 27566, 2904, 50525, 49944, 26902, 2720, 52119, 52385, 26488, 1252, 51738, 52805}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.single_form_omnibus_address_info_remark).substring(46, 47).codePointAt(0) - 32, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aG(new char[]{4118, 4213, 56313, 23526, 265, 431, 58373, 25929, 4571, 22917, 769, 59374, 4918, 22579, 1345, 57774, 5261, 24314, 1201, 58134, 5849, 23709}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_debit_card_lock_card_popup_message).substring(39, 40).length() - 1, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = s + 31;
p = i2 % 128;
int i3 = i2 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 492, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) TextUtils.getCapsMode("", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aI(new int[]{299409424, 936012887, 690365770, -541997278, -1097934734, -1467931521, -1656550921, 1709543986, -1621879106, 591721123, 900670357, -1390701090, 1963105849, -1850041271, 1573682325, 1107797263, 1174635509, 1744698175, 841022244, -724530428, 251924085, 504030805, 1348123847, 892280921}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 35, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new char[]{6636, 6537, 25284, 58060, 24406, 24500, 39844, 6911, 6258, 57524, 23838, 38944, 6873, 57675, 23360, 40519, 7462, 59280, 23213, 40184, 8058, 58874, 22547, 40211, 4551, 59968, 22059, 37709, 4143, 59560, 21922, 37298, 4678, 61183, 21258, 38417, 5275, 61273, 20855, 38112, 5937, 60846, 20616, 35515, 2378, 62044, 20051, 35591, 3041, 61527, 19564, 35307, 2664, 63158, 19332, 36822, 3079, 63246, 18751, 35931, 3812, 62781, 18275, 33449, 258, 64484, 18075, 32908}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.banking_deposit_qr_return_to_account_message).substring(42, 43).codePointAt(0) - 32, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new int[]{-1656935945, -1626185605, 292911406, -1503911295, 1849130966, 1148601456, 1294391021, 258660356, 537370121, 1492800174, 1238287290, 2028787299, -1366555457, -430589163, -1993029484, -309632224, 413981713, -1108043985, 230489708, 1105319808, -365980591, -303213864, 2064107215, 1033705306, 444894341, -533750438, 74830026, -747575453, -1423730324, -619240129, 624032040, 1121116512}, (ViewConfiguration.getWindowTouchSlop() >> 8) + 64, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new int[]{1830924074, -1752043513, -1368303747, -1571036121, 1232238108, 422857237, -1866808248, -359020326, -1811911681, 275435798, 1398019639, 1518811977, -470852559, 174702276, -1770541101, 112567359, 513757331, -2076221765, -1611013804, 898382716, -444411133, -830308603, -1380200683, 866611514, 651044166, -1456599611, 1209839779, 793952512, 1281537827, 648220968, -1522760724, 543375727, 1743257038, -1003485328, -1586923272, -364263421, 1738930300, -1651179538}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 40, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aI(new int[]{-1324071735, 777880319, 1838922104, 757214801}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aG(new char[]{34316, 34409, 55531, 22752, 38602, 38444, 25902, 58404, 34752, 23232, 38018, 26354, 34161, 23399, 37598, 24783, 33430, 23972, 37682, 25120, 32925, 24528, 37267, 25499, 36390, 20540, 40885, 28047, 36814, 21202, 39996, 28523, 36259, 21644, 39621, 26823, 35704, 21876, 39151, 27199}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.omnibus_account_remark).substring(93, 94).length() - 1, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - TextUtils.getTrimmedLength(""), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (KeyEvent.getMaxKeyCode() >> 16))).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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i4 = s + 71;
p = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
private static void aI(int[] iArr, int i, Object[] objArr) {
int i2;
int[] iArr2;
int i3;
int length;
int[] iArr3;
int i4;
int i5 = 2;
int i6 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = k;
int i7 = 729798706;
int i8 = 1;
int i9 = 0;
if (iArr4 != null) {
int i10 = $10 + 31;
$11 = i10 % 128;
if (i10 % 2 == 0) {
length = iArr4.length;
iArr3 = new int[length];
i4 = 1;
} else {
length = iArr4.length;
iArr3 = new int[length];
i4 = 0;
}
while (i4 < length) {
int i11 = $11 + 9;
$10 = i11 % 128;
int i12 = i11 % i5;
try {
Object[] objArr2 = {Integer.valueOf(iArr4[i4])};
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - (Process.myPid() >> 22), View.MeasureSpec.getSize(0) + 5, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i4] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i4++;
i5 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr4 = iArr3;
}
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int[] iArr6 = k;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i13 = 0;
while (i13 < length3) {
Object[] objArr3 = new Object[i8];
objArr3[i9] = Integer.valueOf(iArr6[i13]);
Object obj2 = xzZ.y.get(Integer.valueOf(i7));
if (obj2 != null) {
iArr2 = iArr6;
i3 = i7;
} else {
obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 15, 5 - Drawable.resolveOpacity(0, 0), (char) (58134 - TextUtils.getOffsetBefore("", 0)))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
i3 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr7[i13] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i13++;
i7 = i3;
iArr6 = iArr2;
i8 = 1;
i9 = 0;
}
i2 = i9;
iArr6 = iArr7;
} else {
i2 = 0;
}
System.arraycopy(iArr6, i2, iArr5, i2, length2);
c4403bZM.b = i2;
while (c4403bZM.b < iArr.length) {
int i14 = $10 + 33;
$11 = i14 % 128;
int i15 = i14 % 2;
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(iArr5);
int i16 = $11 + 61;
$10 = i16 % 128;
int i17 = 2;
int i18 = i16 % 2;
int i19 = 0;
while (i19 < 16) {
int i20 = $10 + 33;
$11 = i20 % 128;
if (i20 % i17 == 0) {
c4403bZM.e ^= iArr5[i19];
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 - (KeyEvent.getMaxKeyCode() >> 16), TextUtils.getTrimmedLength("") + 5, (char) TextUtils.getTrimmedLength(""));
byte b = (byte) 0;
byte b2 = (byte) (b + 2);
Object[] objArr5 = new Object[1];
aJ(b, b2, (byte) (b2 - 2), 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;
i19 += 105;
} else {
c4403bZM.e ^= iArr5[i19];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(118 - Color.green(0), Color.red(0) + 5, (char) View.getDefaultSize(0, 0));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 2);
Object[] objArr7 = new Object[1];
aJ(b3, b4, (byte) (b4 - 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i19++;
}
i17 = 2;
}
int i21 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i21;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i22 = c4403bZM.e;
int i23 = 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(iArr5);
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[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 97, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr9 = new Object[1];
aJ(b5, b6, b6, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // 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() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 43;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(new char[]{50059, 50154, 17531, 50303, 28182, 28326, 3147, 36103, 49740, 50688, 27662, 4047, 49338, 51121, 27202, 2471, 50994, 49530, 27566, 2904, 50525, 49944, 26902, 2720, 52119, 52385, 26488, 1252, 51738, 52805}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_offline_success_contact).substring(10, 11).codePointAt(0) - 108, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{4118, 4213, 56313, 23526, 265, 431, 58373, 25929, 4571, 22917, 769, 59374, 4918, 22579, 1345, 57774, 5261, 24314, 1201, 58134, 5849, 23709}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.material_hour_24h_suffix).substring(0, 5).length() - 5, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 9;
p = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = p + 53;
s = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ((Process.getThreadPriority(0) + 20) >> 6), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (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(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - View.MeasureSpec.getSize(0), 5 - Drawable.resolveOpacity(0, 0), (char) (AndroidCharacter.getMirror('0') - '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.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;
int i2 = p + 117;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aG(new char[]{50059, 50154, 17531, 50303, 28182, 28326, 3147, 36103, 49740, 50688, 27662, 4047, 49338, 51121, 27202, 2471, 50994, 49530, 27566, 2904, 50525, 49944, 26902, 2720, 52119, 52385, 26488, 1252, 51738, 52805}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.point_exchange_rate).substring(0, 12).codePointAt(7) - 61, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{4118, 4213, 56313, 23526, 265, 431, 58373, 25929, 4571, 22917, 769, 59374, 4918, 22579, 1345, 57774, 5261, 24314, 1201, 58134, 5849, 23709}, ExpandableListView.getPackedPositionType(0L), 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 = p + 113;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - KeyEvent.keyCodeFromString(""), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).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(488 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).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.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) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(new char[]{44293, 44388, 23404, 56168, 60035, 59955, 17393, 49853, 44226, 55575, 59547, 16501, 44602, 55461, 61065, 18019, 43407, 56929, 61228, 17646, 43990, 56341}, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new int[]{1236699075, -1477520602, 1637058259, -1129305678}, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i2 = p + 47;
s = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 491, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (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)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aI(new int[]{299409424, 936012887, 690365770, -541997278, -1097934734, -1467931521, -1656550921, 1709543986, -1621879106, 591721123, 900670357, -1390701090, 1963105849, -1850041271, 1573682325, 1107797263, 1174635509, 1744698175, 841022244, -724530428, 251924085, 504030805, 1348123847, 892280921}, 48 - ((Process.getThreadPriority(0) + 20) >> 6), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aG(new char[]{6636, 6537, 25284, 58060, 24406, 24500, 39844, 6911, 6258, 57524, 23838, 38944, 6873, 57675, 23360, 40519, 7462, 59280, 23213, 40184, 8058, 58874, 22547, 40211, 4551, 59968, 22059, 37709, 4143, 59560, 21922, 37298, 4678, 61183, 21258, 38417, 5275, 61273, 20855, 38112, 5937, 60846, 20616, 35515, 2378, 62044, 20051, 35591, 3041, 61527, 19564, 35307, 2664, 63158, 19332, 36822, 3079, 63246, 18751, 35931, 3812, 62781, 18275, 33449, 258, 64484, 18075, 32908}, ExpandableListView.getPackedPositionGroup(0L), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new int[]{-1656935945, -1626185605, 292911406, -1503911295, 1849130966, 1148601456, 1294391021, 258660356, 537370121, 1492800174, 1238287290, 2028787299, -1366555457, -430589163, -1993029484, -309632224, 413981713, -1108043985, 230489708, 1105319808, -365980591, -303213864, 2064107215, 1033705306, 444894341, -533750438, 74830026, -747575453, -1423730324, -619240129, 624032040, 1121116512}, 63 - MotionEvent.axisFromString(""), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new int[]{1830924074, -1752043513, -1368303747, -1571036121, 1232238108, 422857237, -1866808248, -359020326, -1811911681, 275435798, 1398019639, 1518811977, -470852559, 174702276, -1770541101, 112567359, 513757331, -2076221765, -1611013804, 898382716, -444411133, -830308603, -1380200683, 866611514, 651044166, -1456599611, 1209839779, 793952512, 1281537827, 648220968, -1522760724, 543375727, 1743257038, -1003485328, -1586923272, -364263421, 1738930300, -1651179538}, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 73, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new int[]{-1324071735, 777880319, 1838922104, 757214801}, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new char[]{34316, 34409, 55531, 22752, 38602, 38444, 25902, 58404, 34752, 23232, 38018, 26354, 34161, 23399, 37598, 24783, 33430, 23972, 37682, 25120, 32925, 24528, 37267, 25499, 36390, 20540, 40885, 28047, 36814, 21202, 39996, 28523, 36259, 21644, 39621, 26823, 35704, 21876, 39151, 27199}, ViewConfiguration.getTapTimeout() >> 16, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 486, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) KeyEvent.normalizeMetaState(0))).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);
int i4 = s + 79;
p = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // 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 + 57;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = p + 49;
s = i4 % 128;
int i5 = i4 % 2;
}
}