what-the-bank/sources/com/scb/phone/view/activity/csent/FaceIdentificationCSentActi...

615 lines
36 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.csent;
import android.content.Context;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
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 androidx.fragment.app.Fragment;
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.fragment.csent.FaceIdentificationCSentFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C14957gcv;
import o.C4593bdB;
import o.IE;
import o.jTb;
import o.xzZ;
/* loaded from: classes4.dex */
public final class FaceIdentificationCSentActivity extends Hilt_FaceIdentificationCSentActivity {
public static final Sts b;
private static long l;
private static char m;
/* renamed from: o, reason: collision with root package name */
private static char f6755o;
private static int q;
private static char r;
private static char t;
private static final byte[] $$p = {ISO7816.INS_CHANGE_CHV, ISOFileInfo.A1, ISO7816.INS_ENVELOPE, -12};
private static final int $$q = 34;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002b). 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 r7, short r8, byte r9, java.lang.Object[] r10) {
/*
byte[] r0 = com.scb.phone.view.activity.csent.FaceIdentificationCSentActivity.$$p
int r9 = r9 * 3
int r9 = 3 - r9
int r7 = r7 * 2
int r7 = 1 - r7
int r8 = 78 - r8
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L14
r3 = r9
r4 = r2
goto L2b
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r8
r1[r3] = r5
int r9 = r9 + 1
if (r4 != r7) goto L26
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L26:
r3 = r0[r9]
r6 = r3
r3 = r9
r9 = r6
L2b:
int r9 = -r9
int r8 = r8 + r9
r9 = r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.csent.FaceIdentificationCSentActivity.aC(int, short, byte, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
FaceIdentificationCSentActivity faceIdentificationCSentActivity = (FaceIdentificationCSentActivity) objArr[0];
Context context = (Context) objArr[1];
int i4 = 2 % 2;
int i5 = q + 101;
s = i5 % 128;
int i6 = i5 % 2;
super.attachBaseContext(context);
Object[] objArr2 = new Object[1];
ay(new char[]{3279, 35577, 184, 40567, 5157, 37850, 10652, 42767, 15625, 46300, 12986, 51341, 18032, 56356, 23507, 53660, 28493, 58644}, 34361 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aB(new char[]{46642, 22194, 5718, 24732, 27860, 40060}, TextUtils.lastIndexOf("", '0', 0, 0) + 6, 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) {
context = context.getApplicationContext();
}
if (context != null) {
int i7 = q + 63;
s = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 492, View.getDefaultSize(0, 0) + 5, (char) KeyEvent.getDeadChar(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = new Object[1];
aB(new char[]{5253, 40653, 21309, 14678, 46942, 29352, 14566, 37795, 58700, 38348, 45034, 61372, 41743, 16429, 28288, 1788, 41837, 24425, 34633, 63597, 38901, 34857, 58015, 42312, 16204, 58099, 954, 26268, 16414, 59915, 45215, 33297, 39415, 58391, 30209, 6530, 32587, 48048, 51858, 50720, 43077, 44461, 8236, 3897, 30346, 59617, 64740, 14056}, View.MeasureSpec.getSize(0) + 48, objArr4);
String str = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new char[]{51919, 54048, 57112, 56583, 16396, 43808, 53454, 50844, 21327, 48181, 36134, 49185, 36134, 49185, 19532, 2448, 26135, 48285, 13885, 65253, 34048, 11874, 63405, 31141, 21562, 34390, 11616, 5204, 50540, 51731, 55465, 48235, 9089, 51988, 43733, 39008, 34897, 3286, 51858, 50720, 16396, 43808, 57175, 61816, 29378, 30865, 16396, 43808, 36199, 1305, 47003, 4331, 30346, 59617, 63976, 19150, 50347, 34859, 10324, 33059, 16396, 43808, 34310, 13517}, TextUtils.getCapsMode("", 0, 0) + 64, objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{3279, 877, 4968, 9068, 13091, 17274, 21289, 25366, 29508, 33604, 37715, 41730, 45832, 49957, 54052, 58147, 62335, 871, 4974, 9023, 13059, 17161, 21259, 25361, 29509, 33557, 37814, 41906, 46050, 50167, 54269, 58287, 62458, 919, 5017, 9162, 13271, 17371, 21469, 25506, 29603, 33709, 37813, 41908, 46060, 50130, 54146, 58334, 62428, 960, 5018, 9111, 12900, 16992, 21100, 25125, 29302, 33324, 37398, 41494, 45647, 49753, 53767, 57948}, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 4091, objArr6);
String str3 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{7642, 7829, 20821, 50357, 12647, 41609, 605, 39630, 10246, 38184, 50795, 28602, 64723, 57353, 8134, 55124, 8582, 47336, 4533, 5602, 4549, 61042, 2878, 43463, 30131, 44864, 44788, 21170, 9134, 41053, 25361, 34924, 15610, 34897, 58383, 6595, 3856, 13260, 17385, 22559, 54446, 51420, 10412, 7485, 30717, 36319, 54446, 51420, 43937, 20261, 64723, 57353, 12259, 26769, 62084, 52520, 30297, 52154, 48400, 61040, 8703, 55802, 50289, 35830, 32996, 41829, 22694, 15980, 34561, 48773, 9550, 2616, 16910, 4202}, 73 - ((byte) KeyEvent.getModifierMetaStateMask()), objArr7);
String str4 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{49252, 15095, 7774, 36894, 51886, 17760}, Color.alpha(0) + 5, objArr8);
String str5 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{3275, 14302, 31422, 48553, 57486, 11202, 28412, 37353, 54283, 7937, 16948, 34160, 51200, 62302, 13940, 31075, 48527, 57534, 11185, 28300, 37272, 54446, 8123, 16900, 34052, 51300, 62246, 13828, 31045, 48166, 59187, 11156, 28346, 37290, 54493, 8088}, 15120 - ((byte) KeyEvent.getModifierMetaStateMask()), 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(487 - (ViewConfiguration.getLongPressTimeout() >> 16), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) View.MeasureSpec.makeMeasureSpec(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 Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
private static void ay(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 = 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(401 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (21608 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (l ^ (-6958928035870403642L));
try {
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 238, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) Color.blue(0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aC(b4, b5, b5, 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;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(238 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 4 - TextUtils.lastIndexOf("", '0'), (char) (Process.myPid() >> 22));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i4 = $10 + 65;
$11 = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
String str = new String(cArr2);
int i6 = $10 + 93;
$11 = i6 % 128;
if (i6 % 2 != 0) {
objArr[0] = str;
} else {
Object obj4 = null;
obj4.hashCode();
throw null;
}
}
@Override // com.scb.phone.view.activity.csent.Hilt_FaceIdentificationCSentActivity, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onCreate(Bundle bundle) {
int i = 2 % 2;
Object obj = null;
Object[] objArr = new Object[1];
ay(new char[]{3279, 35577, 184, 40567, 5157, 37850, 10652, 42767, 15625, 46300, 12986, 51341, 18032, 56356, 23507, 53660, 28493, 58644}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_condition_scbs_header).substring(31, 32).length() + 34360, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{46642, 22194, 5718, 24732, 27860, 40060}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_landing_description_1).substring(67, 68).codePointAt(0) - 27, 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[]{43547, 40096, 11445, 18244, 46046, 4204, 45368, 34093, 62084, 52520, 13495, 1241, 49266, 36797, 38697, 3131, 34632, 61917, 62546, 21241, 24978, 25186, 59496, 47920, 29994, 54672}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(new char[]{48171, 8265, 31708, 42512, 9550, 2616, 28399, 29615, 24097, 17956, 27065, 2038, 53211, 10330, 38697, 3131, 21020, 13146}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i2 = s + 123;
q = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = s + 85;
q = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = q + 35;
s = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0', 0), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new char[]{5253, 40653, 21309, 14678, 46942, 29352, 14566, 37795, 58700, 38348, 45034, 61372, 41743, 16429, 28288, 1788, 41837, 24425, 34633, 63597, 38901, 34857, 58015, 42312, 16204, 58099, 954, 26268, 16414, 59915, 45215, 33297, 39415, 58391, 30209, 6530, 32587, 48048, 51858, 50720, 43077, 44461, 8236, 3897, 30346, 59617, 64740, 14056}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.this_device).substring(0, 1).codePointAt(0) + 8, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{51919, 54048, 57112, 56583, 16396, 43808, 53454, 50844, 21327, 48181, 36134, 49185, 36134, 49185, 19532, 2448, 26135, 48285, 13885, 65253, 34048, 11874, 63405, 31141, 21562, 34390, 11616, 5204, 50540, 51731, 55465, 48235, 9089, 51988, 43733, 39008, 34897, 3286, 51858, 50720, 16396, 43808, 57175, 61816, 29378, 30865, 16396, 43808, 36199, 1305, 47003, 4331, 30346, 59617, 63976, 19150, 50347, 34859, 10324, 33059, 16396, 43808, 34310, 13517}, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 64, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{3279, 877, 4968, 9068, 13091, 17274, 21289, 25366, 29508, 33604, 37715, 41730, 45832, 49957, 54052, 58147, 62335, 871, 4974, 9023, 13059, 17161, 21259, 25361, 29509, 33557, 37814, 41906, 46050, 50167, 54269, 58287, 62458, 919, 5017, 9162, 13271, 17371, 21469, 25506, 29603, 33709, 37813, 41908, 46060, 50130, 54146, 58334, 62428, 960, 5018, 9111, 12900, 16992, 21100, 25125, 29302, 33324, 37398, 41494, 45647, 49753, 53767, 57948}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.add_account_info_body).substring(54, 55).codePointAt(0) + 4059, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{7642, 7829, 20821, 50357, 12647, 41609, 605, 39630, 10246, 38184, 50795, 28602, 64723, 57353, 8134, 55124, 8582, 47336, 4533, 5602, 4549, 61042, 2878, 43463, 30131, 44864, 44788, 21170, 9134, 41053, 25361, 34924, 15610, 34897, 58383, 6595, 3856, 13260, 17385, 22559, 54446, 51420, 10412, 7485, 30717, 36319, 54446, 51420, 43937, 20261, 64723, 57353, 12259, 26769, 62084, 52520, 30297, 52154, 48400, 61040, 8703, 55802, 50289, 35830, 32996, 41829, 22694, 15980, 34561, 48773, 9550, 2616, 16910, 4202}, 75 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new char[]{49252, 15095, 7774, 36894, 51886, 17760}, ((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];
ay(new char[]{3275, 14302, 31422, 48553, 57486, 11202, 28412, 37353, 54283, 7937, 16948, 34160, 51200, 62302, 13940, 31075, 48527, 57534, 11185, 28300, 37272, 54446, 8123, 16900, 34052, 51300, 62246, 13828, 31045, 48166, 59187, 11156, 28346, 37290, 54493, 8088}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 15087, 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(487 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (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)))).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);
getSupportActionBar().f();
getSupportActionBar().i();
ac();
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
IE ie = (IE) getIntent().getParcelableExtra("FACE_IDENTIFICATION_CONSENT_DISPLAY");
FaceIdentificationCSentFragment.RVV rvv = FaceIdentificationCSentFragment.d;
FaceIdentificationCSentFragment faceIdentificationCSentFragment = new FaceIdentificationCSentFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("FACE_IDENTIFICATION_CONSENT_DISPLAY", ie);
faceIdentificationCSentFragment.setArguments(bundle);
FaceIdentificationCSentFragment faceIdentificationCSentFragment2 = faceIdentificationCSentFragment;
int i2 = s + 57;
q = i2 % 128;
int i3 = i2 % 2;
return faceIdentificationCSentFragment2;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = q + 29;
s = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.c((Object) getString(R.string.consent_face_identification_title), "");
throw null;
}
String string = getString(R.string.consent_face_identification_title);
C14957gcv.c((Object) string, "");
return string;
}
private static void aB(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i4 = $11 + 79;
$10 = i4 % 128;
int i5 = i4 % 2;
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i6 = 58224;
int i7 = i3;
while (i7 < 16) {
int i8 = $11 + 65;
$10 = i8 % 128;
int i9 = i8 % 2;
char c = cArr3[1];
char c2 = cArr3[i3];
int i10 = (c2 + i6) ^ ((c2 << 4) + ((char) (r ^ 41718355337583039L)));
int i11 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(t);
objArr2[2] = Integer.valueOf(i11);
objArr2[1] = Integer.valueOf(i10);
objArr2[i3] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - (Process.myTid() >> 22), (TypedValue.complexToFloat(i3) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(i3) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b2 = (byte) i3;
Object[] objArr3 = new Object[1];
aC(b2, (byte) (-$$p[3]), b2, objArr3);
String str = (String) objArr3[i3];
Class<?>[] clsArr = new Class[4];
clsArr[i3] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i3]), Integer.valueOf((charValue + i6) ^ ((charValue << 4) + ((char) (f6755o ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(m)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 412, ExpandableListView.getPackedPositionType(0L) + 5, (char) (Process.myPid() >> 22));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aC(b3, (byte) (-$$p[3]), b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i6 -= 40503;
i7++;
cArr3 = cArr4;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 98, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b4, (byte) (b4 | 11), b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i3 = 0;
}
String str2 = new String(cArr2, 0, i);
int i12 = $11 + 31;
$10 = i12 % 128;
if (i12 % 2 != 0) {
throw null;
}
objArr[0] = str2;
}
@Override // com.scb.phone.view.activity.csent.Hilt_FaceIdentificationCSentActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new char[]{43547, 40096, 11445, 18244, 46046, 4204, 45368, 34093, 62084, 52520, 13495, 1241, 49266, 36797, 38697, 3131, 34632, 61917, 62546, 21241, 24978, 25186, 59496, 47920, 29994, 54672}, (ViewConfiguration.getFadingEdgeLength() >> 16) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{48171, 8265, 31708, 42512, 9550, 2616, 28399, 29615, 24097, 17956, 27065, 2038, 53211, 10330, 38697, 3131, 21020, 13146}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = q + 23;
s = i2 % 128;
if (i2 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 50 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i4 = q + 61;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 492, KeyEvent.keyCodeFromString("") + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 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(TextUtils.indexOf("", "", 0, 0) + 487, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) TextUtils.indexOf("", ""))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = q + 125;
s = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i8 = q + 17;
s = i8 % 128;
if (i8 % 2 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.csent.Hilt_FaceIdentificationCSentActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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;
int i2 = s + 47;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = q + 37;
s = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aB(new char[]{43547, 40096, 11445, 18244, 46046, 4204, 45368, 34093, 62084, 52520, 13495, 1241, 49266, 36797, 38697, 3131, 34632, 61917, 62546, 21241, 24978, 25186, 59496, 47920, 29994, 54672}, 27 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{48171, 8265, 31708, 42512, 9550, 2616, 28399, 29615, 24097, 17956, 27065, 2038, 53211, 10330, 38697, 3131, 21020, 13146}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 28, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i6 = s + 101;
q = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 491, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (ViewConfiguration.getEdgeSlop() >> 16))).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(KeyEvent.normalizeMetaState(0) + 487, TextUtils.indexOf("", "", 0) + 5, (char) KeyEvent.getDeadChar(0, 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();
}
static void h() {
l = -3851927169557586072L;
f6755o = (char) 7808;
m = (char) 41208;
r = (char) 28463;
t = (char) 15884;
}
@Override // com.scb.phone.view.activity.csent.Hilt_FaceIdentificationCSentActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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) {
d(new Object[]{this, context}, -1954303848, 1954303848, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.csent.Hilt_FaceIdentificationCSentActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = q + 21;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = q + 119;
s = i4 % 128;
int i5 = i4 % 2;
}
static {
q = 0;
h();
b = new Sts((byte) 0);
int i = s + 125;
q = i % 128;
if (i % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}