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

569 lines
37 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
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.google.common.base.Ascii;
import com.google.common.primitives.SignedBytes;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.closeaccount.CloseAccountSelectMainAccountActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.lds.CVCAFile;
/* renamed from: o.dzw, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC10290dzw extends BaseActivity implements fPA {
private static short[] u;
private volatile C13073fPt m;
private static final byte[] $$p = {Ascii.ETB, -9, -41, -17};
private static final int $$q = CipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int w = 0;
private static int x = 1;
private static char k = 11131;
/* renamed from: o, reason: collision with root package name */
private static char f8951o = 46968;
private static char t = 41986;
private static char q = 46950;
private static int r = 1405515476;
private static int s = 1406017107;
private static int p = 721866848;
private static byte[] v = {10, 45, Ascii.NAK, 37, Ascii.DC2, Ascii.NAK, ISO7816.INS_APPEND_RECORD, Ascii.ESC, 13, ISO7816.INS_GET_DATA, 28, Ascii.SUB, ISO7816.INS_APPEND_RECORD, 4, -20, 0, 51, 2, -41, 17, 6, ISO7816.INS_MSE, -37, -22, -21, Ascii.DC4, 7, -17, 4, -20, CVCAFile.CAR_TAG, -22, 77, 51, 58, 57, -17, 63, ISO7816.INS_INCREASE, 60, 74, 54, 56, 59, 63, ISO7816.INS_APPEND_RECORD, SignedBytes.MAX_POWER_OF_TWO, Ascii.NAK, 77, -23, CVCAFile.CAR_TAG, -17, CVCAFile.CAR_TAG, Ascii.ETB, CVCAFile.CAR_TAG, 62, ISO7816.INS_DECREASE, 37, 60, -18, 65, 58, -18, 76, -23, 76, 54, Ascii.DC4, 62, ISO7816.INS_DECREASE, 56, 79, -18, 77, ISO7816.INS_INCREASE, 37, -82, 7, -1, -82, -9, -7, 13, -92, 8, -53, -1, -16, -8, ISOFileInfo.A1, -1, -15, 3, -81, -15, 15, -16, -7, -9, -2, -14, -13, -15, -14, -82, -13, 0, -94, 7, -1, -16, -81, -13, 0, -87, 13, -9, -5, -13, -3, -92, -2, -3, 5, -6, -10, -84, -15, 12, -12, -5, ISOFileInfo.A1, -14, 12, -84, 0, -1, ISO7816.INS_GET_DATA, ISOFileInfo.AB, Ascii.ESC, 0, 13, -21, 53, 80, Ascii.EM, -34, 67, -33, 5, 8, Ascii.CAN, 29, 1, 92, ISO7816.INS_GET_RESPONSE, 29, 11, 84, -60, Ascii.CAN, 14, 81, -51, Ascii.ETB, 53, -18, 6, Ascii.CAN, 11, Ascii.DC4, 53, -18, 8, 93, ISO7816.INS_UPDATE_RECORD, 5, ISO7816.INS_DECREASE_STAMPED, Ascii.CAN, -21, 55, 30, Ascii.ETB, 12, Ascii.SYN, SignedBytes.MAX_POWER_OF_TWO, -57, Ascii.EM, 9, Ascii.ESC, 16, 15, Ascii.DC2, 0, Ascii.NAK, 9, Ascii.DC2, Ascii.SUB, Ascii.CAN, 14, 16, 14, Ascii.DC2, 16, 70, Ascii.SUB, 17, -61, 7, 30, Ascii.SUB, 14, Ascii.NAK, 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:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(byte r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 66
int r7 = r7 + 4
byte[] r0 = o.AbstractActivityC10290dzw.$$p
int r8 = r8 * 2
int r1 = 1 - r8
byte[] r1 = new byte[r1]
r2 = 0
int r8 = 0 - r8
if (r0 != 0) goto L15
r3 = r7
r6 = r8
r4 = r2
goto L2c
L15:
r3 = r2
L16:
byte r4 = (byte) r6
r1[r3] = r4
int r4 = r3 + 1
int r7 = r7 + 1
if (r3 != r8) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L27:
r3 = r0[r7]
r5 = r3
r3 = r7
r7 = r5
L2c:
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10290dzw.aC(byte, byte, short, java.lang.Object[]):void");
}
public AbstractActivityC10290dzw() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dzw.1
private AbstractActivityC10290dzw b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC10290dzw abstractActivityC10290dzw = this.b;
if (abstractActivityC10290dzw.b) {
return;
}
abstractActivityC10290dzw.b = true;
((InterfaceC10280dzm) abstractActivityC10290dzw.y_()).a((CloseAccountSelectMainAccountActivity) abstractActivityC10290dzw);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = w + 29;
x = i2 % 128;
int i3 = i2 % 2;
Object y_ = h().y_();
int i4 = w + 25;
x = 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() {
int i = 2 % 2;
int i2 = w + 29;
x = 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) {
bundle = getIntent().getExtras();
} else {
int i3 = w + 61;
x = i3 % 128;
int i4 = i3 % 2;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aA(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i5 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
cArr3[i5] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i6 = $11 + 105;
$10 = i6 % 128;
int i7 = i6 % i3;
int i8 = 58224;
int i9 = i5;
while (i9 < 16) {
char c = cArr3[1];
char c2 = cArr3[i5];
int i10 = (c2 + i8) ^ ((c2 << 4) + ((char) (t ^ 41718355337583039L)));
int i11 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(q);
objArr2[i3] = Integer.valueOf(i11);
objArr2[1] = Integer.valueOf(i10);
objArr2[i5] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.alpha(i5) + 412, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) TextUtils.getTrimmedLength(""));
byte b = (byte) i5;
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 + 1), objArr3);
String str = (String) objArr3[i5];
Class<?>[] clsArr = new Class[4];
clsArr[i5] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i5]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (k ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(f8951o)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - KeyEvent.getDeadChar(0, 0), MotionEvent.axisFromString("") + 6, (char) TextUtils.getCapsMode("", 0, 0));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i8 -= 40503;
i9++;
int i12 = $11 + 39;
$10 = i12 % 128;
if (i12 % 2 != 0) {
int i13 = 5 % 2;
}
cArr3 = cArr4;
i3 = 2;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 != null) {
i2 = 2;
} else {
Class cls3 = (Class) xzZ.c(97 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), Color.rgb(0, 0, 0) + 16777221, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')));
byte b5 = (byte) 1;
byte b6 = (byte) (-b5);
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 + 1), objArr7);
i2 = 2;
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
i3 = i2;
cArr3 = cArr5;
i5 = 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 onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = x + 19;
w = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
Object[] objArr = new Object[1];
aA(new char[]{27950, 40798, 8987, 37929, 23579, 36272, 546, 9758, 11912, 4126, 40659, 50315, 57764, 37115, 42993, 22483, 10482, 40420}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.pin_lock_button).substring(11, 15).codePointAt(0) - 14, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((short) ((-37) - TextUtils.lastIndexOf("", '0')), ((Process.getThreadPriority(0) + 20) >> 6) - 551105, TextUtils.indexOf("", "") - 65, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ccr_search_not_found_2).substring(0, 1).length() - 2026425865, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.new_deejung_transfer_speedy_cash_about).substring(273, 274).codePointAt(0) - 32), 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 = w + 83;
x = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mask_description_format).substring(0, 5).length() - 9), (-551100) - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.prepaid_request_review_caution_line4).substring(18, 19).length() - 45, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.input_income_remarks).substring(31, 32).codePointAt(0) - 2026425908, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 109), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new char[]{35685, 60251, 59744, 32235, 23827, 50318, 1170, 36180, 43068, 17622, 31497, 43632, 7887, 45503, 20265, 42116, 32612, 54824}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_business_owner_monthly_income_about_additional_info).substring(12, 13).codePointAt(0) - 14, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = x + 43;
w = i6 % 128;
if (i6 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = x + 91;
w = i7 % 128;
int i8 = i7 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 76), (-551110) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mw_shop_information_shop_email_hint).substring(0, 16).length() - 38, (-2026425966) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_robo_advisor_open_scbs_account_stop_3).substring(0, 1).codePointAt(0), (byte) (Process.myPid() >> 22), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{9712, 12230, 3205, 23449, 56413, 49331, 55515, 38998, 21900, 49867, 26127, 1348, 26127, 1348, 44931, 19656, 18929, 11412, 6246, 34891, 56669, 56666, 11925, 28441, 585, 51003, 14184, 7478, 55947, 11473, 49573, 41909, 20023, 4132, 56365, 39897, 1899, 39463, 24017, 8444, 56413, 49331, 33367, 36945, 57749, 23332, 56413, 49331, 4656, 28514, 23392, 19922, 17587, 60891, 25409, 7300, 33405, 24100, 57981, 59985, 56413, 49331, 59305, 19128}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((short) (25 - Color.green(0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 551063, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 40, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 2026425986, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 99), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((short) ((-15) - (ViewConfiguration.getKeyRepeatDelay() >> 16)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.marker_open_hour).substring(0, 22).codePointAt(3) - 551077, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.prepaid_travel_conversion_landing_currency_remark).substring(14, 15).length() + 3, TextUtils.getTrimmedLength("") - 2026425869, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.new_transaction_successful).substring(23, 24).length() - 1), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new char[]{8553, 10605, 3019, 7718, 42001, 51831}, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new char[]{65343, 28305, 47633, 54775, 38435, 10100, 56596, 41885, 6379, 3664, 22585, 60098, 25709, 58358, 18255, 44129, 23481, 802, 55246, 32211, 27777, 52009, 47327, 34940, 6355, 12804, 49797, 44435, 43304, 45186, 21719, 63406, 23540, 18194, 51307, 17701}, 36 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 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(((byte) KeyEvent.getModifierMetaStateMask()) + 488, 4 - TextUtils.lastIndexOf("", '0'), (char) TextUtils.indexOf("", "", 0))).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);
}
@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 = w + 123;
x = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 116), (-551101) - ((Process.getThreadPriority(0) + 20) >> 6), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 78, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.remittance_mobile_desc).substring(67, 68).length() - 2026425877, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{35685, 60251, 59744, 32235, 23827, 50318, 1170, 36180, 43068, 17622, 31497, 43632, 7887, 45503, 20265, 42116, 32612, 54824}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.FaceTec_internal_dev_mode_tag).substring(0, 31).length() - 13, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = w + 91;
x = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = x + 37;
w = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getWindowTouchSlop() >> 8), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))))).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((ViewConfiguration.getTapTimeout() >> 16) + 487, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (ViewConfiguration.getEdgeSlop() >> 16))).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 = x + 77;
w = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = x + 73;
w = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aB((short) ((-5) - TextUtils.indexOf((CharSequence) "", '0')), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_summary_request_value).substring(0, 5).length() - 551106, (-44) - View.MeasureSpec.makeMeasureSpec(0, 0), (ViewConfiguration.getScrollDefaultDelay() >> 16) - 2026425876, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{35685, 60251, 59744, 32235, 23827, 50318, 1170, 36180, 43068, 17622, 31497, 43632, 7887, 45503, 20265, 42116, 32612, 54824}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = w + 117;
x = i6 % 128;
if (i6 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i7 = 96 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 491, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) Color.alpha(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(488 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 5 - TextUtils.indexOf("", "", 0), (char) View.resolveSizeAndState(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();
}
/* JADX WARN: Code restructure failed: missing block: B:44:0x01dc, code lost:
if (r4 != false) goto L46;
*/
/* JADX WARN: Code restructure failed: missing block: B:45:0x01f2, code lost:
r4 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:73:0x01f0, code lost:
r4 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:75:0x01ee, code lost:
if (r4 != false) goto L46;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aB(short r17, int r18, int r19, int r20, byte r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 783
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10290dzw.aB(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, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = w + 21;
x = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{27950, 40798, 8987, 37929, 23579, 36272, 546, 9758, 11912, 4126, 40659, 50315, 57764, 37115, 42993, 22483, 10482, 40420}, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((short) ((-36) - (ViewConfiguration.getScrollBarFadeDuration() >> 16)), (-551105) - Color.red(0), (-65) - (ViewConfiguration.getFadingEdgeLength() >> 16), (-2026425864) - View.MeasureSpec.getSize(0), (byte) (Process.myPid() >> 22), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
context2 = context.getApplicationContext();
int i4 = x + 43;
w = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i6 = x + 113;
w = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "", 0) + 492, 5 - TextUtils.getTrimmedLength(""), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB((short) ((ViewConfiguration.getMinimumFlingVelocity() >> 16) - 42), (-551076) - (KeyEvent.getMaxKeyCode() >> 16), Color.argb(0, 0, 0, 0) - 22, (-2026425924) - (ViewConfiguration.getTouchSlop() >> 8), (byte) ((-1) - Process.getGidForName("")), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new char[]{9712, 12230, 3205, 23449, 56413, 49331, 55515, 38998, 21900, 49867, 26127, 1348, 26127, 1348, 44931, 19656, 18929, 11412, 6246, 34891, 56669, 56666, 11925, 28441, 585, 51003, 14184, 7478, 55947, 11473, 49573, 41909, 20023, 4132, 56365, 39897, 1899, 39463, 24017, 8444, 56413, 49331, 33367, 36945, 57749, 23332, 56413, 49331, 4656, 28514, 23392, 19922, 17587, 60891, 25409, 7300, 33405, 24100, 57981, 59985, 56413, 49331, 59305, 19128}, Color.blue(0) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB((short) (KeyEvent.keyCodeFromString("") + 25), (-551028) - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), TextUtils.getCapsMode("", 0, 0) - 6, KeyEvent.normalizeMetaState(0) - 2026425876, (byte) (ViewConfiguration.getFadingEdgeLength() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((short) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 16), (-550966) - TextUtils.indexOf("", "", 0, 0), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 3, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 2026425870, (byte) TextUtils.getTrimmedLength(""), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{8553, 10605, 3019, 7718, 42001, 51831}, AndroidCharacter.getMirror('0') - '+', objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{65343, 28305, 47633, 54775, 38435, 10100, 56596, 41885, 6379, 3664, 22585, 60098, 25709, 58358, 18255, 44129, 23481, 802, 55246, 32211, 27777, 52009, 47327, 34940, 6355, 12804, 49797, 44435, 43304, 45186, 21719, 63406, 23540, 18194, 51307, 17701}, 36 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 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(488 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), KeyEvent.getDeadChar(0, 0) + 5, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).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 = x + 47;
w = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = x + 99;
w = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 23 / 0;
}
}
}