what-the-bank/sources/com/scb/phone/view/activity/registration/preregistration/PreregistrationPinActivity....

726 lines
43 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.registration.preregistration;
import android.content.Context;
import android.content.Intent;
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.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
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 androidx.fragment.app.Fragment;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.registration.preregistration.PreregistrationPinFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC11696ekH;
import o.C3614bBe;
import o.C4403bZM;
import o.xzZ;
/* loaded from: classes5.dex */
public class PreregistrationPinActivity extends AbstractActivityC11696ekH {
private static final byte[] $$y = {Ascii.US, -107, 35, 49};
private static final int $$z = 34;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int t = 1;
private static int[] m = {1851207376, 1791642183, -1581583258, 834579147, 19606732, 347888088, -948500132, -1898557068, -1693543677, 566665911, -2043244780, -876923276, -1455055722, -1612556833, 489205219, 157600139, -219773821, 298123639};
/* renamed from: o, reason: collision with root package name */
private static char[] f7865o = {16332, 16329, 16317, 16315, 16304, 16316, 16313, 16318, 16312, 16330, 16328, 16314, 16263, 16319, 16331, 16333, 16261, 16260};
private static int l = 1934311031;
private static boolean k = true;
private static boolean p = true;
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0026). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aF(byte r5, short r6, byte r7, java.lang.Object[] r8) {
/*
int r7 = 122 - r7
int r5 = r5 * 4
int r5 = r5 + 4
int r6 = r6 * 4
int r0 = r6 + 1
byte[] r1 = com.scb.phone.view.activity.registration.preregistration.PreregistrationPinActivity.$$y
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L14
r4 = r6
r3 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r6) goto L22
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L22:
r4 = r1[r5]
int r3 = r3 + 1
L26:
int r4 = -r4
int r5 = r5 + 1
int r7 = r7 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.registration.preregistration.PreregistrationPinActivity.aF(byte, short, byte, java.lang.Object[]):void");
}
public static void c(Context context) {
int i = 2 % 2;
context.startActivity(new Intent(context, (Class<?>) PreregistrationPinActivity.class));
int i2 = q + 75;
t = i2 % 128;
int i3 = i2 % 2;
}
public static void b(Context context, Boolean bool) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) PreregistrationPinActivity.class);
intent.putExtra("mobile_preregister", bool);
context.startActivity(intent);
int i2 = q + 17;
t = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
int i2 = q + 59;
t = i2 % 128;
return (PreregistrationPinFragment) (i2 % 2 == 0 ? PreregistrationPinFragment.a(new Object[]{Boolean.valueOf(getIntent().getBooleanExtra("mobile_preregister", true))}, 1799854610, -1799854600, (int) System.currentTimeMillis()) : PreregistrationPinFragment.a(new Object[]{Boolean.valueOf(getIntent().getBooleanExtra("mobile_preregister", false))}, 1799854610, -1799854600, (int) System.currentTimeMillis()));
}
@Override // o.AbstractActivityC11696ekH, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{-2088701014, 1779297181, -1615709190, 1316018252, -176592546, -684763971, 1577173588, 1250414560, -1287788401, -366840840}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.data_sharing_consent_decline_dialog_description).substring(44, 45).length() + 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{1120973733, -1992742666, 65992951, 945520037}, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = q + 7;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aD(new int[]{-2088701014, 1779297181, -1615709190, 1316018252, -122753465, 2091623115, 1719216162, -1503958178, -90278067, 416125982, -341508305, -2099060070, -704307469, 1173906072}, ((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];
aD(new int[]{-1624618108, 777545493, -1824571291, -813142934, -466255756, -2021832649, 1603680692, -608526213, 1143214880, -1130306900}, ((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) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = q + 91;
t = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 492, 5 - Color.alpha(0), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(new int[]{-1379892534, 353099580, 797759740, 1846389573, -867155912, -1359800421, -223133709, -487214978, -98833386, 718593592, 1757510287, 1897967972, -1102737512, 1538607785, -766601052, -444873203, 789921372, -1532572278, 741142656, -148584786, 344766203, -763737529, 1916341001, 2134875097}, 48 - View.resolveSizeAndState(0, 0, 0), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 114, new byte[]{ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -126, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.CHANNEL_SECURITY, -119, ISOFileInfo.LCS_BYTE, ISOFileInfo.CHANNEL_SECURITY, -126, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, -120, -112, ISOFileInfo.CHANNEL_SECURITY, -113, -126, ISOFileInfo.FILE_IDENTIFIER, -119, -122, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.SECURITY_ATTR_EXP, -126, ISOFileInfo.FILE_IDENTIFIER, -126, -126, ISOFileInfo.CHANNEL_SECURITY, -122, ISOFileInfo.SECURITY_ATTR_EXP, -122, -120, -120, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.SECURITY_ATTR_COMPACT, -124, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, -119, -124, ISOFileInfo.FILE_IDENTIFIER, -119, -120, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FCI_EXT, -122, ISOFileInfo.DATA_BYTES2, ISOFileInfo.PROP_INFO, -124, -126, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new int[]{-670098822, -601936747, -744265977, -1364115506, 508399953, -1338609965, -1409464014, -1879279235, 484946167, 2073594357, 1736152563, 1957169402, 859358177, 1672104046, 657704493, -1081711377, -506572816, -365782318, 1224167975, 941300073, 2030638054, -1063787797, 31023334, -103006044, -402208675, -990383049, -2076120766, -1106491238, -1427409427, 1971893315, 639409176, 1977152210}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{-2108813693, -70997677, 863151189, 1134931744, 2016875441, 505077801, 775527827, -1331937710, 2013248994, -236412437, -1329064462, -214227675, -1435759572, 1846903996, 1287544998, -1920169243, -295753111, 2049288525, -401560894, -184383375, -934424700, -2112905940, -439241792, -1664725677, -120371482, -2113281947, 1914593235, 511386733, 1424466216, -648745956, -1838386483, 692963654, -1239917131, -1036074291, 1922460571, -1522427254, 1330425734, -1875806124}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_cvv_title).substring(18, 19).length() + 73, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(null, null, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 127, new byte[]{ISOFileInfo.ENV_TEMP_EF, -111, ISOFileInfo.CHANNEL_SECURITY, -111, ISOFileInfo.PROP_INFO}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) + 16, new byte[]{ISOFileInfo.DATA_BYTES2, -119, -122, -124, -122, ISOFileInfo.LCS_BYTE, ISOFileInfo.DATA_BYTES2, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.FCI_EXT, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, -110, ISOFileInfo.LCS_BYTE, ISOFileInfo.DATA_BYTES2, -126, ISOFileInfo.SECURITY_ATTR_EXP, -110, -119, -119, ISOFileInfo.FCI_EXT, -124, -110, -126, ISOFileInfo.DATA_BYTES2, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FILE_IDENTIFIER, -110, ISOFileInfo.ENV_TEMP_EF, -124, ISOFileInfo.PROP_INFO, -113, -124, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2}, 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(486 - MotionEvent.axisFromString(""), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) Color.blue(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 aD(int[] iArr, int i, Object[] objArr) {
int length;
int[] iArr2;
int i2;
int i3;
char c;
int i4 = 2;
int i5 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = m;
int i6 = 16;
int i7 = 1;
int i8 = 0;
if (iArr3 != null) {
int i9 = $10 + 107;
$11 = i9 % 128;
int i10 = i9 % 2;
int length2 = iArr3.length;
int[] iArr4 = new int[length2];
int i11 = 0;
while (i11 < length2) {
int i12 = $10 + 99;
$11 = i12 % 128;
int i13 = i12 % i4;
try {
Object[] objArr2 = {Integer.valueOf(iArr3[i11])};
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> i6) + 15, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (ExpandableListView.getPackedPositionGroup(0L) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i11] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i11++;
i4 = 2;
i6 = 16;
} 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 = m;
if (iArr6 != null) {
int i14 = $11 + 111;
$10 = i14 % 128;
if (i14 % 2 != 0) {
length = iArr6.length;
iArr2 = new int[length];
i2 = 1;
} else {
length = iArr6.length;
iArr2 = new int[length];
i2 = 0;
}
while (i2 < length) {
int i15 = $11 + 71;
$10 = i15 % 128;
if (i15 % 2 != 0) {
try {
Object[] objArr3 = new Object[i7];
objArr3[i8] = Integer.valueOf(iArr6[i2]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
i3 = length;
} else {
obj2 = ((Class) xzZ.c(Color.green(i8) + 15, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (58133 - (ExpandableListView.getPackedPositionForChild(i8, i8) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(i8, i8) == 0L ? 0 : -1))))).getMethod("i", Integer.TYPE);
i3 = length;
xzZ.y.put(729798706, obj2);
}
iArr2[i2] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i2 >>= 1;
c = 55346;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
i3 = length;
Object[] objArr4 = {Integer.valueOf(iArr6[i2])};
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
c = 55346;
} else {
obj3 = ((Class) xzZ.c(15 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) ((ViewConfiguration.getEdgeSlop() >> 16) + 58134))).getMethod("i", Integer.TYPE);
c = 55346;
xzZ.y.put(729798706, obj3);
}
iArr2[i2] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i2++;
}
length = i3;
i7 = 1;
i8 = 0;
}
iArr6 = iArr2;
}
int i16 = i8;
System.arraycopy(iArr6, i16, iArr5, i16, length3);
c4403bZM.b = i16;
while (c4403bZM.b < iArr.length) {
cArr[i16] = (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 i17 = $10 + 123;
$11 = i17 % 128;
int i18 = 2;
int i19 = i17 % 2;
int i20 = 0;
while (i20 < 16) {
int i21 = $11 + 1;
$10 = i21 % 128;
if (i21 % i18 != 0) {
c4403bZM.e ^= iArr5[i20];
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(117 - TextUtils.indexOf((CharSequence) "", '0', 0), 4 - TextUtils.lastIndexOf("", '0', 0), (char) Gravity.getAbsoluteGravity(0, 0));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr6 = new Object[1];
aF(b, b2, (byte) (b2 | Ascii.DC2), 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;
i20 += 91;
} else {
c4403bZM.e ^= iArr5[i20];
try {
Object[] objArr7 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(-1196964548);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 118, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (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)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr8 = new Object[1];
aF(b3, b4, (byte) (b4 | Ascii.DC2), objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj5);
}
int intValue2 = ((Integer) ((Method) obj5).invoke(null, objArr7)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i20++;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
i18 = 2;
}
int i22 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i22;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i23 = c4403bZM.e;
int i24 = 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[] objArr9 = {c4403bZM, c4403bZM};
Object obj6 = xzZ.y.get(1914371176);
if (obj6 == null) {
Class cls3 = (Class) xzZ.c(98 - TextUtils.getCapsMode("", 0, 0), View.getDefaultSize(0, 0) + 5, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr10 = new Object[1];
aF(b5, b6, (byte) (b6 | Ascii.DC4), objArr10);
obj6 = cls3.getMethod((String) objArr10[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj6);
}
((Method) obj6).invoke(null, objArr9);
i16 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
private static void aE(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
char[] cArr2;
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = f7865o;
if (cArr3 != null) {
int length = cArr3.length;
char[] cArr4 = new char[length];
for (int i3 = 0; i3 < length; i3++) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i3])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c((Process.myPid() >> 22) + 337, View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) ExpandableListView.getPackedPositionGroup(0L));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, (byte) (b2 | 57), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr4[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
Object[] objArr4 = {Integer.valueOf(l)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 283, Gravity.getAbsoluteGravity(0, 0) + 5, (char) (Color.rgb(0, 0, 0) + 16817029));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aF(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (p) {
int i4 = $10 + 47;
$11 = i4 % 128;
if (i4 % 2 == 0) {
c3614bBe.c = bArr.length;
cArr2 = new char[c3614bBe.c];
c3614bBe.a = 1;
} else {
c3614bBe.c = bArr.length;
cArr2 = new char[c3614bBe.c];
c3614bBe.a = 0;
}
while (c3614bBe.a < c3614bBe.c) {
cArr2[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(41 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), KeyEvent.keyCodeFromString("") + 5, (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr2);
return;
}
if (!k) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
int i5 = $11 + 105;
$10 = i5 % 128;
int i6 = i5 % 2;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i7 = $11 + 71;
$10 = i7 % 128;
int i8 = i7 % 2;
cArr6[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 41, Color.alpha(0) + 5, (char) TextUtils.indexOf("", ""))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr6);
}
@Override // o.AbstractActivityC11696ekH, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = t + 37;
q = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new int[]{-2088701014, 1779297181, -1615709190, 1316018252, -122753465, 2091623115, 1719216162, -1503958178, -90278067, 416125982, -341508305, -2099060070, -704307469, 1173906072}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{-1624618108, 777545493, -1824571291, -813142934, -466255756, -2021832649, 1603680692, -608526213, 1143214880, -1130306900}, (ViewConfiguration.getWindowTouchSlop() >> 8) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i3 = t + 121;
q = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
int i5 = t + 59;
q = i5 % 128;
int i6 = i5 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - View.MeasureSpec.makeMeasureSpec(0, 0), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (TextUtils.lastIndexOf("", '0') + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 487, View.resolveSize(0, 0) + 5, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
return;
}
getBaseContext();
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC11696ekH, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = t + 43;
q = i2 % 128;
if (i2 % 2 == 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new int[]{-2088701014, 1779297181, -1615709190, 1316018252, -122753465, 2091623115, 1719216162, -1503958178, -90278067, 416125982, -341508305, -2099060070, -704307469, 1173906072}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_scb_promptpay_landing_title).substring(6, 11).length() + 21, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{-1624618108, 777545493, -1824571291, -813142934, -466255756, -2021832649, 1603680692, -608526213, 1143214880, -1130306900}, 18 - (ViewConfiguration.getFadingEdgeLength() >> 16), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = t + 115;
q = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 444, (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 487, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).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();
return;
}
getBaseContext();
throw null;
}
@Override // o.AbstractActivityC11696ekH, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = t + 77;
q = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{-2088701014, 1779297181, -1615709190, 1316018252, -176592546, -684763971, 1577173588, 1250414560, -1287788401, -366840840}, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{1120973733, -1992742666, 65992951, 945520037}, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = t + 53;
q = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
context2 = context.getApplicationContext();
int i6 = q + 99;
t = i6 % 128;
int i7 = i6 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i8 = t + 13;
q = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0), Color.red(0) + 5, (char) View.resolveSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(new int[]{-1379892534, 353099580, 797759740, 1846389573, -867155912, -1359800421, -223133709, -487214978, -98833386, 718593592, 1757510287, 1897967972, -1102737512, 1538607785, -766601052, -444873203, 789921372, -1532572278, 741142656, -148584786, 344766203, -763737529, 1916341001, 2134875097}, 48 - ExpandableListView.getPackedPositionType(0L), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(null, null, KeyEvent.getDeadChar(0, 0) + 127, new byte[]{ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -126, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.CHANNEL_SECURITY, -119, ISOFileInfo.LCS_BYTE, ISOFileInfo.CHANNEL_SECURITY, -126, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, -120, -112, ISOFileInfo.CHANNEL_SECURITY, -113, -126, ISOFileInfo.FILE_IDENTIFIER, -119, -122, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.SECURITY_ATTR_EXP, -126, ISOFileInfo.FILE_IDENTIFIER, -126, -126, ISOFileInfo.CHANNEL_SECURITY, -122, ISOFileInfo.SECURITY_ATTR_EXP, -122, -120, -120, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.SECURITY_ATTR_COMPACT, -124, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, -119, -124, ISOFileInfo.FILE_IDENTIFIER, -119, -120, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FCI_EXT, -122, ISOFileInfo.DATA_BYTES2, ISOFileInfo.PROP_INFO, -124, -126, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new int[]{-670098822, -601936747, -744265977, -1364115506, 508399953, -1338609965, -1409464014, -1879279235, 484946167, 2073594357, 1736152563, 1957169402, 859358177, 1672104046, 657704493, -1081711377, -506572816, -365782318, 1224167975, 941300073, 2030638054, -1063787797, 31023334, -103006044, -402208675, -990383049, -2076120766, -1106491238, -1427409427, 1971893315, 639409176, 1977152210}, 64 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new int[]{-2108813693, -70997677, 863151189, 1134931744, 2016875441, 505077801, 775527827, -1331937710, 2013248994, -236412437, -1329064462, -214227675, -1435759572, 1846903996, 1287544998, -1920169243, -295753111, 2049288525, -401560894, -184383375, -934424700, -2112905940, -439241792, -1664725677, -120371482, -2113281947, 1914593235, 511386733, 1424466216, -648745956, -1838386483, 692963654, -1239917131, -1036074291, 1922460571, -1522427254, 1330425734, -1875806124}, 74 - (ViewConfiguration.getJumpTapTimeout() >> 16), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(null, null, Color.rgb(0, 0, 0) + 16777343, new byte[]{ISOFileInfo.ENV_TEMP_EF, -111, ISOFileInfo.CHANNEL_SECURITY, -111, ISOFileInfo.PROP_INFO}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(null, null, TextUtils.indexOf((CharSequence) "", '0', 0) + 128, new byte[]{ISOFileInfo.DATA_BYTES2, -119, -122, -124, -122, ISOFileInfo.LCS_BYTE, ISOFileInfo.DATA_BYTES2, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.FCI_EXT, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, -110, ISOFileInfo.LCS_BYTE, ISOFileInfo.DATA_BYTES2, -126, ISOFileInfo.SECURITY_ATTR_EXP, -110, -119, -119, ISOFileInfo.FCI_EXT, -124, -110, -126, ISOFileInfo.DATA_BYTES2, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FILE_IDENTIFIER, -110, ISOFileInfo.ENV_TEMP_EF, -124, ISOFileInfo.PROP_INFO, -113, -124, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2}, 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((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 486, View.resolveSize(0, 0) + 5, (char) Color.argb(0, 0, 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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object c(Object[] objArr) {
int i = 2 % 2;
int i2 = t;
int i3 = i2 + 111;
q = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
int i4 = i2 + 47;
q = i4 % 128;
int i5 = i4 % 2;
return null;
}
@Override // o.AbstractActivityC11696ekH, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = q + 53;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final int K() {
int i = 2 % 2;
int i2 = t + 117;
q = i2 % 128;
if (i2 % 2 == 0) {
return R.layout.2131558575;
}
int i3 = 18 / 0;
return R.layout.2131558575;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 923626155;
return (String) c(new Object[]{this});
}
}