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

751 lines
40 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.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
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.bond.BondSelectionActivity;
import java.lang.reflect.Method;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.dtn, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC9964dtn extends BaseActivity implements fPA {
private volatile C13073fPt m;
private static final byte[] $$p = {14, 104, 7, -34};
private static final int $$q = 244;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int s = 1;
/* renamed from: o, reason: collision with root package name */
private static int[] f8900o = {1606025859, -584469536, 134036266, 1834090714, 10285175, -235395126, -1293989324, -157686383, 2066681015, -1044583460, 772022662, 1022986497, 1498195198, 1515328906, -71607548, -2143232790, -943911422, -1406952703};
private static char[] k = {39964, 40004, 40059, 40035, 40012, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 40041, 40041, 40040, 40032, 40038, 40021, 40045, 40061, 40037, 40036, 40036, 40037, 40032, 40025, 40061, 40167, 40207, 40204, 40164, 40207, 40207, 40207, 40200, 40164, 40204, 40208, 40214, 40213, 40206, 40207, 40206, 40164, 40165, 40167, 40205, 40195, 40204, 40205, 40186, 40187, 40166, 40207, 40215, 40214, 40212, 40206, 40165, 40187, 40166, 40160, 40207, 40195, 40195, 40205, 40205, 40205, 40195, 40194, 40204, 40207, 40166, 40164, 39993, 40000, 39992, 39999, 39999, 40007, 40047, 40005, 40007, 40002, 40001, 40001, 39972, 40003, 40047, 40040, 40042, 40012, 39972, 39994, 39994, 39992, 39995, 40012, 40040, 40001, 39992, 39994, 39973, 39993, 39997, 40005, 40007, 39992, 40002, 40040};
private final Object l = new Object();
boolean b = 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:0x002a). 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 aC(short r7, int r8, int r9, java.lang.Object[] r10) {
/*
int r7 = r7 + 71
int r9 = r9 + 4
int r8 = r8 * 3
int r8 = r8 + 1
byte[] r0 = o.AbstractActivityC9964dtn.$$p
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L12
r3 = r9
r4 = r2
goto L2a
L12:
r3 = r2
L13:
int r9 = r9 + 1
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r8) goto L24
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L24:
r3 = r0[r9]
r6 = r9
r9 = r7
r7 = r3
r3 = r6
L2a:
int r7 = r7 + r9
r9 = r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC9964dtn.aC(short, int, int, java.lang.Object[]):void");
}
public AbstractActivityC9964dtn() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dtn.2
private AbstractActivityC9964dtn b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC9964dtn abstractActivityC9964dtn = this.b;
if (abstractActivityC9964dtn.b) {
return;
}
abstractActivityC9964dtn.b = true;
((InterfaceC9952dtb) abstractActivityC9964dtn.y_()).c((BondSelectionActivity) abstractActivityC9964dtn);
}
});
}
@Override // o.fPC
public final Object y_() {
Object y_;
int i = 2 % 2;
int i2 = s + 119;
t = i2 % 128;
if (i2 % 2 != 0) {
y_ = h().y_();
int i3 = 7 / 0;
} else {
y_ = h().y_();
}
int i4 = s + 33;
t = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt h() {
if (this.m == null) {
synchronized (this.l) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle extras;
int i = 2 % 2;
int i2 = s + 53;
t = i2 % 128;
Bundle bundle = null;
if (i2 % 2 != 0) {
super.getDefaultViewModelProviderFactory();
((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
getIntent();
throw null;
}
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i3 = s + 69;
t = i3 % 128;
if (i3 % 2 != 0) {
extras = getIntent().getExtras();
int i4 = 63 / 0;
} else {
extras = getIntent().getExtras();
}
bundle = extras;
}
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;
int i2 = t + 47;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new int[]{1052686462, -372865880, -1543327918, 2008909902, 109196398, -656470962, 1616388652, -1433552734, 531114071, -1475145280}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.account_management_scbs_label).substring(11, 12).codePointAt(0) - 92, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{-687487809, -1726293173, -643018180, -72984681}, ((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];
aB(new int[]{0, 26, 0, 12}, true, new byte[]{0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new int[]{52190287, -1948806106, -411385823, 1928218030, -691807043, -1033082302, -254401194, 1279640689, 246933992, -2131737403}, Color.alpha(0) + 18, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 27;
t = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 492, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new int[]{26, 48, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 19}, true, new byte[]{0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{1847399934, 1452284453, -1572379808, 675510374, -494429475, -1966483896, 976744854, 2059787923, -906841885, 665410597, -1584366257, 1145012805, -1571414202, 1855504865, 470673208, 1073067883, 1445093420, -1157524087, -1464182350, 676204887, 368674330, 387667780, 1933899061, 1436059574, -1316216924, -420054175, -1063906849, 1920037049, -456758954, 1686324748, -1331050191, -1991975590}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_external_authentication_intro).substring(109, 110).length() + 63, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{-1620314524, -1345460703, 1194754768, 377455766, -689941822, 1096452036, -1183985247, 1503494464, 1151649990, 950238183, -1737455876, 1074008508, 2091749101, -1596092640, 1158495373, -1225398295, 976136558, -602447439, 720758280, 1481687979, 490862469, -1578394884, 2103248701, 932847268, -1263775656, -1773108160, 490888079, -1279775854, -1073538412, 837543917, -1832664853, 5559162}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{-927359913, -886375357, -2011619285, -110198716, -1741614971, -1240714885, 164502838, 1554984829, -81704328, 1491630853, 1557998520, 118809530, -164404165, -446075309, -1125084898, 1080370984, 890400414, -337816317, -1935351359, -1708276885, 1183436906, 1662557783, -698363802, -627473866, -143454335, 74459537, -1126554530, 1783024063, -937632020, -1762696000, 943486202, -1169009263, -1978180520, -32267142, 1278309334, 1307272015, -800369209, 1456630332}, View.combineMeasuredStates(0, 0) + 74, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new int[]{398937299, 1877196767, 1699455378, -1760790185}, View.getDefaultSize(0, 0) + 5, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new int[]{74, 36, 0, 0}, true, new byte[]{1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, 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(KeyEvent.keyCodeFromString("") + 487, Drawable.resolveOpacity(0, 0) + 5, (char) View.combineMeasuredStates(0, 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void aA(int[] iArr, int i, Object[] objArr) {
int i2;
int length;
int[] iArr2;
int i3;
char c;
int i4 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = f8900o;
int i5 = 1;
int i6 = 0;
if (iArr3 != null) {
int length2 = iArr3.length;
int[] iArr4 = new int[length2];
int i7 = 0;
while (i7 < length2) {
try {
Object[] objArr2 = new Object[i5];
objArr2[0] = Integer.valueOf(iArr3[i7]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 15, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (Color.rgb(0, 0, 0) + 16835350))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7++;
i5 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length3 = iArr3.length;
int[] iArr5 = new int[length3];
int[] iArr6 = f8900o;
if (iArr6 != null) {
int i8 = $10 + 95;
$11 = i8 % 128;
if (i8 % 2 == 0) {
length = iArr6.length;
iArr2 = new int[length];
} else {
length = iArr6.length;
iArr2 = new int[length];
}
int i9 = 0;
while (i9 < length) {
int i10 = $10 + 103;
$11 = i10 % 128;
if (i10 % 2 == 0) {
Object[] objArr3 = new Object[1];
objArr3[i6] = Integer.valueOf(iArr6[i9]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
i3 = length;
} else {
obj2 = ((Class) xzZ.c(15 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (58134 - TextUtils.indexOf("", "", 0, 0)))).getMethod("i", Integer.TYPE);
i3 = length;
xzZ.y.put(729798706, obj2);
}
iArr2[i9] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
c = 55346;
} else {
i3 = length;
Object[] objArr4 = {Integer.valueOf(iArr6[i9])};
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
c = 55346;
} else {
obj3 = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 16, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (TextUtils.lastIndexOf("", '0') + 58135))).getMethod("i", Integer.TYPE);
c = 55346;
xzZ.y.put(729798706, obj3);
}
iArr2[i9] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i9++;
}
int i11 = $10 + 49;
$11 = i11 % 128;
if (i11 % 2 == 0) {
int i12 = 5 / 3;
}
length = i3;
i6 = 0;
}
i2 = i6;
iArr6 = iArr2;
} else {
i2 = 0;
}
System.arraycopy(iArr6, i2, iArr5, i2, length3);
c4403bZM.b = i2;
while (c4403bZM.b < iArr.length) {
int i13 = $10 + 19;
$11 = i13 % 128;
int i14 = i13 % 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 i15 = 0;
for (int i16 = 16; i15 < i16; i16 = 16) {
c4403bZM.e ^= iArr5[i15];
try {
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(Process.getGidForName("") + 119, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) KeyEvent.normalizeMetaState(0));
byte b = (byte) 0;
Object[] objArr6 = new Object[1];
aC((byte) 33, b, (byte) (b - 1), 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;
i15++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i17 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i17;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i18 = c4403bZM.e;
int i19 = 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[] objArr7 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(98 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - ExpandableListView.getPackedPositionGroup(0L), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)));
byte b2 = (byte) 0;
Object[] objArr8 = new Object[1];
aC((byte) 31, b2, (byte) (b2 - 1), objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr7);
}
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) {
Object[] objArr = new Object[1];
aB(new int[]{0, 26, 0, 12}, true, new byte[]{0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{52190287, -1948806106, -411385823, 1928218030, -691807043, -1033082302, -254401194, 1279640689, 246933992, -2131737403}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = t + 77;
s = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = s + 61;
t = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((-16776724) - Color.rgb(0, 0, 0), TextUtils.getTrimmedLength("") + 5, (char) Color.red(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((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 487, 5 - ExpandableListView.getPackedPositionType(0L), (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = 22 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - TextUtils.indexOf("", "", 0, 0), 5 - View.MeasureSpec.getMode(0), (char) (Process.myTid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 487, TextUtils.lastIndexOf("", '0') + 6, (char) View.resolveSizeAndState(0, 0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i6 = t + 47;
s = i6 % 128;
int i7 = i6 % 2;
}
private static void aB(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
int i2 = 2 % 2;
TVH tvh = new TVH();
char c = 0;
int i3 = iArr[0];
int i4 = 1;
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr2 = k;
char c2 = '0';
long j = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[c] = Integer.valueOf(cArr2[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 6 - (SystemClock.uptimeMillis() > j ? 1 : (SystemClock.uptimeMillis() == j ? 0 : -1)), (char) (TextUtils.lastIndexOf("", c2, 0, 0) + 41978));
byte b = (byte) 0;
byte b2 = b;
cArr = cArr2;
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
cArr2 = cArr;
c = 0;
i4 = 1;
c2 = '0';
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i5];
System.arraycopy(cArr2, i3, cArr4, 0, i5);
if (bArr != null) {
char[] cArr5 = new char[i5];
tvh.c = 0;
char c3 = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i9 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c3)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - (Process.myTid() >> 22), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (54 - (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))))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i9] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i10 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c3)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - ExpandableListView.getPackedPositionGroup(0L), 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (58133 - TextUtils.lastIndexOf("", '0')))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i10] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c3 = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 402, TextUtils.lastIndexOf("", '0') + 6, (char) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 21608));
byte b3 = (byte) 2;
byte b4 = (byte) (b3 - 2);
Object[] objArr7 = new Object[1];
aC(b3, b4, (byte) (b4 - 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
int i11 = $10 + 69;
$11 = i11 % 128;
int i12 = i11 % 2;
cArr4 = cArr5;
}
if (i7 > 0) {
char[] cArr6 = new char[i5];
i = 0;
System.arraycopy(cArr4, 0, cArr6, 0, i5);
int i13 = i5 - i7;
System.arraycopy(cArr6, 0, cArr4, i13, i7);
System.arraycopy(cArr6, i7, cArr4, 0, i13);
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
cArr7[tvh.c] = cArr4[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr4 = cArr7;
}
if (i6 > 0) {
int i14 = $10 + 85;
$11 = i14 % 128;
int i15 = i14 % 2;
int i16 = 0;
while (true) {
tvh.c = i16;
if (tvh.c >= i5) {
break;
}
int i17 = $10 + 11;
$11 = i17 % 128;
int i18 = i17 % 2;
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i16 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
@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 = s + 29;
t = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = t + 65;
s = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
aB(new int[]{0, 26, 0, 12}, true, new byte[]{0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{52190287, -1948806106, -411385823, 1928218030, -691807043, -1033082302, -254401194, 1279640689, 246933992, -2131737403}, KeyEvent.getDeadChar(0, 0) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i5 = s + 71;
t = i5 % 128;
if (i5 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 493, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) KeyEvent.keyCodeFromString(""))).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(Drawable.resolveOpacity(0, 0) + 487, 5 - Drawable.resolveOpacity(0, 0), (char) ExpandableListView.getPackedPositionType(0L))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).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;
int i2 = s + 71;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new int[]{1052686462, -372865880, -1543327918, 2008909902, 109196398, -656470962, 1616388652, -1433552734, 531114071, -1475145280}, 18 - (ViewConfiguration.getWindowTouchSlop() >> 8), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{-687487809, -1726293173, -643018180, -72984681}, Color.rgb(0, 0, 0) + 16777221, 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 i4 = s + 107;
t = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 492, 4 - MotionEvent.axisFromString(""), (char) (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)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new int[]{26, 48, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 19}, true, new byte[]{0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new int[]{1847399934, 1452284453, -1572379808, 675510374, -494429475, -1966483896, 976744854, 2059787923, -906841885, 665410597, -1584366257, 1145012805, -1571414202, 1855504865, 470673208, 1073067883, 1445093420, -1157524087, -1464182350, 676204887, 368674330, 387667780, 1933899061, 1436059574, -1316216924, -420054175, -1063906849, 1920037049, -456758954, 1686324748, -1331050191, -1991975590}, 64 - TextUtils.indexOf("", "", 0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new int[]{-1620314524, -1345460703, 1194754768, 377455766, -689941822, 1096452036, -1183985247, 1503494464, 1151649990, 950238183, -1737455876, 1074008508, 2091749101, -1596092640, 1158495373, -1225398295, 976136558, -602447439, 720758280, 1481687979, 490862469, -1578394884, 2103248701, 932847268, -1263775656, -1773108160, 490888079, -1279775854, -1073538412, 837543917, -1832664853, 5559162}, ExpandableListView.getPackedPositionType(0L) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{-927359913, -886375357, -2011619285, -110198716, -1741614971, -1240714885, 164502838, 1554984829, -81704328, 1491630853, 1557998520, 118809530, -164404165, -446075309, -1125084898, 1080370984, 890400414, -337816317, -1935351359, -1708276885, 1183436906, 1662557783, -698363802, -627473866, -143454335, 74459537, -1126554530, 1783024063, -937632020, -1762696000, 943486202, -1169009263, -1978180520, -32267142, 1278309334, 1307272015, -800369209, 1456630332}, 74 - KeyEvent.keyCodeFromString(""), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{398937299, 1877196767, 1699455378, -1760790185}, 5 - Color.argb(0, 0, 0, 0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{74, 36, 0, 0}, true, new byte[]{1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, 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((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 486, 5 - View.resolveSizeAndState(0, 0, 0), (char) ((-1) - TextUtils.lastIndexOf("", '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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i6 = s + 13;
t = i6 % 128;
int i7 = i6 % 2;
}
@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 = t + 77;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
int i4 = t + 41;
s = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
}