what-the-bank/sources/com/scb/phone/view/activity/ndid/IdpLivenessCheckActivity.java

685 lines
41 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ndid;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Build;
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.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC11244ebg;
import o.AbstractC4304bWR;
import o.C11258ebu;
import o.C3614bBe;
import o.C4338bXP;
import o.GuL;
import o.InterfaceC13391fZD;
import o.InterfaceC15577gud;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class IdpLivenessCheckActivity extends AbstractActivityC11244ebg {
@InterfaceC13391fZD
public C4338bXP livenessCheckPresenter;
private static final byte[] $$p = {74, -120, -98, -119};
private static final int $$q = CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int t = 1;
private static long b = 8138392373404571695L;
/* renamed from: o, reason: collision with root package name */
private static char[] f7608o = {16099, 15903, 16123, 16111, 16106, 16107, 16104, 16092, 16090, 16095, 16091, 16088, 16093, 16039, 16105, 16119, 16089, 16038, 16094, 16108, 16110, 15898, 16102, 15897, 16080, 16037, 16101, 15896, 16098, 16100, 16097, 16036, 16109, 15899, 16103, 15900, 16035};
private static int k = 1934311062;
private static boolean m = true;
private static boolean l = true;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4: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, short r7, int r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 3
int r8 = 1 - r8
int r6 = r6 + 65
byte[] r0 = com.scb.phone.view.activity.ndid.IdpLivenessCheckActivity.$$p
int r7 = r7 * 2
int r7 = 4 - r7
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L14
r3 = r7
r4 = r2
goto L2a
L14:
r3 = r2
L15:
byte r4 = (byte) r6
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r8) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r4 = r0[r7]
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2a:
int r6 = r6 + r7
int r7 = r3 + 1
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndid.IdpLivenessCheckActivity.aC(short, short, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
Context context = (Context) objArr[0];
int i4 = 2 % 2;
Intent putExtra = new Intent(context, (Class<?>) IdpLivenessCheckActivity.class).putExtra("com.scb.phone.EXTRA_REQUEST_ID", (String) objArr[1]);
int i5 = r + 115;
t = i5 % 128;
int i6 = i5 % 2;
return putExtra;
}
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 = $10 + 95;
$11 = i3 % 128;
int i4 = i3 % 2;
while (guL.a < a.length) {
int i5 = $10 + 109;
$11 = 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(208 - View.MeasureSpec.getSize(0), Process.getGidForName("") + 6, (char) ((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 1706));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aC((byte) 54, b2, b2, 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(392 - ExpandableListView.getPackedPositionType(0L), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) 56, b3, b3, 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 // o.AbstractActivityC11244ebg, 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 void onCreate(Bundle bundle) {
int i = 2 % 2;
Object obj = null;
Object[] objArr = new Object[1];
aA(new char[]{38122, 25431, 17334, 25106, 38027, 41801, 49970, 9008, 38213, 41230, 49522, 8492, 38661, 41172, 51192, 9874, 37336, 42632, 50677, 9447, 37785, 42068}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(null, null, TextUtils.lastIndexOf("", '0') + 128, new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, 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[]{34340, 28921, 8756, 45071, 34373, 45287, 41648, 61741, 34699, 45728, 41200, 62257, 34245, 45945, 42532, 62705, 33573, 46378, 42080, 63222, 33106, 47072, 42400, 63526, 36528, 47521, 44006, 64122, 36037, 47725}, (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)), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new char[]{857, 45760, 13871, 9289, 826, 29381, 46781, 25963, 764, 28830, 46331, 26392, 169, 28992, 45603, 24816, 1658, 30481, 45179, 25264, 1078, 30174}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i2 = r + 23;
t = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = t + 33;
r = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = t + 85;
r = i6 % 128;
int i7 = i6 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(493 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), KeyEvent.normalizeMetaState(0) + 5, (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new char[]{49665, 1226, 6880, 51659, 49712, 50317, 39476, 35065, 50162, 50841, 38950, 35514, 49635, 50947, 40626, 36218, 51058, 49432, 40179, 36707, 50531, 50057, 40242, 33187, 51954, 52686, 37665, 33762, 51431, 52748, 37347, 33326, 52770, 51267, 38820, 33898, 52272, 51855, 37944, 34474, 52647, 54431, 35362, 39097, 54195, 54542, 35001, 39726, 53538, 55106, 36517, 40303}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-122, -112, ISOFileInfo.FCI_EXT, -120, -109, ISOFileInfo.CHANNEL_SECURITY, -113, -109, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -109, -113, ISOFileInfo.ENV_TEMP_EF, -108, -109, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_EXP, -120, -112, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.FCI_EXT, ISOFileInfo.FCI_EXT, -109, ISOFileInfo.SECURITY_ATTR_EXP, -112, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, -109, -110, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, -113, -110, -120, -111, -119, -112, -120, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, -119, -120, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -122, -120, ISOFileInfo.FCI_EXT, -122}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{54256, 24062, 49125, 19039, 54161, 40374, 16181, 2876, 53841, 40957, 15648, 2346, 53314, 40503, 15286, 3818, 54994, 39034, 14837, 3319, 54417, 39660, 14435, 575, 56065, 38142, 13938, UrlTreeKt.componentParamSuffixChar, 55571, 38710, 13539, 490, 57224, 37240, 13052, 1963, 56772, 37868, 12644, 1338, 56325, 36348, 12148, 7038, 49733, 35902, 11696, 6332, 49366, 36397, 11251, 7850, 50834, 35051, 10807, 7223, 50438, 35575, 10357, 4649, 52032, 34159, 9955, 5102, 51589, 34678, 9382, 4600}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.redeem_ssf_or_tesg_dialog_description).substring(21, 22).length() - 1, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 114, new byte[]{-104, -106, -98, -122, -92, -122, -102, ISOFileInfo.SECURITY_ATTR_COMPACT, -92, -102, -106, -104, -122, ISOFileInfo.A1, -98, -124, -102, -124, -105, -112, -102, ISOFileInfo.DATA_BYTES2, -101, -113, ISOFileInfo.A0, -122, -100, -112, -94, -93, -104, ISOFileInfo.PROP_INFO, -100, -112, -94, ISOFileInfo.A1, ISOFileInfo.A0, -106, -104, -112, -113, -106, -112, -122, -100, -107, -106, ISOFileInfo.A0, -97, -98, -112, ISOFileInfo.FCI_EXT, -99, -112, -124, -113, -100, -122, ISOFileInfo.DATA_BYTES2, ISOFileInfo.DATA_BYTES2, -101, -113, ISOFileInfo.DATA_BYTES2, -112, -124, -104, -102, -102, -103, -104, -105, -106, -106, -107}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new char[]{46645, 48664, 42885, 46451, 46604, 32326, 10077, 62477, 47045}, Process.myTid() >> 22, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_EXP, -119, ISOFileInfo.SECURITY_ATTR_EXP, -113, -122, ISOFileInfo.ENV_TEMP_EF, -112, ISOFileInfo.SECURITY_ATTR_COMPACT, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.A5, -113, -122, ISOFileInfo.FCI_EXT, -112, ISOFileInfo.A5, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_COMPACT, -119, ISOFileInfo.A5, ISOFileInfo.FCI_EXT, -122, -110, -120, ISOFileInfo.A5, -110, -119, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -119, ISOFileInfo.SECURITY_ATTR_COMPACT, -112, -122}, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 486, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
this.livenessCheckPresenter.d(getIntent().getStringExtra("com.scb.phone.EXTRA_REQUEST_ID"));
if (Build.VERSION.SDK_INT >= 33) {
int i8 = t + 1;
r = i8 % 128;
if (i8 % 2 == 0) {
C11258ebu.d(this);
return;
} else {
C11258ebu.d(this);
obj.hashCode();
throw null;
}
}
C11258ebu.e(this);
}
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public void onDestroy() {
int i = 2 % 2;
int i2 = t + 19;
r = i2 % 128;
int i3 = i2 % 2;
super.onDestroy();
this.livenessCheckPresenter.w_();
int i4 = t + 23;
r = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity
public final void r() {
int i = 2 % 2;
int i2 = t + 15;
r = i2 % 128;
int i3 = i2 % 2;
super.r();
int i4 = t + 73;
r = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 94 / 0;
}
}
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity
public final void ax_() {
int i = 2 % 2;
int i2 = r + 17;
t = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.ax_();
if (i3 == 0) {
throw null;
}
int i4 = r + 91;
t = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
private static void aB(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
char[] cArr2;
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = f7608o;
char c = '0';
int i3 = 0;
if (cArr3 != null) {
int length = cArr3.length;
char[] cArr4 = new char[length];
int i4 = 0;
while (i4 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr3[i4]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 337, AndroidCharacter.getMirror(c) - '+', (char) TextUtils.getTrimmedLength(""));
byte b2 = (byte) i3;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aC(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr4[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i4++;
c = '0';
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
try {
Object[] objArr4 = {Integer.valueOf(k)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 284, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (39813 - (ViewConfiguration.getLongPressTimeout() >> 16)));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) 57, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (!(!l)) {
int i5 = $11 + 73;
$10 = i5 % 128;
if (i5 % 2 != 0) {
c3614bBe.c = bArr.length;
cArr2 = new char[c3614bBe.c];
c3614bBe.a = 1;
} else {
c3614bBe.c = bArr.length;
cArr2 = new char[c3614bBe.c];
c3614bBe.a = 0;
}
while (c3614bBe.a < c3614bBe.c) {
cArr2[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(40 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) View.MeasureSpec.getSize(0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr2);
return;
}
if (!(!m)) {
int i6 = $11 + 57;
$10 = i6 % 128;
int i7 = i6 % 2;
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 40, TextUtils.getTrimmedLength("") + 5, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
String str = new String(cArr5);
int i8 = $11 + 93;
$10 = i8 % 128;
if (i8 % 2 == 0) {
objArr[0] = str;
return;
} else {
int i9 = 23 / 0;
objArr[0] = str;
return;
}
}
int i10 = 0;
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i10;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
} else {
cArr6[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i10 = c3614bBe.a + 1;
}
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity
public final void d(InterfaceC15577gud interfaceC15577gud) {
int i = 2 % 2;
int i2 = t + 57;
r = i2 % 128;
int i3 = i2 % 2;
super.d(interfaceC15577gud);
int i4 = r + 1;
t = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity
public final void J() {
int i = 2 % 2;
int i2 = r + 91;
t = i2 % 128;
int i3 = i2 % 2;
super.J();
if (i3 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public final void m() {
int i = 2 % 2;
int i2 = t + 75;
r = i2 % 128;
int i3 = i2 % 2;
super.J();
if (i3 != 0) {
throw null;
}
int i4 = t + 53;
r = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 36 / 0;
}
}
@Override // o.AbstractActivityC11244ebg, 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 void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new char[]{34340, 28921, 8756, 45071, 34373, 45287, 41648, 61741, 34699, 45728, 41200, 62257, 34245, 45945, 42532, 62705, 33573, 46378, 42080, 63222, 33106, 47072, 42400, 63526, 36528, 47521, 44006, 64122, 36037, 47725}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{857, 45760, 13871, 9289, 826, 29381, 46781, 25963, 764, 28830, 46331, 26392, 169, 28992, 45603, 24816, 1658, 30481, 45179, 25264, 1078, 30174}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i2 = r + 109;
t = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getWindowTouchSlop() >> 8), (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)) + 5, (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).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(AndroidCharacter.getMirror('0') + 439, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i4 = r + 71;
t = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC11244ebg, 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 void onPause() {
int i = 2 % 2;
int i2 = r + 13;
t = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new char[]{34340, 28921, 8756, 45071, 34373, 45287, 41648, 61741, 34699, 45728, 41200, 62257, 34245, 45945, 42532, 62705, 33573, 46378, 42080, 63222, 33106, 47072, 42400, 63526, 36528, 47521, 44006, 64122, 36037, 47725}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 46, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{857, 45760, 13871, 9289, 826, 29381, 46781, 25963, 764, 28830, 46331, 26392, 169, 28992, 45603, 24816, 1658, 30481, 45179, 25264, 1078, 30174}, ((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_accounts_remark_2).substring(75, 76).length() - 1, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = t + 69;
r = i3 % 128;
try {
if (i3 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - ((Process.getThreadPriority(0) + 20) >> 6), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 487, 4 - ImageFormat.getBitsPerPixel(0), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - (KeyEvent.getMaxKeyCode() >> 16), 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) Color.green(0))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollBarSize() >> 8), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // o.AbstractActivityC11244ebg, 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 void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = r + 77;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{38122, 25431, 17334, 25106, 38027, 41801, 49970, 9008, 38213, 41230, 49522, 8492, 38661, 41172, 51192, 9874, 37336, 42632, 50677, 9447, 37785, 42068}, 1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(null, null, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 127, new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
context = context.getApplicationContext();
int i4 = t + 41;
r = i4 % 128;
int i5 = i4 % 2;
}
if (context != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getFadingEdgeLength() >> 16), (Process.myTid() >> 22) + 5, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new char[]{49665, 1226, 6880, 51659, 49712, 50317, 39476, 35065, 50162, 50841, 38950, 35514, 49635, 50947, 40626, 36218, 51058, 49432, 40179, 36707, 50531, 50057, 40242, 33187, 51954, 52686, 37665, 33762, 51431, 52748, 37347, 33326, 52770, 51267, 38820, 33898, 52272, 51855, 37944, 34474, 52647, 54431, 35362, 39097, 54195, 54542, 35001, 39726, 53538, 55106, 36517, 40303}, TextUtils.indexOf((CharSequence) "", '0') + 1, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(null, null, TextUtils.indexOf((CharSequence) "", '0', 0) + 128, new byte[]{-122, -112, ISOFileInfo.FCI_EXT, -120, -109, ISOFileInfo.CHANNEL_SECURITY, -113, -109, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -109, -113, ISOFileInfo.ENV_TEMP_EF, -108, -109, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_EXP, -120, -112, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.FCI_EXT, ISOFileInfo.FCI_EXT, -109, ISOFileInfo.SECURITY_ATTR_EXP, -112, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, -109, -110, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, -113, -110, -120, -111, -119, -112, -120, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, -119, -120, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -122, -120, ISOFileInfo.FCI_EXT, -122}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new char[]{54256, 24062, 49125, 19039, 54161, 40374, 16181, 2876, 53841, 40957, 15648, 2346, 53314, 40503, 15286, 3818, 54994, 39034, 14837, 3319, 54417, 39660, 14435, 575, 56065, 38142, 13938, UrlTreeKt.componentParamSuffixChar, 55571, 38710, 13539, 490, 57224, 37240, 13052, 1963, 56772, 37868, 12644, 1338, 56325, 36348, 12148, 7038, 49733, 35902, 11696, 6332, 49366, 36397, 11251, 7850, 50834, 35051, 10807, 7223, 50438, 35575, 10357, 4649, 52032, 34159, 9955, 5102, 51589, 34678, 9382, 4600}, ViewConfiguration.getTapTimeout() >> 16, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(null, null, 127 - Color.alpha(0), new byte[]{-104, -106, -98, -122, -92, -122, -102, ISOFileInfo.SECURITY_ATTR_COMPACT, -92, -102, -106, -104, -122, ISOFileInfo.A1, -98, -124, -102, -124, -105, -112, -102, ISOFileInfo.DATA_BYTES2, -101, -113, ISOFileInfo.A0, -122, -100, -112, -94, -93, -104, ISOFileInfo.PROP_INFO, -100, -112, -94, ISOFileInfo.A1, ISOFileInfo.A0, -106, -104, -112, -113, -106, -112, -122, -100, -107, -106, ISOFileInfo.A0, -97, -98, -112, ISOFileInfo.FCI_EXT, -99, -112, -124, -113, -100, -122, ISOFileInfo.DATA_BYTES2, ISOFileInfo.DATA_BYTES2, -101, -113, ISOFileInfo.DATA_BYTES2, -112, -124, -104, -102, -102, -103, -104, -105, -106, -106, -107}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{46645, 48664, 42885, 46451, 46604, 32326, 10077, 62477, 47045}, ViewConfiguration.getFadingEdgeLength() >> 16, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(null, null, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 126, new byte[]{-122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_EXP, -119, ISOFileInfo.SECURITY_ATTR_EXP, -113, -122, ISOFileInfo.ENV_TEMP_EF, -112, ISOFileInfo.SECURITY_ATTR_COMPACT, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.A5, -113, -122, ISOFileInfo.FCI_EXT, -112, ISOFileInfo.A5, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_COMPACT, -119, ISOFileInfo.A5, ISOFileInfo.FCI_EXT, -122, -110, -120, ISOFileInfo.A5, -110, -119, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -119, ISOFileInfo.SECURITY_ATTR_COMPACT, -112, -122}, objArr8);
Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 486, 4 - TextUtils.lastIndexOf("", '0', 0), (char) View.resolveSizeAndState(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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.AbstractActivityC11244ebg, 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 void onStart() {
int i = 2 % 2;
int i2 = t + 87;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity
protected final AbstractC4304bWR n() {
int i = 2 % 2;
int i2 = r;
int i3 = i2 + 53;
t = i3 % 128;
int i4 = i3 % 2;
C4338bXP c4338bXP = this.livenessCheckPresenter;
int i5 = i2 + 77;
t = i5 % 128;
int i6 = i5 % 2;
return c4338bXP;
}
public static Intent aiN_(Context context, String str) {
return (Intent) e(new Object[]{context, str}, 984263874, -984263874, (int) System.currentTimeMillis());
}
}