what-the-bank/sources/com/scb/phone/view/activity/profilemanagement/promptpay/PromptPayOtpActivity.java

676 lines
32 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.profilemanagement.promptpay;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Process;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
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.C1081Vd;
import o.C14957gcv;
import o.C4403bZM;
import o.C7813cvS;
import o.C8825dX;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC9529dlU;
import o.TeQ;
import o.UP;
import o.UQ;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public final class PromptPayOtpActivity extends Hilt_PromptPayOtpActivity implements InterfaceC9529dlU {
public static final HBt b;
private static char k;
private static int l;
private static int[] m;
/* renamed from: o, reason: collision with root package name */
private static char[] f7831o;
@InterfaceC13391fZD
public C7813cvS presenter;
private static final byte[] $$E = {76, ISO7816.INS_UPDATE_RECORD, -78, ISOFileInfo.FCI_EXT};
private static final int $$F = 65;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002b). 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 aJ(short r7, int r8, byte r9, java.lang.Object[] r10) {
/*
int r9 = r9 + 102
int r7 = r7 * 3
int r7 = r7 + 1
int r8 = r8 * 3
int r8 = 4 - r8
byte[] r0 = com.scb.phone.view.activity.profilemanagement.promptpay.PromptPayOtpActivity.$$E
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r3 = r7
r9 = r8
r4 = r2
goto L2b
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r9
r1[r3] = r5
if (r4 != r7) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
r3 = r0[r8]
r6 = r9
r9 = r8
r8 = r3
r3 = r6
L2b:
int r8 = -r8
int r8 = r8 + r3
int r9 = r9 + 1
r3 = r4
r6 = r9
r9 = r8
r8 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.profilemanagement.promptpay.PromptPayOtpActivity.aJ(short, int, byte, java.lang.Object[]):void");
}
/* loaded from: classes5.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x00b8, code lost:
if (r2 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.profilemanagement.promptpay.Hilt_PromptPayOtpActivity, 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 r17) {
/*
Method dump skipped, instructions count: 1478
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.profilemanagement.promptpay.PromptPayOtpActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void a_(String str, String str2) {
int i = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C7813cvS c7813cvS = this.presenter;
if (c7813cvS == null) {
C14957gcv.a("");
c7813cvS = null;
}
UP up = c7813cvS.d;
String str3 = (up == null || up.h != 0) ? "CID" : "MOB";
if (c7813cvS.f != 0) {
int i2 = s + 35;
int i3 = i2 % 128;
l = i3;
int i4 = i2 % 2;
int i5 = i3 + 57;
s = i5 % 128;
if (i5 % 2 == 0) {
c7813cvS.f.y();
int i6 = 3 / 0;
} else {
c7813cvS.f.y();
}
}
TeQ teQ = c7813cvS.e;
UP up2 = c7813cvS.d;
String str4 = up2 != null ? up2.f : null;
C1081Vd c1081Vd = c7813cvS.a;
String str5 = c1081Vd != null ? c1081Vd.d : null;
C1081Vd c1081Vd2 = c7813cvS.a;
teQ.d(str2, str, new C8825dX(str4, str3, str5, c1081Vd2 != null ? c1081Vd2.a : null, c7813cvS.b, c7813cvS.c));
TeQ teQ2 = c7813cvS.e;
teQ2.d(teQ2.i, new C7813cvS.RVV(c7813cvS));
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object b(Object[] objArr) {
PromptPayOtpActivity promptPayOtpActivity = (PromptPayOtpActivity) objArr[0];
UQ uq = (UQ) objArr[1];
int i = 2 % 2;
C14957gcv.e(uq, "");
promptPayOtpActivity.setResult(-1, new Intent());
ManagePromptpaySuccessActivity.e(promptPayOtpActivity, uq, true);
promptPayOtpActivity.finish();
int i2 = l + 115;
s = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
private static void aG(int[] iArr, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = m;
int i5 = 729798706;
int i6 = 1;
int i7 = 0;
if (iArr2 != null) {
int length = iArr2.length;
int[] iArr3 = new int[length];
int i8 = 0;
while (i8 < length) {
int i9 = $11 + 21;
$10 = i9 % 128;
if (i9 % i3 != 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i7] = Integer.valueOf(iArr2[i8]);
Object obj = xzZ.y.get(Integer.valueOf(i5));
if (obj == null) {
Class cls = (Class) xzZ.c(15 - Gravity.getAbsoluteGravity(i7, i7), 5 - TextUtils.getCapsMode("", i7, i7), (char) (58134 - TextUtils.indexOf("", "")));
Class<?>[] clsArr = new Class[1];
clsArr[i7] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr3[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr3 = {Integer.valueOf(iArr2[i8])};
Object obj2 = xzZ.y.get(729798706);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(15 - Color.alpha(0), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (58134 - (ViewConfiguration.getWindowTouchSlop() >> 8)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr3[i8] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i8++;
}
i3 = 2;
i5 = 729798706;
i7 = 0;
}
iArr2 = iArr3;
}
int length2 = iArr2.length;
int[] iArr4 = new int[length2];
int[] iArr5 = m;
if (iArr5 != null) {
int i10 = $10 + 29;
$11 = i10 % 128;
int i11 = i10 % 2;
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i12 = 0;
while (i12 < length3) {
int i13 = $11 + 43;
$10 = i13 % 128;
if (i13 % 2 != 0) {
Object[] objArr4 = new Object[i6];
objArr4[0] = Integer.valueOf(iArr5[i12]);
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
i2 = length3;
} else {
i2 = length3;
Method method = ((Class) xzZ.c(14 - TextUtils.lastIndexOf("", '0', 0, 0), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (58134 - View.MeasureSpec.getMode(0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, method);
obj3 = method;
}
iArr6[i12] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i12 >>>= 1;
} else {
i2 = length3;
Object[] objArr5 = {Integer.valueOf(iArr5[i12])};
Object obj4 = xzZ.y.get(729798706);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 15, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (TextUtils.lastIndexOf("", '0', 0) + 58135))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj4);
}
iArr6[i12] = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
i12++;
}
length3 = i2;
i6 = 1;
}
iArr5 = iArr6;
}
System.arraycopy(iArr5, 0, iArr4, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i14 = $10 + 55;
$11 = i14 % 128;
int i15 = i14 % 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(iArr4);
int i16 = 0;
for (int i17 = 16; i16 < i17; i17 = 16) {
c4403bZM.e ^= iArr4[i16];
try {
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(-1196964548);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(118 - View.resolveSize(0, 0), TextUtils.getOffsetAfter("", 0) + 5, (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr7 = new Object[1];
aJ(b2, b3, (byte) (b3 + 2), objArr7);
obj5 = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj5);
}
int intValue = ((Integer) ((Method) obj5).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i16++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i18 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i18;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i19 = c4403bZM.e;
int i20 = 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(iArr4);
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 obj6 = xzZ.y.get(1914371176);
if (obj6 == null) {
Class cls3 = (Class) xzZ.c(98 - TextUtils.indexOf("", "", 0, 0), 5 - TextUtils.indexOf("", "", 0), (char) TextUtils.getTrimmedLength(""));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr9 = new Object[1];
aJ(b4, b5, b5, objArr9);
obj6 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj6);
}
((Method) obj6).invoke(null, objArr8);
}
String str = new String(cArr2, 0, i);
int i21 = $11 + 59;
$10 = i21 % 128;
int i22 = i21 % 2;
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.profilemanagement.promptpay.Hilt_PromptPayOtpActivity, 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 = l + 109;
s = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aI(new char[]{25, NistHelper.SEP_FS, NistHelper.SEP_FS, 31, 23, 15, 24, 7, 29, 0, 0, 11, 25, 1, 29, 16, 5, 23, 24, 4, '\t', '\b', 4, NistHelper.SEP_FS, 25, 26}, (byte) (45 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 89, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{'\"', 7, 13870, 13870, 21, NistHelper.SEP_FS, 25, 22, 13872, 13872, 5, 16, 30, 25, 29, 16, 27, '!'}, (byte) ((ViewConfiguration.getTouchSlop() >> 8) + 70), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = l + 49;
s = i3 % 128;
try {
if (i3 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, 5 - TextUtils.getOffsetBefore("", 0), (char) ((-1) - TextUtils.lastIndexOf("", '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(487 - (ViewConfiguration.getWindowTouchSlop() >> 8), MotionEvent.axisFromString("") + 6, (char) TextUtils.indexOf("", "", 0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(491 - Process.getGidForName(""), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) View.resolveSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 488, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) ExpandableListView.getPackedPositionType(0L))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.profilemanagement.promptpay.Hilt_PromptPayOtpActivity, 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 = s + 115;
l = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = l + 63;
s = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aI(new char[]{25, NistHelper.SEP_FS, NistHelper.SEP_FS, 31, 23, 15, 24, 7, 29, 0, 0, 11, 25, 1, 29, 16, 5, 23, 24, 4, '\t', '\b', 4, NistHelper.SEP_FS, 25, 26}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 11), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_commercial_loan_success_desc).substring(35, 36).codePointAt(0) - 6, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{'\"', 7, 13870, 13870, 21, NistHelper.SEP_FS, 25, 22, 13872, 13872, 5, 16, 30, 25, 29, 16, 27, '!'}, (byte) (70 - View.resolveSizeAndState(0, 0, 0)), 18 - KeyEvent.normalizeMetaState(0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = s + 9;
l = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - MotionEvent.axisFromString(""), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 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(486 - TextUtils.lastIndexOf("", '0', 0), 5 - Color.alpha(0), (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aI(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
char c;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = f7831o;
int i4 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = 0;
while (i5 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(Process.getGidForName("") + 299, (ViewConfiguration.getEdgeSlop() >> 16) + i4, (char) (Process.myPid() >> 22));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr3 = new Object[1];
aJ(b3, b4, (byte) (b4 | 15), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i5++;
i4 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(k)};
Object obj2 = xzZ.y.get(-1987398494);
char c2 = '0';
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(297 - TextUtils.indexOf((CharSequence) "", '0', 0), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) Color.alpha(0));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr5 = new Object[1];
aJ(b5, b6, (byte) (b6 | 15), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
} else {
i2 = i;
}
if (i2 > 1) {
int i6 = $11 + 79;
$10 = i6 % 128;
int i7 = i6 % 2;
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
c = c2;
} else {
try {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(233 - TextUtils.indexOf("", "", 0, 0), View.getDefaultSize(0, 0) + 5, (char) (22024 - (ViewConfiguration.getLongPressTimeout() >> 16)));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr7 = new Object[1];
aJ(b7, b8, (byte) (b8 | Ascii.DC2), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 != null) {
c = '0';
} else {
c = '0';
Class cls4 = (Class) xzZ.c(327 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 5 - TextUtils.indexOf("", ""), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr9 = new Object[1];
aJ(b9, b10, (byte) (b10 | 16), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i8 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i8];
} else {
c = '0';
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i9 = (irs.a * charValue) + irs.f;
int i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i9];
cArr4[irs.e + 1] = cArr2[i10];
} else {
int i11 = (irs.a * charValue) + irs.j;
int i12 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i11];
cArr4[irs.e + 1] = cArr2[i12];
}
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
irs.e += 2;
c2 = c;
}
}
int i13 = 0;
while (i13 < i) {
int i14 = $10 + 107;
int i15 = i14 % 128;
$11 = i15;
int i16 = i14 % 2;
cArr4[i13] = (char) (cArr4[i13] ^ 13722);
i13++;
int i17 = i15 + 19;
$10 = i17 % 128;
int i18 = i17 % 2;
}
objArr[0] = new String(cArr4);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0076, code lost:
if (r2 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.profilemanagement.promptpay.Hilt_PromptPayOtpActivity, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void attachBaseContext(android.content.Context r15) {
/*
Method dump skipped, instructions count: 862
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.profilemanagement.promptpay.PromptPayOtpActivity.attachBaseContext(android.content.Context):void");
}
static void h() {
m = new int[]{-463719650, 1848956803, 2829952, -1461213574, 782520855, 1279857061, 173208322, -1690955604, -1267592970, 2107265166, -416221022, 1799966046, 1265126979, -1485175100, 1890821213, -1812936256, 1718214203, 501282556};
f7831o = new char[]{49098, 49024, 49029, 49034, 49119, 49091, 49053, 49115, 49127, 49126, 49094, 49025, 49109, 49026, 49027, 49035, 49031, 49114, 49118, 49138, 49102, 49116, 49110, 49028, 49106, 49111, 49105, 49117, 49095, 49101, 49100, 49104, 49103, 49030, 49089, 49093};
k = (char) 35375;
}
@Override // com.scb.phone.view.activity.profilemanagement.promptpay.Hilt_PromptPayOtpActivity, 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() {
int i = 2 % 2;
int i2 = s + 11;
l = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 78 / 0;
}
int i5 = l + 37;
s = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC9529dlU
public final void a(UQ uq) {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1889064869;
b(new Object[]{this, uq});
}
static {
l = 0;
h();
b = new HBt((byte) 0);
int i = s + 97;
l = i % 128;
int i2 = i % 2;
}
}