what-the-bank/sources/com/scb/phone/view/activity/registration/RegistrationLivenessCheckAc...

804 lines
44 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.registration;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.os.Bundle;
import android.os.Process;
import android.text.AndroidCharacter;
import android.text.TextUtils;
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.common.base.Ascii;
import com.google.common.primitives.SignedBytes;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.registration.RegistrationTermsAndConsActivity;
import com.scb.phone.view.fragment.registration.RegistrationFacialVerificationLockedActivity;
import java.io.Serializable;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC4304bWR;
import o.C11723eki;
import o.C14957gcv;
import o.C16565pPd;
import o.C7975cyV;
import o.C8032czZ;
import o.EnumC1262Zd;
import o.InterfaceC13391fZD;
import o.InterfaceC15577gud;
import o.InterfaceC9592dme;
import o.Nhs;
import o.kdN;
import o.xzZ;
import org.jmrtd.lds.CVCAFile;
/* loaded from: classes5.dex */
public final class RegistrationLivenessCheckActivity extends Hilt_RegistrationLivenessCheckActivity implements InterfaceC9592dme {
public static final HBt b;
private static long k;
private static char m;
/* renamed from: o, reason: collision with root package name */
private static int f7848o;
private static short[] p;
private static int q;
private static int r;
private static int s;
private static byte[] t;
private static int y;
private C16565pPd l;
@InterfaceC13391fZD
public C7975cyV registrationLivenessCheckPresenter;
private static final byte[] $$p = {38, -57, 91, -63};
private static final int $$q = 247;
private static int $10 = 0;
private static int $11 = 1;
private static int w = 0;
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Type inference failed for: r8v1, types: [int] */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002c). 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(int r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 4
int r7 = 3 - r7
int r6 = r6 * 3
int r0 = r6 + 1
byte[] r1 = com.scb.phone.view.activity.registration.RegistrationLivenessCheckActivity.$$p
int r8 = r8 + 108
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r4 = r8
r3 = r2
r8 = r7
goto L2c
L15:
r3 = r2
L16:
int r7 = r7 + 1
byte r4 = (byte) r8
r0[r3] = r4
if (r3 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L25:
int r3 = r3 + 1
r4 = r1[r7]
r5 = r8
r8 = r7
r7 = r5
L2c:
int r4 = -r4
int r7 = r7 + r4
r5 = r8
r8 = r7
r7 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.registration.RegistrationLivenessCheckActivity.aC(int, byte, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~(i4 | i2);
int i6 = ~i2;
int i7 = (i * 615) + (i2 * (-613)) + ((i3 | i5 | (~(i6 | i))) * 614);
int i8 = ~i3;
int i9 = i7 + ((i5 | (~(i4 | i8)) | (~(i8 | i2))) * (-1228)) + (((~(i | i8 | i2)) | (~(i4 | i6 | i8))) * 614);
if (i9 == 1) {
return e(objArr);
}
if (i9 == 2) {
return d(objArr);
}
RegistrationLivenessCheckActivity registrationLivenessCheckActivity = (RegistrationLivenessCheckActivity) objArr[0];
int i10 = 2 % 2;
Context baseContext = registrationLivenessCheckActivity.getBaseContext();
if (baseContext == null) {
int i11 = y + 91;
w = i11 % 128;
int i12 = i11 % 2;
Object[] objArr2 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_outcome_counter_attention_text).substring(70, 71).codePointAt(0) - 32), (-687289951) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_eng).substring(0, 3).codePointAt(1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.onboarding_registration_email_sub_title).substring(111, 112).length() - 35, (-1855359894) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_input_amount_from_currency).substring(0, 3).length(), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_cvv_title_short).substring(0, 3).length() + 67), objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aA((char) ((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 49514), new char[]{47145, 7950, 44640, 43303, 28355, 65195, 32259, 17695, 54418, 39604, 50258, 26241, 31610, 53675, 47125, 49778, 19123, 26147}, new char[]{9889, 62944, 27321, 55745}, new char[]{65229, 15522, 39028, 17141}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[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(ImageFormat.getBitsPerPixel(0) + 493, ExpandableListView.getPackedPositionType(0L) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 487, 5 - TextUtils.getOffsetAfter("", 0), (char) View.MeasureSpec.getSize(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr4);
int i13 = y + 19;
w = i13 % 128;
int i14 = i13 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onPause();
return null;
}
/* loaded from: classes5.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
private static void aA(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - View.MeasureSpec.makeMeasureSpec(0, 0), ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
try {
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 352, KeyEvent.getDeadChar(0, 0) + 5, (char) (52128 - (Process.myPid() >> 22)));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr4 = new Object[1];
aC(b2, b3, (byte) (b3 | 7), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
try {
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(748 - (ViewConfiguration.getJumpTapTimeout() >> 16), Drawable.resolveOpacity(0, 0) + 5, (char) View.getDefaultSize(0, 0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
try {
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 402, Color.red(0) + 5, (char) (Color.green(0) + 21608));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
aC(b4, b5, (byte) (b5 | 6), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (k ^ 9051040786702654117L)) ^ ((int) (f7848o ^ 9051040786702654117L))) ^ ((char) (m ^ 9051040786702654117L)));
nhs.a++;
int i3 = $10 + 61;
$11 = i3 % 128;
int i4 = i3 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
String str = new String(cArr6);
int i5 = $10 + 125;
$11 = i5 % 128;
if (i5 % 2 != 0) {
objArr[0] = str;
} else {
Object obj5 = null;
obj5.hashCode();
throw null;
}
}
@Override // com.scb.phone.view.activity.registration.Hilt_RegistrationLivenessCheckActivity, com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity, o.AbstractActivityC11247ebj, 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;
int i2 = 2 % 2;
int i3 = y + 81;
w = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
aA((char) (32140 - TextUtils.getOffsetAfter("", 0)), new char[]{42323, 49655, 16760, 14033, 63948, 26746, 41112, 4383, 50852, 45975, 7435, 42831, 62188, 62674, 14070, 28945, 54928, 46658}, new char[]{39242, 9388, 36007, 44413}, new char[]{65229, 15522, 39028, 17141}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.find_us_fragment_tag).substring(0, 16).codePointAt(5) - 117, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 687289847, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_completed_skip_remark).substring(13, 14).codePointAt(0) - 68, Color.alpha(0) - 1855359879, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.onboarding_registration_push_sub_title).substring(18, 19).length() + 56), 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];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), (-687289841) - (Process.myPid() >> 22), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 68, KeyEvent.getDeadChar(0, 0) - 1855359891, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_open_mf_remark_2).substring(281, 283).length() + 68), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.isprint_force_set_new_pin_message).substring(22, 23).codePointAt(0) + 49482), new char[]{47145, 7950, 44640, 43303, 28355, 65195, 32259, 17695, 54418, 39604, 50258, 26241, 31610, 53675, 47125, 49778, 19123, 26147}, new char[]{9889, 62944, 27321, 55745}, new char[]{65229, 15522, 39028, 17141}, KeyEvent.getDeadChar(0, 0), 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) {
i = 5;
} else {
i = 5;
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getFadingEdgeLength() >> 16), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) ((-1) - MotionEvent.axisFromString("")))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB((short) View.getDefaultSize(0, 0), (-687289815) - (ViewConfiguration.getScrollBarFadeDuration() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_outcome_reject_repayment_value).substring(0, i).codePointAt(2) - 70, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.investment_information_footer).substring(212, 213).codePointAt(0) - 1855359971, (byte) ((ViewConfiguration.getLongPressTimeout() >> 16) - 20), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_eng).substring(0, 3).codePointAt(0) - 69), new char[]{22480, 34785, 1598, 18251, 24311, 17660, 13823, 30517, 11061, 61679, 50406, 27052, 62894, 20543, 48483, 37417, 32381, 36218, 13575, 47426, 40644, 45057, 9277, 16317, 8340, 37397, 13916, 38362, 44700, 56630, 37282, 42496, 46433, 57812, 41105, 59327, 55814, 39594, 18672, 63825, 56041, 45146, 22737, 40817, 49526, 40522, 46546, 63410, 33735, 59851, 4993, 6738, 30884, 39972, 10761, 30193, 10334, 26758, 49265, 38624, 49728, 11379, 21631, 8109}, new char[]{65447, 64979, 10627, 7075}, new char[]{65229, 15522, 39028, 17141}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.juristic_request_form_eligibility_info_description_1).substring(0, 3).length() - 3, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), new char[]{49755, 17145, 20521, 56979, 13023, 44721, 26223, 45132, 63013, 42382, 6156, 26805, 35221, 41610, 22543, 39819, 5134, 3381, 28829, 2602, 59081, 2923, 24358, 58948, 805, 16665, 52421, 13461, 3812, 16574, 14890, 54044, 58498, 39016, 63194, 15747, 18875, 38042, 6172, 59997, 45059, 18940, 18688, 21333, 55772, 27256, 47184, 50406, 29081, 5949, 64209, 36046, 35941, 34413, 8419, 9945, 39335, 47341, 40107, 35909, 43144, 48755, 37953, 33998}, new char[]{3783, 54473, 20979, 49777}, new char[]{65229, 15522, 39028, 17141}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA((char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))), new char[]{39389, 33046, 34760, 61066, 57250, 50880, 25595, 11090, 22484, 52919, 13554, 29422, 24662, 52706, 2159, 22868, 41866, 59544, 24937, 34742, 30183, 14276, 24403, 7684, 13793, 3478, 3328, 64972, 38036, 16985, 45281, 36760, 34213, 28536, 33798, 42925, 64318, 31644, 28987, 21785, 8931, 16035, 27723, 53378, 52892, 63894, 37354, 1445, 19718, 27908, 35699, 34791, 39605, 61824, 43076, 40457, 48561, 39656, 43625, 19557, 9966, 50529, 24123, 42943, 46901, 7322, 6625, 30688, 3148, 35544, 3150, 33470, 48530, 32549}, new char[]{7535, 9228, 41814, 61548}, new char[]{65229, 15522, 39028, 17141}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB((short) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_success_register_scb).substring(12, 13).length() - 687289768, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 68, (-1855359931) - ExpandableListView.getPackedPositionGroup(0L), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.taking_photo_details_blurry_bank).substring(30, 31).length() - 39), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA((char) KeyEvent.keyCodeFromString(""), new char[]{51837, 27865, 678, 21271, 45393, 12301, 22926, 63877, 12135, 47282, 2915, 45424, 4641, 5309, 19514, 16899, 43080, 39870, 5314, 27596, 13485, 6944, 44750, 39865, 5733, 9364, 42800, 53376, 65218, 26656, 33222, 56570, 1370, 41887, 18752, 59854}, new char[]{5149, 51871, 17282, 33000}, new char[]{65229, 15522, 39028, 17141}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, 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((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 487, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (TextUtils.lastIndexOf("", '0', 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
this.l = new C16565pPd();
kdN kdn = (kdN) getIntent().getParcelableExtra("EXTRA_VERIFIED_METHOD");
if (kdn != null) {
int i5 = w + 101;
y = i5 % 128;
if (i5 % 2 == 0) {
Object obj3 = null;
obj3.hashCode();
throw null;
}
C7975cyV c7975cyV = this.registrationLivenessCheckPresenter;
if (c7975cyV == null) {
C14957gcv.a("");
c7975cyV = null;
}
Serializable serializableExtra = getIntent().getSerializableExtra("EXTRA_FLOW_TYPE");
C14957gcv.d(serializableExtra, "");
c7975cyV.c((EnumC1262Zd) serializableExtra, kdn);
}
C16565pPd c16565pPd = this.l;
if (c16565pPd == null) {
C14957gcv.a("");
c16565pPd = null;
}
c16565pPd.c(((BaseActivity) this).scbAnalytics, "registration_face_recognition");
if (Build.VERSION.SDK_INT >= 33) {
C11723eki.b(this);
return;
}
C11723eki.d(this);
int i6 = w + 113;
y = i6 % 128;
if (i6 % 2 != 0) {
return;
}
Object obj4 = null;
obj4.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity
public final AbstractC4304bWR<?> n() {
int i = 2 % 2;
C7975cyV c7975cyV = this.registrationLivenessCheckPresenter;
if (c7975cyV != null) {
int i2 = w + 47;
int i3 = i2 % 128;
y = i3;
if (i2 % 2 == 0) {
throw null;
}
int i4 = i3 + 61;
w = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
c7975cyV = null;
}
return c7975cyV;
}
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity
public final void r() {
int i = 2 % 2;
int i2 = w + 49;
y = i2 % 128;
int i3 = i2 % 2;
super.r();
int i4 = w + 13;
y = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object d(Object[] objArr) {
RegistrationLivenessCheckActivity registrationLivenessCheckActivity = (RegistrationLivenessCheckActivity) objArr[0];
int i = 2 % 2;
int i2 = w + 123;
y = i2 % 128;
int i3 = i2 % 2;
super.ax_();
if (i3 != 0) {
return null;
}
int i4 = 76 / 0;
return null;
}
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity
public final void d(InterfaceC15577gud interfaceC15577gud) {
int i = 2 % 2;
int i2 = w + 99;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC15577gud, "");
super.d(interfaceC15577gud);
int i4 = w + 31;
y = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity
public final void J() {
int i = 2 % 2;
int i2 = w + 57;
y = i2 % 128;
int i3 = i2 % 2;
super.J();
int i4 = y + 113;
w = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:43:0x01e4, code lost:
if (r4 != false) goto L47;
*/
/* JADX WARN: Code restructure failed: missing block: B:44:0x01fa, code lost:
r4 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:65:0x02a6, code lost:
if (r0 != false) goto L73;
*/
/* JADX WARN: Code restructure failed: missing block: B:66:0x02cf, code lost:
r4 = com.scb.phone.view.activity.registration.RegistrationLivenessCheckActivity.p;
r1.c = r1.c - 1;
r1.a = (char) (r1.e + (((short) (((short) (r4[r8] ^ (-7303220121662775787L))) + r17)) ^ r21));
*/
/* JADX WARN: Code restructure failed: missing block: B:69:0x02ab, code lost:
r4 = com.scb.phone.view.activity.registration.RegistrationLivenessCheckActivity.t;
r1.c = r1.c - 1;
r1.a = (char) (r1.e + (((byte) (((byte) (r4[r8] ^ (-7303220121662775787L))) + r17)) ^ r21));
*/
/* JADX WARN: Code restructure failed: missing block: B:71:0x02a9, code lost:
if (r0 != false) goto L73;
*/
/* JADX WARN: Code restructure failed: missing block: B:76:0x01f8, code lost:
r4 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:78:0x01f6, code lost:
if (r4 != false) goto L47;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aB(short r17, int r18, int r19, int r20, byte r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 780
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.registration.RegistrationLivenessCheckActivity.aB(short, int, int, int, byte, java.lang.Object[]):void");
}
public final void l() {
int i = 2 % 2;
int i2 = w + 7;
y = i2 % 128;
int i3 = i2 % 2;
super.J();
int i4 = y + 77;
w = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 83 / 0;
}
}
@Override // o.InterfaceC9592dme
public final void e(EnumC1262Zd enumC1262Zd) {
int i = 2 % 2;
int i2 = w + 91;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(enumC1262Zd, "");
if (enumC1262Zd == EnumC1262Zd.PIN_LOCK) {
RegistrationTermsAndConsActivity.RVV rvv = RegistrationTermsAndConsActivity.l;
startActivity(RegistrationTermsAndConsActivity.RVV.alt_(this, C8032czZ.HBt.FORGOTPIN));
} else {
RegistrationTermsAndConsActivity.RVV rvv2 = RegistrationTermsAndConsActivity.l;
startActivity(RegistrationTermsAndConsActivity.RVV.alt_(this, C8032czZ.HBt.EASYAPP));
}
finish();
int i4 = y + 47;
w = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9592dme
public final void e(kdN kdn) {
Serializable serializable;
int i = 2 % 2;
C14957gcv.e(kdn, "");
RegistrationFacialVerificationLockedActivity.HBt hBt = RegistrationFacialVerificationLockedActivity.l;
RegistrationLivenessCheckActivity registrationLivenessCheckActivity = this;
Intent intent = getIntent();
if (intent != null) {
int i2 = y + 3;
w = i2 % 128;
int i3 = i2 % 2;
serializable = intent.getSerializableExtra("EXTRA_FLOW_TYPE");
int i4 = y + 41;
w = i4 % 128;
int i5 = i4 % 2;
} else {
serializable = null;
}
C14957gcv.d(serializable, "");
startActivity(RegistrationFacialVerificationLockedActivity.HBt.awZ_(registrationLivenessCheckActivity, kdn, (EnumC1262Zd) serializable));
finish();
}
@Override // o.InterfaceC9592dme
public final void k() {
int i = 2 % 2;
int i2 = y + 67;
w = i2 % 128;
int i3 = i2 % 2;
ab_();
int i4 = y + 89;
w = i4 % 128;
int i5 = i4 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0021, code lost:
if (r4 == o.EnumC1262Zd.FAST_EASY) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost:
if (r4 == o.EnumC1262Zd.FAST_EASY) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x003a, code lost:
startActivity(new android.content.Intent(r3, (java.lang.Class<?>) com.scb.phone.view.activity.forgotpin.ForgotPinOtpActivity.class));
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0047, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0023, code lost:
startActivity(new android.content.Intent(r3, (java.lang.Class<?>) com.scb.phone.view.activity.registration.RegistrationOtpActivity.class));
r4 = com.scb.phone.view.activity.registration.RegistrationLivenessCheckActivity.w + 19;
com.scb.phone.view.activity.registration.RegistrationLivenessCheckActivity.y = r4 % 128;
r4 = r4 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0039, code lost:
return;
*/
@Override // o.InterfaceC9592dme
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void c(o.EnumC1262Zd r4) {
/*
r3 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.registration.RegistrationLivenessCheckActivity.w
int r1 = r1 + 91
int r2 = r1 % 128
com.scb.phone.view.activity.registration.RegistrationLivenessCheckActivity.y = r2
int r1 = r1 % r0
java.lang.String r2 = ""
if (r1 != 0) goto L1c
o.C14957gcv.e(r4, r2)
o.Zd r1 = o.EnumC1262Zd.FAST_EASY
r2 = 8
int r2 = r2 / 0
if (r4 != r1) goto L3a
goto L23
L1c:
o.C14957gcv.e(r4, r2)
o.Zd r1 = o.EnumC1262Zd.FAST_EASY
if (r4 != r1) goto L3a
L23:
android.content.Intent r4 = new android.content.Intent
r1 = r3
android.content.Context r1 = (android.content.Context) r1
java.lang.Class<com.scb.phone.view.activity.registration.RegistrationOtpActivity> r2 = com.scb.phone.view.activity.registration.RegistrationOtpActivity.class
r4.<init>(r1, r2)
r3.startActivity(r4)
int r4 = com.scb.phone.view.activity.registration.RegistrationLivenessCheckActivity.w
int r4 = r4 + 19
int r1 = r4 % 128
com.scb.phone.view.activity.registration.RegistrationLivenessCheckActivity.y = r1
int r4 = r4 % r0
return
L3a:
android.content.Intent r4 = new android.content.Intent
r0 = r3
android.content.Context r0 = (android.content.Context) r0
java.lang.Class<com.scb.phone.view.activity.forgotpin.ForgotPinOtpActivity> r1 = com.scb.phone.view.activity.forgotpin.ForgotPinOtpActivity.class
r4.<init>(r0, r1)
r3.startActivity(r4)
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.registration.RegistrationLivenessCheckActivity.c(o.Zd):void");
}
private static /* synthetic */ Object e(Object[] objArr) {
RegistrationLivenessCheckActivity registrationLivenessCheckActivity = (RegistrationLivenessCheckActivity) objArr[0];
int i = 2 % 2;
int i2 = y + 63;
w = i2 % 128;
if (i2 % 2 != 0) {
registrationLivenessCheckActivity.getBaseContext();
throw null;
}
Context baseContext = registrationLivenessCheckActivity.getBaseContext();
if (baseContext == null) {
int i3 = y + 105;
w = i3 % 128;
int i4 = i3 % 2;
Object[] objArr2 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.select_account_title_breadcrumb_th).substring(0, 11).codePointAt(6) - 3610), (-687289841) - KeyEvent.getDeadChar(0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) - 135, (-1855359892) - TextUtils.lastIndexOf("", '0'), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 42), objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.beid_camera_permission).substring(0, 39).codePointAt(27) + 49482), new char[]{47145, 7950, 44640, 43303, 28355, 65195, 32259, 17695, 54418, 39604, 50258, 26241, 31610, 53675, 47125, 49778, 19123, 26147}, new char[]{9889, 62944, 27321, 55745}, new char[]{65229, 15522, 39028, 17141}, '0' - AndroidCharacter.getMirror('0'), objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[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(View.resolveSize(0, 0) + 492, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) TextUtils.getCapsMode("", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 488, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onResume();
return null;
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x00a3, code lost:
if (r5 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.registration.Hilt_RegistrationLivenessCheckActivity, com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity, o.AbstractActivityC11247ebj, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void attachBaseContext(android.content.Context r21) {
/*
Method dump skipped, instructions count: 1070
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.registration.RegistrationLivenessCheckActivity.attachBaseContext(android.content.Context):void");
}
static void m() {
k = 4570689422359077992L;
f7848o = 452713125;
m = (char) 55973;
s = 2067344355;
q = 1406017076;
r = 1029215713;
t = new byte[]{-15, -41, 56, -16, 32, -20, 80, -81, ISOFileInfo.A0, 89, 71, -120, 86, 88, ISOFileInfo.A0, 94, -90, CVCAFile.CAR_TAG, 113, SignedBytes.MAX_POWER_OF_TWO, -19, 83, 92, 96, -103, -88, -87, -82, 93, ISOFileInfo.A5, 94, Ascii.SUB, 54, -44, ISO7816.INS_UNBLOCK_CHV, -41, 5, -4, -5, 41, -7, 4, 6, -52, 0, -6, -3, -7, ISO7816.INS_DECREASE_STAMPED, ISO7816.INS_WRITE_RECORD, 47, -41, 43, -44, 41, -44, 33, -44, -8, 2, -1, 6, 40, -45, -4, 40, ISO7816.INS_UPDATE_BINARY, 43, ISO7816.INS_UPDATE_BINARY, 0, 46, -8, 2, -6, -55, 40, -41, 4, -1, -15, -51, 57, -59, 58};
}
@Override // com.scb.phone.view.activity.registration.Hilt_RegistrationLivenessCheckActivity, com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity, o.AbstractActivityC11247ebj, 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() {
b(new Object[]{this}, 1577854593, -1577854593, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 971093084);
}
@Override // com.scb.phone.view.activity.registration.Hilt_RegistrationLivenessCheckActivity, com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity, o.AbstractActivityC11247ebj, 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() {
b(new Object[]{this}, 280691230, -280691229, ((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) + 1150445176);
}
@Override // com.scb.phone.view.activity.registration.Hilt_RegistrationLivenessCheckActivity, com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity, o.AbstractActivityC11247ebj, 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 = y + 111;
w = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity
public final void ax_() {
b(new Object[]{this}, -1365229661, 1365229663, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 674667916);
}
static {
y = 1;
m();
b = new HBt((byte) 0);
int i = w + 47;
y = i % 128;
int i2 = i % 2;
}
}