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

662 lines
40 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.Gravity;
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.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.personalize.PersonalizeActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.efH, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11431efH extends BaseActivity implements fPA {
private static short[] p;
private volatile C13073fPt m;
private static final byte[] $$g = {45, 3, ISO7816.INS_READ_RECORD2, ISO7816.INS_PSO};
private static final int $$h = CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int u = 1;
/* renamed from: o, reason: collision with root package name */
private static int[] f8991o = {2131400532, 1267030825, 559931505, -1282839612, 1373940644, 19705069, -1378286695, 304703975, 934698303, 1690820548, 775114524, 541206374, 491021176, -394159189, -1506280575, -446743204, -257732181, 1052779575};
private static int k = 334730473;
private static int r = 1406017090;
private static int t = 1560666255;
private static byte[] q = {-71, -37, -93, -34, -120, -13, -14, -84, -4, ISOFileInfo.SECURITY_ATTR_EXP, -119, -61, -73, -3, -16, -4, -69, -59, -90, -34, -94, -37, -84, -37, -44, -37, -1, -75, -10, -119, -81, ISO7816.INS_PUT_DATA, -13, -81, -39, -94, -39, -73, ISOFileInfo.A1, -1, -75, -3, -52, -81, -34, ISOFileInfo.SECURITY_ATTR_EXP, -10, -7, -26, -47, -25, -2, 55, ISO7816.INS_WRITE_RECORD, 15, ISO7816.INS_WRITE_BINARY, ISO7816.INS_CREATE_FILE, 8, -47, ISO7816.INS_DECREASE_STAMPED, -41, 9, -5, -47, -8, -31, -26, 8, -26, -47, 9, -27, -45, -6, 9, -47, -25, -27, -26, -3, -18, -2, 54, -86, -29, -6, -26, 10, ISO7816.INS_WRITE_RECORD, 10, -44, ISO7816.INS_DELETE_FILE, ISO7816.INS_CREATE_FILE, -25, -8, -29, ISO7816.INS_DELETE_FILE, -7, -31, -7, ISO7816.INS_CREATE_FILE, 53, -47, -8, 11, -47, ISO7816.INS_DECREASE_STAMPED, ISO7816.INS_UPDATE_BINARY, 9, ISO7816.INS_CREATE_FILE, 1, 93, 9, 94, -72, ISO7816.INS_CREATE_FILE, -73, -19, -58, ISO7816.INS_APPEND_RECORD, ISO7816.INS_WRITE_RECORD, ISO7816.INS_PUT_DATA, -35, -3, -89, ISOFileInfo.SECURITY_ATTR_EXP, -2, ISO7816.INS_APPEND_RECORD, ISO7816.INS_READ_BINARY2, -73, -72, ISO7816.INS_CREATE_FILE, ISO7816.INS_READ_BINARY_STAMPED, -19, ISO7816.INS_APPEND_RECORD, -75, -7, -29, -69, -18, -65, -29, ISO7816.INS_CREATE_FILE, -23, -37, -92, ISO7816.INS_READ_RECORD_STAMPED, -57, ISO7816.INS_CREATE_FILE, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private final Object l = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x002a */
/* JADX WARN: Removed duplicated region for block: B:7:0x0022 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002a -> B:4:0x002e). 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 az(byte r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 3
int r6 = 4 - r6
int r8 = r8 * 2
int r8 = 110 - r8
byte[] r0 = o.AbstractActivityC11431efH.$$g
int r7 = r7 * 2
int r1 = 1 - r7
byte[] r1 = new byte[r1]
r2 = 0
int r7 = 0 - r7
if (r0 != 0) goto L19
r8 = r6
r4 = r7
r3 = r2
goto L2e
L19:
r3 = r2
r5 = r8
r8 = r6
r6 = r5
L1d:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r7) goto L2a
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L2a:
r4 = r0[r8]
int r3 = r3 + 1
L2e:
int r6 = r6 + r4
int r8 = r8 + 1
goto L1d
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11431efH.az(byte, int, int, java.lang.Object[]):void");
}
public AbstractActivityC11431efH() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.efH.3
private AbstractActivityC11431efH d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11431efH abstractActivityC11431efH = this.d;
if (abstractActivityC11431efH.b) {
return;
}
abstractActivityC11431efH.b = true;
((InterfaceC11433efJ) abstractActivityC11431efH.y_()).c((PersonalizeActivity) abstractActivityC11431efH);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = s + 121;
u = i2 % 128;
int i3 = i2 % 2;
Object y_ = j().y_();
int i4 = s + 123;
u = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt j() {
if (this.m == null) {
synchronized (this.l) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x003d, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0026, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0048, code lost:
r3 = o.AbstractActivityC11431efH.u + 43;
o.AbstractActivityC11431efH.s = r3 % 128;
r3 = r3 % 2;
r0 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x003f, code lost:
r0 = getIntent().getExtras();
*/
@Override // androidx.activity.ComponentActivity, o.GvH
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public o.VLM.LWm getDefaultViewModelProviderFactory() {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.AbstractActivityC11431efH.s
int r1 = r1 + 121
int r2 = r1 % 128
o.AbstractActivityC11431efH.u = r2
int r1 = r1 % r0
if (r1 != 0) goto L29
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r2 = o.C13068fPo.Sts.class
java.lang.Object r2 = o.fOV.c(r5, r2)
o.fPo$Sts r2 = (o.C13068fPo.Sts) r2
o.fPo$LWm r2 = r2.a()
android.content.Intent r3 = r5.getIntent()
r4 = 22
int r4 = r4 / 0
if (r3 == 0) goto L48
goto L3f
L29:
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r2 = o.C13068fPo.Sts.class
java.lang.Object r2 = o.fOV.c(r5, r2)
o.fPo$Sts r2 = (o.C13068fPo.Sts) r2
o.fPo$LWm r2 = r2.a()
android.content.Intent r3 = r5.getIntent()
if (r3 == 0) goto L48
L3f:
android.content.Intent r0 = r5.getIntent()
android.os.Bundle r0 = r0.getExtras()
goto L52
L48:
int r3 = o.AbstractActivityC11431efH.u
int r3 = r3 + 43
int r4 = r3 % 128
o.AbstractActivityC11431efH.s = r4
int r3 = r3 % r0
r0 = 0
L52:
o.VLM$LWm r0 = r2.aBN_(r5, r0, r1)
return r0
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11431efH.getDefaultViewModelProviderFactory():o.VLM$LWm");
}
@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 = s + 91;
u = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{-1311593872, 1163610605, -1427098304, -1262918853, 2052208977, 1693805400, 734824631, 2060927602, -677689015, -254453308}, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{-846897536, 88177645, -385519733, -1750977475}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.transfer_target_tab).substring(0, 15).length() - 10, 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 i4 = s + 119;
u = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
ax(new int[]{-1311593872, 1163610605, -1427098304, -1262918853, 813886347, -307403045, -736795530, -558648617, 1949963457, 1337992453, -1834979275, 540443811, 1973847986, 1333827325}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new int[]{1079095579, 1331797233, 1439924901, 1074636868, -7574393, -1952286885, -1653765724, 1648355937, -1274652383, -388920546}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = s + 79;
u = i6 % 128;
if (i6 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i7 = 84 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i8 = s + 77;
u = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 491, 5 - Gravity.getAbsoluteGravity(0, 0), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) - 38), (-1077775103) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.total_vat_label).substring(0, 3).length(), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 52, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.preregistration_pin_title).substring(8, 9).length() - 248249962, (byte) (39 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 20), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.modify_quick_balance_next).substring(0, 1).codePointAt(0) - 1077775115, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.five_chars_last_name).substring(18, 19).length() - 24, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 248249943, (byte) ((-1) - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new int[]{-1565357016, -1201030438, 1257692252, -1764606615, 1226507674, 1620666148, 930014270, -55496911, -309301980, -249625664, -274417824, 267202676, -1209261388, 1260425083, -1621357277, -2124172030, -1626938451, -1010750062, 1879576153, -189649872, 1335655998, -2018082432, -1409556941, 1961939580, 2065352099, 1738482057, 416747218, 1872922459, 855106048, 433870999, -1243608184, -2024251908}, ((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];
ax(new int[]{-1776012440, -1809062818, 387009397, -987985617, -1317901376, 963491973, 1910060423, -1741899499, 1778783799, -1971993168, -279468025, 987916003, -694088376, -1709987229, 260273846, 500688475, -2031903645, -601672507, -176700685, -393330786, -1394856108, -747123207, -1839392762, 151867792, -2145342903, 532529286, 558665579, 1305515785, 986159743, -1713580322, 1473488869, 1063524746, -1055576629, -963499046, 354989754, -343809054, 887317220, -855007782}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.marker_title).substring(4, 18).length() + 60, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay((short) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) - 51), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 1077775089, (-83) - TextUtils.indexOf((CharSequence) "", '0'), TextUtils.lastIndexOf("", '0', 0) - 248249952, (byte) (KeyEvent.keyCodeFromString("") - 30), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay((short) ((ViewConfiguration.getDoubleTapTimeout() >> 16) - 77), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.preregister_not_me_text).substring(60, 61).length() - 1077774987, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 85, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.receive_statement_inapp).substring(0, 12).length() - 248249921, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 50), 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 - Color.red(0), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) Color.green(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 ax(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int i2 = 2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = f8991o;
int i4 = 729798706;
int i5 = 1;
char c = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i6 = 0;
while (i6 < length) {
int i7 = $10 + 99;
$11 = i7 % 128;
int i8 = i7 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[c] = Integer.valueOf(iArr3[i6]);
Object obj = xzZ.y.get(Integer.valueOf(i4));
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", "") + 15, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((Process.myTid() >> 22) + 58134));
Class<?>[] clsArr = new Class[1];
clsArr[c] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr4[i6] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i6++;
i2 = 2;
i4 = 729798706;
c = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = f8991o;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i9 = 0;
while (i9 < length3) {
Object[] objArr3 = new Object[i5];
objArr3[0] = Integer.valueOf(iArr6[i9]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
} else {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 15, 4 - ImageFormat.getBitsPerPixel(0), (char) (58133 - Process.getGidForName("")))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
xzZ.y.put(729798706, obj2);
}
iArr7[i9] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i9++;
iArr6 = iArr2;
i5 = 1;
}
int i10 = $11 + 121;
$10 = i10 % 128;
int i11 = i10 % 2;
iArr6 = iArr7;
}
char c2 = 0;
System.arraycopy(iArr6, 0, iArr5, 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(iArr5);
int i12 = 0;
for (int i13 = 16; i12 < i13; i13 = 16) {
c4403bZM.e ^= iArr5[i12];
try {
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 118, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) View.getDefaultSize(0, 0));
byte b = (byte) 0;
Object[] objArr5 = new Object[1];
az(b, b, $$g[1], objArr5);
obj3 = cls2.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;
i12++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i14 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i14;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i15 = c4403bZM.e;
int i16 = 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[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(98 - Color.green(0), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (Process.myTid() >> 22));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b2, b2, (byte) $$g.length, objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
c2 = 0;
}
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() {
Method method;
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i2 = s + 69;
u = i2 % 128;
if (i2 % 2 == 0) {
Object[] objArr = new Object[1];
ax(new int[]{-1311593872, 1163610605, -1427098304, -1262918853, 813886347, -307403045, -736795530, -558648617, 1949963457, 1337992453, -1834979275, 540443811, 1973847986, 1333827325}, 85 / ImageFormat.getBitsPerPixel(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{1079095579, 1331797233, 1439924901, 1074636868, -7574393, -1952286885, -1653765724, 1648355937, -1274652383, -388920546}, 108 / (ViewConfiguration.getKeyRepeatTimeout() - 96), objArr2);
method = cls.getMethod((String) objArr2[0], new Class[0]);
} else {
Object[] objArr3 = new Object[1];
ax(new int[]{-1311593872, 1163610605, -1427098304, -1262918853, 813886347, -307403045, -736795530, -558648617, 1949963457, 1337992453, -1834979275, 540443811, 1973847986, 1333827325}, 25 - ImageFormat.getBitsPerPixel(0), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new int[]{1079095579, 1331797233, 1439924901, 1074636868, -7574393, -1952286885, -1653765724, 1648355937, -1274652383, -388920546}, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 18, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
int i3 = u + 83;
s = i3 % 128;
if (i3 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = s + 53;
u = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0, 0), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 487, 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr5);
int i5 = 24 / 0;
} else {
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 492, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr6 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(TextUtils.indexOf("", "") + 487, 5 - Color.alpha(0), (char) View.resolveSizeAndState(0, 0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr6);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
/* JADX WARN: Removed duplicated region for block: B:15:0x024a */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ay(short r19, int r20, int r21, int r22, byte r23, java.lang.Object[] r24) {
/*
Method dump skipped, instructions count: 908
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11431efH.ay(short, int, int, int, byte, java.lang.Object[]):void");
}
@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 = u + 43;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = s + 33;
u = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ax(new int[]{-1311593872, 1163610605, -1427098304, -1262918853, 813886347, -307403045, -736795530, -558648617, 1949963457, 1337992453, -1834979275, 540443811, 1973847986, 1333827325}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.onboarding_input_address_soi_is_not_allowed).substring(18, 19).codePointAt(0) - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{1079095579, 1331797233, 1439924901, 1074636868, -7574393, -1952286885, -1653765724, 1648355937, -1274652383, -388920546}, 17 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[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(ImageFormat.getBitsPerPixel(0) + 493, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) ((Process.getThreadPriority(0) + 20) >> 6))).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((Process.myPid() >> 22) + 487, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) ((-16777216) - Color.rgb(0, 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.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];
ax(new int[]{-1311593872, 1163610605, -1427098304, -1262918853, 2052208977, 1693805400, 734824631, 2060927602, -677689015, -254453308}, 19 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{-846897536, 88177645, -385519733, -1750977475}, 5 - View.resolveSizeAndState(0, 0, 0), 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) {
int i2 = s + 43;
u = i2 % 128;
if (i2 % 2 != 0) {
context2 = context.getApplicationContext();
} else {
context2 = context.getApplicationContext();
int i3 = 54 / 0;
}
} else {
context2 = context;
}
if (context2 != null) {
int i4 = s + 57;
u = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - ((byte) KeyEvent.getModifierMetaStateMask()), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay((short) (View.resolveSizeAndState(0, 0, 0) + 61), (ViewConfiguration.getTapTimeout() >> 16) - 1077775100, Color.alpha(0) - 39, Color.rgb(0, 0, 0) - 231472745, (byte) (38 - KeyEvent.keyCodeFromString("")), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay((short) (View.MeasureSpec.getMode(0) + 14), Color.alpha(0) - 1077775053, 25 - AndroidCharacter.getMirror('0'), Color.alpha(0) - 248249909, (byte) ((-3) - TextUtils.lastIndexOf("", '0')), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(new int[]{-1565357016, -1201030438, 1257692252, -1764606615, 1226507674, 1620666148, 930014270, -55496911, -309301980, -249625664, -274417824, 267202676, -1209261388, 1260425083, -1621357277, -2124172030, -1626938451, -1010750062, 1879576153, -189649872, 1335655998, -2018082432, -1409556941, 1961939580, 2065352099, 1738482057, 416747218, 1872922459, 855106048, 433870999, -1243608184, -2024251908}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 63, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new int[]{-1776012440, -1809062818, 387009397, -987985617, -1317901376, 963491973, 1910060423, -1741899499, 1778783799, -1971993168, -279468025, 987916003, -694088376, -1709987229, 260273846, 500688475, -2031903645, -601672507, -176700685, -393330786, -1394856108, -747123207, -1839392762, 151867792, -2145342903, 532529286, 558665579, 1305515785, 986159743, -1713580322, 1473488869, 1063524746, -1055576629, -963499046, 354989754, -343809054, 887317220, -855007782}, 74 - View.resolveSize(0, 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((short) ((-52) - View.combineMeasuredStates(0, 0)), (-1077774990) - TextUtils.getOffsetBefore("", 0), (-82) - (ViewConfiguration.getTouchSlop() >> 8), (-248249953) - (Process.myPid() >> 22), (byte) (ExpandableListView.getPackedPositionGroup(0L) - 30), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((short) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 78), (-1077774987) - Process.getGidForName(""), (-51) - (ViewConfiguration.getDoubleTapTimeout() >> 16), (KeyEvent.getMaxKeyCode() >> 16) - 248249909, (byte) (83 - TextUtils.lastIndexOf("", '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(MotionEvent.axisFromString("") + 488, MotionEvent.axisFromString("") + 6, (char) ('0' - AndroidCharacter.getMirror('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;
}
}
}
}
@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 = s + 75;
u = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 72 / 0;
}
int i5 = u + 67;
s = i5 % 128;
int i6 = i5 % 2;
}
}