what-the-bank/sources/o/AbstractActivityC8498dMz.java

673 lines
35 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
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.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
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.view.activity.BaseActivity;
import com.scb.phone.view.activity.etb.EtbActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
/* renamed from: o.dMz, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8498dMz extends BaseActivity implements fPA {
private static short[] r;
private volatile C13073fPt k;
private static final byte[] $$p = {ISO7816.INS_PSO, ISOFileInfo.FCP_BYTE, 99, -29};
private static final int $$q = 30;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int x = 1;
/* renamed from: o, reason: collision with root package name */
private static int f8774o = 1149511318;
private static int m = 1406017050;
private static int q = -534718423;
private static byte[] t = {Ascii.NAK, Ascii.ESC, Ascii.ETB, -31, -24, 55, 55, -82, 17, 84, -33, -18, -17, -24, Ascii.ESC, -29, Ascii.CAN, Ascii.SYN, -23, -26, Ascii.US, 1, -50, 16, 30, -26, Ascii.CAN, ISO7816.INS_CREATE_FILE, 4, 55, 6, ISOFileInfo.AB, Ascii.NAK, Ascii.SUB, 38, -33, -18, -17, -24, Ascii.ESC, -29, Ascii.CAN, ISO7816.INS_PUT_DATA, 56, ISO7816.INS_GET_RESPONSE, 59, -23, 16, Ascii.ETB, -59, Ascii.NAK, -24, -22, 32, -20, Ascii.SYN, 17, Ascii.NAK, ISO7816.INS_LOAD_KEY_FILE, 62, -61, 59, -57, 56, -59, 56, -51, 56, Ascii.DC4, -18, 19, -22, -60, 63, 16, -60, 58, -57, 58, -20, ISO7816.INS_ENVELOPE, Ascii.DC4, -18, Ascii.SYN, 37, -60, 59, -24, 19, 17, -22, 57, -21, Ascii.DC2, -37, 62, -61, 56, -24, ISO7816.INS_GET_RESPONSE, 57, -60, 59, -63, Ascii.ETB, 57, 16, -23, -22, ISO7816.INS_GET_RESPONSE, -22, 57, -63, Ascii.NAK, 63, Ascii.SYN, -63, 57, -21, Ascii.NAK, -22, 29, ISO7816.INS_APPEND_RECORD, Ascii.DC2, ISO7816.INS_PUT_DATA, 38, -17, Ascii.SYN, -22, -58, 62, -58, ISO7816.INS_CHANGE_CHV, Ascii.DC4, -24, -21, 16, -17, Ascii.DC4, 17, -23, 17, -24, -59, 57, 16, -57, 57, -60, 58, -63, -24, -22, 19, 28, -6, 4, 35, -24, -87, 82, -82, Ascii.DC4, Ascii.ESC, -21, -20, 16, 47, -45, -20, Ascii.SUB, 39, -41, -21, Ascii.EM, 32, ISO7816.INS_UPDATE_RECORD, -26, 4, -7, 17, -21, Ascii.SUB, -25, 4, -7, Ascii.ESC, ISO7816.INS_UNBLOCK_CHV, -81, Ascii.DC4, 7, -21, -6, 6, -23, -26, Ascii.US, -31, 83, ISO7816.INS_UPDATE_BINARY, -24, Ascii.CAN, -22, -29, 30, -19, 19, ISO7816.INS_DELETE_FILE, Ascii.CAN, -19, Ascii.NAK, -21, Ascii.EM, -29, Ascii.EM, -19, -29, 81, Ascii.NAK, ISO7816.INS_CREATE_FILE, ISO7816.INS_WRITE_RECORD, Ascii.SYN, -23, Ascii.NAK, Ascii.EM, Ascii.ETB, -29, Ascii.US, ISO7816.INS_CREATE_FILE, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private static int[] s = {-759316460, -911265098, 878981542, 1547515388, -1113100214, 2030864481, 644312630, 665133203, 917678021, 1533796579, 133806582, 1864654462, 1158748208, -1928362359, -723416108, 1160032809, 411672461, -1222496325};
private final Object l = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x002a */
/* JADX WARN: Removed duplicated region for block: B:7:0x0022 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002a -> B:4:0x0030). 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 aC(int r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 2
int r0 = 1 - r8
int r6 = r6 * 4
int r6 = 3 - r6
byte[] r1 = o.AbstractActivityC8498dMz.$$p
int r7 = r7 * 2
int r7 = 110 - r7
byte[] r0 = new byte[r0]
r2 = 0
int r8 = 0 - r8
if (r1 != 0) goto L19
r7 = r6
r4 = r8
r3 = r2
goto L30
L19:
r3 = r2
r5 = r7
r7 = r6
r6 = r5
L1d:
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r8) goto L2a
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L2a:
int r7 = r7 + 1
int r3 = r3 + 1
r4 = r1[r7]
L30:
int r4 = -r4
int r6 = r6 + r4
goto L1d
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8498dMz.aC(int, byte, byte, java.lang.Object[]):void");
}
public AbstractActivityC8498dMz() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dMz.4
private AbstractActivityC8498dMz c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8498dMz abstractActivityC8498dMz = this.c;
if (abstractActivityC8498dMz.b) {
return;
}
abstractActivityC8498dMz.b = true;
((InterfaceC8481dMi) abstractActivityC8498dMz.y_()).d((EtbActivity) abstractActivityC8498dMz);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = p + 55;
x = i2 % 128;
int i3 = i2 % 2;
Object y_ = j().y_();
int i4 = p + 11;
x = i4 % 128;
if (i4 % 2 != 0) {
return y_;
}
throw null;
}
private C13073fPt j() {
if (this.k == null) {
synchronized (this.l) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
bundle = getIntent().getExtras();
int i2 = x + 109;
p = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 4 % 2;
}
} else {
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i4 = p + 49;
x = i4 % 128;
int i5 = i4 % 2;
return aBN_;
}
private static void aB(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
char c;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = s;
int i3 = 1;
int i4 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i5 = 0;
while (i5 < length) {
try {
Object[] objArr2 = new Object[i3];
objArr2[0] = Integer.valueOf(iArr3[i5]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(Color.blue(0) + 15, 4 - TextUtils.lastIndexOf("", '0', 0), (char) (58134 - Drawable.resolveOpacity(0, 0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i5] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i5++;
i3 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i6 = $10 + 33;
$11 = i6 % 128;
int i7 = i6 % 2;
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = s;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i8 = 0;
while (i8 < length3) {
int i9 = $10 + 39;
$11 = i9 % 128;
int i10 = i9 % 2;
Object[] objArr3 = new Object[1];
objArr3[i4] = Integer.valueOf(iArr6[i8]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
c = 55346;
} else {
iArr2 = iArr6;
obj2 = ((Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 15, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.getOffsetBefore("", 0) + 58134))).getMethod("i", Integer.TYPE);
c = 55346;
xzZ.y.put(729798706, obj2);
}
iArr7[i8] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i8++;
iArr6 = iArr2;
i4 = 0;
}
iArr6 = iArr7;
}
int i11 = i4;
System.arraycopy(iArr6, i11, iArr5, i11, length2);
c4403bZM.b = i11;
while (c4403bZM.b < iArr.length) {
int i12 = $10 + 45;
$11 = i12 % 128;
int i13 = i12 % 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 i14 = 0;
for (int i15 = 16; i14 < i15; i15 = 16) {
c4403bZM.e ^= iArr5[i14];
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 - ExpandableListView.getPackedPositionGroup(0L), KeyEvent.normalizeMetaState(0) + 5, (char) Color.argb(0, 0, 0, 0));
byte b = (byte) 0;
byte b2 = (byte) (b + 3);
Object[] objArr5 = new Object[1];
aC(b, b2, (byte) (b2 - 3), 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;
i14++;
}
int i16 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i16;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i17 = c4403bZM.e;
int i18 = 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];
try {
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(98 - View.resolveSize(0, 0), View.resolveSize(0, 0) + 5, (char) KeyEvent.normalizeMetaState(0));
byte length4 = (byte) $$p.length;
Object[] objArr7 = new Object[1];
aC((byte) 0, length4, (byte) (length4 - 4), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0128, code lost:
if (r2 > 99999) goto L10;
*/
@Override // 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onCreate(android.os.Bundle r29) {
/*
Method dump skipped, instructions count: 1554
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8498dMz.onCreate(android.os.Bundle):void");
}
@Override // 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 = p + 73;
x = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 390740095, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 23, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1276197379, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{-1924019412, 1558572967, -175578361, 1000241908, -1008508242, -842186396, -1660661926, -514514146, -1618690492, 206039839}, View.MeasureSpec.getSize(0) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i3 = x + 101;
p = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
int i5 = p + 109;
x = i5 % 128;
int i6 = i5 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 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)), TextUtils.getOffsetAfter("", 0) + 5, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
return;
}
getBaseContext();
obj.hashCode();
throw null;
}
@Override // 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();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA((short) (ViewConfiguration.getScrollDefaultDelay() >> 16), (-390740082) + (ViewConfiguration.getMinimumFlingVelocity() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.single_form_investment_info_footer).substring(212, 213).codePointAt(0) - 21, 1276197414 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{-1924019412, 1558572967, -175578361, 1000241908, -1008508242, -842186396, -1660661926, -514514146, -1618690492, 206039839}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.debit_card_cvc_title_short).substring(0, 3).length() + 15, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = x + 117;
p = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = x + 79;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.indexOf("", ""), 4 - TextUtils.lastIndexOf("", '0', 0), (char) View.MeasureSpec.makeMeasureSpec(0, 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(487 - (ViewConfiguration.getWindowTouchSlop() >> 8), TextUtils.getCapsMode("", 0, 0) + 5, (char) TextUtils.indexOf("", ""))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i6 = p + 57;
x = i6 % 128;
int i7 = i6 % 2;
}
private static void aA(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
int i4;
boolean z;
int i5 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(m)};
Object obj = xzZ.y.get(-2092856797);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 337, 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) ExpandableListView.getPackedPositionGroup(0L));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aC(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
int i6 = intValue == -1 ? 1 : 0;
if (i6 != 0) {
int i7 = $10 + 91;
$11 = i7 % 128;
int i8 = i7 % 2;
byte[] bArr = t;
if (bArr != null) {
int length = bArr.length;
byte[] bArr2 = new byte[length];
int i9 = 0;
while (i9 < length) {
int i10 = $10 + 63;
$11 = i10 % 128;
if (i10 % 2 == 0) {
Object[] objArr4 = {Integer.valueOf(bArr[i9])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf("", "", 0) + 60, 5 - KeyEvent.getDeadChar(0, 0), (char) View.getDefaultSize(0, 0));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr2[i9] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i9 >>= 1;
} else {
Object[] objArr6 = {Integer.valueOf(bArr[i9])};
Object obj3 = xzZ.y.get(-1648115392);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 60, 5 - KeyEvent.getDeadChar(0, 0), (char) (ViewConfiguration.getTouchSlop() >> 8));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
aC(b6, b7, (byte) (b7 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj3);
}
bArr2[i9] = ((Byte) ((Method) obj3).invoke(null, objArr6)).byteValue();
i9++;
}
}
bArr = bArr2;
}
if (bArr != null) {
byte[] bArr3 = t;
Object[] objArr8 = {Integer.valueOf(i), Integer.valueOf(f8774o)};
Object obj4 = xzZ.y.get(-2092856797);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(336 - ((byte) KeyEvent.getModifierMetaStateMask()), TextUtils.indexOf("", "", 0) + 5, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
aC(b8, b9, b9, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj4);
}
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj4).invoke(null, objArr8)).intValue()] ^ (-7303220121662775787L))) + ((int) (m ^ (-7303220121662775787L))));
i4 = 2;
} else {
intValue = (short) (((short) (r[i + ((int) (f8774o ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (m ^ (-7303220121662775787L))));
int i11 = $10 + 11;
$11 = i11 % 128;
i4 = 2;
int i12 = i11 % 2;
}
} else {
i4 = 2;
}
if (intValue > 0) {
dfy.c = ((i + intValue) - i4) + ((int) (f8774o ^ (-7303220121662775787L))) + i6;
Object[] objArr10 = {dfy, Integer.valueOf(i3), Integer.valueOf(q), sb};
Object obj5 = xzZ.y.get(1546973421);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 747, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) (ImageFormat.getBitsPerPixel(0) + 1))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj5);
}
((StringBuilder) ((Method) obj5).invoke(null, objArr10)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr4 = t;
if (bArr4 != null) {
int length2 = bArr4.length;
byte[] bArr5 = new byte[length2];
for (int i13 = 0; i13 < length2; i13++) {
int i14 = $10 + 97;
$11 = i14 % 128;
int i15 = i14 % 2;
bArr5[i13] = (byte) (bArr4[i13] ^ (-7303220121662775787L));
}
bArr4 = bArr5;
}
if (bArr4 != null) {
int i16 = $11 + 29;
$10 = i16 % 128;
int i17 = i16 % 2;
z = true;
} else {
int i18 = $11 + 61;
$10 = i18 % 128;
int i19 = i18 % 2;
z = false;
}
dfy.d = 1;
while (dfy.d < intValue) {
if (z) {
byte[] bArr6 = t;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = r;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
}
objArr[0] = sb.toString();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA((short) Drawable.resolveOpacity(0, 0), (-390740099) + (ViewConfiguration.getScrollDefaultDelay() >> 16), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 3, 1276197413 - (ViewConfiguration.getTapTimeout() >> 16), (byte) Color.blue(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{496103851, -1569401323, -1118493887, -606018371}, KeyEvent.normalizeMetaState(0) + 5, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = p + 29;
x = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 12 / 0;
if (intValue <= 99999) {
return;
}
} else if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i4 = x + 75;
p = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 492, '5' - AndroidCharacter.getMirror('0'), (char) Color.green(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA((short) View.getDefaultSize(0, 0), View.resolveSize(0, 0) - 390740057, 33 - (ViewConfiguration.getLongPressTimeout() >> 16), 1276197365 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (byte) (ViewConfiguration.getScrollBarSize() >> 8), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA((short) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))), (-390740010) - (Process.myTid() >> 22), (ViewConfiguration.getScrollBarSize() >> 8) + 49, 1276197416 - ImageFormat.getBitsPerPixel(0), (byte) (Process.myPid() >> 22), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new int[]{1680357011, -736542619, -1961471368, -391568578, 591840503, -1021229948, -238333403, 799110664, -1900339546, -814551357, 891115012, 696980581, -1199236695, 1558408030, -649532933, -406383679, 1421610488, -688030178, 1360032461, 2078167217, 269342598, -1809097267, -539300877, -1439116157, -120289641, 426213072, -1078517260, -265579140, -1533180343, 972735337, 1693588481, -1420329123}, TextUtils.getCapsMode("", 0, 0) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA((short) TextUtils.indexOf("", "", 0, 0), (-390739946) - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 59 - ExpandableListView.getPackedPositionGroup(0L), 1276197420 - (ViewConfiguration.getJumpTapTimeout() >> 16), (byte) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA((short) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), (ViewConfiguration.getLongPressTimeout() >> 16) - 390739874, (-11) - TextUtils.indexOf((CharSequence) "", '0'), 1276197373 - View.MeasureSpec.getMode(0), (byte) (KeyEvent.getMaxKeyCode() >> 16), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{-1411921986, 1323800807, -991891205, 948893207, -598531883, -1053436074, 356526714, 183302290, -609159201, -1330811741, 1350791594, 1449056038, 1661943713, 1337073625, -1094515334, -749603067, 536768672, -357149374}, Color.alpha(0) + 36, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.green(0) + 487, 4 - Process.getGidForName(""), (char) (Process.myPid() >> 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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // 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 = p + 99;
x = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 == 0) {
obj.hashCode();
throw null;
}
int i4 = p + 17;
x = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
}