what-the-bank/sources/com/scb/phone/view/activity/facialrecognition/Hilt_BotCommonLivenessCheck...

603 lines
37 KiB
Java

package com.scb.phone.view.activity.facialrecognition;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
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.ndid.BaseLivenessCheckActivity;
import java.lang.reflect.Method;
import o.C4593bdB;
import o.IRS;
import o.InterfaceC17278vUG;
import o.InterfaceC8471dMS;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public abstract class Hilt_BotCommonLivenessCheckActivity extends BaseLivenessCheckActivity {
private boolean b = false;
private static final byte[] $$p = {14, 104, 7, -34};
private static final int $$q = 93;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
private static int q = 1;
private static char[] m = {49029, 49043, 49104, 49106, 49111, 49028, 49098, 49031, 49034, 49049, 49126, 49024, 49114, 49052, 49118, 49025, 49105, 49116, 49053, 49123, 49035, 49089, 49117, 49110, 49088, 49055, 49026, 49054, 49041, 49030, 49051, 49027, 49040, 49109, 49050, 49048};
/* renamed from: o, reason: collision with root package name */
private static char f7146o = 35375;
private static long l = 2062686169707532962L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x0027). 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 r5, int r6, short r7, java.lang.Object[] r8) {
/*
int r6 = r6 * 2
int r6 = 4 - r6
int r5 = r5 * 2
int r0 = r5 + 1
int r7 = r7 + 77
byte[] r1 = com.scb.phone.view.activity.facialrecognition.Hilt_BotCommonLivenessCheckActivity.$$p
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r4 = r7
r3 = r2
r7 = r5
goto L27
L15:
r3 = r2
L16:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r5) goto L23
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L23:
int r3 = r3 + 1
r4 = r1[r6]
L27:
int r7 = r7 + r4
int r6 = r6 + 1
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.facialrecognition.Hilt_BotCommonLivenessCheckActivity.aC(int, int, short, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_BotCommonLivenessCheckActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.facialrecognition.Hilt_BotCommonLivenessCheckActivity.1
private Hilt_BotCommonLivenessCheckActivity d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.d.M();
}
});
}
@Override // o.AbstractActivityC11247ebj
public final void M() {
InterfaceC8471dMS interfaceC8471dMS;
int i = 2 % 2;
int i2 = k + 125;
int i3 = i2 % 128;
q = i3;
int i4 = i2 % 2;
if (!this.b) {
int i5 = i3 + 83;
k = i5 % 128;
if (i5 % 2 != 0) {
this.b = true;
interfaceC8471dMS = (InterfaceC8471dMS) y_();
} else {
this.b = true;
interfaceC8471dMS = (InterfaceC8471dMS) y_();
}
interfaceC8471dMS.b((BotCommonLivenessCheckActivity) this);
}
int i6 = q + 117;
k = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 87 / 0;
}
}
private static void aB(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = $10 + 57;
$11 = i3 % 128;
int i4 = i3 % 2;
int i5 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 402, (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (21608 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (l ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 238, 5 - (Process.myTid() >> 22), (char) KeyEvent.keyCodeFromString(""));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $11 + 73;
$10 = i6 % 128;
if (i6 % 2 != 0) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(237 - TextUtils.lastIndexOf("", '0'), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (TextUtils.indexOf((CharSequence) "", '0') + 1));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
Object obj4 = null;
((Method) obj3).invoke(null, objArr6);
obj4.hashCode();
throw null;
}
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls4 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 239, 5 - (Process.myTid() >> 22), (char) TextUtils.getCapsMode("", 0, 0));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
aC(b7, b8, (byte) (b8 + 1), objArr9);
obj5 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
objArr[0] = new String(cArr2);
}
@Override // 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;
int i2 = q + 125;
k = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{4, 21, 3, 22, '\f', '\r', 0, 22, '\f', 29, 19, 20, 23, 15, 5, 20, 13926, 13926}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 112), 19 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{'\f', '\b', 6, 16, 13850}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 15), 5 - View.combineMeasuredStates(0, 0), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aB(new char[]{16645, 7655, 63706, 22481, 12991, 37292, 27790, 52017, 42605, 1345, 57430, 48997, 6713, 63758, 21990, 12526, 36802, 27312, 51642, 42122, 948, 56957, 48456, 6218, 63293, 21029}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 23755, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(new char[]{16647, 31232, 14132, 61477, 44357, 26207, 9078, 56402, 39324, 21133, 4002, 51382, 34251, 48856, 31742, 13554, 61467, 44331}, (ViewConfiguration.getScrollBarSize() >> 8) + 15121, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = q + 119;
k = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = k + 15;
q = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollDefaultDelay() >> 16), TextUtils.lastIndexOf("", '0', 0) + 6, (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new char[]{16725, 59632, 4630, 48623, 59355, 4392, 47312, 57968, 3102, 47078, 57608, 2820, 45811, 56385, 1981, 45521, 56118, 644, 44064, 54853, 491, 43791, 54535, 31992, 42570, 53689, 31625, 42336, 52435, 30250, 40986, 52200, 30005, 40786, 50938, 28700, 39918, 50574, 28468, 38611, 49198, 27211, 38371, 16176, 26883, 37115, 14923, 26045}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_tab_travel_service_block_domestic_description).substring(23, 24).codePointAt(0) + 43395, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{16641, 7933, 65188, 24304, 16062, 40673, 32434, 56960, 48857, 7810, 65176, 24219, 16018, 40685, 32489, 57056, 48866, 7931, 65267, 24311, 16027, 40645, 32407, 57053, 48863, 7889, 65066, 24190, 15906, 40498, 32318, 56889, 48691, 7688, 65031, 24148, 15901, 40475, 32324, 56891, 48746, 7733, 65067, 24187, 15989, 40522, 32328, 56851, 48656, 7767, 65028, 24146, 16379, 40875, 32675, 57323, 49076, 8164, 65419, 24453, 16262, 40905, 32719, 57284}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_coin_more_detail_description_1_1).substring(0, 61).codePointAt(8) + 20952, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{2, 21, '#', 7, 5, '\t', 13829, 13829, 14, '\t', 17, 29, '\r', '\n', ' ', 19, 4, 15, '\"', ' ', 25, ' ', 3, 17, '\b', 26, '#', 21, 18, 2, '\n', 2, '\n', '\r', 5, 27, 27, 17, 13745, 13745, 25, '#', '#', 17, ' ', 3, 5, 18, 17, 22, 14, 21, 2, 6, ' ', '\"', '!', 1, 3, '\t', 26, 23, 3, 0}, (byte) (7 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_tutorial_just_for_you_description).substring(2, 3).codePointAt(0) - 51, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{16652, 22067, 28502, 1149, 7579, 13041, 52121, 57534, 63503, 37174, 42587, 49032, 21667, 28108, 739, 6660, 13105, 51269, 57713, 63124, 36793, 42199, 48132, 21792, 27202, 868, 6340, 12705, 50904, 57313, 63259, 35896, 42352, 47748, 21411, 26846, 508, 6469, 11825, 51012, 56445, 62861, 35518, 41974, 47889, 20534, 26959, 32379, 6033, 11513, 50641, 56050, 61973, 35700, 41063, 47505, 20133, 26496, 31971, 5147, 11575, 49750, 56173, 61581, 35211, 40689, 46672, 20322, 25677, 32125, 4755, 11199, 49352, 55788}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.one_point_redemption).substring(0, 18).codePointAt(15) + 5818, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new char[]{6, 20, 21, 19, 13808}, (byte) (Gravity.getAbsoluteGravity(0, 0) + 70), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new char[]{21, 5, '\r', '\t', 2, '\n', '\r', 1, 24, 3, '#', 19, 15, NistHelper.SEP_FS, '\t', '\r', 13795, 13795, '!', '\t', 17, 22, 3, 26, 14, 3, 21, '\t', 11, 29, 5, 26, 11, 25, 29, 20}, (byte) (Drawable.resolveOpacity(0, 0) + 56), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 35, 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((Process.myPid() >> 22) + 487, 5 - TextUtils.indexOf("", "", 0, 0), (char) (Process.myPid() >> 22))).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);
int i8 = q + 121;
k = i8 % 128;
if (i8 % 2 != 0) {
int i9 = 80 / 0;
}
}
@Override // 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;
int i2 = k + 97;
q = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = k + 73;
q = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
aB(new char[]{16645, 7655, 63706, 22481, 12991, 37292, 27790, 52017, 42605, 1345, 57430, 48997, 6713, 63758, 21990, 12526, 36802, 27312, 51642, 42122, 948, 56957, 48456, 6218, 63293, 21029}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_mobile_no_title).substring(0, 10).length() + 23779, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{16647, 31232, 14132, 61477, 44357, 26207, 9078, 56402, 39324, 21133, 4002, 51382, 34251, 48856, 31742, 13554, 61467, 44331}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_no_blurry).substring(0, 2).length() + 15119, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i5 = k + 77;
q = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - (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)), (char) View.MeasureSpec.getSize(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - Color.alpha(0), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) ((-1) - TextUtils.lastIndexOf("", '0')))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
/* JADX WARN: Code restructure failed: missing block: B:38:0x0021, code lost:
r6 = new java.lang.Object[1];
aB(new char[]{16645, 7655, 63706, 22481, 12991, 37292, 27790, 52017, 42605, 1345, 57430, 48997, 6713, 63758, 21990, 12526, 36802, 27312, 51642, 42122, 948, 56957, 48456, 6218, 63293, 21029}, 23789 - (android.media.AudioTrack.getMinVolume() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.media.AudioTrack.getMinVolume() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)), r6);
r1 = java.lang.Class.forName((java.lang.String) r6[0]);
r7 = (java.lang.Object[]) null;
r7 = new java.lang.Object[1];
aB(new char[]{16647, 31232, 14132, 61477, 44357, 26207, 9078, 56402, 39324, 21133, 4002, 51382, 34251, 48856, 31742, 13554, 61467, 44331}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.fatca_question_title).substring(11, 12).length() + 15120, r7);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@Override // 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onPause() {
/*
Method dump skipped, instructions count: 506
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.facialrecognition.Hilt_BotCommonLivenessCheckActivity.onPause():void");
}
private static void aA(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object obj;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = m;
Object obj2 = null;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
for (int i4 = 0; i4 < length; i4++) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i4])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(298 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 5 - View.resolveSizeAndState(0, 0, 0), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 | 40), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i4] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(f7146o)};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 298, 4 - Process.getGidForName(""), (char) Color.red(0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 | 40), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i5 = $10 + 115;
$11 = i5 % 128;
int i6 = i5 % 2;
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i7 = $11 + 7;
$10 = i7 % 128;
int i8 = i7 % 2;
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
obj = obj2;
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(233 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (22024 - View.combineMeasuredStates(0, 0)));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, (byte) (b7 | 43), objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
int i9 = $11 + 113;
$10 = i9 % 128;
int i10 = i9 % 2;
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 327, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (Process.myPid() >> 22));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
aC(b8, b9, (byte) (b9 | 41), objArr9);
obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i11];
} else {
obj = null;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i12 = (irs.a * charValue) + irs.f;
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i12];
cArr4[irs.e + 1] = cArr2[i13];
int i14 = $10 + 43;
$11 = i14 % 128;
int i15 = i14 % 2;
} else {
int i16 = (irs.a * charValue) + irs.j;
int i17 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i16];
cArr4[irs.e + 1] = cArr2[i17];
}
}
}
irs.e += 2;
obj2 = obj;
}
}
int i18 = $10 + 103;
$11 = i18 % 128;
int i19 = i18 % 2;
for (int i20 = 0; i20 < i; i20++) {
cArr4[i20] = (char) (cArr4[i20] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // 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) {
Context context2;
int i = 2 % 2;
int i2 = q + 97;
k = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{4, 21, 3, 22, '\f', '\r', 0, 22, '\f', 29, 19, 20, 23, 15, 5, 20, 13926, 13926}, (byte) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 124), 18 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{'\f', '\b', 6, 16, 13850}, (byte) (28 - TextUtils.getCapsMode("", 0, 0)), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, 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) {
int i4 = k + 81;
q = i4 % 128;
if (i4 % 2 == 0) {
context2 = context.getApplicationContext();
int i5 = 23 / 0;
} else {
context2 = context.getApplicationContext();
}
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0, 0), TextUtils.indexOf("", "") + 5, (char) View.combineMeasuredStates(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new char[]{16725, 59632, 4630, 48623, 59355, 4392, 47312, 57968, 3102, 47078, 57608, 2820, 45811, 56385, 1981, 45521, 56118, 644, 44064, 54853, 491, 43791, 54535, 31992, 42570, 53689, 31625, 42336, 52435, 30250, 40986, 52200, 30005, 40786, 50938, 28700, 39918, 50574, 28468, 38611, 49198, 27211, 38371, 16176, 26883, 37115, 14923, 26045}, 43428 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new char[]{16641, 7933, 65188, 24304, 16062, 40673, 32434, 56960, 48857, 7810, 65176, 24219, 16018, 40685, 32489, 57056, 48866, 7931, 65267, 24311, 16027, 40645, 32407, 57053, 48863, 7889, 65066, 24190, 15906, 40498, 32318, 56889, 48691, 7688, 65031, 24148, 15901, 40475, 32324, 56891, 48746, 7733, 65067, 24187, 15989, 40522, 32328, 56851, 48656, 7767, 65028, 24146, 16379, 40875, 32675, 57323, 49076, 8164, 65419, 24453, 16262, 40905, 32719, 57284}, 24571 - (ViewConfiguration.getDoubleTapTimeout() >> 16), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new char[]{2, 21, '#', 7, 5, '\t', 13829, 13829, 14, '\t', 17, 29, '\r', '\n', ' ', 19, 4, 15, '\"', ' ', 25, ' ', 3, 17, '\b', 26, '#', 21, 18, 2, '\n', 2, '\n', '\r', 5, 27, 27, 17, 13745, 13745, 25, '#', '#', 17, ' ', 3, 5, 18, 17, 22, 14, 21, 2, 6, ' ', '\"', '!', 1, 3, '\t', 26, 23, 3, 0}, (byte) (6 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)), 64 - (ViewConfiguration.getWindowTouchSlop() >> 8), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{16652, 22067, 28502, 1149, 7579, 13041, 52121, 57534, 63503, 37174, 42587, 49032, 21667, 28108, 739, 6660, 13105, 51269, 57713, 63124, 36793, 42199, 48132, 21792, 27202, 868, 6340, 12705, 50904, 57313, 63259, 35896, 42352, 47748, 21411, 26846, 508, 6469, 11825, 51012, 56445, 62861, 35518, 41974, 47889, 20534, 26959, 32379, 6033, 11513, 50641, 56050, 61973, 35700, 41063, 47505, 20133, 26496, 31971, 5147, 11575, 49750, 56173, 61581, 35211, 40689, 46672, 20322, 25677, 32125, 4755, 11199, 49352, 55788}, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 5924, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{6, 20, 21, 19, 13808}, (byte) (71 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))), View.getDefaultSize(0, 0) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{21, 5, '\r', '\t', 2, '\n', '\r', 1, 24, 3, '#', 19, 15, NistHelper.SEP_FS, '\t', '\r', 13795, 13795, '!', '\t', 17, 22, 3, 26, 14, 3, 21, '\t', 11, 29, 5, 26, 11, 25, 29, 20}, (byte) (57 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 36, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - TextUtils.indexOf("", ""), TextUtils.indexOf("", "", 0, 0) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i6 = q + 101;
k = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i8 = k + 31;
q = i8 % 128;
int i9 = i8 % 2;
}
@Override // 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 = q + 71;
k = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 9 / 0;
}
int i5 = k + 103;
q = i5 % 128;
int i6 = i5 % 2;
}
}