what-the-bank/sources/com/scb/phone/view/activity/personalinfo/BasePersonalInfoActivity.java

1571 lines
70 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.personalinfo;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.text.method.DigitsKeyListener;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.Button;
import android.widget.ExpandableListView;
import android.widget.LinearLayout;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity;
import com.scb.phone.view.activity.registration.RegistrationCardDetailActivity;
import com.scb.phone.view.activity.registration.RegistrationNoDataActivity;
import com.scb.phone.view.custom.CustomExternalSelector;
import com.scb.phone.view.custom.common.CommonInputViewGroup;
import com.scb.phone.view.fragment.registration.RegistrationFacialRecognitionLandingActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC11434efK;
import o.C1102Vr;
import o.C14957gcv;
import o.C15602gz;
import o.C4593bdB;
import o.C7247ckg;
import o.C7252ckl;
import o.C7254ckn;
import o.C7259cks;
import o.EnumC1258Zb;
import o.EnumC1262Zd;
import o.Ezz;
import o.InterfaceC9537dlc;
import o.Mdw;
import o.ZI;
import o.fKJ;
import o.fLJ;
import o.fLR;
import o.qBc;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public abstract class BasePersonalInfoActivity extends AbstractActivityC11434efK implements InterfaceC9537dlc {
private boolean b;
@BindView
Button btnSubmit;
@BindView
Button btnTabAlienCard;
@BindView
Button btnTabCitizenId;
@BindView
Button btnTabPassport;
@BindView
CustomExternalSelector countrySelector;
@BindView
CommonInputViewGroup ivpAlienDob;
@BindView
CommonInputViewGroup ivpAlienNo;
@BindView
public CommonInputViewGroup ivpCitizenCardNo;
@BindView
public CommonInputViewGroup ivpCitizenDob;
@BindView
CommonInputViewGroup ivpPassportDob;
@BindView
CommonInputViewGroup ivpPassportNo;
@BindView
LinearLayout layoutAlien;
@BindView
LinearLayout layoutCitizen;
@BindView
LinearLayout layoutPassport;
private static final byte[] $$y = {37, 38, 5, ISO7816.INS_LOAD_KEY_FILE};
private static final int $$z = 44;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
private static int m = 1;
private static int l = 2015661611;
/* renamed from: o, reason: collision with root package name */
private static long f7708o = 4178806627674837569L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x002a). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aF(short r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 69
int r6 = r6 * 3
int r0 = r6 + 1
int r8 = r8 * 3
int r8 = r8 + 4
byte[] r1 = com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.$$y
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L14
r3 = r8
r4 = r2
goto L2a
L14:
r3 = r2
L15:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r6) goto L22
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L22:
int r3 = r3 + 1
r4 = r1[r8]
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L2a:
int r8 = -r8
int r7 = r7 + r8
int r8 = r3 + 1
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.aF(short, int, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i2;
int i5 = (i * (-1965)) + (i2 * 984) + ((i | i4) * 983);
int i6 = ~i;
int i7 = ~i3;
int i8 = i5 + (((~(i4 | i7)) | i6) * (-983)) + (((~(i6 | i2)) | (~(i7 | i6))) * 983);
if (i8 == 1) {
return e(objArr);
}
if (i8 != 2) {
BasePersonalInfoActivity basePersonalInfoActivity = (BasePersonalInfoActivity) objArr[0];
int i9 = 2 % 2;
if (((Boolean) objArr[1]).booleanValue()) {
int i10 = m + 39;
k = i10 % 128;
int i11 = i10 % 2;
basePersonalInfoActivity.ivpCitizenDob.c();
int i12 = k + 101;
m = i12 % 128;
int i13 = i12 % 2;
} else {
basePersonalInfoActivity.ivpCitizenDob.e();
}
return null;
}
return a(objArr);
}
public abstract void a(String str, String str2, Mdw.Sts sts);
protected abstract C7247ckg f();
protected abstract EnumC1262Zd h();
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;
int i3 = $11 + 43;
$10 = i3 % 128;
int i4 = i3 % 2;
while (c4593bdB.e < cArr.length) {
int i5 = 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((ViewConfiguration.getDoubleTapTimeout() >> 16) + 402, View.MeasureSpec.getMode(0) + 5, (char) ((ViewConfiguration.getEdgeSlop() >> 16) + 21608));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aF(b, (byte) (b | 8), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (f7708o ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 237, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) KeyEvent.normalizeMetaState(0));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aF(b2, (byte) (b2 | 9), b2, 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;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(238 - KeyEvent.getDeadChar(0, 0), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aF(b3, (byte) (b3 | 9), b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i6 = $11 + 11;
$10 = i6 % 128;
int i7 = i6 % 2;
}
objArr[0] = new String(cArr2);
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
int i2 = k + 21;
m = i2 % 128;
int i3 = i2 % 2;
if (menuItem.getItemId() == 16908332) {
int i4 = m + 83;
k = i4 % 128;
int i5 = i4 % 2;
onBackPressed();
return true;
}
boolean onOptionsItemSelected = super.onOptionsItemSelected(menuItem);
int i6 = m + 29;
k = i6 % 128;
int i7 = i6 % 2;
return onOptionsItemSelected;
}
private static void aD(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(l)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(Drawable.resolveOpacity(0, 0) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, ExpandableListView.getPackedPositionGroup(0L) + 7, (char) (KeyEvent.getMaxKeyCode() >> 16));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - TextUtils.indexOf("", "", 0), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((-1) - Process.getGidForName("")));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aF(b3, (byte) (b3 | 7), b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $11 + 121;
$10 = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i3 > 0) {
int i8 = $11 + 67;
$10 = i8 % 128;
int i9 = i8 % 2;
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
int i10 = $11 + 81;
$10 = i10 % 128;
int i11 = i10 % 2;
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 342, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aF(b4, (byte) (b4 | 7), b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
@Override // o.AbstractActivityC11434efK, 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 + 121;
m = i2 % 128;
int i3 = i2 % 2;
View view = null;
Object[] objArr = new Object[1];
aD(19 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), new char[]{15, '\f', 0, 2, 16, 16, 65534, 11, 1, 15, '\f', 6, 1, 65483, '\f', 16, 65483, 65517}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 77, false, 7 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, new char[]{65517, 1, 65532, 5, 17}, 117 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), false, 2 - ImageFormat.getBitsPerPixel(0), 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 = m + 27;
k = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aE(new char[]{16870, 4240, 58129, 46494, 1036, 54963, 43317, 31718, 51758, 40118, 28493, 49562, 36970, 25281, 13677, 34809, 22113, 10471, 64369, 18949, 7335, 61186, 16787, 4157, 58046, 46386}, (ViewConfiguration.getFadingEdgeLength() >> 16) + 20857, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(18 - TextUtils.indexOf("", ""), new char[]{65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529, 4, 5}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 84, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_monthly_income_about_additional_info).substring(12, 13).codePointAt(0) - 16, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 493, KeyEvent.getDeadChar(0, 0) + 5, (char) View.combineMeasuredStates(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 35, new char[]{27, 65516, 65521, 27, 65516, 65515, 65521, 65516, 65517, 26, 65522, 31, 65519, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65522, 29, 65514, 65514, 65518, 65521, 65514, 31, 30, 27, 27, 65515, 65517, 65522, 65518, NistHelper.SEP_FS, 65521, 30, 65517, 65514, 65520, 65517, 27, 65516, NistHelper.SEP_FS, 31, 26, 27, 65522, 65515, 26, 65516}, TextUtils.indexOf("", "", 0, 0) + 83, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 77, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{16866, 32794, 49743, 1055, 17997, 34846, 51785, 3143, 19994, 36933, 53827, 5188, 22081, 38978, 55874, 7239, 24129, 41052, 57944, 9304, 26120, 43098, 59916, 11354, 28252, 45142, 62033, 13313, 30289, 47197, 64085, 15454, 32336, 16495, 33388, 50235, 1646, 18532, 35391, 52284, 3689, 20530, 37424, 54372, 5734, 22629, 39523, 56372, 7731, 24688, 41519, 58493, 9768, 26740, 43640, 60460, 11895, 28707, 45680, 62586, 13941, 30758, 47652, 64547}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 49650, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new char[]{16870, 32480, 16137, 65449, 48282, 32111, 15832, 64123, 47949, 31721, 14338, 63735, 47505, 30304, 13957, 63278, 46102, 29866, 13647, 62906, 45786, 29564, 13210, 61500, 45324, 29176, 11847, 61159, 45019, 27762, 11420, 60770, 43603, 27354, 11128, 59471, 43246, 26894, 10668, 59087, 42858, 26496, 9252, 58689, 42421, 25175, 8867, 58259, 41013, 24781, 8507, 56914, 40701, 24341, 8125, 56456, 40319, 24001, 6759, 56067, 39926, 22556, 6374, 55761}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 16210, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{16879, 17416, 18949, 20486, 22040, 23642, 25162, 26741, 28204, 29757, 31272, '#', 1568, 3159, 4688, 6239, 7762, 9310, 10818, 12367, 13946, 15484, 49783, 51307, 52833, 54383, 56023, 57482, 59035, 60570, 62088, 63619, 65171, 33983, 35504, 37029, 38591, 40174, 41634, 43215, 44766, 46278, 47821, 16605, 18130, 19693, 21244, 22752, 24306, 25762, 27362, 28905, 30486, 32095, 788, 2330, 3846, 5451, 6960, 8496, 10036, 11565, 13118, 14646, 16232, 50506, 51971, 53529, 55118, 56662, 58176, 59764, 61291, 62823}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_scbs_open_mf_and_om_checkbox).substring(4, 5).length() + 1530, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_market_conduct_link_label).substring(0, 13).length() - 8, new char[]{7, 65532, 6, 65532, 65534}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 49, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE(new char[]{16866, 56433, 31387, 39286, 14271, 21069, 61497, 3734, 44306, 52222, 26193, 33951, 8945, 16641, 57329, 31340, 39110, 14001, 21812, 62419, 3625, 44161, 51998, 26939, 34717, 8795, 16611, 57099, 32052, 39929, 13910, 21755, 62291, 4549, 44984, 51783}, 40343 - View.MeasureSpec.getSize(0), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - View.MeasureSpec.getSize(0), ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).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.2131558573);
ButterKnife.Dg_(this);
super.Z();
setTitle(R.string.forgot_pin_personal_info_title);
ac();
onCitizenTabClicked();
CommonInputViewGroup commonInputViewGroup = this.ivpCitizenCardNo;
commonInputViewGroup.mEditText.setCustomSelectionActionModeCallback(new fKJ());
commonInputViewGroup.mEditText.setLongClickable(false);
commonInputViewGroup.mEditText.setTextIsSelectable(false);
this.ivpCitizenCardNo.mEditText.setInputType(2);
this.ivpCitizenCardNo.mEditText.setKeyListener(DigitsKeyListener.getInstance("0123456789 "));
CommonInputViewGroup commonInputViewGroup2 = this.ivpCitizenCardNo;
fLJ flj = new fLJ(commonInputViewGroup2.mEditText, "X XXXX XXXXX XX X", new fLJ.Sts(this) { // from class: o.efz
private BasePersonalInfoActivity a;
@Override // o.fLJ.Sts
public final String c(String str6) {
return BasePersonalInfoActivity.c(this.a, str6);
}
{
this.a = this;
}
});
flj.b = new fLJ.IeS(this) { // from class: com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.2
private BasePersonalInfoActivity e;
{
this.e = this;
}
@Override // o.fLJ.IeS
public final void b(String str6) {
this.e.f().d(str6, false);
}
@Override // o.fLJ.IeS
public final void e(String str6) {
if (TextUtils.isEmpty(str6)) {
CommonInputViewGroup commonInputViewGroup3 = this.e.ivpCitizenCardNo;
commonInputViewGroup3.e = false;
commonInputViewGroup3.mEditClearImageButton.setVisibility(8);
} else {
CommonInputViewGroup commonInputViewGroup4 = this.e.ivpCitizenCardNo;
commonInputViewGroup4.e = true;
commonInputViewGroup4.mEditClearImageButton.setVisibility(0);
}
this.e.f().d(str6, true);
}
};
flj.e = true;
commonInputViewGroup2.mEditText.addTextChangedListener(flj);
commonInputViewGroup2.d.add(flj);
CommonInputViewGroup commonInputViewGroup3 = this.ivpCitizenDob;
commonInputViewGroup3.mEditText.setCustomSelectionActionModeCallback(new fKJ());
commonInputViewGroup3.mEditText.setLongClickable(false);
commonInputViewGroup3.mEditText.setTextIsSelectable(false);
this.ivpCitizenDob.mEditText.setInputType(2);
this.ivpCitizenDob.mEditText.setKeyListener(DigitsKeyListener.getInstance("0123456789/"));
CommonInputViewGroup commonInputViewGroup4 = this.ivpCitizenDob;
fLJ flj2 = new fLJ(commonInputViewGroup4.mEditText, "XX/XX/XXXX", new fLJ.Sts(this) { // from class: o.efA
private BasePersonalInfoActivity c;
@Override // o.fLJ.Sts
public final String c(String str6) {
return BasePersonalInfoActivity.d(this.c, str6);
}
{
this.c = this;
}
});
flj2.b = new fLJ.IeS(this) { // from class: com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.3
private BasePersonalInfoActivity c;
{
this.c = this;
}
@Override // o.fLJ.IeS
public final void b(String str6) {
this.c.f().a(str6, false);
}
@Override // o.fLJ.IeS
public final void e(String str6) {
this.c.f().a(str6, true);
}
};
flj2.e = true;
commonInputViewGroup4.mEditText.addTextChangedListener(flj2);
commonInputViewGroup4.d.add(flj2);
CustomExternalSelector customExternalSelector = this.countrySelector;
Integer valueOf = Integer.valueOf(R.drawable.ic_dark_chevron_up);
customExternalSelector.setDynamicIcons(valueOf, valueOf);
CustomExternalSelector customExternalSelector2 = this.countrySelector;
View.OnClickListener onClickListener = new View.OnClickListener(this) { // from class: o.efC
private BasePersonalInfoActivity a;
@Override // android.view.View.OnClickListener
public final void onClick(View view2) {
BasePersonalInfoActivity.c(this.a);
}
{
this.a = this;
}
};
C14957gcv.e(onClickListener, "");
View view2 = customExternalSelector2.container;
if (view2 != null) {
int i6 = k + 63;
m = i6 % 128;
int i7 = i6 % 2;
view = view2;
} else {
C14957gcv.a("");
}
view.setOnClickListener(onClickListener);
CommonInputViewGroup commonInputViewGroup5 = this.ivpPassportNo;
commonInputViewGroup5.mEditText.setCustomSelectionActionModeCallback(new fKJ());
commonInputViewGroup5.mEditText.setLongClickable(false);
commonInputViewGroup5.mEditText.setTextIsSelectable(false);
CommonInputViewGroup commonInputViewGroup6 = this.ivpPassportNo;
fLR flr = new fLR(commonInputViewGroup6.mEditText, "^[a-zA-Z0-9]+$", 3);
flr.c = new fLR.RVV(this) { // from class: com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.1
private BasePersonalInfoActivity d;
{
this.d = this;
}
@Override // o.fLR.RVV
public final void b(String str6) {
this.d.f().j(str6, false);
}
@Override // o.fLR.RVV
public final void d(String str6) {
this.d.f().j(str6, true);
}
};
flr.d.setInputType(524432);
flr.a = true;
commonInputViewGroup6.mEditText.addTextChangedListener(flr);
commonInputViewGroup6.d.add(flr);
CommonInputViewGroup commonInputViewGroup7 = this.ivpPassportDob;
commonInputViewGroup7.mEditText.setCustomSelectionActionModeCallback(new fKJ());
commonInputViewGroup7.mEditText.setLongClickable(false);
commonInputViewGroup7.mEditText.setTextIsSelectable(false);
this.ivpPassportDob.mEditText.setInputType(2);
this.ivpPassportDob.mEditText.setKeyListener(DigitsKeyListener.getInstance("0123456789/"));
CommonInputViewGroup commonInputViewGroup8 = this.ivpPassportDob;
fLJ flj3 = new fLJ(commonInputViewGroup8.mEditText, "XX/XX/XXXX", new fLJ.Sts(this) { // from class: o.efE
private BasePersonalInfoActivity b;
@Override // o.fLJ.Sts
public final String c(String str6) {
return BasePersonalInfoActivity.e(this.b, str6);
}
{
this.b = this;
}
});
flj3.b = new fLJ.IeS(this) { // from class: com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.4
private BasePersonalInfoActivity e;
{
this.e = this;
}
@Override // o.fLJ.IeS
public final void b(String str6) {
this.e.f().b(str6, false);
}
@Override // o.fLJ.IeS
public final void e(String str6) {
this.e.f().b(str6, true);
}
};
flj3.e = true;
commonInputViewGroup8.mEditText.addTextChangedListener(flj3);
commonInputViewGroup8.d.add(flj3);
CommonInputViewGroup commonInputViewGroup9 = this.ivpAlienNo;
commonInputViewGroup9.mEditText.setCustomSelectionActionModeCallback(new fKJ());
commonInputViewGroup9.mEditText.setLongClickable(false);
commonInputViewGroup9.mEditText.setTextIsSelectable(false);
CommonInputViewGroup commonInputViewGroup10 = this.ivpAlienNo;
fLR flr2 = new fLR(commonInputViewGroup10.mEditText, "^[a-zA-Z0-9]+$", 5);
flr2.c = new fLR.RVV(this) { // from class: com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.5
private BasePersonalInfoActivity b;
{
this.b = this;
}
@Override // o.fLR.RVV
public final void b(String str6) {
this.b.f().e(str6, false);
}
@Override // o.fLR.RVV
public final void d(String str6) {
this.b.f().e(str6, true);
}
};
flr2.d.setInputType(524432);
flr2.a = true;
commonInputViewGroup10.mEditText.addTextChangedListener(flr2);
commonInputViewGroup10.d.add(flr2);
CommonInputViewGroup commonInputViewGroup11 = this.ivpAlienDob;
commonInputViewGroup11.mEditText.setCustomSelectionActionModeCallback(new fKJ());
commonInputViewGroup11.mEditText.setLongClickable(false);
commonInputViewGroup11.mEditText.setTextIsSelectable(false);
this.ivpAlienDob.mEditText.setInputType(2);
this.ivpAlienDob.mEditText.setKeyListener(DigitsKeyListener.getInstance("0123456789/"));
CommonInputViewGroup commonInputViewGroup12 = this.ivpAlienDob;
fLJ flj4 = new fLJ(commonInputViewGroup12.mEditText, "XX/XX/XXXX", new fLJ.Sts(this) { // from class: o.efF
private BasePersonalInfoActivity b;
@Override // o.fLJ.Sts
public final String c(String str6) {
return BasePersonalInfoActivity.a(this.b, str6);
}
{
this.b = this;
}
});
flj4.b = new fLJ.IeS(this) { // from class: com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.9
private BasePersonalInfoActivity a;
{
this.a = this;
}
@Override // o.fLJ.IeS
public final void b(String str6) {
this.a.f().c(str6, false);
}
@Override // o.fLJ.IeS
public final void e(String str6) {
this.a.f().c(str6, true);
}
};
flj4.e = true;
commonInputViewGroup12.mEditText.addTextChangedListener(flj4);
commonInputViewGroup12.d.add(flj4);
f().e((C7247ckg) this);
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = m + 53;
k = i2 % 128;
if (i2 % 2 != 0) {
super.Z();
setTitle(R.string.forgot_pin_personal_info_title);
ac();
int i3 = 34 / 0;
return;
}
super.Z();
setTitle(R.string.forgot_pin_personal_info_title);
ac();
}
@OnClick
public void onCitizenTabClicked() {
int i = 2 % 2;
this.btnTabCitizenId.setSelected(true);
this.btnTabPassport.setSelected(false);
this.btnTabAlienCard.setSelected(false);
this.layoutCitizen.setVisibility(0);
this.layoutPassport.setVisibility(8);
this.layoutAlien.setVisibility(8);
this.btnTabCitizenId.requestFocus();
C7247ckg f = f();
C7254ckn c7254ckn = new C7254ckn(f);
if (f.f == 0) {
int i2 = k + 39;
m = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 4 / 2;
return;
}
return;
}
int i4 = k + 121;
int i5 = i4 % 128;
m = i5;
boolean z = i4 % 2 != 0;
int i6 = i5 + 97;
k = i6 % 128;
int i7 = i6 % 2;
if (z) {
c7254ckn.e(f.f);
}
}
@OnClick
public void onPassportTabClicked() {
int i = 2 % 2;
this.btnTabCitizenId.setSelected(false);
this.btnTabPassport.setSelected(true);
this.btnTabAlienCard.setSelected(false);
this.layoutCitizen.setVisibility(8);
this.layoutPassport.setVisibility(0);
this.layoutAlien.setVisibility(8);
this.btnTabPassport.requestFocus();
C7247ckg f = f();
C7252ckl c7252ckl = new C7252ckl(f);
Object obj = null;
if (f.f != 0) {
int i2 = k + 33;
int i3 = i2 % 128;
m = i3;
int i4 = i2 % 2;
int i5 = i3 + 97;
k = i5 % 128;
if (i5 % 2 != 0) {
c7252ckl.e(f.f);
obj.hashCode();
throw null;
}
c7252ckl.e(f.f);
}
int i6 = k + 11;
m = i6 % 128;
if (i6 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@OnClick
public void onAlienCardTabClicked() {
int i = 2 % 2;
this.btnTabCitizenId.setSelected(false);
this.btnTabPassport.setSelected(false);
this.btnTabAlienCard.setSelected(true);
this.layoutCitizen.setVisibility(8);
this.layoutPassport.setVisibility(8);
this.layoutAlien.setVisibility(0);
this.btnTabAlienCard.requestFocus();
C7247ckg f = f();
C7259cks c7259cks = new C7259cks(f);
if (f.f != 0) {
int i2 = k + 29;
m = i2 % 128;
int i3 = i2 % 2;
c7259cks.e(f.f);
}
int i4 = m + 121;
k = i4 % 128;
int i5 = i4 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x00bd, code lost:
if ((!o.gjJ.b((java.lang.CharSequence) r0)) == false) goto L28;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x00c3, code lost:
if (o.gjJ.b((java.lang.CharSequence) r1) != false) goto L29;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x00c5, code lost:
if (r2 == null) goto L30;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x00c7, code lost:
a(r0, r1, r2);
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x00ca, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x0073, code lost:
if (r4.btnTabAlienCard.isSelected() == false) goto L19;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x0075, code lost:
r0 = r4.ivpAlienNo.mEditText.getText().toString();
r1 = r4.ivpAlienDob.mEditText.getText().toString();
r2 = o.Mdw.Sts.ALIEN;
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x0090, code lost:
r0 = null;
r1 = null;
r2 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0094, code lost:
r1 = com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.k + 21;
com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.m = r1 % 128;
r1 = r1 % 2;
r0 = r4.ivpCitizenCardNo.mEditText.getText().toString();
r1 = r4.ivpCitizenDob.mEditText.getText().toString();
r2 = o.Mdw.Sts.CID;
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x001f, code lost:
r1 = com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.m + 13;
com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.k = r1 % 128;
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x0028, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x001d, code lost:
if (getIntent() == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost:
if (getIntent() == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0031, code lost:
if ((!r4.btnTabCitizenId.isSelected()) == false) goto L20;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0039, code lost:
if (r4.btnTabPassport.isSelected() == false) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x003b, code lost:
r0 = new java.lang.StringBuilder();
r0.append(f().p.e);
r0.append(r4.ivpPassportNo.mEditText.getText().toString());
r0 = r0.toString();
r1 = r4.ivpPassportDob.mEditText.getText().toString();
r2 = o.Mdw.Sts.PASSPORT;
*/
@butterknife.OnClick
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onSubmit() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.m
int r1 = r1 + 39
int r2 = r1 % 128
com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.k = r2
int r1 = r1 % r0
if (r1 == 0) goto L19
android.content.Intent r1 = r4.getIntent()
r2 = 18
int r2 = r2 / 0
if (r1 != 0) goto L29
goto L1f
L19:
android.content.Intent r1 = r4.getIntent()
if (r1 != 0) goto L29
L1f:
int r1 = com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.m
int r1 = r1 + 13
int r2 = r1 % 128
com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.k = r2
int r1 = r1 % r0
return
L29:
android.widget.Button r1 = r4.btnTabCitizenId
boolean r1 = r1.isSelected()
r1 = r1 ^ 1
if (r1 == 0) goto L94
android.widget.Button r0 = r4.btnTabPassport
boolean r0 = r0.isSelected()
if (r0 == 0) goto L6d
java.lang.StringBuilder r0 = new java.lang.StringBuilder
r0.<init>()
o.ckg r1 = r4.f()
o.Vr r1 = r1.p
java.lang.String r1 = r1.e
r0.append(r1)
com.scb.phone.view.custom.common.CommonInputViewGroup r1 = r4.ivpPassportNo
com.scb.phone.view.custom.common.CustomEditText r1 = r1.mEditText
android.text.Editable r1 = r1.getText()
java.lang.String r1 = r1.toString()
r0.append(r1)
java.lang.String r0 = r0.toString()
com.scb.phone.view.custom.common.CommonInputViewGroup r1 = r4.ivpPassportDob
com.scb.phone.view.custom.common.CustomEditText r1 = r1.mEditText
android.text.Editable r1 = r1.getText()
java.lang.String r1 = r1.toString()
o.Mdw$Sts r2 = o.Mdw.Sts.PASSPORT
goto Lb7
L6d:
android.widget.Button r0 = r4.btnTabAlienCard
boolean r0 = r0.isSelected()
if (r0 == 0) goto L90
com.scb.phone.view.custom.common.CommonInputViewGroup r0 = r4.ivpAlienNo
com.scb.phone.view.custom.common.CustomEditText r0 = r0.mEditText
android.text.Editable r0 = r0.getText()
java.lang.String r0 = r0.toString()
com.scb.phone.view.custom.common.CommonInputViewGroup r1 = r4.ivpAlienDob
com.scb.phone.view.custom.common.CustomEditText r1 = r1.mEditText
android.text.Editable r1 = r1.getText()
java.lang.String r1 = r1.toString()
o.Mdw$Sts r2 = o.Mdw.Sts.ALIEN
goto Lb7
L90:
r0 = 0
r1 = r0
r2 = r1
goto Lb7
L94:
int r1 = com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.k
int r1 = r1 + 21
int r2 = r1 % 128
com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.m = r2
int r1 = r1 % r0
com.scb.phone.view.custom.common.CommonInputViewGroup r0 = r4.ivpCitizenCardNo
com.scb.phone.view.custom.common.CustomEditText r0 = r0.mEditText
android.text.Editable r0 = r0.getText()
java.lang.String r0 = r0.toString()
com.scb.phone.view.custom.common.CommonInputViewGroup r1 = r4.ivpCitizenDob
com.scb.phone.view.custom.common.CustomEditText r1 = r1.mEditText
android.text.Editable r1 = r1.getText()
java.lang.String r1 = r1.toString()
o.Mdw$Sts r2 = o.Mdw.Sts.CID
Lb7:
boolean r3 = o.gjJ.b(r0)
r3 = r3 ^ 1
if (r3 == 0) goto Lca
boolean r3 = o.gjJ.b(r1)
if (r3 != 0) goto Lca
if (r2 == 0) goto Lca
r4.a(r0, r1, r2)
Lca:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.onSubmit():void");
}
@Override // o.InterfaceC9537dlc
public final void i(boolean z) {
int i = 2 % 2;
int i2 = k + 125;
m = i2 % 128;
if (i2 % 2 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
if (!(!z)) {
this.ivpCitizenCardNo.c();
return;
}
this.ivpCitizenCardNo.e();
int i3 = m + 25;
k = i3 % 128;
int i4 = i3 % 2;
}
@Override // o.InterfaceC9537dlc
public final void f(boolean z) {
int i = 2 % 2;
int i2 = k + 47;
m = i2 % 128;
if (i2 % 2 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
if (z) {
this.ivpPassportNo.c();
int i3 = m + 11;
k = i3 % 128;
int i4 = i3 % 2;
return;
}
this.ivpPassportNo.e();
}
@Override // o.InterfaceC9537dlc
public final void g(boolean z) {
int i = 2 % 2;
if (z) {
int i2 = k + 55;
m = i2 % 128;
int i3 = i2 % 2;
this.ivpPassportDob.c();
return;
}
this.ivpPassportDob.e();
int i4 = k + 117;
m = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9537dlc
public final void b(boolean z) {
int i = 2 % 2;
int i2 = m + 37;
int i3 = i2 % 128;
k = i3;
int i4 = i2 % 2;
if (!z) {
this.ivpAlienNo.e();
return;
}
int i5 = i3 + 75;
m = i5 % 128;
if (i5 % 2 != 0) {
this.ivpAlienNo.c();
} else {
this.ivpAlienNo.c();
throw null;
}
}
@Override // o.InterfaceC9537dlc
public final void e(boolean z) {
int i = 2 % 2;
int i2 = k + 9;
m = i2 % 128;
int i3 = i2 % 2;
if (z) {
this.ivpAlienDob.c();
return;
}
this.ivpAlienDob.e();
int i4 = m + 117;
k = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9537dlc
public final void d(boolean z) {
int i = 2 % 2;
int i2 = m + 117;
k = i2 % 128;
int i3 = i2 % 2;
this.btnSubmit.setEnabled(z);
int i4 = k + 47;
m = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public void onActivityResult(int i, int i2, Intent intent) {
int i3 = 2 % 2;
super.onActivityResult(i, i2, intent);
if (i == 10001) {
o(false);
return;
}
if (i == 10002) {
int i4 = k + 119;
m = i4 % 128;
int i5 = i4 % 2;
if (i2 == -1) {
C7247ckg f = f();
final C1102Vr c1102Vr = (C1102Vr) intent.getParcelableExtra("COUNTRY_DISPLAY");
f.p = c1102Vr;
ZI.IeS ieS = new ZI.IeS(c1102Vr) { // from class: o.ckf
private C1102Vr a;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9537dlc) obj).a(this.a);
}
{
this.a = c1102Vr;
}
};
if (f.f != 0) {
ieS.e(f.f);
}
C7252ckl c7252ckl = new C7252ckl(f);
if (f.f != 0) {
int i6 = m + 23;
k = i6 % 128;
int i7 = i6 % 2;
c7252ckl.e(f.f);
}
}
}
}
@Override // o.AbstractActivityC11434efK, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = k + 17;
m = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = m + 23;
k = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aE(new char[]{16870, 4240, 58129, 46494, 1036, 54963, 43317, 31718, 51758, 40118, 28493, 49562, 36970, 25281, 13677, 34809, 22113, 10471, 64369, 18949, 7335, 61186, 16787, 4157, 58046, 46386}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 20823, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(18 - View.resolveSizeAndState(0, 0, 0), new char[]{65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529, 4, 5}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 105, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_topup_national_id_exp_holder).substring(0, 18).length() - 2, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = k + 3;
m = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 492, KeyEvent.normalizeMetaState(0) + 5, (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 488, TextUtils.indexOf("", "", 0, 0) + 5, (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i8 = k + 39;
m = i8 % 128;
if (i8 % 2 == 0) {
int i9 = 5 / 3;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
this.b = false;
}
@Override // o.InterfaceC9537dlc
public final void d() {
int i = 2 % 2;
int i2 = k + 91;
m = i2 % 128;
int i3 = i2 % 2;
startActivity((Intent) RegistrationNoDataActivity.b(new Object[]{this, getString(R.string.ntb_fillinformation_review_info_error_title), getString(R.string.ntb_no_reg_data_desc)}, -1810904404, 1810904404, (int) System.currentTimeMillis()));
finish();
int i4 = m + 85;
k = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9537dlc
public final void b() {
Intent intent;
int i = 2 % 2;
int i2 = k + 81;
m = i2 % 128;
int i3 = i2 % 2;
if (h() != EnumC1262Zd.FAST_EASY) {
intent = (Intent) RegistrationFacialRecognitionLandingActivity.e(new Object[]{this, EnumC1258Zb.FORGOT_PIN}, 1185066743, -1185066743, (int) System.currentTimeMillis());
} else {
int i4 = m + 9;
k = i4 % 128;
int i5 = i4 % 2;
intent = (Intent) RegistrationFacialRecognitionLandingActivity.e(new Object[]{this, EnumC1258Zb.NEW_REGISTRATION}, 1185066743, -1185066743, (int) System.currentTimeMillis());
}
startActivity(intent);
int i6 = m + 51;
k = i6 % 128;
int i7 = i6 % 2;
}
@Override // o.InterfaceC9537dlc
public final void c(boolean z) {
int i = 2 % 2;
int i2 = k + 99;
m = i2 % 128;
if (i2 % 2 == 0) {
startActivity(RegistrationCardDetailActivity.alg_(this, z, h()));
int i3 = 78 / 0;
} else {
startActivity(RegistrationCardDetailActivity.alg_(this, z, h()));
}
int i4 = m + 101;
k = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object a(Object[] objArr) {
BasePersonalInfoActivity basePersonalInfoActivity = (BasePersonalInfoActivity) objArr[0];
C1102Vr c1102Vr = (C1102Vr) objArr[1];
int i = 2 % 2;
int i2 = k + 109;
m = i2 % 128;
int i3 = i2 % 2;
basePersonalInfoActivity.countrySelector.setSelected(c1102Vr.c);
int i4 = m + 125;
k = i4 % 128;
int i5 = i4 % 2;
return null;
}
private static /* synthetic */ Object e(Object[] objArr) {
BasePersonalInfoActivity basePersonalInfoActivity = (BasePersonalInfoActivity) objArr[0];
int i = 2 % 2;
int i2 = k + 21;
m = i2 % 128;
int i3 = i2 % 2;
basePersonalInfoActivity.ah();
int i4 = k + 33;
m = i4 % 128;
Object obj = null;
if (i4 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC11434efK, 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();
if (baseContext == null) {
int i2 = k + 63;
m = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aE(new char[]{16870, 4240, 58129, 46494, 1036, 54963, 43317, 31718, 51758, 40118, 28493, 49562, 36970, 25281, 13677, 34809, 22113, 10471, 64369, 18949, 7335, 61186, 16787, 4157, 58046, 46386}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.device_access_pin_message).substring(CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384, CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256).codePointAt(0) + 20825, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(19 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), new char[]{65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529, 4, 5}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 105, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 3, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = k + 5;
m = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.indexOf("", "", 0, 0), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - ExpandableListView.getPackedPositionGroup(0L), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) TextUtils.getOffsetBefore("", 0))).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();
}
@Override // o.AbstractActivityC11434efK, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(TextUtils.indexOf("", "", 0, 0) + 18, new char[]{15, '\f', 0, 2, 16, 16, 65534, 11, 1, 15, '\f', 6, 1, 65483, '\f', 16, 65483, 65517}, 111 - View.getDefaultSize(0, 0), false, 6 - Drawable.resolveOpacity(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(KeyEvent.getDeadChar(0, 0) + 5, new char[]{65517, 1, 65532, 5, 17}, 116 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), false, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 3, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = m + 97;
k = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = m + 51;
k = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getTapTimeout() >> 16), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(49 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), new char[]{27, 65516, 65521, 27, 65516, 65515, 65521, 65516, 65517, 26, 65522, 31, 65519, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65522, 29, 65514, 65514, 65518, 65521, 65514, 31, 30, 27, 27, 65515, 65517, 65522, 65518, NistHelper.SEP_FS, 65521, 30, 65517, 65514, 65520, 65517, 27, 65516, NistHelper.SEP_FS, 31, 26, 27, 65522, 65515, 26, 65516}, View.getDefaultSize(0, 0) + 83, false, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 35, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new char[]{16866, 32794, 49743, 1055, 17997, 34846, 51785, 3143, 19994, 36933, 53827, 5188, 22081, 38978, 55874, 7239, 24129, 41052, 57944, 9304, 26120, 43098, 59916, 11354, 28252, 45142, 62033, 13313, 30289, 47197, 64085, 15454, 32336, 16495, 33388, 50235, 1646, 18532, 35391, 52284, 3689, 20530, 37424, 54372, 5734, 22629, 39523, 56372, 7731, 24688, 41519, 58493, 9768, 26740, 43640, 60460, 11895, 28707, 45680, 62586, 13941, 30758, 47652, 64547}, 49663 - ((Process.getThreadPriority(0) + 20) >> 6), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new char[]{16870, 32480, 16137, 65449, 48282, 32111, 15832, 64123, 47949, 31721, 14338, 63735, 47505, 30304, 13957, 63278, 46102, 29866, 13647, 62906, 45786, 29564, 13210, 61500, 45324, 29176, 11847, 61159, 45019, 27762, 11420, 60770, 43603, 27354, 11128, 59471, 43246, 26894, 10668, 59087, 42858, 26496, 9252, 58689, 42421, 25175, 8867, 58259, 41013, 24781, 8507, 56914, 40701, 24341, 8125, 56456, 40319, 24001, 6759, 56067, 39926, 22556, 6374, 55761}, 16223 - Gravity.getAbsoluteGravity(0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{16879, 17416, 18949, 20486, 22040, 23642, 25162, 26741, 28204, 29757, 31272, '#', 1568, 3159, 4688, 6239, 7762, 9310, 10818, 12367, 13946, 15484, 49783, 51307, 52833, 54383, 56023, 57482, 59035, 60570, 62088, 63619, 65171, 33983, 35504, 37029, 38591, 40174, 41634, 43215, 44766, 46278, 47821, 16605, 18130, 19693, 21244, 22752, 24306, 25762, 27362, 28905, 30486, 32095, 788, 2330, 3846, 5451, 6960, 8496, 10036, 11565, 13118, 14646, 16232, 50506, 51971, 53529, 55118, 56662, 58176, 59764, 61291, 62823}, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 1531, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(Color.green(0) + 5, new char[]{7, 65532, 6, 65532, 65534}, TextUtils.indexOf("", "", 0, 0) + 62, false, 4 - ExpandableListView.getPackedPositionChild(0L), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{16866, 56433, 31387, 39286, 14271, 21069, 61497, 3734, 44306, 52222, 26193, 33951, 8945, 16641, 57329, 31340, 39110, 14001, 21812, 62419, 3625, 44161, 51998, 26939, 34717, 8795, 16611, 57099, 32052, 39929, 13910, 21755, 62291, 4549, 44984, 51783}, Process.getGidForName("") + 40344, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 488, Color.green(0) + 5, (char) TextUtils.getCapsMode("", 0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
public static /* synthetic */ String d(BasePersonalInfoActivity basePersonalInfoActivity, String str) {
int i = 2 % 2;
int i2 = k + 109;
m = i2 % 128;
int i3 = i2 % 2;
qBc qbc = basePersonalInfoActivity.f().i;
String b = C15602gz.b(str, "[^0-9]", "XX/XX/XXXX");
int i4 = m + 101;
k = i4 % 128;
if (i4 % 2 == 0) {
return b;
}
throw null;
}
public static /* synthetic */ String e(BasePersonalInfoActivity basePersonalInfoActivity, String str) {
int i = 2 % 2;
int i2 = k + 47;
m = i2 % 128;
if (i2 % 2 != 0) {
qBc qbc = basePersonalInfoActivity.f().i;
return C15602gz.b(str, "[^0-9]", "XX/XX/XXXX");
}
qBc qbc2 = basePersonalInfoActivity.f().i;
C15602gz.b(str, "[^0-9]", "XX/XX/XXXX");
Object obj = null;
obj.hashCode();
throw null;
}
public static /* synthetic */ String c(BasePersonalInfoActivity basePersonalInfoActivity, String str) {
int i = 2 % 2;
int i2 = k + 115;
m = i2 % 128;
if (i2 % 2 != 0) {
Ezz ezz = basePersonalInfoActivity.f().g;
String b = C15602gz.b(str, "[^0-9]", "X XXXX XXXXX XX X");
int i3 = k + 119;
m = i3 % 128;
int i4 = i3 % 2;
return b;
}
Ezz ezz2 = basePersonalInfoActivity.f().g;
C15602gz.b(str, "[^0-9]", "X XXXX XXXXX XX X");
Object obj = null;
obj.hashCode();
throw null;
}
public static /* synthetic */ String a(BasePersonalInfoActivity basePersonalInfoActivity, String str) {
int i = 2 % 2;
int i2 = m + 59;
k = i2 % 128;
int i3 = i2 % 2;
qBc qbc = basePersonalInfoActivity.f().i;
String b = C15602gz.b(str, "[^0-9]", "XX/XX/XXXX");
int i4 = k + 89;
m = i4 % 128;
if (i4 % 2 != 0) {
return b;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x001b, code lost:
r3.b = true;
r1 = com.scb.phone.view.activity.registration.RegistrationCountrySearchActivity.k;
o.C14957gcv.e(r3, "");
r3.startActivityForResult(new android.content.Intent(r3, (java.lang.Class<?>) com.scb.phone.view.activity.registration.RegistrationCountrySearchActivity.class), 10002);
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0019, code lost:
if (r3.b == false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if (r3.b == false) goto L9;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ void c(com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity r3) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.m
int r1 = r1 + 101
int r2 = r1 % 128
com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.k = r2
int r1 = r1 % r0
if (r1 == 0) goto L17
boolean r1 = r3.b
r2 = 76
int r2 = r2 / 0
if (r1 != 0) goto L31
goto L1b
L17:
boolean r1 = r3.b
if (r1 != 0) goto L31
L1b:
r1 = 1
r3.b = r1
com.scb.phone.view.activity.registration.RegistrationCountrySearchActivity$Sts r1 = com.scb.phone.view.activity.registration.RegistrationCountrySearchActivity.k
java.lang.String r1 = ""
o.C14957gcv.e(r3, r1)
android.content.Intent r1 = new android.content.Intent
java.lang.Class<com.scb.phone.view.activity.registration.RegistrationCountrySearchActivity> r2 = com.scb.phone.view.activity.registration.RegistrationCountrySearchActivity.class
r1.<init>(r3, r2)
r2 = 10002(0x2712, float:1.4016E-41)
r3.startActivityForResult(r1, r2)
L31:
int r3 = com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.k
int r3 = r3 + 21
int r1 = r3 % 128
com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.m = r1
int r3 = r3 % r0
if (r3 == 0) goto L3d
return
L3d:
r3 = 0
r3.hashCode()
throw r3
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity.c(com.scb.phone.view.activity.personalinfo.BasePersonalInfoActivity):void");
}
@Override // o.AbstractActivityC11434efK, 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 = k + 65;
m = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
int i4 = m + 13;
k = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9537dlc
public final void c() {
d(new Object[]{this}, -1277396905, 1277396906, ((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) + 1246594678);
}
@Override // o.InterfaceC9537dlc
public final void a(boolean z) {
d(new Object[]{this, Boolean.valueOf(z)}, -1429039183, 1429039183, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1009324351);
}
@Override // o.InterfaceC9537dlc
public final void a(C1102Vr c1102Vr) {
d(new Object[]{this, c1102Vr}, -457266291, 457266293, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 476709951);
}
}