what-the-bank/sources/com/scb/phone/view/activity/prepaid/Hilt_PrepaidConfirmPinActiv...

573 lines
35 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.prepaid;
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.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.R;
import com.scb.phone.view.activity.BaseChangePinActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC1278Zm;
import o.C13068fPo;
import o.C13073fPt;
import o.InterfaceC11539ehJ;
import o.InterfaceC17278vUG;
import o.VLM;
import o.fOV;
import o.fPA;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public abstract class Hilt_PrepaidConfirmPinActivity<T extends AbstractC1278Zm> extends BaseChangePinActivity<T> implements fPA {
private static short[] s;
private volatile C13073fPt k;
private static final byte[] $$p = {Ascii.US, -107, 35, 49};
private static final int $$q = 66;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int y = 1;
private static char[] l = {40035, 40156, 40146, 40144, 40171, 40151, 40157, 40114, 40117, 40170, 40139, 40100, 40154, 40171, 40146, 40159, 40151, 40168, 39991, 40044, 40020, 40045, 40035, 40071, 40208, 40214, 40206, 40204, 40213, 40221, 40211, 40212, 40235, 40210, 40222, 40208, 40210, 40208, 40220, 40196, 40216, 40155, 40148, 40153, 40145, 40145, 40151, 40155, 40145, 40133, 40157, 40171, 40087, 40087, 40108, 40171, 40150, 40170, 40170, 40158, 40171, 40170, 40144, 40153, 40168, 40153, 40087, 40084, 40168, 40087, 40170, 40171, 40153, 40159, 40144, 40157, 40087, 40157, 40150, 40133, 40087, 40145, 40151, 40155, 40080, 40153, 40148, 40133, 40169, 40149, 40171, 40154, 40148, 40133, 40169, 40159, 40080, 40170, 40171, 40133, 40155, 40170, 40133, 40153, 40148, 40158, 40170, 40080, 40147, 40144, 40133, 40132, 40146, 40133, 40157, 39965, 39994, 39992, 40001, 40040, 40012, 39995, 39992, 39994, 39994, 39972, 40012, 40042, 40040, 40047, 40003, 39972, 40001, 40001, 40002, 40007, 40005, 40047, 40007, 39999, 39999, 39992, 40000, 40046, 40040, 40002, 39992, 40007, 40005, 39997, 39993};
private static int m = -1209242219;
private static int t = 1406017141;
private static int q = -1457238526;
private static byte[] p = {-81, 35, ISO7816.INS_UPDATE_RECORD, -45, ISO7816.INS_PSO, ISO7816.INS_DECREASE_STAMPED, -5, 37, 43, -45, 45, -43, 49, 2, 51, -98, 32, 47, 19, -22, -37, ISO7816.INS_PUT_DATA, -35, 46, ISO7816.INS_UPDATE_BINARY, 45, -59, -21, 9, -15, 10, ISO7816.INS_LOAD_KEY_FILE, 33, 38, -12, ISO7816.INS_CHANGE_CHV, -39, -37, 17, -35, 39, 32, ISO7816.INS_CHANGE_CHV, -23, 15, -14, 10, -10, 9, -12, 9, -4, 9, 37, -33, ISO7816.INS_MSE, -37, -11, 14, 33, -11, 11, -10, 11, -35, -13, 37, -33, 39, Ascii.DC4, -11, 10, -39, ISO7816.INS_MSE, -11, 74, ISO7816.INS_READ_BINARY2, ISOFileInfo.FCP_BYTE, ISO7816.INS_READ_BINARY, 73, Byte.MIN_VALUE, 101, -104, 99, ISO7816.INS_READ_RECORD2, -101, ISOFileInfo.FCP_BYTE, -97, 96, -102, 76, ISOFileInfo.FCP_BYTE, 75, -78, ISO7816.INS_READ_BINARY2, -101, ISO7816.INS_READ_BINARY2, ISOFileInfo.FCP_BYTE, -102, 78, ISOFileInfo.FMD_BYTE, 77, -102, ISOFileInfo.FCP_BYTE, ISO7816.INS_READ_BINARY, 78, ISO7816.INS_READ_BINARY2, 70, -71, 73, ISOFileInfo.DATA_BYTES2, 125, ISO7816.INS_READ_BINARY_STAMPED, 77, ISO7816.INS_READ_BINARY2, -99, 101, -99, Ascii.DEL, 79, ISO7816.INS_READ_RECORD2, ISO7816.INS_READ_BINARY, 75, ISO7816.INS_READ_BINARY_STAMPED, 79, 74, -78, 74, ISO7816.INS_READ_RECORD2, -98, ISOFileInfo.FCP_BYTE, 75, -100, ISOFileInfo.FCP_BYTE, -97, 97, -102, ISO7816.INS_READ_RECORD2, -11, -12, 11, 35, -12, -37, 37, 17, -22, Ascii.SYN, -41, 35, -34, 38, -19, 35, -35, 15, -13, -35, 19, -34, 37, -37, ISO7816.INS_CHANGE_CHV, 32, -33, -35, 32, -12, -33, 14, -16, 11, 35, -34, -13, -33, 14, -11, 17, -37, 39, -33, 33, -22, ISO7816.INS_CHANGE_CHV, 33, 9, 40, ISO7816.INS_UPDATE_RECORD, -14, -35, Ascii.DC2, ISO7816.INS_PUT_DATA, 39, -19, 32, Ascii.DC2, -14, 14, 35, ISO7816.INS_LOAD_KEY_FILE, -9, ISO7816.INS_READ_BINARY, 125, -119, 117, ISOFileInfo.LCS_BYTE};
/* renamed from: o, reason: collision with root package name */
private final Object f7757o = new Object();
boolean b = false;
private static void aC(byte b, byte b2, int i, Object[] objArr) {
int i2 = i * 2;
byte[] bArr = $$p;
int i3 = (b2 * 4) + 4;
int i4 = b + 71;
byte[] bArr2 = new byte[1 - i2];
int i5 = 0 - i2;
int i6 = -1;
if (bArr == null) {
i4 = (-i4) + i5;
i3++;
i6 = -1;
}
while (true) {
int i7 = i6 + 1;
bArr2[i7] = (byte) i4;
if (i7 == i5) {
objArr[0] = new String(bArr2, 0);
return;
}
i4 = (-bArr[i3]) + i4;
i3++;
i6 = i7;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_PrepaidConfirmPinActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity.5
private Hilt_PrepaidConfirmPinActivity b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_PrepaidConfirmPinActivity hilt_PrepaidConfirmPinActivity = this.b;
if (hilt_PrepaidConfirmPinActivity.b) {
return;
}
hilt_PrepaidConfirmPinActivity.b = true;
((InterfaceC11539ehJ) hilt_PrepaidConfirmPinActivity.y_()).c((PrepaidConfirmPinActivity) hilt_PrepaidConfirmPinActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = y + 33;
r = i2 % 128;
int i3 = i2 % 2;
Object y_ = f().y_();
int i4 = y + 121;
r = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 85 / 0;
}
return y_;
}
private C13073fPt f() {
if (this.k == null) {
synchronized (this.f7757o) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
Bundle bundle = null;
if (getIntent() != null) {
int i2 = y + 95;
r = i2 % 128;
if (i2 % 2 != 0) {
getIntent().getExtras();
throw null;
}
bundle = getIntent().getExtras();
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i3 = y + 83;
r = i3 % 128;
int i4 = i3 % 2;
return aBN_;
}
@Override // com.scb.phone.view.activity.BaseChangePinActivity, 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 = r + 17;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new int[]{0, 18, 112, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{18, 5, 0, 4}, false, new byte[]{1, 0, 0, 1, 1}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = y + 51;
r = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aB((short) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 467504224 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_terms_and_conditions_mf_check_box_title).substring(81, 82).codePointAt(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 206, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 85307420, (byte) (Color.argb(0, 0, 0, 0) + 53), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new int[]{23, 18, CipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384, 11}, true, new byte[]{1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = r + 17;
y = i6 % 128;
if (i6 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Color.argb(0, 0, 0, 0), ExpandableListView.getPackedPositionType(0L) + 5, (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 111), 467504248 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 143, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) + 85307320, (byte) (49 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), 467504296 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_monthly_income_about_additional_info).substring(12, 13).codePointAt(0) - 129, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 85307424, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 57), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((short) (ViewConfiguration.getKeyRepeatDelay() >> 16), 467504394 - (ViewConfiguration.getTapTimeout() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 110, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 85307432, (byte) (53 - KeyEvent.getDeadChar(0, 0)), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{41, 74, 109, 19}, true, null, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB((short) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), 450727242 - Color.rgb(0, 0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.export_deposit_error_date_range_inline).substring(56, 57).length() - 98, 85307426 - (ViewConfiguration.getWindowTouchSlop() >> 8), (byte) (107 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new int[]{115, 36, 0, 28}, false, new byte[]{1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0}, 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((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 486, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).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);
}
@Override // com.scb.phone.view.activity.BaseChangePinActivity, 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 = r + 63;
y = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = r + 107;
y = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aB((short) (ViewConfiguration.getMinimumFlingVelocity() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.schedule_setup_remarks).substring(87, 88).length() + 467504255, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 131, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 85307466, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 19), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{23, 18, CipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384, 11}, true, new byte[]{1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i6 = r + 95;
y = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = r + 19;
y = i8 % 128;
int i9 = i8 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.getTrimmedLength(""), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) Color.argb(0, 0, 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(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 487, Color.green(0) + 5, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i10 = r + 95;
y = i10 % 128;
int i11 = i10 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i12 = y + 47;
r = i12 % 128;
int i13 = i12 % 2;
}
/* JADX WARN: Removed duplicated region for block: B:69:0x024e */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aA(int[] r19, boolean r20, byte[] r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 648
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity.aA(int[], boolean, byte[], java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:38:0x01e1, code lost:
if (r4 != false) goto L43;
*/
/* JADX WARN: Code restructure failed: missing block: B:39:0x0202, code lost:
r0 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x0203, code lost:
r1.c = r7 + r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x0208, code lost:
r4 = new java.lang.Object[]{r1, java.lang.Integer.valueOf(r25), java.lang.Integer.valueOf(com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity.q), r2};
r0 = o.xzZ.y.get(1546973421);
*/
/* JADX WARN: Code restructure failed: missing block: B:42:0x0229, code lost:
if (r0 == null) goto L52;
*/
/* JADX WARN: Code restructure failed: missing block: B:45:0x0275, code lost:
((java.lang.StringBuilder) ((java.lang.reflect.Method) r0).invoke(null, r4)).append(r1.a);
r1.e = r1.a;
r0 = com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity.p;
*/
/* JADX WARN: Code restructure failed: missing block: B:46:0x0282, code lost:
if (r0 == null) goto L60;
*/
/* JADX WARN: Code restructure failed: missing block: B:47:0x0284, code lost:
r4 = com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity.$11 + 75;
com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity.$10 = r4 % 128;
r4 = r4 % 2;
r4 = r0.length;
r7 = new byte[r4];
r8 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:48:0x0292, code lost:
if (r8 >= r4) goto L80;
*/
/* JADX WARN: Code restructure failed: missing block: B:49:0x0294, code lost:
r9 = com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity.$11 + 39;
com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity.$10 = r9 % 128;
r9 = r9 % 2;
r7[r8] = (byte) (r0[r8] ^ (-7303220121662775787L));
r8 = r8 + 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:51:0x02af, code lost:
r0 = r7;
*/
/* JADX WARN: Code restructure failed: missing block: B:52:0x02b0, code lost:
if (r0 == null) goto L62;
*/
/* JADX WARN: Code restructure failed: missing block: B:53:0x02b2, code lost:
r0 = true;
*/
/* JADX WARN: Code restructure failed: missing block: B:54:0x02b5, code lost:
r1.d = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:56:0x02b9, code lost:
if (r1.d >= r3) goto L81;
*/
/* JADX WARN: Code restructure failed: missing block: B:57:0x02bb, code lost:
if (r0 == true) goto L68;
*/
/* JADX WARN: Code restructure failed: missing block: B:58:0x02bd, code lost:
r4 = com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity.s;
r1.c = r1.c - 1;
r1.a = (char) (r1.e + (((short) (((short) (r4[r7] ^ (-7303220121662775787L))) + r22)) ^ r26));
*/
/* JADX WARN: Code restructure failed: missing block: B:60:0x02ff, code lost:
r2.append(r1.a);
r1.e = r1.a;
r1.d++;
*/
/* JADX WARN: Code restructure failed: missing block: B:61:0x02e1, code lost:
r4 = com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity.p;
r1.c = r1.c - 1;
r1.a = (char) (r1.e + (((byte) (((byte) (r4[r7] ^ (-7303220121662775787L))) + r22)) ^ r26));
*/
/* JADX WARN: Code restructure failed: missing block: B:64:0x02b4, code lost:
r0 = false;
*/
/* JADX WARN: Code restructure failed: missing block: B:66:0x022c, code lost:
r0 = ((java.lang.Class) o.xzZ.c(748 - (android.view.ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 4 - android.text.TextUtils.lastIndexOf("", '0', 0, 0), (char) ((android.widget.ExpandableListView.getPackedPositionForChild(0, 0) > 0 ? 1 : (android.widget.ExpandableListView.getPackedPositionForChild(0, 0) == 0 ? 0 : -1)) + 1))).getMethod("q", java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(1546973421, r0);
*/
/* JADX WARN: Code restructure failed: missing block: B:67:0x01f5, code lost:
r0 = r0 + 111;
com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity.$11 = r0 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:68:0x01fd, code lost:
if ((r0 % 2) != 0) goto L46;
*/
/* JADX WARN: Code restructure failed: missing block: B:69:0x0200, code lost:
r0 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:71:0x01f3, code lost:
if (r4 != false) goto L43;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aB(short r22, int r23, int r24, int r25, byte r26, java.lang.Object[] r27) {
/*
Method dump skipped, instructions count: 798
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity.aB(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.BaseChangePinActivity, 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 = r + 65;
y = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = r + 9;
y = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aB((short) (ViewConfiguration.getMaximumFlingVelocity() >> 16), 467504255 - ImageFormat.getBitsPerPixel(0), (-97) - Drawable.resolveOpacity(0, 0), 85307453 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length(), (byte) (TextUtils.lastIndexOf("", '0') + 54), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{23, 18, CipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384, 11}, true, new byte[]{1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).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((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)) + 492, Color.green(0) + 5, (char) View.combineMeasuredStates(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(ExpandableListView.getPackedPositionType(0L) + 487, View.combineMeasuredStates(0, 0) + 5, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = r + 27;
y = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.BaseChangePinActivity, 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;
int i2 = r + 3;
y = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new int[]{0, 18, 112, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{18, 5, 0, 4}, false, new byte[]{1, 0, 0, 1, 1}, objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i4 = r + 53;
y = i4 % 128;
if (i4 % 2 == 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 492, 5 - Color.green(0), (char) View.MeasureSpec.getMode(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aB((short) (AndroidCharacter.getMirror('0') - '0'), 467504282 - (ViewConfiguration.getTouchSlop() >> 8), (-97) - View.MeasureSpec.getMode(0), 85307418 - (ViewConfiguration.getEdgeSlop() >> 16), (byte) (TextUtils.getTrimmedLength("") + 49), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB((short) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)), 467504329 + (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (ViewConfiguration.getScrollDefaultDelay() >> 16) - 97, 85307469 + (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (byte) (View.MeasureSpec.getSize(0) + 91), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB((short) (ViewConfiguration.getDoubleTapTimeout() >> 16), 467504395 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 98, Color.red(0) + 85307466, (byte) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 53), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{41, 74, 109, 19}, true, null, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((short) TextUtils.getTrimmedLength(""), (Process.myTid() >> 22) + 467504458, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 98, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 85307426, (byte) (105 - ((byte) KeyEvent.getModifierMetaStateMask())), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{115, 36, 0, 28}, false, new byte[]{1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0}, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) TextUtils.getOffsetAfter("", 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i5 = r + 13;
y = i5 % 128;
int i6 = i5 % 2;
}
@Override // com.scb.phone.view.activity.BaseChangePinActivity, 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 = y + 109;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 4 / 0;
}
int i5 = y + 15;
r = i5 % 128;
int i6 = i5 % 2;
}
}