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

781 lines
41 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
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.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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.hml.HmlETBLoanSetupFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C14957gcv;
import o.C4403bZM;
import o.TVH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public class HmlETBLoanSetupActivity extends Hilt_HmlETBLoanSetupActivity {
public static final IeS b;
private static int[] k;
private static char[] m;
/* renamed from: o, reason: collision with root package name */
private static int f7273o;
private static final byte[] $$y = {82, ISO7816.INS_UNBLOCK_CHV, -108, -93};
private static final int $$z = 192;
private static int $10 = 0;
private static int $11 = 1;
private static int l = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* 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 r7, int r8, int r9, java.lang.Object[] r10) {
/*
int r7 = 104 - r7
int r9 = r9 * 3
int r9 = 4 - r9
int r8 = r8 * 3
int r8 = r8 + 1
byte[] r0 = com.scb.phone.view.activity.hml.HmlETBLoanSetupActivity.$$y
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r7 = r9
r4 = r2
goto L2a
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r8) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
r3 = r0[r9]
r6 = r9
r9 = r7
r7 = r6
L2a:
int r9 = r9 + r3
int r7 = r7 + 1
r3 = r4
r6 = r9
r9 = r7
r7 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlETBLoanSetupActivity.aF(int, int, int, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public /* synthetic */ Fragment M() {
int i = 2 % 2;
int i2 = f7273o + 21;
l = i2 % 128;
int i3 = i2 % 2;
HmlETBLoanSetupFragment g = g();
int i4 = f7273o + 85;
l = i4 % 128;
int i5 = i4 % 2;
return g;
}
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
protected HmlETBLoanSetupFragment g() {
int i = 2 % 2;
HmlETBLoanSetupFragment.Sts sts = HmlETBLoanSetupFragment.c;
HmlETBLoanSetupFragment hmlETBLoanSetupFragment = new HmlETBLoanSetupFragment();
int i2 = f7273o + 17;
l = i2 % 128;
int i3 = i2 % 2;
return hmlETBLoanSetupFragment;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = l + 63;
f7273o = i2 % 128;
int i3 = i2 % 2;
String string = getString(R.string.hml_loan_setup_title);
C14957gcv.c((Object) string, "");
int i4 = l + 103;
f7273o = i4 % 128;
int i5 = i4 % 2;
return string;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlETBLoanSetupActivity, 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) {
Method method;
int i = 2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 0, 8}, false, new byte[]{0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{18, 5, 0, 1}, false, new byte[]{0, 1, 0, 0, 0}, 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 = l + 5;
f7273o = i2 % 128;
if (i2 % 2 == 0) {
Object[] objArr3 = new Object[1];
aD(new int[]{23, 26, CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA, 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[]{49, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
} else {
Object[] objArr5 = new Object[1];
aD(new int[]{23, 26, CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA, 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}, objArr5);
Class<?> cls3 = Class.forName((String) objArr5[0]);
Object[] objArr6 = new Object[1];
aD(new int[]{49, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr6);
method = cls3.getMethod((String) objArr6[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(493 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), TextUtils.getCapsMode("", 0, 0) + 5, (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr7 = new Object[1];
aD(new int[]{67, 48, 0, 0}, true, new byte[]{0, 1, 1, 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}, objArr7);
String str = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new int[]{-272384245, 1568300485, -177587946, 766874367, -344980962, -1393899841, 515268125, 513916255, 1998114763, 1653415857, 172644325, -1910432711, 1930248810, 54245157, -1492574839, -1060399301, 2129652527, -1505329222, -1984497473, 1755886835, 1737944031, 1798038417, -144252329, 701116410, 1550529532, 1918611933, -1282425195, -1237282571, -2119788353, 1752306355, -557800126, 1774223843}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_offer_review_Baht_per).substring(0, 5).length() + 59, objArr8);
String str2 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new int[]{115, 64, 5, 0}, true, new byte[]{0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1}, objArr9);
String str3 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(new int[]{CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384, 74, 0, 35}, false, new byte[]{1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1}, objArr10);
String str4 = (String) objArr10[0];
Object[] objArr11 = new Object[1];
aE(new int[]{702223498, -1881932466, 1897032071, 198716350}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.no_accounts_description).substring(34, 35).codePointAt(0) - 27, objArr11);
String str5 = (String) objArr11[0];
Object[] objArr12 = new Object[1];
aD(new int[]{253, 36, 0, 28}, true, new byte[]{1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0}, objArr12);
Object[] objArr13 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr12[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 487, 5 - View.combineMeasuredStates(0, 0), (char) (Process.myTid() >> 22))).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, objArr13);
int i3 = l + 67;
f7273o = i3 % 128;
int i4 = i3 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i5 = l + 5;
f7273o = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlETBLoanSetupActivity, 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() {
Method method;
int i = 2 % 2;
int i2 = l + 125;
f7273o = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = l + 111;
f7273o = i4 % 128;
if (i4 % 2 == 0) {
Object[] objArr = new Object[1];
aD(new int[]{23, 26, CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA, 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[]{49, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
method = cls.getMethod((String) objArr2[0], new Class[1]);
} else {
Object[] objArr3 = new Object[1];
aD(new int[]{23, 26, CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA, 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[]{49, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
int i5 = f7273o + 53;
l = i5 % 128;
int i6 = i5 % 2;
baseContext = baseContext.getApplicationContext();
int i7 = f7273o + 67;
l = i7 % 128;
int i8 = i7 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 492, 5 - TextUtils.indexOf("", "", 0), (char) (AndroidCharacter.getMirror('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(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 439, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr5);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aE(int[] iArr, int i, Object[] objArr) {
int length;
int[] iArr2;
int[] iArr3;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = k;
int i3 = 58134;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr4 != null) {
int i7 = $10 + 107;
$11 = i7 % 128;
int i8 = i7 % 2;
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int i9 = 0;
while (i9 < length2) {
try {
Object[] objArr2 = new Object[i5];
objArr2[0] = Integer.valueOf(iArr4[i9]);
Object obj = xzZ.y.get(Integer.valueOf(i4));
if (obj == null) {
obj = ((Class) xzZ.c(14 - TextUtils.lastIndexOf("", '0', 0), Process.getGidForName("") + 6, (char) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + i3))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr5[i9] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i9++;
i3 = 58134;
i4 = 729798706;
i5 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr4 = iArr5;
}
int length3 = iArr4.length;
int[] iArr6 = new int[length3];
int[] iArr7 = k;
if (iArr7 != null) {
int i10 = $10 + 45;
$11 = i10 % 128;
if (i10 % 2 == 0) {
length = iArr7.length;
iArr2 = new int[length];
} else {
length = iArr7.length;
iArr2 = new int[length];
}
int i11 = 0;
while (i11 < length) {
try {
Object[] objArr3 = new Object[1];
objArr3[i6] = Integer.valueOf(iArr7[i11]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr3 = iArr7;
} else {
obj2 = ((Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 15, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (58134 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)))).getMethod("i", Integer.TYPE);
iArr3 = iArr7;
xzZ.y.put(729798706, obj2);
}
iArr2[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i11++;
iArr7 = iArr3;
i6 = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr7 = iArr2;
}
int i12 = i6;
System.arraycopy(iArr7, i12, iArr6, i12, length3);
c4403bZM.b = i12;
while (c4403bZM.b < iArr.length) {
int i13 = $10 + 59;
$11 = 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(iArr6);
int i15 = 0;
for (int i16 = 16; i15 < i16; i16 = 16) {
int i17 = $11 + 61;
$10 = i17 % 128;
int i18 = i17 % 2;
c4403bZM.e ^= iArr6[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(ImageFormat.getBitsPerPixel(0) + 119, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr5 = new Object[1];
aF(b2, b3, b3, 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 ^= iArr6[16];
c4403bZM.e ^= iArr6[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(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(98 - View.combineMeasuredStates(0, 0), 5 - TextUtils.indexOf("", "", 0), (char) View.resolveSizeAndState(0, 0, 0));
byte b4 = (byte) 2;
byte b5 = (byte) (b4 - 2);
Object[] objArr7 = new Object[1];
aF(b4, b5, b5, 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 // com.scb.phone.view.activity.hml.Hilt_HmlETBLoanSetupActivity, 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;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i2 = l + 25;
f7273o = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{23, 26, CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA, 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[]{49, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = l + 25;
f7273o = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = l + 97;
f7273o = i5 % 128;
try {
if (i5 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(493 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 5 - ExpandableListView.getPackedPositionType(0L), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).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(487 - View.resolveSizeAndState(0, 0, 0), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - KeyEvent.normalizeMetaState(0), 5 - (Process.myTid() >> 22), (char) TextUtils.getTrimmedLength(""))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(Color.blue(0) + 487, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).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.hml.Hilt_HmlETBLoanSetupActivity, 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 = f7273o + 17;
l = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 0, 8}, false, new byte[]{0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{18, 5, 0, 1}, false, new byte[]{0, 1, 0, 0, 0}, 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) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 493, TextUtils.getOffsetBefore("", 0) + 5, (char) Gravity.getAbsoluteGravity(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[]{67, 48, 0, 0}, true, new byte[]{0, 1, 1, 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}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new int[]{-272384245, 1568300485, -177587946, 766874367, -344980962, -1393899841, 515268125, 513916255, 1998114763, 1653415857, 172644325, -1910432711, 1930248810, 54245157, -1492574839, -1060399301, 2129652527, -1505329222, -1984497473, 1755886835, 1737944031, 1798038417, -144252329, 701116410, 1550529532, 1918611933, -1282425195, -1237282571, -2119788353, 1752306355, -557800126, 1774223843}, 64 - ((Process.getThreadPriority(0) + 20) >> 6), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new int[]{115, 64, 5, 0}, true, new byte[]{0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new int[]{CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384, 74, 0, 35}, false, new byte[]{1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{702223498, -1881932466, 1897032071, 198716350}, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{253, 36, 0, 28}, true, new byte[]{1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0}, 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 - TextUtils.getTrimmedLength(""), KeyEvent.keyCodeFromString("") + 5, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i4 = l + 19;
f7273o = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
private static void aD(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = 1;
int i7 = iArr[1];
int i8 = iArr[2];
int i9 = iArr[3];
char[] cArr = m;
if (cArr != null) {
int i10 = $11 + 35;
$10 = i10 % 128;
int i11 = i10 % 2;
int length = cArr.length;
char[] cArr2 = new char[length];
int i12 = 0;
while (i12 < length) {
int i13 = $11 + 95;
$10 = i13 % 128;
if (i13 % 2 != 0) {
try {
Object[] objArr2 = new Object[i6];
objArr2[i4] = Integer.valueOf(cArr[i12]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
i2 = length;
} else {
Class cls = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 222, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (41977 - TextUtils.indexOf("", "", i4, i4)));
byte b2 = (byte) i4;
i2 = length;
Object[] objArr3 = new Object[1];
aF((byte) 33, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i12] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
i2 = length;
Object[] objArr4 = {Integer.valueOf(cArr[i12])};
Object obj2 = xzZ.y.get(1645349359);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(222 - Process.getGidForName(""), Process.getGidForName("") + 6, (char) (41978 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aF((byte) 33, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(1645349359, obj2);
}
cArr2[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i12++;
}
length = i2;
i4 = 0;
i6 = 1;
}
cArr = cArr2;
}
char[] cArr3 = new char[i7];
System.arraycopy(cArr, i5, cArr3, 0, i7);
if (bArr != null) {
int i14 = $11 + 45;
$10 = i14 % 128;
int i15 = i14 % 2;
char[] cArr4 = new char[i7];
tvh.c = 0;
char c = 0;
while (tvh.c < i7) {
if (bArr[tvh.c] == 1) {
int i16 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(502 - TextUtils.getCapsMode("", 0, 0), Color.red(0) + 5, (char) (View.MeasureSpec.getSize(0) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i16] = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
} else {
int i17 = tvh.c;
Object[] objArr7 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 15, 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr4[i17] = ((Character) ((Method) obj4).invoke(null, objArr7)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr8 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(402 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - View.MeasureSpec.getMode(0), (char) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 21608));
byte b4 = (byte) 0;
Object[] objArr9 = new Object[1];
aF((byte) 31, b4, b4, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
cArr3 = cArr4;
}
if (i9 > 0) {
int i18 = $10 + 73;
$11 = i18 % 128;
int i19 = i18 % 2;
char[] cArr5 = new char[i7];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i7);
int i20 = i7 - i9;
System.arraycopy(cArr5, 0, cArr3, i20, i9);
System.arraycopy(cArr5, i9, cArr3, 0, i20);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i7];
while (true) {
tvh.c = i;
if (tvh.c >= i7) {
break;
}
cArr6[tvh.c] = cArr3[(i7 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i8 > 0) {
int i21 = $11 + 13;
$10 = i21 % 128;
int i22 = i21 % 2;
tvh.c = 0;
int i23 = $11 + 35;
$10 = i23 % 128;
int i24 = i23 % 2;
while (tvh.c < i7) {
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
tvh.c++;
}
}
objArr[0] = new String(cArr3);
}
static void h() {
m = new char[]{39964, 39988, 40042, 40059, 40034, 40047, 40039, 40056, 40033, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40005, 40058, 39993, 40035, 40056, 40044, 40020, 40048, 40182, 40180, 40202, 40205, 40201, 40183, 40148, 40150, 40181, 40205, 40174, 40134, 40163, 40202, 40207, 40206, 40206, 40207, 40199, 40183, 40191, 40200, 40202, 40178, 40179, 39994, 40039, 40056, 40057, 40032, 40034, 40058, 40017, 40019, 40059, 40037, 40033, 40045, 40041, 40033, 40037, 40039, 40037, 39953, 40007, 40005, 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, 39957, 40025, 40025, 39984, 40027, 40035, 40035, 40006, 40027, 40027, 39986, 39991, 39991, 39985, 40027, 40035, 40035, 40025, 40026, 40034, 40026, 39986, 39996, 39996, 39987, 39997, 39997, 39987, 39985, 40027, 40045, 40027, 40026, 40024, 39991, 39991, 40024, 40033, 40031, 40025, 40004, 39986, 39987, 39998, 39998, 40027, 40034, 40045, 40026, 39986, 39996, 40027, 40035, 40026, 39984, 39985, 40027, 40033, 40026, 40004, 40004, 39997, 39986, 40026, 39985, 40032, 40034, 40032, 40032, 40057, 40056, 40032, 40034, 40032, 40002, 40003, 40034, 40037, 40005, 40003, 40035, 40039, 40007, 40007, 40032, 40033, 40045, 40039, 40056, 40026, 40025, 40031, 39995, 40001, 40038, 40038, 40034, 40058, 40056, 40038, 40037, 40063, 40057, 40058, 40029, 39999, 39972, 40026, 40037, 40046, 40044, 40035, 40034, 40037, 40038, 40034, 40032, 40033, 40045, 40046, 40045, 40044, 40042, 40044, 40039, 40007, 40026, 40037, 40038, 40032, 40040, 40033, 40032, 40041, 40033, 40056, 40026, 40001, 39995, 40002, 40001, 40001, 39972, 40003, 40047, 40040, 40042, 40012, 39972, 39994, 39994, 39992, 39995, 40012, 40040, 40001, 39992, 39994, 39973, 39993, 39997, 40005, 40007, 39992, 40002, 40040, 40046, 40000, 39992, 39999, 39999, 40007, 40047, 40005};
k = new int[]{1935059541, 1240283278, 925153838, -546210687, 235733264, -1120661531, -1972230043, 1922844199, -1902232381, -1079963059, 400952120, -999747879, -2120932670, 796498877, -49067489, -279261801, 1057758253, 394347084};
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlETBLoanSetupActivity, 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 = l + 107;
f7273o = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 == 0) {
obj.hashCode();
throw null;
}
int i4 = l + 53;
f7273o = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = f7273o + 77;
l = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 25 / 0;
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final int K() {
int i = 2 % 2;
int i2 = f7273o + 109;
l = i2 % 128;
if (i2 % 2 == 0) {
return R.layout.2131558575;
}
throw null;
}
static {
f7273o = 1;
h();
b = new IeS((byte) 0);
int i = l + 91;
f7273o = i % 128;
int i2 = i % 2;
}
}