what-the-bank/sources/com/scb/phone/view/activity/hml/HmlSimulatorAboutActivity.java

682 lines
37 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
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.view.Gravity;
import android.view.KeyEvent;
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.hml.HmlAboutFragment;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import o.C4403bZM;
import o.IRS;
import o.MU;
import o.dOG;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public class HmlSimulatorAboutActivity extends dOG {
private static final byte[] $$y = {104, 69, 71, -100};
private static final int $$z = CipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f7335o = 0;
private static int r = 1;
private static int[] m = {1225159719, 1094779836, 1634726118, -902980958, -621931606, -901998350, 901129623, -1946187396, 603871303, 1771430888, 1898160786, -763479592, -673799330, -1935677179, 1686690539, 294882581, 1493973878, -1191428655};
private static char[] l = {35373, 49025, 49111, 49114, 49105, 35368, 49034, 35371, 49106, 49126, 35372, 49024, 49029, 49026, 49031, 49035, 35370, 49109, 49118, 49028, 35375, 49098, 49110, 49030, 49104};
private static char k = 35372;
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Type inference failed for: r8v1, types: [int] */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> 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, short r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 4
byte[] r0 = com.scb.phone.view.activity.hml.HmlSimulatorAboutActivity.$$y
int r6 = r6 * 2
int r6 = 1 - r6
int r8 = 120 - r8
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L13
r4 = r8
r3 = r2
r8 = r7
goto L2a
L13:
r3 = r2
L14:
int r7 = r7 + 1
byte r4 = (byte) r8
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
r4 = r0[r7]
r5 = r8
r8 = r7
r7 = r5
L2a:
int r4 = -r4
int r7 = r7 + r4
r5 = r8
r8 = r7
r7 = r5
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlSimulatorAboutActivity.aF(int, short, short, java.lang.Object[]):void");
}
public static Intent agr_(Context context, String str, List<MU> list) {
int i = 2 % 2;
Intent putExtra = new Intent(context, (Class<?>) HmlSimulatorAboutActivity.class).putParcelableArrayListExtra("SIMULATOR_ABOUT_DISPLAY", new ArrayList<>(list)).putExtra("TITLE", str);
int i2 = f7335o + 29;
r = i2 % 128;
int i3 = i2 % 2;
return putExtra;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
int i2 = r + 65;
f7335o = i2 % 128;
int i3 = i2 % 2;
HmlAboutFragment e = HmlAboutFragment.e(getIntent().getParcelableArrayListExtra("SIMULATOR_ABOUT_DISPLAY"));
int i4 = r + 31;
f7335o = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 41 / 0;
}
return e;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = f7335o + 89;
r = i2 % 128;
if (i2 % 2 != 0) {
return getIntent().getStringExtra("TITLE");
}
int i3 = 16 / 0;
return getIntent().getStringExtra("TITLE");
}
@Override // o.dOG, 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 = f7335o + 29;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{-15936881, 1341611271, 1896935149, -894324099, -238778424, -1749729305, 1273256790, 910314756, -1751738923, 1355859835}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{16, 23, '\b', 4, 13837}, (byte) (15 - Color.red(0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = r + 105;
f7335o = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aD(new int[]{-15936881, 1341611271, 1896935149, -894324099, 678119046, 2133763795, -1817634815, 1374509181, 261545771, 1156558679, -221099717, -195926305, 1742468497, 868943526}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_insurance_verify_email_pop_up_description).substring(93, 94).codePointAt(0) - 6, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new int[]{-1919847935, -1327675027, -64971072, -1483127936, 1873160703, 722318630, 353763502, -1179718647, 1174088417, -1725212614}, Gravity.getAbsoluteGravity(0, 0) + 18, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = r + 91;
f7335o = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i8 = f7335o + 41;
r = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.argb(0, 0, 0, 0) + 492, 5 - TextUtils.getTrimmedLength(""), (char) Drawable.resolveOpacity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE(new char[]{14, 18, 19, '\t', 14, 21, 18, 7, 1, '\t', 3, 6, 14, 1, '\n', 16, 1, 14, 0, 16, '\f', '\n', '\t', 7, 22, 17, 20, 24, 21, '\t', 3, '\f', 18, 3, 18, '\n', 22, 2, 13844, 13844, 4, 11, '\b', 21, 20, 19, 24, '\f'}, (byte) (ExpandableListView.getPackedPositionType(0L) + 28), (ViewConfiguration.getTouchSlop() >> 8) + 48, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new int[]{-240254370, 1538375313, -1062564927, -1424421013, -1858872510, -565194673, -1318163736, -1705640345, -1000330900, 817508376, 1495896311, 1264310909, 1638672762, 629553773, 165833004, -710651829, 1393000814, 1450855205, -1005848442, -856478472, 889385481, -862358653, 1904739034, 2011992729, -262595794, 1284464687, -2105121810, -234468140, 1134051014, 561146510, 1171197754, 1148148127}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_topup_mailing_remark).substring(0, 210).length() - 146, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new int[]{-1632212902, -762169118, 665421098, 1605258147, 1942879925, -766001535, 1113642838, -1076004853, -1634181125, -1714555185, -1684622343, 1003268388, -1311598503, 515526242, -794896978, -20755713, -1623421512, 1315137995, 95948214, 1639396485, -1210324952, 872474593, 1733574877, 1770141131, 1438496069, 320017522, 373310647, 1359084641, -818177311, 1942204763, -1190833112, 302402045}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.promptpay_qr_prompt_pay_is_required_detail).substring(20, 21).length() + 63, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{-987290275, -346974299, -1004039405, -171900116, 1134085953, -887478217, 786575920, 24798991, -383056547, -1582122974, -885011538, 1540214510, -997218964, 1415540543, -821369157, 505041279, -902549205, -733098835, 1910567388, -1438512269, 226987144, -1754194675, 1332812983, -424369866, 1380882582, 441700581, 157449941, 1399577222, 635788713, -305548642, -38547099, 54636929, -1509908780, -1093786744, 832373613, -1363744808, 1400740534, 1666803397}, TextUtils.indexOf("", "", 0) + 74, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new int[]{-445950836, 2047725391, 1687851089, 452051960}, ((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];
aD(new int[]{1969299294, 2087306274, 1379767537, -9546475, 803487930, 895013112, -2136903504, 1017284872, 29664448, -1477323898, 1760993270, -319579394, -528347129, 813806458, 987920002, -573154510, -1580243911, 529615545}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - Color.argb(0, 0, 0, 0), Color.rgb(0, 0, 0) + 16777221, (char) ((Process.getThreadPriority(0) + 20) >> 6))).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) {
char c;
int[] iArr2;
int i2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = m;
int i4 = 729798706;
int i5 = 16;
int i6 = 1;
char c2 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[i6];
objArr2[c2] = Integer.valueOf(iArr3[i7]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getTapTimeout() >> i5) + 15, (ViewConfiguration.getKeyRepeatDelay() >> i5) + 5, (char) (58134 - (ViewConfiguration.getFadingEdgeLength() >> 16)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7++;
i5 = 16;
i6 = 1;
c2 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = m;
if (iArr6 != null) {
int i8 = $11 + 79;
$10 = i8 % 128;
int i9 = i8 % 2;
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i10 = 0;
while (i10 < length3) {
int i11 = $10 + 89;
$11 = i11 % 128;
int i12 = i11 % 2;
Object[] objArr3 = {Integer.valueOf(iArr6[i10])};
Object obj2 = xzZ.y.get(Integer.valueOf(i4));
if (obj2 != null) {
iArr2 = iArr6;
i2 = i4;
c = 58134;
} else {
c = 58134;
obj2 = ((Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 14, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ((ViewConfiguration.getLongPressTimeout() >> 16) + 58134))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
i2 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr7[i10] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i10++;
i4 = i2;
iArr6 = iArr2;
}
iArr6 = iArr7;
}
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i13 = $11 + 109;
$10 = i13 % 128;
int i14 = i13 % 2;
cArr[0] = (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 i15 = 0;
for (int i16 = 16; i15 < i16; i16 = 16) {
int i17 = $10 + 29;
$11 = i17 % 128;
int i18 = i17 % 2;
c4403bZM.e ^= iArr5[i15];
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((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)) + 118, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) KeyEvent.getDeadChar(0, 0));
byte b = (byte) 0;
byte b2 = (byte) (b - 1);
Object[] objArr5 = new Object[1];
aF(b, b2, (byte) (b2 & 16), 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;
i15++;
}
int i19 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i19;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i20 = c4403bZM.e;
int i21 = 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(TextUtils.indexOf("", "", 0) + 98, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr7 = new Object[1];
aF(b3, b4, (byte) (b4 & Ascii.DC2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.dOG, 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 = f7335o + 73;
r = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = f7335o + 101;
r = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aD(new int[]{-15936881, 1341611271, 1896935149, -894324099, 678119046, 2133763795, -1817634815, 1374509181, 261545771, 1156558679, -221099717, -195926305, 1742468497, 868943526}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.favorite_add_suggestion_bulk_transfer).substring(55, 56).length() + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{-1919847935, -1327675027, -64971072, -1483127936, 1873160703, 722318630, 353763502, -1179718647, 1174088417, -1725212614}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = f7335o + 3;
r = i6 % 128;
if (i6 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = r + 101;
f7335o = i7 % 128;
try {
if (i7 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) TextUtils.getCapsMode("", 0, 0))).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(488 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollDefaultDelay() >> 16), KeyEvent.getDeadChar(0, 0) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(Color.argb(0, 0, 0, 0) + 487, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.dOG, 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 = f7335o + 19;
r = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new int[]{-15936881, 1341611271, 1896935149, -894324099, 678119046, 2133763795, -1817634815, 1374509181, 261545771, 1156558679, -221099717, -195926305, 1742468497, 868943526}, ((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[]{-1919847935, -1327675027, -64971072, -1483127936, 1873160703, 722318630, 353763502, -1179718647, 1174088417, -1725212614}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_input_mobile_hint).substring(0, 10).length() + 8, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = f7335o + 51;
r = i3 % 128;
int i4 = i3 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((Process.myPid() >> 22) + 492, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.indexOf("", "", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((Process.myPid() >> 22) + 487, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
return;
}
getBaseContext();
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0073, code lost:
if (r2 > 99999) goto L6;
*/
@Override // o.dOG, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r17) {
/*
Method dump skipped, instructions count: 852
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlSimulatorAboutActivity.attachBaseContext(android.content.Context):void");
}
private static void aE(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
char c;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = l;
int i5 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
int i7 = $10 + 117;
$11 = i7 % 128;
if (i7 % i3 == 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 298, Drawable.resolveOpacity(0, 0) + i5, (char) View.MeasureSpec.getMode(0));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
aF(b2, b3, (byte) (b3 + 4), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
try {
Object[] objArr4 = {Integer.valueOf(cArr2[i6])};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(297 - TextUtils.indexOf((CharSequence) "", '0', 0), (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
aF(b4, b5, (byte) (b5 + 4), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
cArr3[i6] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i6++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
i3 = 2;
i5 = 5;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(k)};
Object obj3 = xzZ.y.get(-1987398494);
char c2 = 4;
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Color.alpha(0) + 298, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) View.getDefaultSize(0, 0));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 - 1);
Object[] objArr7 = new Object[1];
aF(b6, b7, (byte) (b7 + 4), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
char charValue = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
int i8 = $11 + 27;
$10 = i8 % 128;
int i9 = i8 % 2;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
c = c2;
} else {
Object[] objArr8 = new Object[13];
objArr8[12] = irs;
objArr8[11] = Integer.valueOf(charValue);
objArr8[10] = irs;
objArr8[9] = irs;
objArr8[8] = Integer.valueOf(charValue);
objArr8[7] = irs;
objArr8[6] = irs;
objArr8[5] = Integer.valueOf(charValue);
objArr8[c2] = irs;
objArr8[3] = irs;
objArr8[2] = Integer.valueOf(charValue);
objArr8[1] = irs;
objArr8[0] = irs;
Object obj4 = xzZ.y.get(822107368);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 233, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (22025 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))));
byte b8 = (byte) 0;
byte b9 = (byte) (b8 - 1);
Object[] objArr9 = new Object[1];
aF(b8, b9, (byte) (b9 + 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj4);
}
if (((Integer) ((Method) obj4).invoke(null, objArr8)).intValue() == irs.j) {
Object[] objArr10 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(-1152873385);
if (obj5 != null) {
c = 4;
} else {
Class cls5 = (Class) xzZ.c(327 - TextUtils.indexOf("", "", 0, 0), Gravity.getAbsoluteGravity(0, 0) + 5, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1));
byte b10 = (byte) 0;
byte b11 = (byte) (b10 - 1);
Object[] objArr11 = new Object[1];
aF(b10, b11, (byte) (b11 + 3), objArr11);
String str = (String) objArr11[0];
c = 4;
obj5 = cls5.getMethod(str, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj5);
}
int intValue = ((Integer) ((Method) obj5).invoke(null, objArr10)).intValue();
int i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i10];
} else {
c = 4;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i11 = (irs.a * charValue) + irs.f;
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i11];
cArr4[irs.e + 1] = cArr2[i12];
} else {
int i13 = (irs.a * charValue) + irs.j;
int i14 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i13];
cArr4[irs.e + 1] = cArr2[i14];
}
}
}
irs.e += 2;
c2 = c;
}
}
for (int i15 = 0; i15 < i; i15++) {
cArr4[i15] = (char) (cArr4[i15] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // o.dOG, 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 = f7335o + 59;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = f7335o + 77;
r = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 70 / 0;
}
}
}