what-the-bank/sources/com/scb/phone/view/activity/hml/ekyc/HmlNdidNationalIdInputActiv...

751 lines
44 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml.ekyc;
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.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.hml.ekyc.HmlNationalIdHelpActivity;
import java.lang.reflect.Method;
import o.C14957gcv;
import o.GuL;
import o.IRS;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.bouncycastle.i18n.MessageBundle;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public final class HmlNdidNationalIdInputActivity extends Hilt_HmlNdidNationalIdInputActivity {
private static final byte[] $$p = {17, 69, 17, -70};
private static final int $$q = 45;
private static int $10 = 0;
private static int $11 = 1;
private static int l = 0;
/* renamed from: o, reason: collision with root package name */
private static int f7391o = 1;
private static long b = 8236278077287353995L;
private static char[] k = {49030, 49091, 49035, 49109, 49094, 49138, 49028, 49098, 49048, 49105, 49116, 49114, 49053, 49050, 49089, 49049, 49118, 49025, 49104, 49054, 49110, 49027, 49095, 49052, 49031, 49126, 49119, 49024, 49026, 49029, 49051, 49034, 49106, 49117, 49055, 49111};
private static char m = 35375;
/* JADX WARN: Removed duplicated region for block: B:10:0x0020 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0018 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0020 -> 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 aC(short r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 2
int r0 = r6 + 1
int r8 = r8 + 117
int r7 = r7 + 4
byte[] r1 = com.scb.phone.view.activity.hml.ekyc.HmlNdidNationalIdInputActivity.$$p
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L12
r3 = r6
r4 = r2
goto L2a
L12:
r3 = r2
L13:
byte r4 = (byte) r8
r0[r3] = r4
if (r3 != r6) goto L20
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L20:
int r7 = r7 + 1
int r3 = r3 + 1
r4 = r1[r7]
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L2a:
int r8 = -r8
int r8 = r8 + r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.ekyc.HmlNdidNationalIdInputActivity.aC(short, byte, byte, java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0032, code lost:
if ((!o.gdZ.a(B_(), "th", true)) != true) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0020, code lost:
if (o.gdZ.a(B_(), "th", false) != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0040, code lost:
r2 = r8.i;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0034, code lost:
r2 = r8.h;
r5 = com.scb.phone.view.activity.hml.ekyc.HmlNdidNationalIdInputActivity.l + 109;
com.scb.phone.view.activity.hml.ekyc.HmlNdidNationalIdInputActivity.f7391o = r5 % 128;
r5 = r5 % 2;
*/
@Override // o.InterfaceC9492dkk
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void c(o.C0977Su r8) {
/*
r7 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.hml.ekyc.HmlNdidNationalIdInputActivity.f7391o
int r1 = r1 + 57
int r2 = r1 % 128
com.scb.phone.view.activity.hml.ekyc.HmlNdidNationalIdInputActivity.l = r2
int r1 = r1 % r0
java.lang.String r2 = "th"
r3 = 0
java.lang.String r4 = ""
if (r1 == 0) goto L23
o.C14957gcv.e(r8, r4)
com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle r1 = r7.spinnerTitle
java.lang.String r5 = r7.B_()
boolean r2 = o.gdZ.a(r5, r2, r3)
if (r2 == 0) goto L40
goto L34
L23:
o.C14957gcv.e(r8, r4)
com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle r1 = r7.spinnerTitle
java.lang.String r5 = r7.B_()
r6 = 1
boolean r2 = o.gdZ.a(r5, r2, r6)
r2 = r2 ^ r6
if (r2 == r6) goto L40
L34:
java.lang.String r2 = r8.h
int r5 = com.scb.phone.view.activity.hml.ekyc.HmlNdidNationalIdInputActivity.l
int r5 = r5 + 109
int r6 = r5 % 128
com.scb.phone.view.activity.hml.ekyc.HmlNdidNationalIdInputActivity.f7391o = r6
int r5 = r5 % r0
goto L42
L40:
java.lang.String r2 = r8.i
L42:
java.util.List r0 = java.util.Collections.singletonList(r2)
o.C14957gcv.c(r0, r4)
r1.setItems(r0, r3, r3)
java.lang.String r0 = r8.k
com.scb.phone.view.custom.common.CommonInputViewGroup r1 = r7.ivpFirstNameThai
java.lang.String r2 = r8.c
r1.setText(r2)
com.scb.phone.view.custom.common.CommonInputViewGroup r1 = r7.ivpLastNameThai
java.lang.String r2 = r8.j
r1.setText(r2)
com.scb.phone.view.custom.common.CommonInputViewGroup r1 = r7.ivpFirstNameEnglish
java.lang.String r2 = r8.a
r1.setText(r2)
com.scb.phone.view.custom.common.CommonInputViewGroup r1 = r7.ivpLastNameEnglish
java.lang.String r2 = r8.g
r1.setText(r2)
com.scb.phone.view.custom.common.CommonInputViewGroup r1 = r7.ivpNationalIdNumber
java.lang.String r2 = r8.b
r1.setText(r2)
com.scb.phone.view.custom.common.CommonInputViewGroup r1 = r7.dateOfBirthViewGroup
java.lang.String r2 = r8.d
r1.setText(r2)
com.scb.phone.view.custom.common.CommonInputViewGroup r1 = r7.dateOfIssuedViewGroup
java.lang.String r2 = r8.m
r1.setText(r2)
android.widget.EditText r1 = r7.laserIdFirst
o.C14957gcv.c(r0, r4)
r2 = 3
java.lang.String r3 = r0.substring(r3, r2)
o.C14957gcv.c(r3, r4)
java.lang.CharSequence r3 = (java.lang.CharSequence) r3
r1.setText(r3)
android.widget.EditText r1 = r7.laserIdSecond
r3 = 10
java.lang.String r2 = r0.substring(r2, r3)
o.C14957gcv.c(r2, r4)
java.lang.CharSequence r2 = (java.lang.CharSequence) r2
r1.setText(r2)
android.widget.EditText r1 = r7.laserIdThird
r2 = 12
java.lang.String r0 = r0.substring(r3, r2)
o.C14957gcv.c(r0, r4)
java.lang.CharSequence r0 = (java.lang.CharSequence) r0
r1.setText(r0)
com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle r0 = r7.spinnerCountry
java.lang.String r8 = r8.f
r0.setDisabledText(r8)
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.ekyc.HmlNdidNationalIdInputActivity.c(o.Su):void");
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object b(Object[] objArr) {
HmlNdidNationalIdInputActivity hmlNdidNationalIdInputActivity = (HmlNdidNationalIdInputActivity) objArr[0];
int i = 2 % 2;
int i2 = l + 51;
f7391o = i2 % 128;
int i3 = i2 % 2;
hmlNdidNationalIdInputActivity.spinnerTitle.setEnabled(false);
hmlNdidNationalIdInputActivity.ivpFirstNameThai.setEnabled(false);
hmlNdidNationalIdInputActivity.ivpLastNameThai.setEnabled(false);
hmlNdidNationalIdInputActivity.ivpFirstNameEnglish.setEnabled(false);
hmlNdidNationalIdInputActivity.ivpLastNameEnglish.setEnabled(false);
hmlNdidNationalIdInputActivity.ivpNationalIdNumber.setEnabled(false);
hmlNdidNationalIdInputActivity.dateOfBirthViewGroup.setEnabled(false);
hmlNdidNationalIdInputActivity.dateOfIssuedViewGroup.setEnabled(false);
hmlNdidNationalIdInputActivity.laserIdFirst.setEnabled(false);
hmlNdidNationalIdInputActivity.laserIdSecond.setEnabled(false);
hmlNdidNationalIdInputActivity.laserIdThird.setEnabled(false);
hmlNdidNationalIdInputActivity.spinnerCountry.setEnabled(false);
int i4 = f7391o + 31;
l = i4 % 128;
Object obj = null;
if (i4 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.ndid.NdidNationalIdInputActivity, o.InterfaceC9492dkk
public final void h() {
int i = 2 % 2;
HmlNationalIdHelpActivity.RVV rvv = HmlNationalIdHelpActivity.b;
HmlNdidNationalIdInputActivity hmlNdidNationalIdInputActivity = this;
String string = getString(R.string.laser_id_help_title);
C14957gcv.c((Object) string, "");
C14957gcv.e(hmlNdidNationalIdInputActivity, "");
C14957gcv.e(string, "");
Intent intent = new Intent(hmlNdidNationalIdInputActivity, (Class<?>) HmlNationalIdHelpActivity.class);
intent.putExtra(MessageBundle.TITLE_ENTRY, string);
intent.putExtra("content", R.layout.2131559412);
intent.addFlags(268435456);
hmlNdidNationalIdInputActivity.startActivity(intent);
int i2 = f7391o + 9;
l = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
}
private static void aA(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(b ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
int i3 = $11 + 15;
$10 = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 5 % 3;
}
while (guL.a < a.length) {
int i5 = $11 + 79;
$10 = i5 % 128;
int i6 = i5 % 2;
guL.c = guL.a - 4;
int i7 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(b)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 208, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (1705 - ImageFormat.getBitsPerPixel(0)));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 + 3), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i7] = ((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(393 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - Color.argb(0, 0, 0, 0), (char) Color.blue(0));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
aC(b4, (byte) (b4 - 1), (byte) $$p.length, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
} 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.hml.ekyc.Hilt_HmlNdidNationalIdInputActivity, com.scb.phone.view.activity.ndid.NdidNationalIdInputActivity, o.AbstractActivityC11252ebo, 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) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{6195, 14377, 6226, 51232, 11923, 50970, 58860, 33556, 17164, 19044, 16572, 22776, 44796, 62766, 11334, 15446, 2481, 4226, 63451, 37139, 29952, 48206}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_personal_info_otp_verify).substring(12, 17).codePointAt(3) - 80, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{'\r', '\n', 29, 7, 13850}, (byte) (View.MeasureSpec.getMode(0) + 28), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.preregistration_pin_body).substring(48, 49).length() + 4, 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) {
Object[] objArr3 = new Object[1];
aA(new char[]{21869, 22631, 21772, 4685, 20189, 28263, 16257, 10857, 3666, 10794, 39633, 61829, 58284, 38243, 63093, 38229, 17628, 28864, 11681, 14434, 14427, 56346, 35025, 57250, 40361, 34667, 58375, 25358, 30444, 25271}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(new char[]{22, 0, 13869, 13869, 21, ' ', 23, 4, 13871, 13871, 29, '\b', 20, 30, 23, '\n', '\t', '\"'}, (byte) ((ViewConfiguration.getScrollBarSize() >> 8) + 69), TextUtils.lastIndexOf("", '0', 0) + 19, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i2 = f7391o + 101;
l = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = l + 7;
f7391o = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 492, 5 - Color.red(0), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new char[]{39720, 9948, 39705, 5619, 12351, 33135, 14447, 50545, 49227, 21659, 40301, 7874, 11754, 60305, 61833, 31250, 35563, 3706, 10840, 55099, 62986, 41723, 36649, 12523, 21387, 63884, 58282, 35930, 47278, 7262, 17432, 59654, 58491, 45281, 47439, 17138, 16793, 55229, 7651, 40866, 44702, 27165, 30441, 64321, 2618, 33052, 43778, 21702, 30523, 9632, 3982, 45495}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fastpay_manage_qr_option_fastpay_description).substring(CipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA, CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256).codePointAt(0) - 32, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{21, '\b', 26, 23, 27, 11, 25, 30, 18, 2, 23, '#', 23, '#', '\n', 24, 24, 25, 29, 16, 23, 24, 30, 26, NistHelper.SEP_FS, 24, 22, 19, '\r', '#', 20, 3, 13752, 13752, 2, 30, 1, 3, 13827, 13827, 27, 11, '#', 26, 4, 24, 27, 11, ' ', 5, 0, '\t', 20, 0, 3, 6, 0, 20, 26, 4, 27, 11, 2, 26}, (byte) (11 - Color.argb(0, 0, 0, 0)), TextUtils.indexOf("", "", 0, 0) + 64, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{34035, 3178, 33938, 59616, 6790, 14573, 50552, 31906, 57282, 32381, 24701, 42820, 12897, 49447, 3227, 50068, 38241, 9370, 55112, 28345, 59858, 34844, 29294, 35169, 19538, 54078, 7919, 13779, 42864, 14054, 47374, 20692, 64507, 39512, 17409, 64293, 24135, 64860, 57513, 9764, 45334, 16636, 35753, 17040, 5606, 43950, 22045, 60738, 26853, 3917, 62158, 2148, 50001, 21147, 40378, 46313, 10197, 46519, 14440, 57095, 31395, 6463, 50318, 31312, 56694, 31958, 28635, 42742}, ExpandableListView.getPackedPositionGroup(0L), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{37490, 14034, 37402, 57084, 8306, 29522, 62240, 14174, 51537, 17612, 22059, 60593, 9377, 64463, 15061, 34851, 33761, 7801, 57609, 9555, 65367, 45748, 17527, 49799, 23171, 59866, 10406, 32319, 45564, 3085, 36698, 7034, 60714, 41124, 29249, 45215, 18566, 51173, 54965, 28125, 42966, 31320, 48611, 2411, 819, 37204, 24656, 42685, 32371, 13795, 50309, 17356, 54743, 26728, 44023, 65281, 12559, 36633, 3621, 38062, 27771, 9161, 62109, 12768, 52133, 17971, 22999, 60682, 10077, 64880, 15462, 35329, 33351, 4480, 58209, 10224, 63910, 46293}, TextUtils.lastIndexOf("", '0') + 1, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new char[]{23129, 26088, 23136, 31462, 29458, 58258, 22390, 42944, 313}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_coupon_scan_complete).substring(4, 5).codePointAt(0) - 32, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new char[]{26, 2, '\f', 29, 30, ' ', 27, 18, 23, 25, 22, 21, 7, 21, 29, '\f', 13837, 13837, 20, 31, '\b', 21, 19, 20, '\f', 23, 14, '#', '\b', 18, 24, 6, 30, 6, 26, 22}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 85), 36 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 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 - ExpandableListView.getPackedPositionType(0L), 5 - Color.green(0), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 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);
}
@Override // com.scb.phone.view.activity.hml.ekyc.Hilt_HmlNdidNationalIdInputActivity, com.scb.phone.view.activity.ndid.NdidNationalIdInputActivity, o.AbstractActivityC11252ebo, 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() {
Context applicationContext;
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = f7391o + 67;
l = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{21869, 22631, 21772, 4685, 20189, 28263, 16257, 10857, 3666, 10794, 39633, 61829, 58284, 38243, 63093, 38229, 17628, 28864, 11681, 14434, 14427, 56346, 35025, 57250, 40361, 34667, 58375, 25358, 30444, 25271}, ((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];
aB(new char[]{22, 0, 13869, 13869, 21, ' ', 23, 4, 13871, 13871, 29, '\b', 20, 30, 23, '\n', '\t', '\"'}, (byte) ('u' - AndroidCharacter.getMirror('0')), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ccr_email_verification_body_statement_channel).substring(58, 59).codePointAt(0) - 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = l + 97;
f7391o = i4 % 128;
if (i4 % 2 == 0) {
applicationContext = baseContext.getApplicationContext();
int i5 = 32 / 0;
} else {
applicationContext = baseContext.getApplicationContext();
}
baseContext = applicationContext;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) TextUtils.getOffsetAfter("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - TextUtils.getOffsetAfter("", 0), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.hml.ekyc.Hilt_HmlNdidNationalIdInputActivity, com.scb.phone.view.activity.ndid.NdidNationalIdInputActivity, o.AbstractActivityC11252ebo, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = l + 113;
f7391o = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{21869, 22631, 21772, 4685, 20189, 28263, 16257, 10857, 3666, 10794, 39633, 61829, 58284, 38243, 63093, 38229, 17628, 28864, 11681, 14434, 14427, 56346, 35025, 57250, 40361, 34667, 58375, 25358, 30444, 25271}, Process.myPid() >> 22, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{22, 0, 13869, 13869, 21, ' ', 23, 4, 13871, 13871, 29, '\b', 20, 30, 23, '\n', '\t', '\"'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_selector_cardless_footnote).substring(0, 2).codePointAt(1) + 37), View.getDefaultSize(0, 0) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[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.normalizeMetaState(0) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).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(Gravity.getAbsoluteGravity(0, 0) + 487, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) Color.red(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = l + 21;
f7391o = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aB(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
Object obj;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = k;
Object obj2 = null;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = 0;
while (i5 < length) {
int i6 = $11 + 39;
$10 = i6 % 128;
int i7 = i6 % i3;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 299, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr3 = new Object[1];
aC(b3, b4, (byte) (b4 + 1), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i5] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i5++;
i3 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(m)};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 298, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 - 1);
Object[] objArr5 = new Object[1];
aC(b5, b6, (byte) (b6 + 1), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
int i8 = $10 + 49;
$11 = i8 % 128;
int i9 = i8 % 2;
} else {
i2 = i;
}
char c = '\t';
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
obj = obj2;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[c] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[6] = irs;
objArr6[5] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 233, View.combineMeasuredStates(0, 0) + 5, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 22025));
byte b7 = (byte) 0;
byte b8 = (byte) (b7 - 1);
Object[] objArr7 = new Object[1];
aC(b7, b8, (byte) (b8 + 4), objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c(MotionEvent.axisFromString("") + 328, 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b9 = (byte) 0;
byte b10 = (byte) (b9 - 1);
Object[] objArr9 = new Object[1];
aC(b9, b10, (byte) (-b10), objArr9);
obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i10];
} else {
obj = null;
if (irs.a == irs.d) {
int i11 = $11 + 111;
$10 = i11 % 128;
int i12 = i11 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i13 = (irs.a * charValue) + irs.f;
int i14 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i13];
cArr4[irs.e + 1] = cArr2[i14];
} else {
int i15 = (irs.a * charValue) + irs.j;
int i16 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i15];
cArr4[irs.e + 1] = cArr2[i16];
}
}
}
irs.e += 2;
obj2 = obj;
c = '\t';
}
}
int i17 = 0;
while (i17 < i) {
int i18 = $10 + 9;
int i19 = i18 % 128;
$11 = i19;
int i20 = i18 % 2;
cArr4[i17] = (char) (cArr4[i17] ^ 13722);
i17++;
int i21 = i19 + 1;
$10 = i21 % 128;
int i22 = i21 % 2;
}
objArr[0] = new String(cArr4);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // com.scb.phone.view.activity.hml.ekyc.Hilt_HmlNdidNationalIdInputActivity, com.scb.phone.view.activity.ndid.NdidNationalIdInputActivity, o.AbstractActivityC11252ebo, 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) {
int i = 2 % 2;
int i2 = l + 57;
f7391o = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{6195, 14377, 6226, 51232, 11923, 50970, 58860, 33556, 17164, 19044, 16572, 22776, 44796, 62766, 11334, 15446, 2481, 4226, 63451, 37139, 29952, 48206}, (-1) - TextUtils.indexOf((CharSequence) "", '0'), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{'\r', '\n', 29, 7, 13850}, (byte) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 28), 5 - TextUtils.indexOf("", "", 0), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = l + 61;
f7391o = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 5 / 0;
if (intValue <= 99999) {
return;
}
} else if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i6 = l + 69;
f7391o = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new char[]{39720, 9948, 39705, 5619, 12351, 33135, 14447, 50545, 49227, 21659, 40301, 7874, 11754, 60305, 61833, 31250, 35563, 3706, 10840, 55099, 62986, 41723, 36649, 12523, 21387, 63884, 58282, 35930, 47278, 7262, 17432, 59654, 58491, 45281, 47439, 17138, 16793, 55229, 7651, 40866, 44702, 27165, 30441, 64321, 2618, 33052, 43778, 21702, 30523, 9632, 3982, 45495}, (-1) - TextUtils.lastIndexOf("", '0'), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new char[]{21, '\b', 26, 23, 27, 11, 25, 30, 18, 2, 23, '#', 23, '#', '\n', 24, 24, 25, 29, 16, 23, 24, 30, 26, NistHelper.SEP_FS, 24, 22, 19, '\r', '#', 20, 3, 13752, 13752, 2, 30, 1, 3, 13827, 13827, 27, 11, '#', 26, 4, 24, 27, 11, ' ', 5, 0, '\t', 20, 0, 3, 6, 0, 20, 26, 4, 27, 11, 2, 26}, (byte) (11 - View.MeasureSpec.getMode(0)), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new char[]{34035, 3178, 33938, 59616, 6790, 14573, 50552, 31906, 57282, 32381, 24701, 42820, 12897, 49447, 3227, 50068, 38241, 9370, 55112, 28345, 59858, 34844, 29294, 35169, 19538, 54078, 7919, 13779, 42864, 14054, 47374, 20692, 64507, 39512, 17409, 64293, 24135, 64860, 57513, 9764, 45334, 16636, 35753, 17040, 5606, 43950, 22045, 60738, 26853, 3917, 62158, 2148, 50001, 21147, 40378, 46313, 10197, 46519, 14440, 57095, 31395, 6463, 50318, 31312, 56694, 31958, 28635, 42742}, Process.getGidForName("") + 1, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{37490, 14034, 37402, 57084, 8306, 29522, 62240, 14174, 51537, 17612, 22059, 60593, 9377, 64463, 15061, 34851, 33761, 7801, 57609, 9555, 65367, 45748, 17527, 49799, 23171, 59866, 10406, 32319, 45564, 3085, 36698, 7034, 60714, 41124, 29249, 45215, 18566, 51173, 54965, 28125, 42966, 31320, 48611, 2411, 819, 37204, 24656, 42685, 32371, 13795, 50309, 17356, 54743, 26728, 44023, 65281, 12559, 36633, 3621, 38062, 27771, 9161, 62109, 12768, 52133, 17971, 22999, 60682, 10077, 64880, 15462, 35329, 33351, 4480, 58209, 10224, 63910, 46293}, ViewConfiguration.getScrollDefaultDelay() >> 16, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{23129, 26088, 23136, 31462, 29458, 58258, 22390, 42944, 313}, ViewConfiguration.getScrollDefaultDelay() >> 16, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{26, 2, '\f', 29, 30, ' ', 27, 18, 23, 25, 22, 21, 7, 21, 29, '\f', 13837, 13837, 20, 31, '\b', 21, 19, 20, '\f', 23, 14, '#', '\b', 18, 24, 6, 30, 6, 26, 22}, (byte) (TextUtils.indexOf("", "") + 98), 35 - TextUtils.lastIndexOf("", '0', 0, 0), 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(486 - TextUtils.lastIndexOf("", '0', 0), View.MeasureSpec.getMode(0) + 5, (char) (ImageFormat.getBitsPerPixel(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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // com.scb.phone.view.activity.hml.ekyc.Hilt_HmlNdidNationalIdInputActivity, com.scb.phone.view.activity.ndid.NdidNationalIdInputActivity, o.AbstractActivityC11252ebo, 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 = f7391o + 79;
l = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.ndid.NdidNationalIdInputActivity
public final String f() {
int i = 2 % 2;
int i2 = f7391o + 17;
l = i2 % 128;
if (i2 % 2 == 0) {
return "your_loan";
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9492dkk
public final void a() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1417697411;
b(new Object[]{this});
}
}