package com.scb.phone.view.activity.facialrecognition; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.media.AudioTrack; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.os.Parcelable; import android.os.Process; import android.os.SystemClock; import android.telephony.cdma.CdmaCellLocation; import android.text.TextUtils; import android.util.TypedValue; import android.view.Gravity; import android.view.KeyEvent; 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.facialrecognition.BotCommonLivenessCheckActivity; import com.scb.phone.view.activity.facialrecognition.FacialVerificationLockedActivity; import com.scb.phone.view.custom.common.CustomDialog; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISOFileInfo; import o.AbstractC4304bWR; import o.C1247Yv; import o.C14957gcv; import o.C4865biI; import o.GuL; import o.InterfaceC1248Yw; import o.InterfaceC13391fZD; import o.InterfaceC15577gud; import o.InterfaceC9615dnA; import o.YI; import o.ZI; import o.dMO; import o.xzZ; /* loaded from: classes4.dex */ public final class BotCommonLivenessCheckActivity extends Hilt_BotCommonLivenessCheckActivity implements InterfaceC9615dnA { public static final HBt b; private static char[] k; private static int l; /* renamed from: o, reason: collision with root package name */ private static long f7143o; @InterfaceC13391fZD public C4865biI presenter; private static final byte[] $$g = {43, -66, 11, ISOFileInfo.LCS_BYTE}; private static final int $$h = 12; private static int $10 = 0; private static int $11 = 1; private static int m = 0; /* JADX WARN: Removed duplicated region for block: B:10:0x002a */ /* JADX WARN: Removed duplicated region for block: B:7:0x0022 */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002a -> 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 az(short r7, int r8, short r9, java.lang.Object[] r10) { /* int r7 = r7 * 4 int r7 = 1 - r7 byte[] r0 = com.scb.phone.view.activity.facialrecognition.BotCommonLivenessCheckActivity.$$g int r9 = r9 + 4 int r8 = r8 * 2 int r8 = 121 - r8 byte[] r1 = new byte[r7] r2 = 0 if (r0 != 0) goto L15 r3 = r7 r8 = r9 r4 = r2 goto L2c L15: r3 = r2 r6 = r9 r9 = r8 r8 = r6 L19: int r4 = r3 + 1 byte r5 = (byte) r9 int r8 = r8 + 1 r1[r3] = r5 if (r4 != r7) goto L2a java.lang.String r7 = new java.lang.String r7.(r1, r2) r10[r2] = r7 return L2a: r3 = r0[r8] L2c: int r9 = r9 + r3 r3 = r4 goto L19 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.facialrecognition.BotCommonLivenessCheckActivity.az(short, int, short, java.lang.Object[]):void"); } public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) { int i4 = ~i; int i5 = ~i2; int i6 = (i * (-317)) + (i2 * 319) + (((~(i2 | (~i3) | i)) | (~(i4 | i5 | i3))) * (-318)) + (((~(i | i3)) | (~(i5 | i))) * (-318)) + (((~(i4 | i3)) | i5) * 318); if (i6 == 1) { return e(objArr); } if (i6 != 2) { return d(objArr); } BotCommonLivenessCheckActivity botCommonLivenessCheckActivity = (BotCommonLivenessCheckActivity) objArr[0]; Context context = (Context) objArr[1]; int i7 = 2 % 2; super.attachBaseContext(context); Object[] objArr2 = new Object[1]; ax(new int[]{0, 18, 62, 5}, false, new byte[]{1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0}, objArr2); Class cls = Class.forName((String) objArr2[0]); Object[] objArr3 = new Object[1]; ay(new char[]{33777, 33692, 33129, 26725, 33918, 1081, 22209, 47119, 9793}, View.resolveSize(0, 0) + 1, objArr3); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr3[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue < 99000 || intValue > 99999) { if (context != null) { int i8 = l + 113; m = i8 % 128; int i9 = i8 % 2; context = context.getApplicationContext(); int i10 = m + 67; l = i10 % 128; int i11 = i10 % 2; } if (context != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - View.MeasureSpec.getSize(0), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) TextUtils.getOffsetAfter("", 0))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr4 = new Object[1]; ax(new int[]{18, 48, 41, 0}, true, new byte[]{1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0}, objArr4); String str = (String) objArr4[0]; Object[] objArr5 = new Object[1]; ay(new char[]{13539, 13446, 17118, 43977, 25339, 41897, 45095, 8083, 37121, 52725, 6769, 49571, 32558, 30710, 31835, 43928, 50605, 38937, 42666, 3651, 41861, 49711, 2288, 61492, 2468, 25713, 29332, 23070, 54824, 36485, 55081, 15517, 48157, 12454, 14717, 59066, 6772, 23292, 25412, 18743, 57506, 65295, 50631, 13080, 20125, 8449, 12200, 38200, 5322, 19326, 37323, 32688, 61815, 60803, 64071, 8657, 24388, 6111, 23648, 35816, 9539, 47536, 34376, 28262, 33721, 57949, 59596, 53255}, Drawable.resolveOpacity(0, 0) + 1, objArr5); String str2 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; ay(new char[]{23384, 23353, 15898, 55127, 37142, 43656, 17356, 5860, 65261, 45408, 59853, 51422, 4290, 2878, 36791, 41706, 43590, 58591, 21824, 1899, 52329, 48829, 64330, 63767, 26189, 6323, 33071, 21305, 47555, 62031, 9362, 13754, 54188, 19565, 51865, 61383, 30156, 9837, 37117, 16450, 36633, 33729, 13945, 14954, 8485, 23959, 56337, 39964, 31522, 14312, 25126, 30358, 40650, 37146, 2558, 10495, 12458, 27418, 44936, 33485, 19184, 50550, 30194, 26398, 60417, 40643, 6947, 55668}, 1 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr6); String str3 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; ay(new char[]{14908, 14932, 7166, 62207, 37340, 56901, 17218, 25194, 40859, 38029, 59725, 48217, 29159, 11914, 36655, 54831, 52003, 49504, 21975, 29683, 44297, 39753, 64389, 36227, 1913, 15627, 33200, 10151, 55466, 55288, 9232, 16742, 45720, 27085, 51727, 39695, 5352, 904, 36919, 13513, 60988, 42553, 14053, 20195, 16405, 30769, 56458, 59537, 6737, 4634, 25275, 588, 65449, 46261, 2405, 23653, 20885, 20200, 44819, 62998, 11213, 57564, 30007, 5084, 36151, 47994, 7161, 44538, 26451, 23869, 41412, 51189, 14669, 63233, 17479, 24920, 37536, 35280}, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), objArr7); String str4 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; ay(new char[]{15594, 15571, 4188, 63751, 38302, 60893, 18252, 20908, 39182}, -TextUtils.indexOf((CharSequence) "", '0', 0, 0), objArr8); String str5 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; ay(new char[]{26805, 26832, 25578, 35582, 18533, 63255, 39613, 19324, 52485, 60570, 12527, 38164, 9008, 22209, 22215, 65397, 39339, 47414, 35895, 23294, 65492, 58142, 8818, 42201, 22003, 17686, 22536, 3769, 35455, 45028, 64949, 26657, 57422, 4558, 5040, 45577, 17953, 31690, 18910, 7565}, TextUtils.getOffsetAfter("", 0) + 1, objArr9); Object[] objArr10 = {context, str, str2, str3, str4, true, str5, (String) objArr9[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c(486 - ExpandableListView.getPackedPositionChild(0L), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 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, objArr10); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause != null) { throw cause; } throw th; } } } return null; } /* loaded from: classes4.dex */ public static final class HBt { private HBt() { } public /* synthetic */ HBt(byte b) { this(); } } private static void ay(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; GuL guL = new GuL(); char[] a = GuL.a(f7143o ^ (-7538262848231253921L), cArr, i); guL.a = 4; while (guL.a < a.length) { int i3 = $11 + 111; $10 = i3 % 128; int i4 = i3 % 2; guL.c = guL.a - 4; int i5 = guL.a; try { Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(f7143o)}; Object obj = xzZ.y.get(428080616); if (obj == null) { Class cls = (Class) xzZ.c(208 - View.getDefaultSize(0, 0), Color.alpha(0) + 5, (char) (1707 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)))); byte b2 = (byte) 0; byte b3 = (byte) (b2 + 1); Object[] objArr3 = new Object[1]; az(b2, b3, (byte) (-b3), objArr3); obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE); xzZ.y.put(428080616, obj); } a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); try { Object[] objArr4 = {guL, guL}; Object obj2 = xzZ.y.get(-1875914398); if (obj2 == null) { Class cls2 = (Class) xzZ.c(392 - Color.green(0), (Process.myTid() >> 22) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8)); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr5 = new Object[1]; az(b4, b5, (byte) (b5 - 1), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1875914398, obj2); } ((Method) obj2).invoke(null, objArr4); int i6 = $11 + 45; $10 = i6 % 128; int i7 = i6 % 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; } } objArr[0] = new String(a, 4, a.length - 4); } @Override // com.scb.phone.view.activity.facialrecognition.Hilt_BotCommonLivenessCheckActivity, 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) { Parcelable parcelable; Parcelable parcelable2; int i = 2 % 2; Object[] objArr = new Object[1]; ax(new int[]{0, 18, 62, 5}, false, new byte[]{1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0}, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ay(new char[]{33777, 33692, 33129, 26725, 33918, 1081, 22209, 47119, 9793}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_setting_notification).substring(0, 13).codePointAt(4) - 79, objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue < 99000 || intValue > 99999) { Context baseContext = getBaseContext(); if (baseContext == null) { int i2 = l + 21; m = i2 % 128; int i3 = i2 % 2; Object[] objArr3 = new Object[1]; ay(new char[]{18202, 18299, 17729, 44122, 24168, 34518, 36070, 15099, 58017, 51809, 9906, 58571, 3283, 28716, 16522, 36607, 46631, 40915, 39546, 11108, 53308, 50669, 13350, 54528, 31338, 25520, 19988, 32560, 42371, 35144}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 12, objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; ay(new char[]{31707, 31672, 59539, 403, 32912, 3810, 21000, 45775, 56938, 26548, 63578, 27792, 12291, 56830, 40558, 1676, 35524, 12803, 17538, 41808, 60644, 26680}, -TextUtils.indexOf((CharSequence) "", '0', 0), objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i4 = m + 1; l = i4 % 128; if (i4 % 2 == 0) { baseContext.getApplicationContext(); r10.hashCode(); throw null; } baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i5 = m + 111; l = i5 % 128; int i6 = i5 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 492, 5 - TextUtils.getOffsetAfter("", 0), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; ax(new int[]{18, 48, 41, 0}, true, new byte[]{1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0}, objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; ay(new char[]{13539, 13446, 17118, 43977, 25339, 41897, 45095, 8083, 37121, 52725, 6769, 49571, 32558, 30710, 31835, 43928, 50605, 38937, 42666, 3651, 41861, 49711, 2288, 61492, 2468, 25713, 29332, 23070, 54824, 36485, 55081, 15517, 48157, 12454, 14717, 59066, 6772, 23292, 25412, 18743, 57506, 65295, 50631, 13080, 20125, 8449, 12200, 38200, 5322, 19326, 37323, 32688, 61815, 60803, 64071, 8657, 24388, 6111, 23648, 35816, 9539, 47536, 34376, 28262, 33721, 57949, 59596, 53255}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.return_to_pointx).substring(9, 17).codePointAt(2) - 78, objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; ay(new char[]{23384, 23353, 15898, 55127, 37142, 43656, 17356, 5860, 65261, 45408, 59853, 51422, 4290, 2878, 36791, 41706, 43590, 58591, 21824, 1899, 52329, 48829, 64330, 63767, 26189, 6323, 33071, 21305, 47555, 62031, 9362, 13754, 54188, 19565, 51865, 61383, 30156, 9837, 37117, 16450, 36633, 33729, 13945, 14954, 8485, 23959, 56337, 39964, 31522, 14312, 25126, 30358, 40650, 37146, 2558, 10495, 12458, 27418, 44936, 33485, 19184, 50550, 30194, 26398, 60417, 40643, 6947, 55668}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 12, objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; ay(new char[]{14908, 14932, 7166, 62207, 37340, 56901, 17218, 25194, 40859, 38029, 59725, 48217, 29159, 11914, 36655, 54831, 52003, 49504, 21975, 29683, 44297, 39753, 64389, 36227, 1913, 15627, 33200, 10151, 55466, 55288, 9232, 16742, 45720, 27085, 51727, 39695, 5352, 904, 36919, 13513, 60988, 42553, 14053, 20195, 16405, 30769, 56458, 59537, 6737, 4634, 25275, 588, 65449, 46261, 2405, 23653, 20885, 20200, 44819, 62998, 11213, 57564, 30007, 5084, 36151, 47994, 7161, 44538, 26451, 23869, 41412, 51189, 14669, 63233, 17479, 24920, 37536, 35280}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 12, objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; ay(new char[]{15594, 15571, 4188, 63751, 38302, 60893, 18252, 20908, 39182}, -TextUtils.lastIndexOf("", '0'), objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; ay(new char[]{26805, 26832, 25578, 35582, 18533, 63255, 39613, 19324, 52485, 60570, 12527, 38164, 9008, 22209, 22215, 65397, 39339, 47414, 35895, 23294, 65492, 58142, 8818, 42201, 22003, 17686, 22536, 3769, 35455, 45028, 64949, 26657, 57422, 4558, 5040, 45577, 17953, 31690, 18910, 7565}, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 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((ViewConfiguration.getPressedStateDuration() >> 16) + 487, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr11); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } super.onCreate(bundle); Intent intent = getIntent(); if (intent != null) { C4865biI c4865biI = this.presenter; if (c4865biI == null) { C14957gcv.a(""); c4865biI = null; } if (Build.VERSION.SDK_INT >= 33) { Bundle extras = intent.getExtras(); parcelable = extras != null ? (Parcelable) extras.getParcelable("EXTRA_TRANSFER_FRAUD_LIVENESS_CHECK_DISPLAY", InterfaceC1248Yw.class) : null; } else { Bundle extras2 = intent.getExtras(); Parcelable parcelable3 = extras2 != null ? extras2.getParcelable("EXTRA_TRANSFER_FRAUD_LIVENESS_CHECK_DISPLAY") : null; if (!(parcelable3 instanceof InterfaceC1248Yw)) { int i7 = m + 117; l = i7 % 128; if (i7 % 2 == 0) { throw null; } parcelable3 = null; } parcelable = (InterfaceC1248Yw) parcelable3; } InterfaceC1248Yw interfaceC1248Yw = (InterfaceC1248Yw) parcelable; if (Build.VERSION.SDK_INT >= 33) { int i8 = l + 103; m = i8 % 128; int i9 = i8 % 2; Bundle extras3 = intent.getExtras(); parcelable2 = extras3 != null ? (Parcelable) extras3.getParcelable("EXTRA_SETTING_LIMIT_LIVENESS_CHECK_DISPLAY", C1247Yv.class) : null; } else { Bundle extras4 = intent.getExtras(); Parcelable parcelable4 = extras4 != null ? extras4.getParcelable("EXTRA_SETTING_LIMIT_LIVENESS_CHECK_DISPLAY") : null; if (!(parcelable4 instanceof C1247Yv)) { parcelable4 = null; } parcelable2 = (C1247Yv) parcelable4; } C1247Yv c1247Yv = (C1247Yv) parcelable2; int intExtra = intent.getIntExtra("EXTRA_FLOW_TYPE", -1); r10 = intExtra >= 0 ? YI.values()[intExtra] : null; c4865biI.e = interfaceC1248Yw; c4865biI.d = c1247Yv; c4865biI.b = r10; c4865biI.g = true; ZI.IeS ieS = new ZI.IeS() { // from class: o.biN @Override // o.ZI.IeS public final void e(Object obj3) { ((InterfaceC9615dnA) obj3).e(); } }; if (!(!(c4865biI.f != 0))) { ieS.e(c4865biI.f); } } if (Build.VERSION.SDK_INT >= 33) { dMO.c(this); return; } int i10 = m + 75; l = i10 % 128; if (i10 % 2 == 0) { int i11 = 2 % 4; } dMO.a(this); } @Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity public final AbstractC4304bWR n() { int i = 2 % 2; int i2 = m + 3; int i3 = i2 % 128; l = i3; int i4 = i2 % 2; C4865biI c4865biI = this.presenter; if (c4865biI != null) { int i5 = i3 + 103; m = i5 % 128; if (i5 % 2 != 0) { int i6 = 99 / 0; } } else { C14957gcv.a(""); c4865biI = null; } C4865biI c4865biI2 = c4865biI; int i7 = l + 29; m = i7 % 128; int i8 = i7 % 2; return c4865biI2; } @Override // o.InterfaceC9615dnA public final void l() { int i = 2 % 2; int i2 = l + 43; m = i2 % 128; if (i2 % 2 == 0) { FacialVerificationLockedActivity.HBt hBt = FacialVerificationLockedActivity.b; startActivity(FacialVerificationLockedActivity.HBt.afs_(this, "")); finish(); int i3 = l + 89; m = i3 % 128; int i4 = i3 % 2; return; } FacialVerificationLockedActivity.HBt hBt2 = FacialVerificationLockedActivity.b; startActivity(FacialVerificationLockedActivity.HBt.afs_(this, "")); finish(); Object obj = null; obj.hashCode(); throw null; } private static /* synthetic */ Object e(Object[] objArr) { BotCommonLivenessCheckActivity botCommonLivenessCheckActivity = (BotCommonLivenessCheckActivity) objArr[0]; int i = 2 % 2; Intent intent = new Intent(); intent.putExtra("com.scb.phone.EXTRA_IS_FACE_VALIDATE", true); botCommonLivenessCheckActivity.setResult(-1, intent); botCommonLivenessCheckActivity.finish(); int i2 = m + 115; l = i2 % 128; int i3 = i2 % 2; return null; } @Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity, o.InterfaceC9491dkj public final void c() { int i = 2 % 2; int i2 = m + 59; l = i2 % 128; int i3 = i2 % 2; setResult(0); finish(); } @Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity public final void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) { int i2 = 2 % 2; int i3 = l + 89; m = i3 % 128; if (i3 % 2 == 0) { C14957gcv.e(strArr, ""); C14957gcv.e(iArr, ""); super.onRequestPermissionsResult(i, strArr, iArr); dMO.a(this, i, iArr); return; } C14957gcv.e(strArr, ""); C14957gcv.e(iArr, ""); super.onRequestPermissionsResult(i, strArr, iArr); dMO.a(this, i, iArr); Object obj = null; obj.hashCode(); throw null; } @Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity public final void r() { int i = 2 % 2; int i2 = l + 115; m = i2 % 128; int i3 = i2 % 2; super.r(); if (i3 != 0) { throw null; } } @Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity public final void ax_() { int i = 2 % 2; int i2 = l + 125; m = i2 % 128; int i3 = i2 % 2; super.ax_(); if (i3 != 0) { int i4 = 26 / 0; } } @Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity public final void d(InterfaceC15577gud interfaceC15577gud) { int i = 2 % 2; C14957gcv.e(interfaceC15577gud, ""); ((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(this).c(R.string.liveness_permission_camera_title).d(R.string.liveness_permission_camera_description).aoT_(R.string.permission_allow, new DialogInterface.OnClickListener(this) { // from class: o.dMP private BotCommonLivenessCheckActivity c; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { BotCommonLivenessCheckActivity.a(this.c); } { this.c = this; } }), Integer.valueOf(R.string.permission_deny), new DialogInterface.OnClickListener(this) { // from class: o.dMN private BotCommonLivenessCheckActivity a; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { BotCommonLivenessCheckActivity.e(this.a); } { this.a = this; } }})).show(); int i2 = m + 49; l = i2 % 128; if (i2 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } /* JADX WARN: Code restructure failed: missing block: B:29:0x00d3, code lost: if (r23[r1.c] == 1) goto L29; */ /* JADX WARN: Code restructure failed: missing block: B:30:0x014e, code lost: r4 = r1.c; */ /* JADX WARN: Code restructure failed: missing block: B:31:0x0155, code lost: r11 = new java.lang.Object[]{java.lang.Integer.valueOf(r0[r1.c]), java.lang.Integer.valueOf(r2)}; r2 = o.xzZ.y.get(1084521042); */ /* JADX WARN: Code restructure failed: missing block: B:32:0x0172, code lost: if (r2 == null) goto L40; */ /* JADX WARN: Code restructure failed: missing block: B:35:0x01bb, code lost: r3[r4] = ((java.lang.Character) ((java.lang.reflect.Method) r2).invoke(null, r11)).charValue(); */ /* JADX WARN: Code restructure failed: missing block: B:36:0x01bd, code lost: r2 = r3[r1.c]; */ /* JADX WARN: Code restructure failed: missing block: B:38:0x01c1, code lost: r4 = new java.lang.Object[]{r1, r1}; r8 = o.xzZ.y.get(1698744941); */ /* JADX WARN: Code restructure failed: missing block: B:39:0x01d2, code lost: if (r8 == null) goto L47; */ /* JADX WARN: Code restructure failed: missing block: B:41:0x0221, code lost: ((java.lang.reflect.Method) r8).invoke(null, r4); */ /* JADX WARN: Code restructure failed: missing block: B:42:0x0227, code lost: r4 = com.scb.phone.view.activity.facialrecognition.BotCommonLivenessCheckActivity.$10 + 75; com.scb.phone.view.activity.facialrecognition.BotCommonLivenessCheckActivity.$11 = r4 % 128; r4 = r4 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:43:0x01d5, code lost: r8 = (java.lang.Class) o.xzZ.c((android.view.ViewConfiguration.getTapTimeout() >> 16) + 402, android.view.View.MeasureSpec.getMode(0) + 5, (char) (21608 - (android.graphics.PointF.length(com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.graphics.PointF.length(com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)))); r12 = (byte) 0; r9 = new java.lang.Object[1]; az(r12, (byte) (r12 | com.google.common.base.Ascii.CAN), (byte) (-1), r9); r8 = r8.getMethod((java.lang.String) r9[0], java.lang.Object.class, java.lang.Object.class); o.xzZ.y.put(1698744941, r8); */ /* JADX WARN: Code restructure failed: missing block: B:45:0x0233, code lost: r0 = move-exception; */ /* JADX WARN: Code restructure failed: missing block: B:46:0x0234, code lost: r1 = r0.getCause(); */ /* JADX WARN: Code restructure failed: missing block: B:47:0x0238, code lost: if (r1 != null) goto L53; */ /* JADX WARN: Code restructure failed: missing block: B:48:0x023a, code lost: throw r1; */ /* JADX WARN: Code restructure failed: missing block: B:49:0x023b, code lost: throw r0; */ /* JADX WARN: Code restructure failed: missing block: B:50:0x0175, code lost: r2 = ((java.lang.Class) o.xzZ.c(15 - android.text.TextUtils.getOffsetBefore("", 0), (android.view.ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (58134 - android.graphics.Color.red(0)))).getMethod("H", java.lang.Integer.TYPE, java.lang.Integer.TYPE); o.xzZ.y.put(1084521042, r2); */ /* JADX WARN: Code restructure failed: missing block: B:52:0x00dd, code lost: r4 = r1.c; r9 = r0[r1.c]; */ /* JADX WARN: Code restructure failed: missing block: B:53:0x00e4, code lost: r12 = new java.lang.Object[2]; r12[r8] = java.lang.Integer.valueOf(r2); r12[0] = java.lang.Integer.valueOf(r9); r2 = o.xzZ.y.get(850398076); */ /* JADX WARN: Code restructure failed: missing block: B:54:0x0100, code lost: if (r2 == null) goto L33; */ /* JADX WARN: Code restructure failed: missing block: B:57:0x014b, code lost: r3[r4] = ((java.lang.Character) ((java.lang.reflect.Method) r2).invoke(null, r12)).charValue(); */ /* JADX WARN: Code restructure failed: missing block: B:58:0x0103, code lost: r2 = ((java.lang.Class) o.xzZ.c((android.widget.ExpandableListView.getPackedPositionForChild(0, 0) > 0 ? 1 : (android.widget.ExpandableListView.getPackedPositionForChild(0, 0) == 0 ? 0 : -1)) + 503, android.widget.ExpandableListView.getPackedPositionGroup(0) + 5, (char) ((android.view.ViewConfiguration.getEdgeSlop() >> 16) + 54))).getMethod("F", java.lang.Integer.TYPE, java.lang.Integer.TYPE); o.xzZ.y.put(850398076, r2); */ /* JADX WARN: Code restructure failed: missing block: B:60:0x00db, code lost: if (r23[r1.c] == 1) goto L29; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void ax(int[] r21, boolean r22, byte[] r23, java.lang.Object[] r24) { /* Method dump skipped, instructions count: 663 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.facialrecognition.BotCommonLivenessCheckActivity.ax(int[], boolean, byte[], java.lang.Object[]):void"); } @Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity public final void J() { int i = 2 % 2; int i2 = l + 75; m = i2 % 128; int i3 = i2 % 2; super.J(); int i4 = m + 79; l = i4 % 128; int i5 = i4 % 2; } public final void s() { int i = 2 % 2; int i2 = m + 1; l = i2 % 128; int i3 = i2 % 2; super.r(); if (i3 == 0) { int i4 = 70 / 0; } } private static /* synthetic */ Object d(Object[] objArr) { BotCommonLivenessCheckActivity botCommonLivenessCheckActivity = (BotCommonLivenessCheckActivity) objArr[0]; int i = 2 % 2; int i2 = m + 119; l = i2 % 128; int i3 = i2 % 2; super.ax_(); int i4 = m + 29; l = i4 % 128; int i5 = i4 % 2; return null; } public final void K() { int i = 2 % 2; int i2 = l + 3; m = i2 % 128; int i3 = i2 % 2; super.J(); if (i3 != 0) { int i4 = 15 / 0; } } @Override // com.scb.phone.view.activity.facialrecognition.Hilt_BotCommonLivenessCheckActivity, 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() { int i = 2 % 2; int i2 = m + 121; l = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); Object obj = null; if (baseContext == null) { int i4 = m + 61; l = i4 % 128; int i5 = i4 % 2; Object[] objArr = new Object[1]; ay(new char[]{18202, 18299, 17729, 44122, 24168, 34518, 36070, 15099, 58017, 51809, 9906, 58571, 3283, 28716, 16522, 36607, 46631, 40915, 39546, 11108, 53308, 50669, 13350, 54528, 31338, 25520, 19988, 32560, 42371, 35144}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_activate_contact_message).substring(35, 37).codePointAt(0) - 54, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ay(new char[]{31707, 31672, 59539, 403, 32912, 3810, 21000, 45775, 56938, 26548, 63578, 27792, 12291, 56830, 40558, 1676, 35524, 12803, 17538, 41808, 60644, 26680}, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i6 = m + 45; l = i6 % 128; if (i6 % 2 == 0) { baseContext.getApplicationContext(); obj.hashCode(); throw null; } baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i7 = l + 103; m = i7 % 128; try { if (i7 % 2 != 0) { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(492 - View.resolveSizeAndState(0, 0, 0), 5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj3 = xzZ.y.get(1378719468); if (obj3 == null) { obj3 = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 487, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) TextUtils.getOffsetBefore("", 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj3); } ((Method) obj3).invoke(invoke, objArr3); int i8 = 21 / 0; } else { Object obj4 = xzZ.y.get(125943855); if (obj4 == null) { obj4 = ((Class) xzZ.c(492 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) View.MeasureSpec.getMode(0))).getMethod("a", null); xzZ.y.put(125943855, obj4); } Object invoke2 = ((Method) obj4).invoke(null, null); Object[] objArr4 = {baseContext}; Object obj5 = xzZ.y.get(1378719468); if (obj5 == null) { obj5 = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 487, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj5); } ((Method) obj5).invoke(invoke2, objArr4); } } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } @Override // com.scb.phone.view.activity.facialrecognition.Hilt_BotCommonLivenessCheckActivity, 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() { int i = 2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { int i2 = l + 87; m = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; ay(new char[]{18202, 18299, 17729, 44122, 24168, 34518, 36070, 15099, 58017, 51809, 9906, 58571, 3283, 28716, 16522, 36607, 46631, 40915, 39546, 11108, 53308, 50669, 13350, 54528, 31338, 25520, 19988, 32560, 42371, 35144}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ay(new char[]{31707, 31672, 59539, 403, 32912, 3810, 21000, 45775, 56938, 26548, 63578, 27792, 12291, 56830, 40558, 1676, 35524, 12803, 17538, 41808, 60644, 26680}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_coin_more_detail_header_1).substring(0, 20).length() - 19, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i4 = l + 21; m = i4 % 128; if (i4 % 2 != 0) { baseContext.getApplicationContext(); throw null; } baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i5 = l + 103; m = i5 % 128; int i6 = i5 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) Color.alpha(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(488 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (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(); } public static /* synthetic */ void e(BotCommonLivenessCheckActivity botCommonLivenessCheckActivity) { int i = 2 % 2; int i2 = m + 43; l = i2 % 128; int i3 = i2 % 2; C14957gcv.e(botCommonLivenessCheckActivity, ""); botCommonLivenessCheckActivity.setResult(i3 == 0 ? 1 : 0); botCommonLivenessCheckActivity.finish(); } public static /* synthetic */ void a(BotCommonLivenessCheckActivity botCommonLivenessCheckActivity) { int i = 2 % 2; C14957gcv.e(botCommonLivenessCheckActivity, ""); Intent intent = new Intent("android.settings.APPLICATION_DETAILS_SETTINGS"); intent.setData(Uri.fromParts("package", botCommonLivenessCheckActivity.getPackageName(), null)); botCommonLivenessCheckActivity.startActivity(intent); int i2 = l + 75; m = i2 % 128; int i3 = i2 % 2; } static void L() { k = new char[]{40029, 40108, 40105, 40097, 40122, 40099, 40110, 40108, 40098, 40101, 40097, 40111, 40076, 40071, 40100, 40069, 40054, 40084, 39973, 40062, 40060, 40061, 40062, 40043, 40020, 40023, 40056, 40064, 40071, 40069, 40063, 40022, 40020, 40023, 40017, 40056, 40060, 40060, 40062, 40062, 40062, 40060, 40051, 40061, 40056, 40023, 40021, 40021, 40016, 40056, 40061, 40021, 40056, 40056, 40056, 40057, 40021, 40061, 40065, 40071, 40070, 40063, 40056, 40063, 40021, 40022}; f7143o = 48753574483013930L; } @Override // com.scb.phone.view.activity.facialrecognition.Hilt_BotCommonLivenessCheckActivity, 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 public final void attachBaseContext(Context context) { e(new Object[]{this, context}, 2122331331, -2122331329, System.identityHashCode(this)); } @Override // com.scb.phone.view.activity.facialrecognition.Hilt_BotCommonLivenessCheckActivity, 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 = l + 97; m = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = m + 83; l = i4 % 128; int i5 = i4 % 2; } @Override // o.InterfaceC9615dnA public final void m() { e(new Object[]{this}, 1985936859, -1985936858, ((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) + 1343954087); } public final void k() { e(new Object[]{this}, -1535471002, 1535471002, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1410165275); } static { l = 1; L(); b = new HBt((byte) 0); int i = m + 115; l = i % 128; if (i % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } }