what-the-bank/sources/com/scb/phone/view/activity/forgotpin/SetupNewPinActivity.java

873 lines
47 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.forgotpin;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.AndroidApplication;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.registration.RegistrationSuccessActivity;
import com.scb.phone.view.activity.registration.friends.FriendsRegistrationActivity;
import java.lang.reflect.Method;
import o.C14957gcv;
import o.C4403bZM;
import o.C4593bdB;
import o.C5063blv;
import o.EnumC1279Zn;
import o.InterfaceC9293dgx;
import o.OHy;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public final class SetupNewPinActivity extends Hilt_SetupNewPinActivity<C5063blv> implements InterfaceC9293dgx {
private static long k;
private static int[] l;
/* renamed from: o, reason: collision with root package name */
private static int f7169o;
private final OHy m = new OHy();
private static final byte[] $$y = {45, 6, -13, -19};
private static final int $$z = 2;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 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 aF(byte r7, byte r8, int r9, java.lang.Object[] r10) {
/*
int r8 = r8 * 3
int r8 = r8 + 4
int r9 = r9 * 3
int r9 = 1 - r9
byte[] r0 = com.scb.phone.view.activity.forgotpin.SetupNewPinActivity.$$y
int r7 = 104 - r7
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r8 = r9
r5 = r2
goto L2b
L15:
r3 = r2
L16:
byte r4 = (byte) r7
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r9) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
r3 = r0[r8]
r6 = r8
r8 = r7
r7 = r3
r3 = r6
L2b:
int r3 = r3 + 1
int r7 = -r7
int r7 = r7 + r8
r8 = r3
r3 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.forgotpin.SetupNewPinActivity.aF(byte, byte, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i3;
if ((i * 302) + (i2 * 603) + (((~(i4 | i5)) | i2) * (-602)) + (((~(i | i5 | i2)) | (~(i3 | i4)) | (~((~i2) | i4))) * (-301)) + ((~(i5 | i2)) * 301) != 1) {
SetupNewPinActivity setupNewPinActivity = (SetupNewPinActivity) objArr[0];
EnumC1279Zn enumC1279Zn = (EnumC1279Zn) objArr[1];
int i6 = 2 % 2;
C14957gcv.e(enumC1279Zn, "");
FriendsRegistrationActivity.HBt hBt = FriendsRegistrationActivity.b;
SetupNewPinActivity setupNewPinActivity2 = setupNewPinActivity;
C14957gcv.e(setupNewPinActivity2, "");
Intent intent = new Intent(setupNewPinActivity2, (Class<?>) FriendsRegistrationActivity.class);
intent.putExtra("SUCCESS_PAGE_DYNAMIC_TYPE", enumC1279Zn);
setupNewPinActivity.startActivity(intent);
int i7 = f7169o + 71;
q = i7 % 128;
int i8 = i7 % 2;
return null;
}
return e(objArr);
}
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
private static void aE(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = $10 + 41;
$11 = i3 % 128;
if (i3 % 2 == 0) {
int i4 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(402 - Drawable.resolveOpacity(0, 0), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 21607));
int i5 = $$z;
byte b = (byte) (i5 | 25);
byte b2 = (byte) (i5 - 2);
Object[] objArr3 = new Object[1];
aF(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i4] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() + (k - (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + 238, ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
int i6 = $$z;
byte b3 = (byte) (i6 | 24);
byte b4 = (byte) (i6 - 2);
Object[] objArr5 = new Object[1];
aF(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i7 = c4593bdB.e;
try {
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(402 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (21608 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))));
int i8 = $$z;
byte b5 = (byte) (i8 | 25);
byte b6 = (byte) (i8 - 2);
Object[] objArr7 = new Object[1];
aF(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i7] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (k ^ (-6958928035870403642L));
try {
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(237 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) Color.alpha(0));
int i9 = $$z;
byte b7 = (byte) (i9 | 24);
byte b8 = (byte) (i9 - 2);
Object[] objArr9 = new Object[1];
aF(b7, b8, b8, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
int i10 = $10 + 77;
$11 = i10 % 128;
int i11 = i10 % 2;
while (c4593bdB.e < cArr.length) {
int i12 = $11 + 77;
$10 = i12 % 128;
int i13 = i12 % 2;
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr10 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(238 - TextUtils.indexOf("", ""), 5 - View.resolveSize(0, 0), (char) (MotionEvent.axisFromString("") + 1));
int i14 = $$z;
byte b9 = (byte) (i14 | 24);
byte b10 = (byte) (i14 - 2);
Object[] objArr11 = new Object[1];
aF(b9, b10, b10, objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
}
String str = new String(cArr2);
int i15 = $11 + 97;
$10 = i15 % 128;
int i16 = i15 % 2;
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.forgotpin.Hilt_SetupNewPinActivity, 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 final void onCreate(Bundle bundle) {
Method method;
int i = 2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{1795772762, -1241872763, -780347613, -1458646960, 1920643464, -1619401972, -1701671194, 21171884, 818288313, 1995724586}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{-139128495, -1224006917, 364990709, 363130178}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 105, 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 i2 = q + 29;
f7169o = i2 % 128;
if (i2 % 2 == 0) {
Object[] objArr3 = new Object[1];
aE(new char[]{16445, 61985, 9246, 22039, 34943, 14954, 27722, 40695, 53413, 647, 46226, 59043, 6393, 19144, 64802, 12072, 24858, 37750, 50558, 30540, 43380, 56251, 3468, 49036, 61941, 9187}, 45587 - ExpandableListView.getPackedPositionType(0L), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE(new char[]{16447, 22028, 27748, 577, 6317, 11915, 50422, 56094, 61700, 34657, 40258, 45986, 18819, 24540, 30254, 3102, 8803, 14407}, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 5668, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
} else {
Object[] objArr5 = new Object[1];
aE(new char[]{16445, 61985, 9246, 22039, 34943, 14954, 27722, 40695, 53413, 647, 46226, 59043, 6393, 19144, 64802, 12072, 24858, 37750, 50558, 30540, 43380, 56251, 3468, 49036, 61941, 9187}, 45587 >>> ExpandableListView.getPackedPositionType(1L), objArr5);
Class<?> cls3 = Class.forName((String) objArr5[0]);
Object[] objArr6 = new Object[1];
aE(new char[]{16447, 22028, 27748, 577, 6317, 11915, 50422, 56094, 61700, 34657, 40258, 45986, 18819, 24540, 30254, 3102, 8803, 14407}, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 8957, objArr6);
method = cls3.getMethod((String) objArr6[0], new Class[1]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
int i3 = q + 5;
f7169o = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 5 - (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)), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr7 = new Object[1];
aE(new char[]{16493, 35196, 53830, 7035, 25651, 44364, 63152, 16284, 2182, 20906, 39560, 58304, 11643, 30229, 48941, 34877, 53582, 6888, 25584, 44241, 62883, 16011, 1991, 20852, 39442, 58197, 11369, 29956, 48827, 34814, 53386, 6564, 25229, 43934, 62826, 15944, 1798, 20586, 39252, 58047, 11254, 29895, 48547, 34484, 53195, 6511, 25115, 43857}, 51480 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), objArr7);
String str = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{16441, 20901, 25436, 29928, 1542, 6201, 10698, 15192, 52449, 56858, 61536, 33219, 37674, 42165, 46609, 18552, 23002, 27427, 31883, 3823, 8227, 12765, 50031, 54405, 59111, 63561, 35282, 39782, 44186, 48874, 20550, 24993, 29451, 1168, 5887, 10252, 14757, 51971, 56636, 61091, 32850, 37357, 41811, 46435, 18125, 22610, 27056, 31563, 3368, 7887, 12412, 49546, 54083, 58739, 63195, 34931, 39308, 43964, 48499, 20189, 24638, 29137, 951, 5404}, 4555 - AndroidCharacter.getMirror('0'), objArr8);
String str2 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(new char[]{16445, 8985, 34454, 27160, 52681, 45342, 5335, 63570, 23430, 16128, 41613, 1638, 59874, 19761, 12474, 37943, 30701, 56179, 48880, 8747, 34217, 26925, 52437, 45141, 4999, 63313, 23176, 15894, 41416, 1347, 59587, 19483, 12232, 37667, 30375, 55934, 48637, 8575, 34019, 26726, 52193, 44905, 4843, 62864, 22854, 15558, 40988, 970, 59214, 19156, 11780, 37251, 29966, 55428, 48178, 8161, 33588, 26344, 51816, 44530, 4389, 62637, 22649, 15272}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.add_account_description_default).substring(43, 44).codePointAt(0) + 25437, objArr9);
String str3 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE(new char[]{16436, 29577, 10090, 56015, 36523, 16963, 30133, 10516, 56615, 37020, 17527, 30682, 11187, 57118, 37631, 18014, 31273, 11679, 57709, 38086, 18601, 31749, 12264, 58186, 38698, 19086, 32296, 12755, 58792, 39187, 19687, 'B', 13320, 59390, 39775, 20268, 652, 13879, 59869, 40366, 20757, 1255, 14418, 60452, 40833, 21348, 1747, 15009, 60937, 41379, 21837, 2336, 15493, 61478, 41931, 22459, 2829, 16042, 62031, 42537, 22919, 3428, 49361, 62647, 43059, 23499, 4076, 50000, 63229, 43599, 24127, 4501, 50528, 63686}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.order_cheque_heading3).substring(0, 3).codePointAt(0) + 13168, objArr10);
String str4 = (String) objArr10[0];
Object[] objArr11 = new Object[1];
aD(new int[]{1841122444, -726618402, -1847399131, -1462142609}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr11);
String str5 = (String) objArr11[0];
Object[] objArr12 = new Object[1];
aE(new char[]{16441, 5050, 59232, 47869, 3620, 57798, 46402, 2269, 56393, 45013, 810, 55028, 43626, 32170, 53514, 42119, 30749, 52122, 40719, 29496, 50866, 39466, 28069, 49488, 38086, 26640, 15320, 36608, 25263, 13938, 35309, 23856, 12424, 33806, 22403, 11084}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_vpn_detection_description).substring(CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256, CipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384).length() + 21382, objArr12);
Object[] objArr13 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr12[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(535 - AndroidCharacter.getMirror('0'), 4 - ExpandableListView.getPackedPositionChild(0L), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 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, objArr13);
int i5 = f7169o + 109;
q = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
((C5063blv) this.presenter).e((C5063blv) this);
((C5063blv) this.presenter).e();
this.customKeypad.setEnabledLines(true);
super.Z();
setTitle(R.string.set_pin_title);
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = q + 119;
f7169o = i2 % 128;
int i3 = i2 % 2;
super.Z();
setTitle(R.string.set_pin_title);
int i4 = f7169o + 65;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.BaseChangePinActivity, o.InterfaceC6629cYg
public final void g() {
int i = 2 % 2;
int i2 = f7169o + 19;
q = i2 % 128;
if (i2 % 2 == 0) {
super.g();
this.m.c(((BaseActivity) this).scbAnalytics, "forgot_pin_new_pin");
S();
int i3 = 11 / 0;
return;
}
super.g();
this.m.c(((BaseActivity) this).scbAnalytics, "forgot_pin_new_pin");
S();
}
@Override // com.scb.phone.view.activity.BaseChangePinActivity, o.InterfaceC6629cYg
public final void j() {
int i = 2 % 2;
int i2 = q + 65;
f7169o = i2 % 128;
if (i2 % 2 == 0) {
super.j();
this.m.c(((BaseActivity) this).scbAnalytics, "forgot_pin_confirm_pin");
ac();
int i3 = f7169o + 23;
q = i3 % 128;
int i4 = i3 % 2;
return;
}
super.j();
this.m.c(((BaseActivity) this).scbAnalytics, "forgot_pin_confirm_pin");
ac();
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9293dgx
public final void b(boolean z, boolean z2) {
int i = 2 % 2;
int i2 = q + 11;
f7169o = i2 % 128;
int i3 = i2 % 2;
if (getApplication() instanceof AndroidApplication) {
int i4 = f7169o + 107;
q = i4 % 128;
if (i4 % 2 == 0) {
((AndroidApplication) getApplication()).b(true);
} else {
((AndroidApplication) getApplication()).b(false);
}
}
((C5063blv) this.presenter).e(z, z2);
}
private static void aD(int[] iArr, int i, Object[] objArr) {
int i2;
Object method;
int[] iArr2;
char c;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = l;
byte b = 16;
int i4 = 1;
int i5 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = {Integer.valueOf(iArr3[i6])};
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + b, 5 - KeyEvent.getDeadChar(0, 0), (char) (Color.blue(0) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i6] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i6++;
b = 16;
} 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 = l;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i7 = 0;
while (i7 < length3) {
int i8 = $11 + 3;
$10 = i8 % 128;
int i9 = i8 % 2;
Object[] objArr3 = new Object[i4];
objArr3[i5] = Integer.valueOf(iArr6[i7]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
c = 55346;
} else {
iArr2 = iArr6;
Class cls = (Class) xzZ.c(14 - TextUtils.indexOf((CharSequence) "", '0', i5, i5), KeyEvent.keyCodeFromString("") + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', i5, i5) + 58135));
Class<?>[] clsArr = new Class[1];
clsArr[i5] = Integer.TYPE;
obj2 = cls.getMethod("i", clsArr);
c = 55346;
xzZ.y.put(729798706, obj2);
}
iArr7[i7] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i7++;
iArr6 = iArr2;
i4 = 1;
i5 = 0;
}
i2 = i5;
iArr6 = iArr7;
} else {
i2 = 0;
}
System.arraycopy(iArr6, i2, iArr5, i2, length2);
c4403bZM.b = i2;
int i10 = $11 + 71;
$10 = i10 % 128;
int i11 = i10 % 2;
while (c4403bZM.b < iArr.length) {
int i12 = $10 + 17;
$11 = i12 % 128;
int i13 = i12 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i14 = 0;
for (int i15 = 16; i14 < i15; i15 = 16) {
int i16 = $11 + 53;
$10 = i16 % 128;
if (i16 % 2 != 0) {
c4403bZM.e ^= iArr5[i14];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(118 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - KeyEvent.keyCodeFromString(""), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24));
byte b2 = (byte) ($$z - 2);
byte b3 = b2;
Object[] objArr5 = new Object[1];
aF(b2, b3, b3, objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i14 += 107;
} else {
c4403bZM.e ^= iArr5[i14];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(118 - (ViewConfiguration.getEdgeSlop() >> 16), 5 - TextUtils.indexOf("", "", 0, 0), (char) View.MeasureSpec.getMode(0));
byte b4 = (byte) ($$z - 2);
byte b5 = b4;
Object[] objArr7 = new Object[1];
aF(b4, b5, b5, objArr7);
obj4 = cls3.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;
i14++;
}
}
int i17 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i17;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i18 = c4403bZM.e;
int i19 = 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) {
method = obj5;
} else {
Class cls4 = (Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 98, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (ViewConfiguration.getTouchSlop() >> 8));
byte b6 = (byte) $$z;
byte b7 = (byte) (b6 - 2);
Object[] objArr9 = new Object[1];
aF(b6, b7, b7, objArr9);
method = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, method);
}
((Method) method).invoke(null, objArr8);
}
objArr[0] = new String(cArr2, 0, i);
}
private static /* synthetic */ Object e(Object[] objArr) {
SetupNewPinActivity setupNewPinActivity = (SetupNewPinActivity) objArr[0];
EnumC1279Zn enumC1279Zn = (EnumC1279Zn) objArr[1];
int i = 2 % 2;
C14957gcv.e(enumC1279Zn, "");
RegistrationSuccessActivity.Sts sts = RegistrationSuccessActivity.k;
SetupNewPinActivity setupNewPinActivity2 = setupNewPinActivity;
C14957gcv.e(setupNewPinActivity2, "");
Intent intent = new Intent(setupNewPinActivity2, (Class<?>) RegistrationSuccessActivity.class);
intent.putExtra("SUCCESS_PAGE_DYNAMIC_TYPE", enumC1279Zn);
setupNewPinActivity.startActivity(intent);
int i2 = f7169o + 117;
q = i2 % 128;
if (i2 % 2 != 0) {
return null;
}
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0028, code lost:
if (r5.getItemId() == 16908332) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001e, code lost:
if (r5.getItemId() == 16908332) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0040, code lost:
return super.onOptionsItemSelected(r5);
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x002a, code lost:
((o.C5063blv) r4.presenter).c();
r5 = com.scb.phone.view.activity.forgotpin.SetupNewPinActivity.q + 101;
com.scb.phone.view.activity.forgotpin.SetupNewPinActivity.f7169o = r5 % 128;
r5 = r5 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x003b, code lost:
return true;
*/
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final boolean onOptionsItemSelected(android.view.MenuItem r5) {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.forgotpin.SetupNewPinActivity.q
int r1 = r1 + 57
int r2 = r1 % 128
com.scb.phone.view.activity.forgotpin.SetupNewPinActivity.f7169o = r2
int r1 = r1 % r0
r2 = 16908332(0x102002c, float:2.3877352E-38)
java.lang.String r3 = ""
if (r1 == 0) goto L21
o.C14957gcv.e(r5, r3)
int r1 = r5.getItemId()
r3 = 62
int r3 = r3 / 0
if (r1 != r2) goto L3c
goto L2a
L21:
o.C14957gcv.e(r5, r3)
int r1 = r5.getItemId()
if (r1 != r2) goto L3c
L2a:
T extends o.Zm r5 = r4.presenter
o.blv r5 = (o.C5063blv) r5
r5.c()
int r5 = com.scb.phone.view.activity.forgotpin.SetupNewPinActivity.q
int r5 = r5 + 101
int r1 = r5 % 128
com.scb.phone.view.activity.forgotpin.SetupNewPinActivity.f7169o = r1
int r5 = r5 % r0
r5 = 1
return r5
L3c:
boolean r5 = super.onOptionsItemSelected(r5)
return r5
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.forgotpin.SetupNewPinActivity.onOptionsItemSelected(android.view.MenuItem):boolean");
}
@Override // com.scb.phone.view.activity.forgotpin.Hilt_SetupNewPinActivity, 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 final void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i2 = q + 79;
f7169o = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aE(new char[]{16445, 61985, 9246, 22039, 34943, 14954, 27722, 40695, 53413, 647, 46226, 59043, 6393, 19144, 64802, 12072, 24858, 37750, 50558, 30540, 43380, 56251, 3468, 49036, 61941, 9187}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_account_inbound_error_description).substring(57, 58).length() + 45586, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{16447, 22028, 27748, 577, 6317, 11915, 50422, 56094, 61700, 34657, 40258, 45986, 18819, 24540, 30254, 3102, 8803, 14407}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.omnibus_fund_capsule).substring(0, 7).length() + 5662, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = f7169o + 5;
q = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = f7169o + 59;
q = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0) + 492, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) KeyEvent.getDeadChar(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(486 - ImageFormat.getBitsPerPixel(0), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
int i7 = f7169o + 35;
q = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
/* JADX WARN: Code restructure failed: missing block: B:39:0x0023, code lost:
r7 = new java.lang.Object[1];
aE(new char[]{16445, 61985, 9246, 22039, 34943, 14954, 27722, 40695, 53413, 647, 46226, 59043, 6393, 19144, 64802, 12072, 24858, 37750, 50558, 30540, 43380, 56251, 3468, 49036, 61941, 9187}, 45587 - (android.view.ViewConfiguration.getTapTimeout() >> 16), r7);
r1 = java.lang.Class.forName((java.lang.String) r7[0]);
r9 = new java.lang.Object[1];
aE(new char[]{16447, 22028, 27748, 577, 6317, 11915, 50422, 56094, 61700, 34657, 40258, 45986, 18819, 24540, 30254, 3102, 8803, 14407}, 5669 - android.widget.ExpandableListView.getPackedPositionGroup(0), r9);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r9[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x0021, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.forgotpin.Hilt_SetupNewPinActivity, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onPause() {
/*
Method dump skipped, instructions count: 462
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.forgotpin.SetupNewPinActivity.onPause():void");
}
@Override // com.scb.phone.view.activity.forgotpin.Hilt_SetupNewPinActivity, 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 final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = q + 65;
f7169o = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{1795772762, -1241872763, -780347613, -1458646960, 1920643464, -1619401972, -1701671194, 21171884, 818288313, 1995724586}, View.MeasureSpec.getSize(0) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{-139128495, -1224006917, 364990709, 363130178}, Drawable.resolveOpacity(0, 0) + 5, 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 = f7169o + 1;
q = i4 % 128;
if (i4 % 2 == 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
int i5 = q + 15;
f7169o = i5 % 128;
int i6 = i5 % 2;
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.alpha(0) + 492, 5 - TextUtils.indexOf("", "", 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];
aE(new char[]{16493, 35196, 53830, 7035, 25651, 44364, 63152, 16284, 2182, 20906, 39560, 58304, 11643, 30229, 48941, 34877, 53582, 6888, 25584, 44241, 62883, 16011, 1991, 20852, 39442, 58197, 11369, 29956, 48827, 34814, 53386, 6564, 25229, 43934, 62826, 15944, 1798, 20586, 39252, 58047, 11254, 29895, 48547, 34484, 53195, 6511, 25115, 43857}, TextUtils.getTrimmedLength("") + 51479, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new char[]{16441, 20901, 25436, 29928, 1542, 6201, 10698, 15192, 52449, 56858, 61536, 33219, 37674, 42165, 46609, 18552, 23002, 27427, 31883, 3823, 8227, 12765, 50031, 54405, 59111, 63561, 35282, 39782, 44186, 48874, 20550, 24993, 29451, 1168, 5887, 10252, 14757, 51971, 56636, 61091, 32850, 37357, 41811, 46435, 18125, 22610, 27056, 31563, 3368, 7887, 12412, 49546, 54083, 58739, 63195, 34931, 39308, 43964, 48499, 20189, 24638, 29137, 951, 5404}, TextUtils.getCapsMode("", 0, 0) + 4507, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new char[]{16445, 8985, 34454, 27160, 52681, 45342, 5335, 63570, 23430, 16128, 41613, 1638, 59874, 19761, 12474, 37943, 30701, 56179, 48880, 8747, 34217, 26925, 52437, 45141, 4999, 63313, 23176, 15894, 41416, 1347, 59587, 19483, 12232, 37667, 30375, 55934, 48637, 8575, 34019, 26726, 52193, 44905, 4843, 62864, 22854, 15558, 40988, 970, 59214, 19156, 11780, 37251, 29966, 55428, 48178, 8161, 33588, 26344, 51816, 44530, 4389, 62637, 22649, 15272}, (ViewConfiguration.getTouchSlop() >> 8) + 25469, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{16436, 29577, 10090, 56015, 36523, 16963, 30133, 10516, 56615, 37020, 17527, 30682, 11187, 57118, 37631, 18014, 31273, 11679, 57709, 38086, 18601, 31749, 12264, 58186, 38698, 19086, 32296, 12755, 58792, 39187, 19687, 'B', 13320, 59390, 39775, 20268, 652, 13879, 59869, 40366, 20757, 1255, 14418, 60452, 40833, 21348, 1747, 15009, 60937, 41379, 21837, 2336, 15493, 61478, 41931, 22459, 2829, 16042, 62031, 42537, 22919, 3428, 49361, 62647, 43059, 23499, 4076, 50000, 63229, 43599, 24127, 4501, 50528, 63686}, 13216 - ((byte) KeyEvent.getModifierMetaStateMask()), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new int[]{1841122444, -726618402, -1847399131, -1462142609}, 4 - ImageFormat.getBitsPerPixel(0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{16441, 5050, 59232, 47869, 3620, 57798, 46402, 2269, 56393, 45013, 810, 55028, 43626, 32170, 53514, 42119, 30749, 52122, 40719, 29496, 50866, 39466, 28069, 49488, 38086, 26640, 15320, 36608, 25263, 13938, 35309, 23856, 12424, 33806, 22403, 11084}, 21383 - View.getDefaultSize(0, 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 - TextUtils.getCapsMode("", 0, 0), 4 - TextUtils.lastIndexOf("", '0', 0), (char) TextUtils.indexOf("", "", 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;
}
}
}
}
static void f() {
l = new int[]{1612213212, -783654400, -812506372, -977636525, 904833567, -1837307672, 1376986168, 19033830, -1242862475, 1246901054, 1731988559, -959916620, -1468948034, 387849945, -1056478797, -84974178, -280085493, 836863974};
k = -4571470821156957286L;
}
@Override // com.scb.phone.view.activity.forgotpin.Hilt_SetupNewPinActivity, 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 final void onStart() {
int i = 2 % 2;
int i2 = q + 11;
f7169o = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = f7169o + 83;
q = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC9293dgx
public final void a(EnumC1279Zn enumC1279Zn) {
d(new Object[]{this, enumC1279Zn}, -653230877, 653230877, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1177103725);
}
@Override // o.InterfaceC9293dgx
public final void e(EnumC1279Zn enumC1279Zn) {
d(new Object[]{this, enumC1279Zn}, 278961385, -278961384, ((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) - 726718029);
}
static {
f7169o = 0;
f();
new HBt((byte) 0);
int i = q + 37;
f7169o = i % 128;
if (i % 2 != 0) {
int i2 = 41 / 0;
}
}
}