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

735 lines
46 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.registration;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
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.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.google.common.primitives.SignedBytes;
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 net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.DFY;
import o.InterfaceC11720ekf;
import o.InterfaceC17278vUG;
import o.TVH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public abstract class Hilt_RegistrationLivenessCheckActivity extends BaseLivenessCheckActivity {
private static short[] p;
private boolean b = false;
private static final byte[] $$g = {63, 15, ISO7816.INS_GET_DATA, 59};
private static final int $$h = 8;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int q = 1;
private static int k = 1655913851;
/* renamed from: o, reason: collision with root package name */
private static int f7840o = 1406017076;
private static int l = -1975697720;
private static byte[] m = {ISO7816.INS_DELETE_FILE, 93, 95, 83, ISOFileInfo.DATA_BYTES2, -120, 115, 115, ISO7816.INS_GET_DATA, 81, 28, -101, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -120, 95, ISOFileInfo.FCI_EXT, 88, -15, 89, 10, 114, 2, ISO7816.INS_DELETE_FILE, ISO7816.INS_WRITE_BINARY, -55, -34, -4, -47, -43, ISO7816.INS_UPDATE_BINARY, -41, -61, ISO7816.INS_CREATE_FILE, -122, -55, ISO7816.INS_PUT_DATA, ISO7816.INS_UPDATE_RECORD, -61, ISO7816.INS_UPDATE_BINARY, -3, 60, 126, Ascii.ETB, ISO7816.INS_CREATE_FILE, 78, Ascii.CAN, 39, 124, -67, ISO7816.INS_UPDATE_BINARY, -78, -24, -17, Ascii.DEL, ISO7816.INS_MANAGE_CHANNEL, Ascii.DC4, 51, 87, ISO7816.INS_MANAGE_CHANNEL, -18, 59, 43, Ascii.DEL, -19, ISO7816.INS_CHANGE_CHV, 32, 122, Ascii.CAN, 77, Ascii.NAK, Ascii.DEL, -18, 123, Ascii.CAN, 77, -17, ISO7816.INS_DECREASE, ISO7816.INS_READ_RECORD2, -24, Ascii.ESC, Ascii.DEL, 78, Ascii.SUB, 125, 122, -29, 101, -41, ISO7816.INS_PSO, 124, -20, 126, 103, ISO7816.INS_APPEND_RECORD, 113, Ascii.ETB, 120, -20, 113, -23, Ascii.DEL, -19, 103, -19, 113, 103, -43, -23, ISOFileInfo.FMD_BYTE, 86, -22, 125, -23, -19, Ascii.SYN, Ascii.SYN, 94, Ascii.ESC, 93, 72, 92, -20, 116, -19, 77, -21, 7, SignedBytes.MAX_POWER_OF_TWO, 92, Ascii.EM, Ascii.ESC, Ascii.SYN, 94, Ascii.SUB, 93, 92, 5, 65, 95, Ascii.ETB, 80, 3, 95, 94, 81, 119, -22, Ascii.CAN, 75, 94};
private static char[] t = {39995, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40012, 40035, 40059, 40004, 39996, 40025, 40032, 40037, 40036, 40036, 40037, 40061, 40045, 40021, 40038, 40032, 40040, 40041, 40001, 40083, 40123, 40143, 40141, 40140, 40101, 40102, 40101, 40083, 40092, 40094, 40100, 40122, 40123, 40100, 40081, 40082, 40093, 40102, 40142, 40141, 40131, 40101, 40092, 40082, 40093, 40095, 40102, 40122, 40122, 40100, 40100, 40100, 40122, 40121, 40123, 40102, 40093, 40083, 40083, 40094, 40102, 40123, 40083, 40102, 40102, 40102, 39993, 40040, 40007, 40006, 40006, 40007, 40000, 39997, 40004, 40006, 39992, 39999, 39999, 39999, 39997, 39999, 39992, 39998, 39993, 39994, 40001, 40007, 40000, 40001, 39992, 39999, 39992, 40002, 40001, 39998, 39999, 39999, 39996, 39996, 39997, 40000, 40000, 39997, 40006, 40041, 40007, 40007, 40042, 40000, 39998, 39992, 39992, 40007, 40040, 40005, 40004, 40005, 40006, 40006, 39997, 40000, 40006, 40006, 40001, 39999, 39996, 40007, 40042, 40040, 39970, 40035, 40035, 40026, 40045, 40053, 40053, 40040, 40045, 40045, 40004, 40025, 40025, 40027, 40045, 40053, 40053, 40035, 40044, 40052, 40044, 40004, 40006, 40006, 40005, 40007, 40007, 40005, 40027, 40045, 40055, 40045, 40044, 40034, 40025, 40025, 40034, 40075, 40033, 40035, 40046, 40004, 40005, 40000, 40000, 40045, 40052, 40055, 40044, 40004, 40006, 40045, 40053, 40044, 40026, 40027, 40045, 40075, 40044, 40046, 40046, 40007, 40004, 40044, 39959, 39999, 39972, 39992, 39992};
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> 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 az(byte r7, int r8, int r9, java.lang.Object[] r10) {
/*
int r8 = r8 * 4
int r8 = 4 - r8
byte[] r0 = com.scb.phone.view.activity.registration.Hilt_RegistrationLivenessCheckActivity.$$g
int r7 = r7 + 71
int r9 = r9 * 2
int r9 = r9 + 1
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r7 = r9
r5 = r2
goto L2a
L15:
r3 = r2
L16:
byte r4 = (byte) r7
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r9) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
r3 = r0[r8]
r6 = r3
r3 = r8
r8 = r6
L2a:
int r7 = r7 + r8
int r8 = r3 + 1
r3 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.registration.Hilt_RegistrationLivenessCheckActivity.az(byte, int, int, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_RegistrationLivenessCheckActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.registration.Hilt_RegistrationLivenessCheckActivity.1
private Hilt_RegistrationLivenessCheckActivity b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.b.M();
}
});
}
@Override // o.AbstractActivityC11247ebj
public final void M() {
int i = 2 % 2;
int i2 = q + 91;
r = i2 % 128;
int i3 = i2 % 2;
if (!this.b) {
this.b = true;
((InterfaceC11720ekf) y_()).b((RegistrationLivenessCheckActivity) this);
}
int i4 = r + 19;
q = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@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;
Object obj = null;
Object[] objArr = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 20), (-830284654) - (ViewConfiguration.getFadingEdgeLength() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_ccsof_review_t_c_plan_text).substring(24, 25).length() - 35, 638377851 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_summary_duration_value).substring(0, 9).length(), (byte) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 86), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 92), (-830284636) - TextUtils.indexOf("", ""), (KeyEvent.getMaxKeyCode() >> 16) - 34, 638377871 - TextUtils.indexOf((CharSequence) "", '0'), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 126), 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];
ay(new int[]{0, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.limit_setting_range_error_message).substring(36, 37).codePointAt(0) + 18), (-830284735) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.tesg_tab).substring(0, 7).codePointAt(1), (-34) - TextUtils.getOffsetAfter("", 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.promptpay_qr_prompt_pay_is_required_detail).substring(20, 21).codePointAt(0) + 638377830, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 5), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = r + 103;
q = i2 % 128;
if (i2 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = r + 19;
q = i3 % 128;
int i4 = i3 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getLongPressTimeout() >> 16), 5 - KeyEvent.normalizeMetaState(0), (char) TextUtils.getCapsMode("", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new int[]{26, 48, 99, 11}, true, new byte[]{1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{74, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{CipherSuite.TLS_PSK_WITH_RC4_128_SHA, 64, 27, 0}, true, new byte[]{0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.taking_photo_details_description_bank).substring(120, 121).length() + 75), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 830284647, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cross_border_review_amount_with_currency).substring(0, 5).length() - 39, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 638377833, (byte) (72 - TextUtils.indexOf("", "", 0)), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new int[]{202, 5, 0, 1}, true, new byte[]{1, 1, 0, 0, 0}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.app_account_deletion_confirm_popup_message).substring(301, 302).codePointAt(0) + 52), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_loan_success_desc).substring(42, 43).length() - 830284540, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_cvv_desc).substring(24, 25).codePointAt(0) - 66, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.schedule_setup_remarks).substring(87, 88).codePointAt(0) + 638377832, (byte) (99 - View.combineMeasuredStates(0, 0)), 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(KeyEvent.normalizeMetaState(0) + 487, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) ExpandableListView.getPackedPositionGroup(0L))).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);
int i5 = q + 61;
r = i5 % 128;
int i6 = i5 % 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 onResume() {
int i = 2 % 2;
int i2 = q + 55;
r = i2 % 128;
if (i2 % 2 == 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new int[]{0, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 16), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 830284632, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 47, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_icon_risk_level).substring(5, 8).length() + 638377859, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_type_store_about_subtitle).substring(69, 70).codePointAt(0) - 24), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = q + 3;
r = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getPressedStateDuration() >> 16), 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) View.resolveSizeAndState(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(487 - View.getDefaultSize(0, 0), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).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();
return;
}
getBaseContext();
throw null;
}
@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 onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = q + 19;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new int[]{0, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 37), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 830284665, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_summary_request_amount_value).substring(0, 5).codePointAt(2) - 70, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_registration_number_about_subtitle).substring(34, 35).codePointAt(0) + 638377830, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.abc_menu_meta_shortcut_label).substring(0, 5).codePointAt(2) - 108), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 492, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (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)))).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((ViewConfiguration.getJumpTapTimeout() >> 16) + 487, (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)) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = r + 105;
q = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 3 % 5;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void ay(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr2 = t;
char c = '0';
if (cArr2 != null) {
int i8 = $10 + 71;
$11 = i8 % 128;
int i9 = i8 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c((-16776993) - Color.rgb(i3, i3, i3), 4 - TextUtils.lastIndexOf("", c), (char) (TextUtils.getOffsetAfter("", i3) + 41977));
byte b = (byte) i3;
byte b2 = b;
cArr = cArr2;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
cArr2 = cArr;
i3 = 0;
c = '0';
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i5];
System.arraycopy(cArr2, i4, cArr4, 0, i5);
if (bArr != null) {
int i11 = $11 + 123;
$10 = i11 % 128;
int i12 = i11 % 2;
char[] cArr5 = new char[i5];
tvh.c = 0;
char c2 = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i13 = $11 + 95;
$10 = i13 % 128;
if (i13 % 2 != 0) {
int i14 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 503, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) (54 - (ViewConfiguration.getScrollBarSize() >> 8)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
Object obj3 = null;
cArr5[i14] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
obj3.hashCode();
throw null;
}
int i15 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj4 = xzZ.y.get(850398076);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(502 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 5 - KeyEvent.normalizeMetaState(0), (char) (54 - View.getDefaultSize(0, 0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj4);
}
cArr5[i15] = ((Character) ((Method) obj4).invoke(null, objArr5)).charValue();
} else {
int i16 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj5 = xzZ.y.get(1084521042);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 15, TextUtils.getOffsetBefore("", 0) + 5, (char) (58133 - TextUtils.indexOf((CharSequence) "", '0')))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj5);
}
cArr5[i16] = ((Character) ((Method) obj5).invoke(null, objArr6)).charValue();
int i17 = $10 + 101;
$11 = i17 % 128;
int i18 = i17 % 2;
}
c2 = cArr5[tvh.c];
Object[] objArr7 = {tvh, tvh};
Object obj6 = xzZ.y.get(1698744941);
if (obj6 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 402, 5 - (Process.myPid() >> 22), (char) ((ViewConfiguration.getEdgeSlop() >> 16) + 21608));
byte b3 = (byte) ($$h >>> 2);
byte b4 = (byte) (b3 - 2);
Object[] objArr8 = new Object[1];
az(b3, b4, b4, objArr8);
obj6 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj6);
}
((Method) obj6).invoke(null, objArr7);
}
cArr4 = cArr5;
}
if (i7 > 0) {
int i19 = $10 + 19;
$11 = i19 % 128;
if (i19 % 2 == 0) {
char[] cArr6 = new char[i5];
i = 0;
System.arraycopy(cArr4, 0, cArr6, 0, i5);
System.arraycopy(cArr6, 1, cArr4, i5 * i7, i7);
System.arraycopy(cArr6, i7, cArr4, 0, i5 + i7);
} else {
i = 0;
char[] cArr7 = new char[i5];
System.arraycopy(cArr4, 0, cArr7, 0, i5);
int i20 = i5 - i7;
System.arraycopy(cArr7, 0, cArr4, i20, i7);
System.arraycopy(cArr7, i7, cArr4, 0, i20);
}
} else {
i = 0;
}
if (z) {
char[] cArr8 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
cArr8[tvh.c] = cArr4[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr4 = cArr8;
}
if (i6 > 0) {
int i21 = 0;
while (true) {
tvh.c = i21;
if (tvh.c >= i5) {
break;
}
int i22 = $11 + 23;
$10 = i22 % 128;
int i23 = i22 % 2;
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i21 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
private static void ax(short s, int i, int i2, int i3, byte b, Object[] objArr) {
int i4;
boolean z;
byte b2;
long j;
int length;
byte[] bArr;
int i5;
int i6 = 2;
int i7 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(f7840o)};
Object obj = xzZ.y.get(-2092856797);
if (obj == null) {
Class cls = (Class) xzZ.c(View.getDefaultSize(0, 0) + 337, 5 - Color.red(0), (char) (Process.myTid() >> 22));
byte b3 = (byte) 0;
Object[] objArr3 = new Object[1];
az((byte) 39, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
if (intValue == -1) {
int i8 = $11 + 63;
$10 = i8 % 128;
int i9 = i8 % 2;
i4 = 1;
} else {
i4 = 0;
}
if (i4 != 0) {
byte[] bArr2 = m;
char c = '0';
if (bArr2 != null) {
int i10 = $10 + 3;
$11 = i10 % 128;
if (i10 % 2 == 0) {
length = bArr2.length;
bArr = new byte[length];
i5 = 1;
} else {
length = bArr2.length;
bArr = new byte[length];
i5 = 0;
}
while (i5 < length) {
int i11 = $10 + 35;
$11 = i11 % 128;
if (i11 % i6 == 0) {
Object[] objArr4 = {Integer.valueOf(bArr2[i5])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf("", c, 0) + 61, '5' - AndroidCharacter.getMirror(c), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) 37, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr[i5] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i5--;
} else {
Object[] objArr6 = {Integer.valueOf(bArr2[i5])};
Object obj3 = xzZ.y.get(-1648115392);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 60, KeyEvent.keyCodeFromString("") + 5, (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) 37, b5, b5, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj3);
}
bArr[i5] = ((Byte) ((Method) obj3).invoke(null, objArr6)).byteValue();
i5++;
}
i6 = 2;
c = '0';
}
bArr2 = bArr;
}
if (bArr2 != null) {
int i12 = $10 + 49;
$11 = i12 % 128;
if (i12 % 2 == 0) {
byte[] bArr3 = m;
Object[] objArr8 = {Integer.valueOf(i), Integer.valueOf(k)};
Object obj4 = xzZ.y.get(-2092856797);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(337 - ExpandableListView.getPackedPositionType(0L), 5 - View.getDefaultSize(0, 0), (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b6 = (byte) 0;
Object[] objArr9 = new Object[1];
az((byte) 39, b6, b6, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj4);
}
b2 = (byte) (bArr3[((Integer) ((Method) obj4).invoke(null, objArr8)).intValue()] % (-7303220121662775787L));
j = f7840o * (-7303220121662775787L);
} else {
byte[] bArr4 = m;
Object[] objArr10 = {Integer.valueOf(i), Integer.valueOf(k)};
Object obj5 = xzZ.y.get(-2092856797);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(337 - (ViewConfiguration.getTapTimeout() >> 16), '5' - AndroidCharacter.getMirror('0'), (char) (ViewConfiguration.getJumpTapTimeout() >> 16));
byte b7 = (byte) 0;
Object[] objArr11 = new Object[1];
az((byte) 39, b7, b7, objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj5);
}
b2 = (byte) (bArr4[((Integer) ((Method) obj5).invoke(null, objArr10)).intValue()] ^ (-7303220121662775787L));
j = f7840o ^ (-7303220121662775787L);
}
intValue = (byte) (b2 + ((int) j));
} else {
intValue = (short) (((short) (p[i + ((int) (k ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (f7840o ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
dfy.c = ((i + intValue) - 2) + ((int) (k ^ (-7303220121662775787L))) + i4;
Object[] objArr12 = {dfy, Integer.valueOf(i3), Integer.valueOf(l), sb};
Object obj6 = xzZ.y.get(1546973421);
if (obj6 == null) {
obj6 = ((Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 748, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj6);
}
((StringBuilder) ((Method) obj6).invoke(null, objArr12)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr5 = m;
if (bArr5 != null) {
int length2 = bArr5.length;
byte[] bArr6 = new byte[length2];
for (int i13 = 0; i13 < length2; i13++) {
bArr6[i13] = (byte) (bArr5[i13] ^ (-7303220121662775787L));
}
bArr5 = bArr6;
}
if (bArr5 != null) {
int i14 = $10 + 5;
$11 = i14 % 128;
int i15 = i14 % 2;
z = true;
} else {
int i16 = $11 + 75;
$10 = i16 % 128;
if (i16 % 2 != 0) {
int i17 = 5 / 3;
}
z = false;
}
dfy.d = 1;
while (dfy.d < intValue) {
if (z) {
byte[] bArr7 = m;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr7[r7] ^ (-7303220121662775787L))) + s)) ^ b));
} else {
short[] sArr = p;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
}
objArr[0] = sb.toString();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
@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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((short) (14 - View.resolveSize(0, 0)), (-830284653) - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (-34) - View.resolveSize(0, 0), TextUtils.indexOf("", "") + 638377860, (byte) (Color.alpha(0) + 86), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (Process.getGidForName("") - 45), (-830284636) - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) - 34, 638377872 - ((Process.getThreadPriority(0) + 20) >> 6), (byte) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) - 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) {
if (context != null) {
context2 = context.getApplicationContext();
int i2 = q + 93;
r = i2 % 128;
int i3 = i2 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i4 = r + 97;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.indexOf("", ""), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{26, 48, 99, 11}, true, new byte[]{1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new int[]{74, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new int[]{CipherSuite.TLS_PSK_WITH_RC4_128_SHA, 64, 27, 0}, true, new byte[]{0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((short) (View.combineMeasuredStates(0, 0) + 76), TextUtils.indexOf((CharSequence) "", '0', 0) - 830284612, (-35) - ImageFormat.getBitsPerPixel(0), 638377866 - ((byte) KeyEvent.getModifierMetaStateMask()), (byte) (72 - TextUtils.indexOf("", "")), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{202, 5, 0, 1}, true, new byte[]{1, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((short) (132 - AndroidCharacter.getMirror('0')), ExpandableListView.getPackedPositionChild(0L) - 830284538, TextUtils.getCapsMode("", 0, 0) - 34, 638377864 - View.resolveSizeAndState(0, 0, 0), (byte) (TextUtils.getCapsMode("", 0, 0) + 99), 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 - (ViewConfiguration.getWindowTouchSlop() >> 8), 5 - View.resolveSizeAndState(0, 0, 0), (char) (MotionEvent.axisFromString("") + 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@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 + 31;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 80 / 0;
}
int i5 = r + 79;
q = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
}
}