what-the-bank/sources/com/scb/phone/view/activity/accountDeletion/EasyAppAccountDeletionOtpAc...

824 lines
39 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.accountDeletion;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.os.Build;
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 com.scb.phone.view.activity.accountDeletion.EasyAppAccountDeletionErrorActivity;
import com.scb.phone.view.activity.accountDeletion.EasyAppAccountDeletionSuccessActivity;
import java.lang.reflect.Method;
import java.util.ArrayList;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC13163fSk;
import o.C13243fUv;
import o.C13395fZS;
import o.C14866gag;
import o.C14881gav;
import o.C14957gcv;
import o.C2309acF;
import o.EnumC8951daY;
import o.InterfaceC13204fTr;
import o.InterfaceC13391fZD;
import o.InterfaceC9016dbk;
import o.TVH;
import o.YJS;
import o.fRZ;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public final class EasyAppAccountDeletionOtpActivity extends Hilt_EasyAppAccountDeletionOtpActivity implements InterfaceC9016dbk.LWm {
public static final Sts b;
private static char[] l;
private static char[] m;
/* renamed from: o, reason: collision with root package name */
private static char f6546o;
private static int q;
@InterfaceC13391fZD
public C2309acF presenter;
private static final byte[] $$y = {10, Ascii.SYN, ISO7816.INS_READ_RECORD2, -2};
private static final int $$z = 14;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002a). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aF(int r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 3
int r0 = r6 + 1
int r7 = r7 * 2
int r7 = r7 + 4
byte[] r1 = com.scb.phone.view.activity.accountDeletion.EasyAppAccountDeletionOtpActivity.$$y
int r8 = 120 - r8
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r4 = r6
r8 = r7
r3 = r2
goto L2a
L15:
r3 = r2
r5 = r8
r8 = r7
r7 = r5
L19:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r6) goto L26
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L26:
int r3 = r3 + 1
r4 = r1[r8]
L2a:
int r4 = -r4
int r7 = r7 + r4
int r8 = r8 + 1
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.accountDeletion.EasyAppAccountDeletionOtpActivity.aF(int, int, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i3;
int i6 = ~(i4 | i5);
int i7 = ~i2;
int i8 = (i * 868) + (i2 * 868) + ((i6 | (~(i7 | i5))) * (-867));
int i9 = i4 | i7;
if (i8 + (((~i9) | (~(i4 | i3)) | (~(i7 | i3))) * (-1734)) + (((~(i | i7 | i3)) | (~(i2 | i4 | i3)) | (~(i5 | i9))) * 867) != 1) {
return a(objArr);
}
EasyAppAccountDeletionOtpActivity easyAppAccountDeletionOtpActivity = (EasyAppAccountDeletionOtpActivity) objArr[0];
int i10 = 2 % 2;
int i11 = q + 113;
k = i11 % 128;
int i12 = i11 % 2;
super.onStart();
int i13 = q + 93;
k = i13 % 128;
int i14 = i13 % 2;
return null;
}
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x009a, code lost:
if (r2 > 99999) goto L10;
*/
@Override // com.scb.phone.view.activity.accountDeletion.Hilt_EasyAppAccountDeletionOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 final void onCreate(android.os.Bundle r19) {
/*
Method dump skipped, instructions count: 1358
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.accountDeletion.EasyAppAccountDeletionOtpActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void a_(String str, String str2) {
AbstractC13163fSk abstractC13163fSk;
int i = 2 % 2;
C2309acF c2309acF = this.presenter;
if (c2309acF != null) {
int i2 = k + 11;
q = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 95 / 0;
}
} else {
C14957gcv.a("");
c2309acF = null;
}
if (!(c2309acF.f == 0)) {
int i4 = k + 69;
q = i4 % 128;
if (i4 % 2 == 0) {
c2309acF.f.y();
int i5 = 13 / 0;
} else {
c2309acF.f.y();
}
int i6 = q + 69;
k = i6 % 128;
int i7 = i6 % 2;
}
fRZ e = c2309acF.b.d.e(str, str2, new YJS(c2309acF.c));
if (e instanceof InterfaceC13204fTr) {
abstractC13163fSk = ((InterfaceC13204fTr) e).b();
} else {
C13243fUv c13243fUv = new C13243fUv(e);
int i8 = q + 35;
k = i8 % 128;
if (i8 % 2 != 0) {
int i9 = 2 / 2;
}
abstractC13163fSk = c13243fUv;
}
C14957gcv.c(abstractC13163fSk, "");
c2309acF.b.d(abstractC13163fSk, new C2309acF.Sts(c2309acF));
}
private static /* synthetic */ Object a(Object[] objArr) {
EasyAppAccountDeletionOtpActivity easyAppAccountDeletionOtpActivity = (EasyAppAccountDeletionOtpActivity) objArr[0];
String str = (String) objArr[1];
int i = 2 % 2;
int i2 = q + 119;
k = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
easyAppAccountDeletionOtpActivity.Xb_(easyAppAccountDeletionOtpActivity, R.id.root_activity, str, EnumC8951daY.ERROR);
int i4 = k + 59;
q = i4 % 128;
Object obj = null;
if (i4 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9016dbk.LWm
public final void b() {
int i = 2 % 2;
int i2 = k + 109;
q = i2 % 128;
int i3 = i2 % 2;
j(false);
int i4 = k + 63;
q = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9016dbk.LWm
public final void e() {
int i = 2 % 2;
if (Build.VERSION.SDK_INT >= 33) {
int i2 = k + 65;
int i3 = i2 % 128;
q = i3;
if (i2 % 2 == 0) {
return;
}
int i4 = i3 + 21;
k = i4 % 128;
int i5 = i4 % 2;
ArrayList c = C14881gav.c("android.permission.ACCESS_FINE_LOCATION", "android.permission.CAMERA", "android.permission.READ_CONTACTS", "android.permission.READ_MEDIA_IMAGES", "android.permission.POST_NOTIFICATIONS");
try {
C13395fZS.IeS ieS = C13395fZS.b;
EasyAppAccountDeletionOtpActivity easyAppAccountDeletionOtpActivity = this;
revokeSelfPermissionsOnKill(c);
C13395fZS.a(C14866gag.c);
int i6 = q + 121;
k = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
C13395fZS.IeS ieS2 = C13395fZS.b;
C14957gcv.e(th, "");
C13395fZS.a(new C13395fZS.LWm(th));
}
}
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.InterfaceC6630cYh
public final void I_() {
int i = 2 % 2;
EasyAppAccountDeletionSuccessActivity.IeS ieS = EasyAppAccountDeletionSuccessActivity.b;
EasyAppAccountDeletionOtpActivity easyAppAccountDeletionOtpActivity = this;
C14957gcv.e(easyAppAccountDeletionOtpActivity, "");
startActivity(new Intent(easyAppAccountDeletionOtpActivity, (Class<?>) EasyAppAccountDeletionSuccessActivity.class));
finish();
int i2 = k + 5;
q = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC9016dbk.LWm
public final void e(boolean z) {
int i = 2 % 2;
EasyAppAccountDeletionErrorActivity.LWm lWm = EasyAppAccountDeletionErrorActivity.b;
EasyAppAccountDeletionOtpActivity easyAppAccountDeletionOtpActivity = this;
C14957gcv.e(easyAppAccountDeletionOtpActivity, "");
Intent intent = new Intent(easyAppAccountDeletionOtpActivity, (Class<?>) EasyAppAccountDeletionErrorActivity.class);
intent.putExtra("EXTRA_IS_TIMEOUT", z);
startActivity(intent);
int i2 = k + 121;
q = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public final void onDestroy() {
int i = 2 % 2;
C2309acF c2309acF = this.presenter;
if (c2309acF != null) {
int i2 = q + 15;
k = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
int i4 = q + 55;
k = i4 % 128;
int i5 = i4 % 2;
c2309acF = null;
}
c2309acF.w_();
super.onDestroy();
}
@Override // com.scb.phone.view.activity.accountDeletion.Hilt_EasyAppAccountDeletionOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 final void onResume() {
int i = 2 % 2;
int i2 = k + 5;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aE(new int[]{5, 26, 7, 0}, false, new byte[]{0, 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 char[]{2, '+', 13913, 13913, 20, '\'', '/', 25, 13915, 13915, 2, '(', '\b', 29, ',', '\'', '0', '&'}, (byte) (Process.getGidForName("") + 114), 17 - TextUtils.lastIndexOf("", '0', 0, 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = k + 35;
q = 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(492 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (ExpandableListView.getPackedPositionChild(0L) + 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(486 - TextUtils.lastIndexOf("", '0'), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) ((-1) - MotionEvent.axisFromString("")))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i6 = q + 119;
k = i6 % 128;
int i7 = i6 % 2;
}
private static void aE(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr = l;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(i3) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(i3) == 0L ? 0 : -1)) + 223, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) (41977 - Color.blue(i3)));
byte b2 = (byte) i3;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aF(b2, b3, (byte) (b3 | 49), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i5];
System.arraycopy(cArr, i4, cArr3, 0, i5);
if (bArr != null) {
char[] cArr4 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i9 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - Color.blue(0), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((-16777162) - Color.rgb(0, 0, 0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i9] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i10 = tvh.c;
try {
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - (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)), 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 58135))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i10] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
c = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 403, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (21608 - (ViewConfiguration.getWindowTouchSlop() >> 8)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
aF(b4, b5, (byte) (b5 | 47), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i7 > 0) {
char[] cArr5 = new char[i5];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i5);
int i11 = i5 - i7;
System.arraycopy(cArr5, 0, cArr3, i11, i7);
System.arraycopy(cArr5, i7, cArr3, 0, i11);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
int i12 = $11 + 5;
$10 = i12 % 128;
int i13 = i12 % 2;
cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i6 > 0) {
int i14 = $10 + 109;
$11 = i14 % 128;
int i15 = 2;
int i16 = i14 % 2;
tvh.c = 0;
int i17 = $10 + 33;
$11 = i17 % 128;
if (i17 % 2 == 0) {
int i18 = 5 / 2;
}
while (tvh.c < i5) {
int i19 = $11 + 25;
$10 = i19 % 128;
if (i19 % i15 != 0) {
cArr3[tvh.c] = (char) (cArr3[tvh.c] >>> iArr[3]);
tvh.c++;
i15 = 2;
} else {
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
tvh.c++;
i15 = 2;
}
}
}
objArr[0] = new String(cArr3);
}
@Override // com.scb.phone.view.activity.accountDeletion.Hilt_EasyAppAccountDeletionOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 final void onPause() {
int i = 2 % 2;
int i2 = k + 17;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aE(new int[]{5, 26, 7, 0}, false, new byte[]{0, 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 char[]{2, '+', 13913, 13913, 20, '\'', '/', 25, 13915, 13915, 2, '(', '\b', 29, ',', '\'', '0', '&'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.FaceTec_internal_dev_mode_tag).substring(0, 31).length() + 82), 17 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = k + 57;
q = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = k + 83;
q = i6 % 128;
try {
if (i6 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((Process.myTid() >> 22) + 492, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getTouchSlop() >> 8), (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 492, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) KeyEvent.keyCodeFromString(""))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - View.MeasureSpec.getSize(0), (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (Process.myTid() >> 22))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
/* JADX WARN: Code restructure failed: missing block: B:38:0x0129, code lost:
if (r2.b == r2.c) goto L37;
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x0159, code lost:
r12 = new java.lang.Object[13];
r12[12] = r2;
r12[11] = java.lang.Integer.valueOf(r1);
r12[10] = r2;
r12[9] = r2;
r12[8] = java.lang.Integer.valueOf(r1);
r12[7] = r2;
r12[6] = r2;
r12[5] = java.lang.Integer.valueOf(r1);
r12[r10] = r2;
r12[3] = r2;
r12[2] = java.lang.Integer.valueOf(r1);
r12[1] = r2;
r12[0] = r2;
r4 = o.xzZ.y.get(822107368);
*/
/* JADX WARN: Code restructure failed: missing block: B:42:0x01a6, code lost:
if (r4 == null) goto L42;
*/
/* JADX WARN: Code restructure failed: missing block: B:46:0x0230, code lost:
if (((java.lang.Integer) ((java.lang.reflect.Method) r4).invoke(null, r12)).intValue() != r2.j) goto L53;
*/
/* JADX WARN: Code restructure failed: missing block: B:47:0x0232, code lost:
r4 = com.scb.phone.view.activity.accountDeletion.EasyAppAccountDeletionOtpActivity.$10 + 95;
com.scb.phone.view.activity.accountDeletion.EasyAppAccountDeletionOtpActivity.$11 = r4 % 128;
r4 = r4 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:48:0x023e, code lost:
r10 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, java.lang.Integer.valueOf(r1), r2};
r4 = o.xzZ.y.get(-1152873385);
*/
/* JADX WARN: Code restructure failed: missing block: B:49:0x027c, code lost:
if (r4 == null) goto L50;
*/
/* JADX WARN: Code restructure failed: missing block: B:50:0x027e, code lost:
r14 = 4;
*/
/* JADX WARN: Code restructure failed: missing block: B:51:0x02f0, code lost:
r11 = null;
r4 = ((java.lang.Integer) ((java.lang.reflect.Method) r4).invoke(null, r10)).intValue();
*/
/* JADX WARN: Code restructure failed: missing block: B:52:0x02fd, code lost:
r10 = (r2.d * r1) + r2.j;
r5[r2.e] = r3[r4];
r5[r2.e + 1] = r3[r10];
*/
/* JADX WARN: Code restructure failed: missing block: B:54:0x035b, code lost:
r2.e += 2;
r4 = r11;
r10 = r14;
*/
/* JADX WARN: Code restructure failed: missing block: B:55:0x0281, code lost:
r4 = (java.lang.Class) o.xzZ.c(327 - android.graphics.Color.alpha(0), 5 - (android.view.ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) android.text.TextUtils.getCapsMode("", 0, 0));
r11 = (byte) 0;
r14 = new java.lang.Object[1];
aF(r11, r11, (byte) (-com.scb.phone.view.activity.accountDeletion.EasyAppAccountDeletionOtpActivity.$$y[3]), r14);
r11 = (java.lang.String) r14[0];
r14 = 4;
r4 = r4.getMethod(r11, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(-1152873385, r4);
*/
/* JADX WARN: Code restructure failed: missing block: B:57:0x0311, code lost:
r11 = null;
r14 = 4;
*/
/* JADX WARN: Code restructure failed: missing block: B:58:0x0318, code lost:
if (r2.a != r2.d) goto L56;
*/
/* JADX WARN: Code restructure failed: missing block: B:59:0x031a, code lost:
r2.f = ((r2.f + r1) - 1) % r1;
r2.j = ((r2.j + r1) - 1) % r1;
r4 = (r2.a * r1) + r2.f;
r10 = (r2.d * r1) + r2.j;
r5[r2.e] = r3[r4];
r5[r2.e + 1] = r3[r10];
*/
/* JADX WARN: Code restructure failed: missing block: B:61:0x0342, code lost:
r4 = (r2.a * r1) + r2.j;
r10 = (r2.d * r1) + r2.f;
r5[r2.e] = r3[r4];
r5[r2.e + 1] = r3[r10];
*/
/* JADX WARN: Code restructure failed: missing block: B:63:0x01a9, code lost:
r4 = (java.lang.Class) o.xzZ.c(233 - android.graphics.Color.green(0), android.os.Process.getGidForName("") + 6, (char) ((android.view.KeyEvent.getMaxKeyCode() >> 16) + 22024));
r13 = (byte) 0;
r15 = r13;
r10 = new java.lang.Object[1];
aF(r13, r15, r15, r10);
r4 = r4.getMethod((java.lang.String) r10[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(822107368, r4);
*/
/* JADX WARN: Code restructure failed: missing block: B:65:0x0365, code lost:
r0 = move-exception;
*/
/* JADX WARN: Code restructure failed: missing block: B:66:0x0366, code lost:
r1 = r0.getCause();
*/
/* JADX WARN: Code restructure failed: missing block: B:67:0x036a, code lost:
if (r1 != null) goto L61;
*/
/* JADX WARN: Code restructure failed: missing block: B:68:0x036c, code lost:
throw r1;
*/
/* JADX WARN: Code restructure failed: missing block: B:69:0x036d, code lost:
throw r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:70:0x013f, code lost:
r5[r2.e] = (char) (r2.b - r26);
r5[r2.e + 1] = (char) (r2.c - r26);
r11 = r4;
r14 = r10;
*/
/* JADX WARN: Code restructure failed: missing block: B:73:0x013d, code lost:
if (r2.b == r2.c) goto L37;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aD(char[] r25, byte r26, int r27, java.lang.Object[] r28) {
/*
Method dump skipped, instructions count: 908
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.accountDeletion.EasyAppAccountDeletionOtpActivity.aD(char[], byte, int, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.accountDeletion.Hilt_EasyAppAccountDeletionOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = q + 95;
k = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new char[]{27, '$', 5, 26, ',', '&', '0', 19, '*', 3, 14, '\r', 17, '/', 4, 15, 13904, 13904}, (byte) (View.getDefaultSize(0, 0) + 103), (ViewConfiguration.getEdgeSlop() >> 16) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{0, 5, 105, 1}, true, null, objArr2);
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 = k + 19;
q = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i6 = k + 89;
q = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 492, View.resolveSize(0, 0) + 5, (char) View.MeasureSpec.getSize(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(new char[]{')', 11, 23, '%', 22, 0, 29, 24, '\"', 23, '$', 21, 23, NistHelper.SEP_FS, 22, 25, NistHelper.SEP_FS, 23, '&', 21, 23, 14, 23, 21, 29, '-', 3, '$', 6, 22, '.', '(', '(', '\'', 25, '&', ' ', 17, 13832, 13832, '%', 14, 24, ')', 3, 22, 19, 17}, (byte) (15 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 47, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD(new char[]{16, ' ', '.', 15, ',', 29, 20, 23, 17, '\'', '$', '*', '$', '*', 11, ')', ',', 15, '(', '$', '\b', 1, 23, 15, 22, '*', 0, 2, ')', 21, 3, 27, 13803, 13803, '$', 24, '-', 31, 13878, 13878, ',', 29, 29, 1, '\'', '(', ',', 29, '-', 26, '\"', '\n', 3, 22, '%', 31, 22, 3, '&', 25, ',', 29, 25, 15}, (byte) (TextUtils.lastIndexOf("", '0', 0, 0) + 63), Color.red(0) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new char[]{23, 25, 0, 27, 23, 22, 13921, 13921, ')', 21, 25, 14, '%', 23, 3, 27, 23, 29, '\"', 3, ')', 4, 7, ')', 3, 22, ' ', 17, 22, '-', 26, '0', 23, '%', 24, '$', '\'', '$', 13837, 13837, ')', 3, '#', 24, 29, 3, '.', 15, ' ', 16, '&', 21, '0', 22, 3, '\"', 1, 27, 29, 24, '-', 31, 6, '\b'}, (byte) (97 - MotionEvent.axisFromString("")), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new char[]{' ', '*', 4, '\'', 3, 14, 13835, 13835, 2, '#', 23, 1, 3, '+', 13901, 13901, 19, 20, 2, '$', 26, 1, 29, 23, '(', '\"', 18, '0', '!', 14, 15, 25, '+', 4, 21, 1, '0', 18, '*', '-', 26, 15, '*', 5, '\t', '/', 26, 15, 19, 14, 3, '+', 1, 30, 25, 29, '$', 30, '&', '#', '.', 20, 4, '*', 30, NistHelper.SEP_FS, '$', NistHelper.SEP_FS, 20, ' ', 20, '\'', '*', 4}, (byte) (Process.getGidForName("") + 87), 74 - (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)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{31, 5, 0, 0}, false, new byte[]{1, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new char[]{15, 25, '%', 14, '0', 26, 20, 2, 15, '*', 4, 20, NistHelper.SEP_FS, 16, 14, '%', 13843, 13843, 15, 21, ' ', 16, 0, 15, '$', 0, '$', 21, 11, 20, 3, '$', 17, '%', '.', 25}, (byte) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 103), 36 - View.combineMeasuredStates(0, 0), 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.red(0) + 487, Process.getGidForName("") + 6, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).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;
}
}
}
}
static void f() {
m = new char[]{49088, 49104, 49118, 48169, 49113, 49119, 49027, 49123, 48168, 48171, 49092, 49107, 49090, 49028, 49054, 48170, 49031, 49033, 49110, 49089, 49053, 49024, 49106, 48173, 49035, 48172, 49138, 49034, 49115, 49052, 49105, 49109, 49091, 49112, 49093, 49025, 48174, 49114, 49030, 49026, 48175, 49117, 48161, 49029, 49094, 49116, 49095, 49111, 49108};
f6546o = (char) 35374;
l = new char[]{40157, 40134, 40153, 40117, 40169, 39999, 40037, 40059, 40057, 40060, 40056, 40038, 40027, 40005, 40036, 40060, 40029, 39989, 40018, 40057, 40062, 40061, 40061, 40062, 40054, 40038, 40046, 40063, 40057, 40033, 40034, 39959, 39992, 39992, 39992, 39972};
}
@Override // com.scb.phone.view.activity.accountDeletion.Hilt_EasyAppAccountDeletionOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 final void onStart() {
c(new Object[]{this}, 1861986188, -1861986187, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) + 1709945764);
}
@Override // o.InterfaceC9016dbk.LWm
public final void b(String str) {
c(new Object[]{this, str}, -1807640045, 1807640045, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 115995921);
}
static {
q = 1;
f();
b = new Sts((byte) 0);
int i = k + 59;
q = i % 128;
int i2 = i % 2;
}
}