what-the-bank/sources/com/scb/phone/view/activity/juristic/BaseJuristicPinActivity.java

754 lines
36 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.juristic;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.forgotpin.ForgotPinPersonalInfoActivity;
import com.scb.phone.view.activity.forgotpin.PinLockActivity;
import com.scb.phone.view.activity.juristic.JuristicResetPinLandingActivity;
import com.scb.phone.view.custom.login.CustomKeypad;
import com.scb.phone.view.custom.login.CustomPinInput;
import java.lang.reflect.Method;
import o.AbstractC3947bLj;
import o.C14957gcv;
import o.C4403bZM;
import o.EnumC8951daY;
import o.GuL;
import o.InterfaceC10433eDx;
import o.InterfaceC9434djf;
import o.xzZ;
/* loaded from: classes5.dex */
public abstract class BaseJuristicPinActivity extends BaseActivity implements InterfaceC10433eDx, InterfaceC9434djf {
@BindView
public CustomKeypad customKeypad;
@BindView
public CustomPinInput customPinInput;
@BindView
public TextView textLabelTop;
private static final byte[] $$g = {85, -17, 4, -90};
private static final int $$h = 202;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
/* renamed from: o, reason: collision with root package name */
private static int f7508o = 1;
private static int[] b = {-1520858081, 1509438423, -989627000, -278937521, -656915915, -1296048413, 805339506, -1555806482, 193695006, 357725268, -1016538557, 2032016188, 1329882013, 1408120745, 741169153, 815558108, 195244351, 533096324};
private static long l = -4605375683463935482L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0029). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(int r7, int r8, short r9, java.lang.Object[] r10) {
/*
int r7 = r7 + 102
int r9 = r9 * 3
int r9 = 4 - r9
byte[] r0 = com.scb.phone.view.activity.juristic.BaseJuristicPinActivity.$$g
int r8 = r8 * 2
int r8 = 1 - r8
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L14
r3 = r9
r4 = r2
goto L29
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r8) goto L24
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L24:
r3 = r0[r9]
r6 = r3
r3 = r7
r7 = r6
L29:
int r9 = r9 + 1
int r7 = r7 + r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.juristic.BaseJuristicPinActivity.az(int, int, short, java.lang.Object[]):void");
}
public abstract void h();
protected abstract AbstractC3947bLj<?> j();
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(l ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (guL.a < a.length) {
int i3 = $11 + 59;
$10 = i3 % 128;
int i4 = i3 % 2;
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(l)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(208 - KeyEvent.getDeadChar(0, 0), Color.rgb(0, 0, 0) + 16777221, (char) (1705 - ExpandableListView.getPackedPositionChild(0L)));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
az((byte) (-$$g[1]), b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 392, View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) 19, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $11 + 111;
$10 = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = k + 19;
f7508o = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{-2776995, 505201843, -1820295804, -1859689190, -1948800578, -1777616583, -1964272739, 1898943137, 938420678, -2128743349}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_user_info_header).substring(17, 18).length() + 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{25080, 24981, 2055, 55847, 7217, 47318, 47594, 52872, 10488}, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = f7508o + 33;
k = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
ax(new int[]{-2776995, 505201843, -1820295804, -1859689190, -317447551, -78503342, 1146704522, -2086496104, -1891540020, 128205815, -1863198599, 1975431973, 2100631835, -2105072479}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_balance).substring(0, 5).length() + 21, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new int[]{-147151575, -408788709, -1822116051, -1145337023, 467248487, -1401516785, -2126994875, -1531699068, -339566396, 605999766}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = f7508o + 33;
k = 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(ImageFormat.getBitsPerPixel(0) + 493, (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[] objArr5 = new Object[1];
ax(new int[]{-1751995782, -1392863011, -169420938, -259784609, 352651885, 832847555, -52961360, 1700179910, 1252066591, -276077397, 1094456297, 775603562, -1767611329, -25669454, -500575982, -1394832847, -1366578544, 1918603425, -1882392055, -261980045, 196330356, 772189254, 2113585144, 687675081}, View.resolveSize(0, 0) + 48, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{35203, 35302, 36436, 23663, 22059, 62127, 53613, 42499, 49361, 18352, 47113, 4411, 6958, 14715, 24931, 55432, 21917, 62172, 54978, 33387, 44069, 43954, 40024, 19908, 59156, 7444, 17900, 13478, 12776, 55016, 2833, 65133, 34829, 34883, 61557, 43410, 49812, 16673, 47564, 4903, 7474, 14986, 28543, 55936, 21597, 60492, 54480, 34216, 44794, 42491, 40419, 20312, 63831, 8030, 17199, 14049, 13300, 53306, 2264, 57360, 35523, 35293, 65072, 43990, 50537, 17208, 42948, 4847}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_summary_request_amount_value).substring(0, 5).length() - 4, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{53713, 53680, 17274, 37147, 64673, 22563, 4348, 26564, 39124, 35477, 4818, 53494, 17195, 62467, 52200, 6474, 3487, 16298, 31823, 17395, 62496, 26256, 13957, 35927, 48916, 53350, 61232, 62769, 27114, 7058, 41421, 16378, 53333, 17720, 23286, 26719, 39621, 35840, 4882, 53986, 17760, 63476, 50598, 6978, 3084, 8554, 32270, 17468, 63227, 26845, 14185, 36558, 41219, 53879, 59889, 63359, 27635, 7503, 41559, 8581, 53913, 17579, 21741, 27166, 40248, 36374, 3404, 54060}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new int[]{208099225, 2039267610, -1228605005, 1464346328, -1334024165, -157147122, 704823163, 2061807108, 1020387353, -1359350860, 1835176105, 1454780386, 259374080, 499353956, -471515729, 1413698272, -1034429212, 789948801, -1702736416, 588529740, 712419655, -739714223, -1352596968, -1537737686, 1646955762, -518996404, 1371679748, 537102733, 448255521, -1932756618, 50898906, -1158307853, 481547058, 1300941143, 182267736, -2065243050, 1576040000, 714090604}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_suitability_assessment_questionnaire_section_1).substring(88, 89).length() + 73, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(new int[]{976968994, 1634568759, -951874174, -1504263468}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 94, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new char[]{55314, 55415, 441, 54145, 59289, 17177, 59845, 40698, 37138, 51205, 2491, 10650, 19191, 46742, 53459, 57459, 1116, 32041, 26483, 47808, 64947, 9305, 11766, 30015, 46724, 37545, 62556, 3095, 24696, 22867, 47777, 50887, 55705, 2033, 16788, 37175, 37638, 52941, 2170, 11147}, -(ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - Color.blue(0), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558630);
ButterKnife.Dg_(this);
Z();
g();
h();
}
public void g() {
int i = 2 % 2;
int i2 = f7508o + 103;
k = i2 % 128;
int i3 = i2 % 2;
ac();
CustomPinInput customPinInput = this.customPinInput;
CustomPinInput customPinInput2 = null;
if (customPinInput != null) {
int i4 = k + 77;
f7508o = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
customPinInput = null;
}
customPinInput.setPinInputListener(this);
CustomKeypad customKeypad = this.customKeypad;
if (customKeypad == null) {
C14957gcv.a("");
customKeypad = null;
}
CustomPinInput customPinInput3 = this.customPinInput;
if (customPinInput3 != null) {
int i6 = f7508o + 37;
k = i6 % 128;
int i7 = i6 % 2;
customPinInput2 = customPinInput3;
} else {
C14957gcv.a("");
}
customKeypad.setKeypadListener(customPinInput2);
customKeypad.setEnabledLines(true);
}
@Override // o.InterfaceC9434djf
public final void b() {
int i = 2 % 2;
int i2 = f7508o + 71;
k = i2 % 128;
CustomPinInput customPinInput = null;
if (i2 % 2 != 0) {
customPinInput.hashCode();
throw null;
}
CustomPinInput customPinInput2 = this.customPinInput;
if (customPinInput2 != null) {
customPinInput = customPinInput2;
} else {
C14957gcv.a("");
int i3 = f7508o + 61;
k = i3 % 128;
int i4 = i3 % 2;
}
customPinInput.a();
}
/* JADX WARN: Code restructure failed: missing block: B:13:0x001a, code lost:
if (r1 != null) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0015, code lost:
if (r1 != null) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x001d, code lost:
o.C14957gcv.a("");
r1 = null;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onDestroy() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.juristic.BaseJuristicPinActivity.k
int r1 = r1 + 63
int r2 = r1 % 128
com.scb.phone.view.activity.juristic.BaseJuristicPinActivity.f7508o = r2
int r1 = r1 % r0
r2 = 0
if (r1 != 0) goto L18
com.scb.phone.view.custom.login.CustomPinInput r1 = r4.customPinInput
r3 = 30
int r3 = r3 / 0
if (r1 == 0) goto L1d
goto L23
L18:
com.scb.phone.view.custom.login.CustomPinInput r1 = r4.customPinInput
if (r1 == 0) goto L1d
goto L23
L1d:
java.lang.String r1 = ""
o.C14957gcv.a(r1)
r1 = r2
L23:
r1.setPinInputListener(r2)
o.bLj r1 = r4.j()
r1.w_()
super.onDestroy()
int r1 = com.scb.phone.view.activity.juristic.BaseJuristicPinActivity.k
int r1 = r1 + 11
int r2 = r1 % 128
com.scb.phone.view.activity.juristic.BaseJuristicPinActivity.f7508o = r2
int r1 = r1 % r0
if (r1 != 0) goto L3f
r0 = 15
int r0 = r0 / 0
L3f:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.juristic.BaseJuristicPinActivity.onDestroy():void");
}
@Override // o.InterfaceC10433eDx
public final void o_(String str) {
int i = 2 % 2;
int i2 = f7508o + 13;
k = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
AbstractC3947bLj<?> j = j();
C14957gcv.e(str, "");
if (str.length() == 0 || str.length() < 6) {
return;
}
if (j.f != 0) {
int i4 = k + 49;
f7508o = i4 % 128;
int i5 = i4 % 2;
j.f.y();
}
j.d(str);
}
private static void ax(int[] iArr, int i, Object[] objArr) {
int length;
int[] iArr2;
long j;
int[] iArr3;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = b;
int i3 = 729798706;
int i4 = 1;
char c = 0;
if (iArr4 != null) {
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int i5 = 0;
while (i5 < length2) {
try {
Object[] objArr2 = new Object[i4];
objArr2[c] = Integer.valueOf(iArr4[i5]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 15, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr5[i5] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i5++;
i4 = 1;
c = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr4 = iArr5;
}
int length3 = iArr4.length;
int[] iArr6 = new int[length3];
int[] iArr7 = b;
if (iArr7 != null) {
int i6 = $10 + 33;
$11 = i6 % 128;
if (i6 % 2 == 0) {
length = iArr7.length;
iArr2 = new int[length];
} else {
length = iArr7.length;
iArr2 = new int[length];
}
int i7 = 0;
while (i7 < length) {
Object[] objArr3 = {Integer.valueOf(iArr7[i7])};
Object obj2 = xzZ.y.get(Integer.valueOf(i3));
if (obj2 != null) {
iArr3 = iArr7;
j = 0;
} else {
j = 0;
iArr3 = iArr7;
obj2 = ((Class) xzZ.c(16 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (58134 - TextUtils.indexOf("", "", 0, 0)))).getMethod("i", Integer.TYPE);
i3 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr2[i7] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i7++;
iArr7 = iArr3;
}
iArr7 = iArr2;
}
System.arraycopy(iArr7, 0, iArr6, 0, length3);
c4403bZM.b = 0;
int i8 = $11 + 37;
$10 = i8 % 128;
int i9 = i8 % 2;
while (c4403bZM.b < iArr.length) {
int i10 = $11 + 49;
$10 = i10 % 128;
int i11 = i10 % 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(iArr6);
int i12 = 0;
for (int i13 = 16; i12 < i13; i13 = 16) {
c4403bZM.e ^= iArr6[i12];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c(118 - (ViewConfiguration.getEdgeSlop() >> 16), (Process.myTid() >> 22) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16));
byte b2 = (byte) ($$h & 7);
byte b3 = (byte) (b2 - 2);
Object[] objArr5 = new Object[1];
az(b2, b3, b3, objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i12++;
}
int i14 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i14;
c4403bZM.a ^= iArr6[16];
c4403bZM.e ^= iArr6[17];
int i15 = c4403bZM.e;
int i16 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr6);
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[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(98 - (ViewConfiguration.getLongPressTimeout() >> 16), TextUtils.lastIndexOf("", '0') + 6, (char) View.MeasureSpec.makeMeasureSpec(0, 0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
az(b4, b5, b5, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.InterfaceC9434djf
public final void a(String str) {
int i = 2 % 2;
int i2 = k + 109;
f7508o = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
Xb_(this, R.id.view_group_root, str, EnumC8951daY.ERROR);
int i4 = k + 7;
f7508o = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9434djf
public final void c(boolean z) {
int i = 2 % 2;
int i2 = k + 25;
f7508o = i2 % 128;
int i3 = i2 % 2;
if (!z) {
at();
return;
}
PinLockActivity.b((Context) this);
int i4 = k + 15;
f7508o = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9434djf
public final void d() {
int i = 2 % 2;
int i2 = k + 1;
f7508o = i2 % 128;
if (i2 % 2 == 0) {
ForgotPinPersonalInfoActivity.a((Context) this);
int i3 = 61 / 0;
} else {
ForgotPinPersonalInfoActivity.a((Context) this);
}
int i4 = k + 5;
f7508o = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9434djf
public final void a() {
int i = 2 % 2;
JuristicResetPinLandingActivity.IeS ieS = JuristicResetPinLandingActivity.k;
BaseJuristicPinActivity baseJuristicPinActivity = this;
C14957gcv.e(baseJuristicPinActivity, "");
startActivity(new Intent(baseJuristicPinActivity, (Class<?>) JuristicResetPinLandingActivity.class));
int i2 = k + 35;
f7508o = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = k + 43;
f7508o = i2 % 128;
if (i2 % 2 == 0) {
finish();
overridePendingTransition(R.anim.2130772001, R.anim.2130771999);
int i3 = 78 / 0;
} else {
finish();
overridePendingTransition(R.anim.2130772001, R.anim.2130771999);
}
int i4 = k + 107;
f7508o = i4 % 128;
int i5 = i4 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:27:0x0021, code lost:
r7 = (java.lang.Object[]) null;
r7 = new java.lang.Object[1];
ax(new int[]{-2776995, 505201843, -1820295804, -1859689190, -317447551, -78503342, 1146704522, -2086496104, -1891540020, 128205815, -1863198599, 1975431973, 2100631835, -2105072479}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, r7);
r1 = java.lang.Class.forName((java.lang.String) r7[0]);
r7 = new java.lang.Object[1];
ax(new int[]{-147151575, -408788709, -1822116051, -1145337023, 467248487, -1401516785, -2126994875, -1531699068, -339566396, 605999766}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.already_registered_error).substring(21, 22).codePointAt(0) - 93, r7);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
r5 = com.scb.phone.view.activity.juristic.BaseJuristicPinActivity.k + 17;
com.scb.phone.view.activity.juristic.BaseJuristicPinActivity.f7508o = r5 % 128;
r5 = r5 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onResume() {
/*
Method dump skipped, instructions count: 398
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.juristic.BaseJuristicPinActivity.onResume():void");
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(new int[]{-2776995, 505201843, -1820295804, -1859689190, -317447551, -78503342, 1146704522, -2086496104, -1891540020, 128205815, -1863198599, 1975431973, 2100631835, -2105072479}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{-147151575, -408788709, -1822116051, -1145337023, 467248487, -1401516785, -2126994875, -1531699068, -339566396, 605999766}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 93, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = k + 11;
f7508o = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = f7508o + 97;
k = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 492, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 488, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) ((-1) - TextUtils.lastIndexOf("", '0')))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 493, 4 - TextUtils.lastIndexOf("", '0'), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(488 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 5 - View.resolveSizeAndState(0, 0, 0), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).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:6:0x0064, code lost:
if (r2 > 99999) goto L10;
*/
@Override // 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 void attachBaseContext(android.content.Context r21) {
/*
Method dump skipped, instructions count: 834
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.juristic.BaseJuristicPinActivity.attachBaseContext(android.content.Context):void");
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object d(Object[] objArr) {
int i = 2 % 2;
int i2 = k + 3;
f7508o = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 22 / 0;
}
return null;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = f7508o + 117;
k = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = f7508o + 63;
k = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 65 / 0;
}
}
@Override // o.InterfaceC10433eDx
public final void T_() {
int i = 2 % 2;
int i2 = k + 19;
f7508o = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC10433eDx
public final void S_() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 481577968;
d(new Object[]{this});
}
}