what-the-bank/sources/com/scb/phone/view/activity/bankingagent/Hilt_BankingAgentTCActivity...

738 lines
39 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.bankingagent;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.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.R;
import com.scb.phone.view.activity.BaseActivityWithFragment;
import java.lang.reflect.Method;
import o.C13068fPo;
import o.C13073fPt;
import o.C4403bZM;
import o.InterfaceC17278vUG;
import o.InterfaceC9878dsG;
import o.TVH;
import o.VLM;
import o.fOV;
import o.fPA;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public abstract class Hilt_BankingAgentTCActivity extends BaseActivityWithFragment implements fPA {
private volatile C13073fPt b;
private final Object k = new Object();
boolean m = false;
private static final byte[] $$y = {63, -89, -19, -14};
private static final int $$z = CipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int s = 1;
private static char[] l = {39993, 40032, 40059, 40039, 40045, 40002, 40005, 40058, 40027, 39988, 40042, 40059, 40034, 40047, 40039, 40056, 40033, 40044, 39995, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40012, 40035, 40059, 40004, 39996, 40025, 40032, 40037, 40036, 40036, 40037, 40061, 40045, 40021, 40038, 40032, 40040, 40041, 39985, 40017, 40019, 40059, 40037, 40033, 40045, 40041, 40033, 40037, 40039, 40037, 40035, 40039, 40056, 40057, 40032, 40034, 40055, 40012, 40005, 40000, 40012, 40012, 40049, 40004, 40050, 40000, 40050, 40007, 40055, 40004, 40060, 40001, 40002, 40005, 40003, 40002, 40051, 40005, 40002, 40051, 40002, 40060, 40003, 40004, 40051, 40060, 40055, 40050, 40002, 40051, 40001, 40006, 40012, 40001, 40048, 40005, 40050, 40000, 40004, 40001, 40003, 40051, 40051, 40048, 40028, 40098, 40098, 40098, 40110};
/* renamed from: o, reason: collision with root package name */
private static int[] f6576o = {-1051648722, -645311710, -1666426103, 1999840750, 913877522, 1354680080, -1113679469, -1992794995, 1892680284, -1822506326, -1824833239, -225141022, -1000982657, 1938366747, -719080521, -2116773460, -455568032, -176150934};
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4: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(short r5, byte r6, byte r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 2
int r5 = 4 - r5
int r6 = r6 + 71
int r7 = r7 * 4
int r7 = r7 + 1
byte[] r0 = com.scb.phone.view.activity.bankingagent.Hilt_BankingAgentTCActivity.$$y
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L14
r4 = r7
r3 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r6
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r7) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L24:
r4 = r0[r5]
L26:
int r4 = -r4
int r6 = r6 + r4
int r5 = r5 + 1
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bankingagent.Hilt_BankingAgentTCActivity.aF(short, byte, byte, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_BankingAgentTCActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.bankingagent.Hilt_BankingAgentTCActivity.5
private Hilt_BankingAgentTCActivity d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_BankingAgentTCActivity hilt_BankingAgentTCActivity = this.d;
if (hilt_BankingAgentTCActivity.m) {
return;
}
hilt_BankingAgentTCActivity.m = true;
((InterfaceC9878dsG) hilt_BankingAgentTCActivity.y_()).c((BankingAgentTCActivity) hilt_BankingAgentTCActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = s + 61;
r = i2 % 128;
int i3 = i2 % 2;
Object y_ = f().y_();
int i4 = s + 11;
r = i4 % 128;
if (i4 % 2 == 0) {
return y_;
}
throw null;
}
private C13073fPt f() {
if (this.b == null) {
synchronized (this.k) {
if (this.b == null) {
this.b = new C13073fPt(this);
}
}
}
return this.b;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = r + 33;
s = i2 % 128;
int i3 = i2 % 2;
VLM.LWm aBN_ = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a().aBN_(this, getIntent() != null ? getIntent().getExtras() : null, super.getDefaultViewModelProviderFactory());
int i4 = r + 81;
s = i4 % 128;
if (i4 % 2 != 0) {
return aBN_;
}
throw null;
}
private static void aE(int[] iArr, int i, Object[] objArr) {
int length;
int[] iArr2;
int[] iArr3;
char c;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = f6576o;
char c2 = '0';
int i3 = 1;
int i4 = 0;
if (iArr4 != null) {
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int i5 = 0;
while (i5 < length2) {
try {
Object[] objArr2 = new Object[i3];
objArr2[0] = Integer.valueOf(iArr4[i5]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 15, 4 - TextUtils.lastIndexOf("", c2), (char) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr5[i5] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i5++;
c2 = '0';
i3 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i6 = $10 + 1;
$11 = i6 % 128;
int i7 = i6 % 2;
iArr4 = iArr5;
}
int length3 = iArr4.length;
int[] iArr6 = new int[length3];
int[] iArr7 = f6576o;
if (iArr7 != null) {
int i8 = $11 + 79;
$10 = i8 % 128;
if (i8 % 2 != 0) {
length = iArr7.length;
iArr2 = new int[length];
} else {
length = iArr7.length;
iArr2 = new int[length];
}
int i9 = 0;
while (i9 < length) {
int i10 = $11 + 75;
$10 = i10 % 128;
int i11 = i10 % 2;
Object[] objArr3 = new Object[1];
objArr3[i4] = Integer.valueOf(iArr7[i9]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr3 = iArr7;
c = 55346;
} else {
iArr3 = iArr7;
Method method = ((Class) xzZ.c(16 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (TextUtils.getOffsetBefore("", 0) + 58134))).getMethod("i", Integer.TYPE);
c = 55346;
xzZ.y.put(729798706, method);
obj2 = method;
}
iArr2[i9] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i9++;
iArr7 = iArr3;
i4 = 0;
}
iArr7 = iArr2;
}
System.arraycopy(iArr7, i4, iArr6, i4, length3);
c4403bZM.b = i4;
while (c4403bZM.b < iArr.length) {
cArr[i4] = (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(iArr6);
int i12 = 0;
for (int i13 = 16; i12 < i13; i13 = 16) {
c4403bZM.e ^= iArr6[i12];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c(118 - (ViewConfiguration.getTouchSlop() >> 8), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getWindowTouchSlop() >> 8));
byte b = (byte) 0;
Object[] objArr5 = new Object[1];
aF(b, (byte) (b | 33), b, objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i12++;
}
int i14 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i14;
c4403bZM.a ^= iArr6[16];
c4403bZM.e ^= iArr6[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(iArr6);
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 cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 99, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aF(b2, (byte) (b2 | Ascii.US), b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
i4 = 0;
}
String str = new String(cArr2, 0, i);
int i17 = $10 + 25;
$11 = i17 % 128;
if (i17 % 2 == 0) {
Object obj5 = null;
obj5.hashCode();
throw null;
}
objArr[0] = str;
}
@Override // 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;
int i2 = s + 67;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 0, 16}, false, new byte[]{0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{2062147323, -1836661129, 1647991214, 144247472}, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aD(new int[]{18, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new int[]{44, 18, 0, 12}, false, new byte[]{0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 9;
r = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = s + 45;
r = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 4 - ExpandableListView.getPackedPositionChild(0L), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(new int[]{62, 48, 22, 37}, true, null, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{-194230199, -483364910, -1167244267, -1311147638, 368213195, 178402161, -1517943932, -691385512, -2062024861, -1399288268, -497173925, -367783179, 417349667, 1214898054, -1156065339, 95576063, 811727749, 1516312078, 1198392914, 1583181806, 1910573919, 1213931147, 300103890, 276584595, 200587791, 989905918, 650874595, 943334641, 1701019837, -957595741, -1204089191, 511169967}, View.combineMeasuredStates(0, 0) + 64, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{-774225653, 348476966, 601562331, -951204566, 1471608078, 1213522293, 733518945, -1136569889, 679484448, -1986416752, -307490584, 1726956211, -2090434417, 453599075, 1367393174, -526768808, -1887296832, 1093282652, 1387095894, -1956596432, -1699881602, 720633247, 1474525861, -161243771, 430390478, -569399397, -1203545653, -526559916, -350717873, -1472241232, -889909013, -1376968415}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_terms_and_conditions_mf_check_box_title).substring(81, 82).codePointAt(0) + 32, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new int[]{1585642863, 261862785, -1832857874, 118908879, 1571769217, 247082842, -256918934, -185234330, -211543240, -33587482, -1056020731, 693744098, 1382537729, -1628189439, -1580901979, -1238421172, -1247947785, 1171543502, 1134799112, 1412321731, 418392718, 2133343740, -1961459168, 1227657620, 301117661, 1671691418, 249193413, 1529869439, -1183161822, 739755326, 1490469927, 1600396035, 1255615800, -1654000072, 411151751, -230190359, -1715554355, 904622351}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 61, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new int[]{110, 5, 118, 0}, false, new byte[]{1, 1, 0, 0, 0}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE(new int[]{-732871894, -607280772, 1438098552, -1846087456, -1697255431, 1306054420, -1709393056, 825249989, -911052976, -1496163539, 1021698815, -1924013670, 814741284, 28547197, 122475933, 1144642227, 296558998, 2131317758}, 36 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 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(488 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).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.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;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 63;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{18, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{44, 18, 0, 12}, false, new byte[]{0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = r + 69;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = r + 111;
s = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 492, 5 - ExpandableListView.getPackedPositionType(0L), (char) (ExpandableListView.getPackedPositionChild(0L) + 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(View.MeasureSpec.getSize(0) + 487, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i8 = r + 3;
s = i8 % 128;
if (i8 % 2 == 0) {
throw null;
}
}
private static void aD(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i = 2 % 2;
TVH tvh = new TVH();
int i2 = 0;
int i3 = iArr[0];
int i4 = iArr[1];
int i5 = iArr[2];
int i6 = iArr[3];
char[] cArr = l;
long j = 0;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i2] = Integer.valueOf(cArr[i7]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(222 - ExpandableListView.getPackedPositionChild(j), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(i2) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(i2) == 0.0d ? 0 : -1)), (char) (Color.blue(i2) + 41977));
byte b = (byte) i2;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
i2 = 0;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i4];
System.arraycopy(cArr, i3, cArr3, 0, i4);
if (bArr != null) {
char[] cArr4 = new char[i4];
tvh.c = 0;
int i8 = $10 + 21;
$11 = i8 % 128;
int i9 = i8 % 2;
char c = 0;
while (tvh.c < i4) {
if (bArr[tvh.c] == 1) {
int i10 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - KeyEvent.normalizeMetaState(0), 5 - View.combineMeasuredStates(0, 0), (char) (54 - Color.red(0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i10] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i11 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (58134 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i11] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
int i12 = $11 + 123;
$10 = i12 % 128;
int i13 = i12 % 2;
}
c = cArr4[tvh.c];
try {
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - View.MeasureSpec.getMode(0), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (Drawable.resolveOpacity(0, 0) + 21608));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 2);
Object[] objArr7 = new Object[1];
aF(b3, b4, (byte) (b4 - 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
cArr3 = cArr4;
}
if (i6 > 0) {
int i14 = $10 + 117;
$11 = i14 % 128;
int i15 = i14 % 2;
char[] cArr5 = new char[i4];
System.arraycopy(cArr3, 0, cArr5, 0, i4);
int i16 = i4 - i6;
System.arraycopy(cArr5, 0, cArr3, i16, i6);
System.arraycopy(cArr5, i6, cArr3, 0, i16);
}
if (z) {
int i17 = $10 + 87;
$11 = i17 % 128;
int i18 = i17 % 2;
char[] cArr6 = new char[i4];
int i19 = 0;
while (true) {
tvh.c = i19;
if (tvh.c >= i4) {
break;
}
cArr6[tvh.c] = cArr3[(i4 - tvh.c) - 1];
i19 = tvh.c + 1;
}
int i20 = $10 + 45;
$11 = i20 % 128;
int i21 = i20 % 2;
cArr3 = cArr6;
}
if (i5 > 0) {
int i22 = 0;
while (true) {
tvh.c = i22;
if (tvh.c >= i4) {
break;
}
int i23 = $10 + 37;
$11 = i23 % 128;
int i24 = i23 % 2;
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i22 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@Override // 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 = r + 47;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new int[]{18, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{44, 18, 0, 12}, false, new byte[]{0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 45;
r = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = s + 47;
r = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.getMode(0) + 492, (Process.myPid() >> 22) + 5, (char) ((-1) - ImageFormat.getBitsPerPixel(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(TextUtils.indexOf("", "") + 487, 5 - KeyEvent.getDeadChar(0, 0), (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i7 = 57 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - View.resolveSize(0, 0), MotionEvent.axisFromString("") + 6, (char) ExpandableListView.getPackedPositionType(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 487, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // 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) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 0, 16}, false, new byte[]{0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{2062147323, -1836661129, 1647991214, 144247472}, View.resolveSizeAndState(0, 0, 0) + 5, objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = r + 65;
s = i2 % 128;
if (i2 % 2 == 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i3 = r + 9;
s = i3 % 128;
int i4 = i3 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, 5 - KeyEvent.normalizeMetaState(0), (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(new int[]{62, 48, 22, 37}, true, null, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new int[]{-194230199, -483364910, -1167244267, -1311147638, 368213195, 178402161, -1517943932, -691385512, -2062024861, -1399288268, -497173925, -367783179, 417349667, 1214898054, -1156065339, 95576063, 811727749, 1516312078, 1198392914, 1583181806, 1910573919, 1213931147, 300103890, 276584595, 200587791, 989905918, 650874595, 943334641, 1701019837, -957595741, -1204089191, 511169967}, 63 - Process.getGidForName(""), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new int[]{-774225653, 348476966, 601562331, -951204566, 1471608078, 1213522293, 733518945, -1136569889, 679484448, -1986416752, -307490584, 1726956211, -2090434417, 453599075, 1367393174, -526768808, -1887296832, 1093282652, 1387095894, -1956596432, -1699881602, 720633247, 1474525861, -161243771, 430390478, -569399397, -1203545653, -526559916, -350717873, -1472241232, -889909013, -1376968415}, 63 - TextUtils.lastIndexOf("", '0', 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{1585642863, 261862785, -1832857874, 118908879, 1571769217, 247082842, -256918934, -185234330, -211543240, -33587482, -1056020731, 693744098, 1382537729, -1628189439, -1580901979, -1238421172, -1247947785, 1171543502, 1134799112, 1412321731, 418392718, 2133343740, -1961459168, 1227657620, 301117661, 1671691418, 249193413, 1529869439, -1183161822, 739755326, 1490469927, 1600396035, 1255615800, -1654000072, 411151751, -230190359, -1715554355, 904622351}, 74 - TextUtils.indexOf("", "", 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new int[]{110, 5, 118, 0}, false, new byte[]{1, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new int[]{-732871894, -607280772, 1438098552, -1846087456, -1697255431, 1306054420, -1709393056, 825249989, -911052976, -1496163539, 1021698815, -1924013670, 814741284, 28547197, 122475933, 1144642227, 296558998, 2131317758}, (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)) + 36, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(486 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
int i5 = r + 73;
s = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // 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 = s + 21;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = r + 71;
s = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 9 / 0;
}
}
}