what-the-bank/sources/com/scb/phone/view/activity/ndidcommon/Hilt_NdidCommonLandingActiv...

595 lines
36 KiB
Java

package com.scb.phone.view.activity.ndidcommon;
import android.content.Context;
import android.graphics.Color;
import android.media.AudioTrack;
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 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 java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C4403bZM;
import o.DFY;
import o.InterfaceC11280ecP;
import o.InterfaceC17278vUG;
import o.xzZ;
/* loaded from: classes5.dex */
public abstract class Hilt_NdidCommonLandingActivity extends BaseNdidCommonLandingActivity {
private static short[] s;
private boolean b = false;
private static final byte[] $$y = {75, ISO7816.INS_UPDATE_RECORD, 11, 77};
private static final int $$z = 117;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int q = 1;
private static int l = 2030251466;
private static int m = 1406017032;
private static int k = 504362794;
/* renamed from: o, reason: collision with root package name */
private static byte[] f7632o = {-29, -19, -31, Ascii.ETB, 30, -63, -63, 88, -25, -94, 41, Ascii.CAN, Ascii.EM, 30, -19, Ascii.NAK, -18, ISOFileInfo.FCI_BYTE, Byte.MIN_VALUE, 72, -104, -15, 14, 1, -8, -26, 41, -9, -7, 1, -1, 7, -29, ISO7816.INS_WRITE_BINARY, -31, 76, -14, -3, -63, 56, 9, 8, 15, -4, 4, -1, -60, 61, -50, 40, -59, -63, -58, -57, 59, Ascii.DC4, -10, 61, ISO7816.INS_INCREASE, -56, 59, -58, 41, 14, -20, Ascii.DC4, -17, 61, -60, -61, 17, -63, 60, 62, -12, 56, ISO7816.INS_ENVELOPE, -59, -63, 12, -22, Ascii.ETB, -17, 19, -20, 17, -20, Ascii.EM, -20, ISO7816.INS_GET_RESPONSE, 58, -57, 62, 16, -21, -60, 16, -18, 19, -18, 56, Ascii.SYN, ISO7816.INS_GET_RESPONSE, 58, ISO7816.INS_ENVELOPE, -15, 16, -17, 60, -57, -53, ISO7816.INS_DECREASE, -29, 49, -56, 1, ISO7816.INS_DELETE_FILE, Ascii.EM, ISO7816.INS_APPEND_RECORD, ISO7816.INS_INCREASE, Ascii.SUB, -29, 30, -31, Ascii.ESC, -51, -29, ISO7816.INS_GET_DATA, 51, ISO7816.INS_DECREASE, Ascii.SUB, ISO7816.INS_DECREASE, -29, Ascii.ESC, -49, -27, -52, Ascii.ESC, -29, 49, -49, ISO7816.INS_DECREASE, -57, 56, -56, 0, -4, 53, -52, ISO7816.INS_DECREASE, 28, ISO7816.INS_DELETE_FILE, 28, -2, -50, ISO7816.INS_INCREASE, 49, ISO7816.INS_GET_DATA, 53, -50, -53, 51, -53, ISO7816.INS_INCREASE, Ascii.US, -29, ISO7816.INS_GET_DATA, 29, -29, 30, ISO7816.INS_CREATE_FILE, Ascii.ESC, ISO7816.INS_INCREASE, -72, 76, ISO7816.INS_READ_BINARY, 79, 19, -37, 38, ISO7816.INS_LOAD_KEY_FILE, -11, -39, 9, -15, 8, -24, Ascii.SYN, ISO7816.INS_MSE, -19, -39, ISO7816.INS_CHANGE_CHV, 38, 19, -37, 39, ISO7816.INS_LOAD_KEY_FILE, -39, 32, -20, ISO7816.INS_PUT_DATA, Ascii.DC2, -35, 46, ISO7816.INS_PUT_DATA, -37, ISO7816.INS_UPDATE_RECORD, -14, Ascii.ETB, 37, -10, -37, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private static int[] p = {773447160, -417130082, 308241516, -1865482384, 1745685776, -140510049, -1600260449, -731339541, -703495487, 498903183, -733503182, -2104421934, -1928689507, -2123732374, 380445525, -1166324930, -1319412432, -986824227};
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x0029). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aF(short r6, int r7, byte r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 3
int r8 = r8 + 1
int r7 = r7 * 2
int r7 = r7 + 4
byte[] r0 = com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonLandingActivity.$$y
int r6 = r6 * 2
int r6 = r6 + 102
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L17
r3 = r7
r6 = r8
r5 = r2
goto L29
L17:
r3 = r2
L18:
byte r4 = (byte) r6
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r8) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L27:
r3 = r0[r7]
L29:
int r7 = r7 + 1
int r3 = -r3
int r6 = r6 + r3
r3 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonLandingActivity.aF(short, int, byte, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_NdidCommonLandingActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonLandingActivity.3
private Hilt_NdidCommonLandingActivity c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.c.j();
}
});
}
@Override // com.scb.phone.view.activity.ndidcommon.Hilt_BaseNdidCommonLandingActivity
protected final void j() {
InterfaceC11280ecP interfaceC11280ecP;
int i = 2 % 2;
if (!this.b) {
int i2 = q + 57;
t = i2 % 128;
if (i2 % 2 != 0) {
this.b = true;
interfaceC11280ecP = (InterfaceC11280ecP) y_();
} else {
this.b = true;
interfaceC11280ecP = (InterfaceC11280ecP) y_();
}
interfaceC11280ecP.e((NdidCommonLandingActivity) this);
}
int i3 = t + 59;
q = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 83 / 0;
}
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x01aa, code lost:
if (r2 > 99999) goto L10;
*/
@Override // com.scb.phone.view.activity.ndidcommon.BaseNdidCommonLandingActivity, com.scb.phone.view.activity.ndidcommon.Hilt_BaseNdidCommonLandingActivity, 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 r31) {
/*
Method dump skipped, instructions count: 1876
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonLandingActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.ndidcommon.BaseNdidCommonLandingActivity, com.scb.phone.view.activity.ndidcommon.Hilt_BaseNdidCommonLandingActivity, 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 = q + 49;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), TextUtils.indexOf("", "", 0) - 718091210, (-2) - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.temp_limit_amount_info).substring(61, 62).codePointAt(0) - 1304553726, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 59), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((short) (ViewConfiguration.getTouchSlop() >> 8), (-718091300) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 24, (-1304553724) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.transaction_failed).substring(22, 23).codePointAt(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 33), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 91;
t = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 492, TextUtils.lastIndexOf("", '0') + 6, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 487, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = q + 27;
t = i6 % 128;
int i7 = i6 % 2;
} 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[] 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 = p;
int i4 = 729798706;
int i5 = 16;
int i6 = 1;
char c = 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[c] = Integer.valueOf(iArr3[i7]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(14 - TextUtils.lastIndexOf("", '0'), (ViewConfiguration.getFadingEdgeLength() >> i5) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 58135))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7++;
i5 = 16;
i6 = 1;
c = 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 = p;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i8 = 0;
while (i8 < length3) {
Object[] objArr3 = {Integer.valueOf(iArr6[i8])};
Object obj2 = xzZ.y.get(Integer.valueOf(i4));
if (obj2 != null) {
iArr2 = iArr6;
i2 = i4;
} else {
obj2 = ((Class) xzZ.c(15 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (58134 - View.MeasureSpec.getSize(0)))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
i2 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr7[i8] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i8++;
i4 = i2;
iArr6 = iArr2;
}
iArr6 = iArr7;
}
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i9 = $11 + 105;
$10 = i9 % 128;
int i10 = i9 % 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 i11 = 0;
for (int i12 = 16; i11 < i12; i12 = 16) {
int i13 = $11 + 117;
$10 = i13 % 128;
if (i13 % 2 != 0) {
c4403bZM.e ^= iArr5[i11];
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(119 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), TextUtils.getCapsMode("", 0, 0) + 5, (char) (MotionEvent.axisFromString("") + 1));
byte b = (byte) ($$z & 3);
byte b2 = (byte) (b - 1);
Object[] objArr5 = new Object[1];
aF(b, b2, b2, 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;
i11 += 79;
} else {
c4403bZM.e ^= iArr5[i11];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 117, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)));
byte b3 = (byte) ($$z & 3);
byte b4 = (byte) (b3 - 1);
Object[] objArr7 = new Object[1];
aF(b3, b4, b4, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i11++;
}
}
int i14 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i14;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i15 = c4403bZM.e;
int i16 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(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[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(View.resolveSize(0, 0) + 98, TextUtils.lastIndexOf("", '0', 0) + 6, (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr9 = new Object[1];
aF(b5, b6, b6, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX WARN: Code restructure failed: missing block: B:38:0x0025, code lost:
r9 = (java.lang.Object[]) null;
r8 = new java.lang.Object[1];
aD((short) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 111), android.view.KeyEvent.keyCodeFromString("") - 718091210, (android.os.SystemClock.elapsedRealtime() > 0 ? 1 : (android.os.SystemClock.elapsedRealtime() == 0 ? 0 : -1)) - 4, (-1304553726) + ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.investment_deeplink_my_alert_no_account_dialog_description).substring(67, 68).codePointAt(0), (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 38), r8);
r8 = java.lang.Class.forName((java.lang.String) r8[0]);
r9 = new java.lang.Object[1];
aD((short) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.promptpay_terms_body).substring(9, 10).length() - 718091186, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.deejung_transaction_limit_label).substring(0, 1).codePointAt(0) - 53, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.qr_code_generation_slip_specify_amount).substring(0, 2).length() - 1304553694, (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 33), r9);
r1 = (android.content.Context) r8.getMethod((java.lang.String) r9[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x0023, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001c, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.ndidcommon.BaseNdidCommonLandingActivity, com.scb.phone.view.activity.ndidcommon.Hilt_BaseNdidCommonLandingActivity, 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 onPause() {
/*
Method dump skipped, instructions count: 715
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonLandingActivity.onPause():void");
}
@Override // com.scb.phone.view.activity.ndidcommon.BaseNdidCommonLandingActivity, com.scb.phone.view.activity.ndidcommon.Hilt_BaseNdidCommonLandingActivity, 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];
aD((short) View.resolveSizeAndState(0, 0, 0), (-718091231) - Color.argb(0, 0, 0, 0), TextUtils.indexOf("", "") - 11, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1304553695, (byte) (View.MeasureSpec.getMode(0) - 10), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((short) ExpandableListView.getPackedPositionGroup(0L), (ViewConfiguration.getEdgeSlop() >> 16) - 718091214, (-25) - TextUtils.indexOf((CharSequence) "", '0'), (ViewConfiguration.getFadingEdgeLength() >> 16) - 1304553682, (byte) ((-128) - MotionEvent.axisFromString("")), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = t + 27;
q = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 56 / 0;
if (intValue <= 99999) {
return;
}
} else if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i4 = q + 105;
t = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
int i6 = t + 121;
q = i6 % 128;
int i7 = i6 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i8 = t + 101;
q = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 492, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) KeyEvent.keyCodeFromString(""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD((short) TextUtils.getTrimmedLength(""), KeyEvent.normalizeMetaState(0) - 718091168, 18 - TextUtils.lastIndexOf("", '0', 0, 0), (-1304553742) - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (byte) ((-45) - TextUtils.indexOf((CharSequence) "", '0')), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD((short) (ViewConfiguration.getLongPressTimeout() >> 16), (-718091121) - ExpandableListView.getPackedPositionGroup(0L), 35 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getPressedStateDuration() >> 16) - 1304553690, (byte) ((-38) - TextUtils.getTrimmedLength("")), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new int[]{-384516502, 1033525301, 1714859058, 129077772, -486268892, -1299559346, 325223562, 2006814077, -1082618204, 1278357192, -311182750, -172927483, -540429439, 1400117031, -793307451, -486015648, -1549469984, -627024870, 173114948, 756835428, -1566800372, -180681354, 285762631, 1648966470, 231784876, 2032675203, -2083188782, 2144573405, 2018934757, -2077660700, -1422356301, -534388288}, (-16777152) - Color.rgb(0, 0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{1473831893, 3655714, 55023062, -1935014607, 931663954, 1338542500, 1859020013, 1712578259, 1006260980, -1283101133, 1848233333, -2110203156, 725954379, -1642815198, 1341325400, 2062807601, 991253175, -1112253046, -1417901193, 64788465, -624572833, -1570168577, 413590223, -23870012, 743449470, -434873534, 1334138336, -1917690137, -928287022, 1196344101, -125417760, 1513131397, 110300042, -481803064, 961738790, -136762130, 1803773043, -704172788}, 73 - TextUtils.lastIndexOf("", '0'), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD((short) View.resolveSize(0, 0), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 718091059, (-24) - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (-1304553735) - ((byte) KeyEvent.getModifierMetaStateMask()), (byte) ((-81) - (ViewConfiguration.getKeyRepeatDelay() >> 16)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD((short) (ViewConfiguration.getKeyRepeatTimeout() >> 16), (Process.myPid() >> 22) - 718091054, 7 - KeyEvent.normalizeMetaState(0), (-1304553690) - Color.argb(0, 0, 0, 0), (byte) ((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 50), 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(488 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 5 - TextUtils.getCapsMode("", 0, 0), (char) (TextUtils.lastIndexOf("", '0', 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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
private static void aD(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
int i4;
int i5 = 2;
int i6 = 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(KeyEvent.keyCodeFromString("") + 337, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte length = (byte) $$y.length;
byte b2 = (byte) (length - 4);
Object[] objArr3 = new Object[1];
aF(length, b2, b2, 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();
if (intValue == -1) {
int i7 = $11 + 115;
$10 = i7 % 128;
int i8 = i7 % 2;
i4 = 1;
} else {
i4 = 0;
}
int i9 = 3;
if (i4 != 0) {
byte[] bArr = f7632o;
if (bArr != null) {
int length2 = bArr.length;
byte[] bArr2 = new byte[length2];
int i10 = 0;
while (i10 < length2) {
int i11 = $11 + 87;
$10 = i11 % 128;
int i12 = i11 % i5;
Object[] objArr4 = {Integer.valueOf(bArr[i10])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(60 - View.MeasureSpec.makeMeasureSpec(0, 0), Color.blue(0) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)));
byte b3 = (byte) i9;
byte b4 = (byte) (b3 - 3);
Object[] objArr5 = new Object[1];
aF(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr2[i10] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i10++;
i5 = 2;
i9 = 3;
}
bArr = bArr2;
}
if (bArr != null) {
byte[] bArr3 = f7632o;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(l)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(338 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1));
byte length3 = (byte) $$y.length;
byte b5 = (byte) (length3 - 4);
Object[] objArr7 = new Object[1];
aF(length3, b5, b5, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (m ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (s[i + ((int) (l ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (m ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
int i13 = $10 + 81;
$11 = i13 % 128;
int i14 = i13 % 2;
dfy.c = ((i + intValue) - 2) + ((int) (l ^ (-7303220121662775787L))) + i4;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(k), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 748, 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj4);
}
((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr4 = f7632o;
if (bArr4 != null) {
int length4 = bArr4.length;
byte[] bArr5 = new byte[length4];
for (int i15 = 0; i15 < length4; i15++) {
bArr5[i15] = (byte) (bArr4[i15] ^ (-7303220121662775787L));
}
bArr4 = bArr5;
}
boolean z = !(bArr4 == null);
dfy.d = 1;
while (dfy.d < intValue) {
if (z) {
byte[] bArr6 = f7632o;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = s;
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.ndidcommon.BaseNdidCommonLandingActivity, com.scb.phone.view.activity.ndidcommon.Hilt_BaseNdidCommonLandingActivity, 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 = q + 63;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
}
}