what-the-bank/sources/com/scb/phone/view/activity/investment/scbs/ScbsAccountDetailActivity.java

722 lines
39 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.investment.scbs;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
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.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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.investment.scbs.ScbsAccountDetailFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC8770dVd;
import o.C4403bZM;
import o.OT;
import o.TVH;
import o.xzZ;
/* loaded from: classes5.dex */
public class ScbsAccountDetailActivity extends AbstractActivityC8770dVd {
private static final byte[] $$y = {ISOFileInfo.FCI_BYTE, -31, ISO7816.INS_MANAGE_CHANNEL, 54};
private static final int $$z = 72;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
private static int l = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f7492o = {39986, 40056, 40039, 40047, 40034, 40059, 40042, 39988, 40027, 40058, 40005, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 39986, 40050, 40038, 40046, 40039, 39993, 40041, 40040, 40032, 40038, 40021, 40045, 40061, 40037, 40036, 40036, 40037, 40032, 40025, 39996, 40004, 40059, 40035, 40012, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 39996, 40034, 40032, 40057, 40056, 40039, 40035, 40037, 40039, 40037, 40033, 40041, 40045, 40033, 40037, 40059, 40019, 40017, 39959, 40006, 40007, 39996, 39997, 39992, 40001, 40041, 40040, 40046, 40000, 39999, 39997, 39992, 39994, 40001, 40005, 40005, 40007, 40007, 40007, 40005, 40004, 40006, 40001, 39992, 39998, 39998, 39993, 40001, 40006, 39998, 40001, 40001, 40001, 40002, 39998, 40006, 40042, 40040, 40047, 40000, 40001, 40000, 39998, 39999, 39993, 40007};
private static int[] m = {455129037, -1476300908, 249462631, 2001906103, 1857036339, -694745572, 628277540, -1119767647, -268963125, 58129009, 822040525, 1130809070, -447430488, 1212997934, -416047298, -498488817, 2000081136, -1669602910};
/* 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:0x002a). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aF(int r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 71
byte[] r0 = com.scb.phone.view.activity.investment.scbs.ScbsAccountDetailActivity.$$y
int r7 = r7 * 3
int r1 = r7 + 1
int r8 = r8 * 3
int r8 = 4 - r8
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L2a
L14:
r3 = r2
L15:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r7) goto L22
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L22:
int r3 = r3 + 1
r4 = r0[r8]
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L2a:
int r8 = -r8
int r6 = r6 + r8
int r8 = r3 + 1
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.scbs.ScbsAccountDetailActivity.aF(int, byte, byte, java.lang.Object[]):void");
}
public static void e(Context context, OT ot) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) ScbsAccountDetailActivity.class);
intent.putExtra("SCBS_ACCOUNT_DETAIL", ot);
context.startActivity(intent);
int i2 = l + 69;
k = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
int i2 = l + 91;
k = i2 % 128;
int i3 = i2 % 2;
ScbsAccountDetailFragment c = ScbsAccountDetailFragment.c((OT) getIntent().getParcelableExtra("SCBS_ACCOUNT_DETAIL"));
int i4 = k + 61;
l = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 28 / 0;
}
return c;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
String str;
int i = 2 % 2;
int i2 = l + 77;
k = i2 % 128;
if (i2 % 2 != 0) {
str = ((OT) getIntent().getParcelableExtra("SCBS_ACCOUNT_DETAIL")).e;
int i3 = 99 / 0;
} else {
str = ((OT) getIntent().getParcelableExtra("SCBS_ACCOUNT_DETAIL")).e;
}
int i4 = l + 57;
k = i4 % 128;
int i5 = i4 % 2;
return str;
}
@Override // o.AbstractActivityC8770dVd, 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 = k + 27;
l = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 0, 0}, true, new byte[]{1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{18, 5, 6, 0}, false, new byte[]{1, 0, 0, 0, 1}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aD(new int[]{23, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new int[]{49, 18, 0, 6}, true, new byte[]{0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = l + 53;
k = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = k + 1;
l = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(new int[]{67, 48, 0, 46}, true, new byte[]{0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{1466829970, 230176244, -1077876123, 1010061242, -1338536713, -1991706612, 1844409271, 1096288630, -95698333, 4423921, 73786565, -2138039588, 1093126023, 724438932, 41799394, 345038322, -1607392030, -1786906157, 1788372931, -1897643023, -908849554, 2080443800, -1188617699, -1702663315, -503148722, -662772858, 1249266533, -2083536408, 753577035, -551014822, 237118112, 263240838}, 64 - ExpandableListView.getPackedPositionGroup(0L), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{1941740285, 1328234139, -1213119813, -746740830, 226652323, 706150983, -77385181, 1490854576, -1688054311, -969434289, 1341068132, -1877981729, -748378539, 2077888351, 788691951, -874867050, -273945959, -392240179, 1525681729, 655373817, 1623801086, 1727774907, -1632095598, -2103195562, -1409648857, 2141357087, -406818737, 310239963, -28986956, -1797788891, 1160795727, 1716481979}, KeyEvent.getDeadChar(0, 0) + 64, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new int[]{-526623470, -1650741830, 1757881232, 380877926, -1726932085, 243110335, 381036530, -681708273, 14238399, 1884724, -124467466, -1224815225, 1235664292, -367619745, 1789333207, 1062944851, 1389527156, 248114310, 1849206971, 1871255349, -129578625, 571244533, 1652011006, 1984342106, -235926188, 248715168, 1997415734, 486803359, 1224427430, 1864606451, -380873317, -1359856158, -442910605, -956086758, 1321455452, 745044985, 1090687221, 916827792}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) - 27, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(new int[]{-626183715, -1029345728, -1238032974, -349506525}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE(new int[]{1091038216, 1848451634, 970847137, 1058058688, -413637282, -359732665, -1357388497, -1752479963, 938639796, -1589279878, -439520010, 1415846636, 1710784581, -1174283177, -1131257220, 2123389773, -2063711097, 1784515499}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_outcome_counter_attention_text).substring(70, 71).codePointAt(0) + 4, 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(TextUtils.indexOf("", "", 0, 0) + 487, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) KeyEvent.normalizeMetaState(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 aE(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int length;
int[] iArr3;
int i2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = m;
int i4 = 58134;
int i5 = 729798706;
int i6 = 1;
int i7 = 0;
if (iArr4 != null) {
int i8 = $10 + 17;
$11 = i8 % 128;
if (i8 % 2 == 0) {
length = iArr4.length;
iArr3 = new int[length];
i2 = 1;
} else {
length = iArr4.length;
iArr3 = new int[length];
i2 = 0;
}
while (i2 < length) {
try {
Object[] objArr2 = new Object[i6];
objArr2[0] = Integer.valueOf(iArr4[i2]);
Object obj = xzZ.y.get(Integer.valueOf(i5));
if (obj == null) {
obj = ((Class) xzZ.c((Process.myTid() >> 22) + 15, (-16777211) - Color.rgb(0, 0, 0), (char) (TextUtils.getOffsetBefore("", 0) + i4))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i2] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i2++;
i4 = 58134;
i5 = 729798706;
i6 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr4 = iArr3;
}
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int[] iArr6 = m;
if (iArr6 != null) {
int i9 = $10 + 101;
$11 = i9 % 128;
int i10 = i9 % 2;
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i11 = 0;
while (i11 < length3) {
try {
Object[] objArr3 = new Object[1];
objArr3[i7] = Integer.valueOf(iArr6[i11]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
} else {
obj2 = ((Class) xzZ.c(15 - Color.argb(0, 0, 0, 0), TextUtils.getOffsetAfter("", 0) + 5, (char) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 58134))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
xzZ.y.put(729798706, obj2);
}
iArr7[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i11++;
iArr6 = iArr2;
i7 = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr6 = iArr7;
}
int i12 = i7;
System.arraycopy(iArr6, i12, iArr5, i12, length2);
c4403bZM.b = i12;
while (c4403bZM.b < iArr.length) {
cArr[i12] = (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 i13 = 0;
for (int i14 = 16; i13 < i14; i14 = 16) {
int i15 = $10 + 45;
$11 = i15 % 128;
int i16 = i15 % 2;
c4403bZM.e ^= iArr5[i13];
try {
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((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 117, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b = (byte) 0;
Object[] objArr5 = new Object[1];
aF((byte) 33, b, 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;
i13++;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
int i17 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i17;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i18 = c4403bZM.e;
int i19 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(98 - KeyEvent.keyCodeFromString(""), 5 - TextUtils.indexOf("", "", 0, 0), (char) Color.alpha(0));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aF((byte) (-$$y[1]), b2, b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
i12 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.AbstractActivityC8770dVd, 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 = k + 113;
l = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new int[]{23, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{49, 18, 0, 6}, true, new byte[]{0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = l + 35;
k = i3 % 128;
if (i3 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = k + 71;
l = i4 % 128;
int i5 = i4 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.rgb(0, 0, 0) + 16777708, 4 - TextUtils.lastIndexOf("", '0', 0), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 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(487 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -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();
}
@Override // o.AbstractActivityC8770dVd, 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() {
Method method;
int i = 2 % 2;
int i2 = l + 105;
k = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = k + 11;
l = i4 % 128;
if (i4 % 2 == 0) {
Object[] objArr = new Object[1];
aD(new int[]{23, 26, 0, 0}, false, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{49, 18, 0, 6}, true, new byte[]{0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr2);
method = cls.getMethod((String) objArr2[0], new Class[0]);
} else {
Object[] objArr3 = new Object[1];
aD(new int[]{23, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new int[]{49, 18, 0, 6}, true, new byte[]{0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), TextUtils.indexOf("", "", 0, 0) + 5, (char) View.getDefaultSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0) + 487, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) View.MeasureSpec.getMode(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr5);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
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 = f7492o;
long j = 0;
if (cArr != null) {
int i7 = $11 + 9;
$10 = i7 % 128;
int i8 = i7 % 2;
int length = cArr.length;
char[] cArr2 = new char[length];
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i2] = Integer.valueOf(cArr[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (41978 - (SystemClock.uptimeMillis() > j ? 1 : (SystemClock.uptimeMillis() == j ? 0 : -1))));
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[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
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) {
int i10 = $10 + 101;
$11 = i10 % 128;
int i11 = i10 % 2;
char[] cArr4 = new char[i4];
tvh.c = 0;
char c = 0;
while (tvh.c < i4) {
if (bArr[tvh.c] == 1) {
int i12 = $11 + 119;
$10 = i12 % 128;
if (i12 % 2 != 0) {
int i13 = 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(Drawable.resolveOpacity(0, 0) + 502, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (ImageFormat.getBitsPerPixel(0) + 55))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i13] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
int i14 = 78 / 0;
} else {
int i15 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 502, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (53 - TextUtils.lastIndexOf("", '0', 0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i15] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
} else {
int i16 = tvh.c;
try {
Object[] objArr6 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(15 - TextUtils.getTrimmedLength(""), ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr4[i16] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
c = cArr4[tvh.c];
Object[] objArr7 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(402 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) ((ViewConfiguration.getScrollDefaultDelay() >> 16) + 21608));
byte b3 = (byte) 2;
byte b4 = (byte) (b3 - 2);
Object[] objArr8 = new Object[1];
aF(b3, b4, b4, objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr7);
}
cArr3 = cArr4;
}
if (i6 > 0) {
char[] cArr5 = new char[i4];
System.arraycopy(cArr3, 0, cArr5, 0, i4);
int i17 = i4 - i6;
System.arraycopy(cArr5, 0, cArr3, i17, i6);
System.arraycopy(cArr5, i6, cArr3, 0, i17);
}
if (z) {
int i18 = $11 + 95;
$10 = i18 % 128;
int i19 = i18 % 2;
char[] cArr6 = new char[i4];
tvh.c = 0;
while (tvh.c < i4) {
cArr6[tvh.c] = cArr3[(i4 - tvh.c) - 1];
tvh.c++;
int i20 = $11 + 123;
$10 = i20 % 128;
if (i20 % 2 != 0) {
int i21 = 4 / 3;
}
}
cArr3 = cArr6;
}
if (i5 > 0) {
int i22 = $10 + 101;
$11 = i22 % 128;
char c2 = 2;
if (i22 % 2 == 0) {
tvh.c = 1;
} else {
tvh.c = 0;
}
while (tvh.c < i4) {
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[c2]);
tvh.c++;
int i23 = $11 + 97;
$10 = i23 % 128;
c2 = 2;
int i24 = i23 % 2;
}
}
objArr[0] = new String(cArr3);
}
@Override // o.AbstractActivityC8770dVd, 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;
int i2 = k + 57;
l = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 0, 0}, true, new byte[]{1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{18, 5, 6, 0}, false, new byte[]{1, 0, 0, 0, 1}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = k + 67;
l = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.combineMeasuredStates(0, 0), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(new int[]{67, 48, 0, 46}, true, new byte[]{0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new int[]{1466829970, 230176244, -1077876123, 1010061242, -1338536713, -1991706612, 1844409271, 1096288630, -95698333, 4423921, 73786565, -2138039588, 1093126023, 724438932, 41799394, 345038322, -1607392030, -1786906157, 1788372931, -1897643023, -908849554, 2080443800, -1188617699, -1702663315, -503148722, -662772858, 1249266533, -2083536408, 753577035, -551014822, 237118112, 263240838}, 64 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new int[]{1941740285, 1328234139, -1213119813, -746740830, 226652323, 706150983, -77385181, 1490854576, -1688054311, -969434289, 1341068132, -1877981729, -748378539, 2077888351, 788691951, -874867050, -273945959, -392240179, 1525681729, 655373817, 1623801086, 1727774907, -1632095598, -2103195562, -1409648857, 2141357087, -406818737, 310239963, -28986956, -1797788891, 1160795727, 1716481979}, MotionEvent.axisFromString("") + 65, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{-526623470, -1650741830, 1757881232, 380877926, -1726932085, 243110335, 381036530, -681708273, 14238399, 1884724, -124467466, -1224815225, 1235664292, -367619745, 1789333207, 1062944851, 1389527156, 248114310, 1849206971, 1871255349, -129578625, 571244533, 1652011006, 1984342106, -235926188, 248715168, 1997415734, 486803359, 1224427430, 1864606451, -380873317, -1359856158, -442910605, -956086758, 1321455452, 745044985, 1090687221, 916827792}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 73, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{-626183715, -1029345728, -1238032974, -349506525}, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new int[]{1091038216, 1848451634, 970847137, 1058058688, -413637282, -359732665, -1357388497, -1752479963, 938639796, -1589279878, -439520010, 1415846636, 1710784581, -1174283177, -1131257220, 2123389773, -2063711097, 1784515499}, 36 - (ViewConfiguration.getWindowTouchSlop() >> 8), objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getPressedStateDuration() >> 16), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == 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, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i6 = l + 7;
k = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.AbstractActivityC8770dVd, 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 = k + 117;
l = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = k + 101;
l = i4 % 128;
int i5 = i4 % 2;
}
}