what-the-bank/sources/com/scb/phone/view/activity/ndidcommon/Hilt_NdidCommonNationalIdIn...

605 lines
42 KiB
Java

package com.scb.phone.view.activity.ndidcommon;
import android.content.Context;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.kmc.kut.utilities.IpLibUtil;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.C13073fPt;
import o.InterfaceC11286ecV;
import o.InterfaceC17278vUG;
import o.VLM;
import o.fOV;
import o.fPA;
import o.xzZ;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.lds.CVCAFile;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public abstract class Hilt_NdidCommonNationalIdInputActivity extends BaseActivity implements fPA {
private static short[] q;
private volatile C13073fPt m;
private static final byte[] $$g = {124, -55, -59, 62};
private static final int $$h = 33;
private static int $10 = 0;
private static int $11 = 1;
private static int x = 0;
private static int v = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f7633o = {35370, 35372, 49123, 35375, 49026, 49094, 49138, 49106, 35368, 49030, 49091, 35361, 49114, 49034, 49119, 35371, 49031, 49095, 49109, 49024, 35374, 49088, 49105, 35373, 49111, 49117, 49110, 49028, 49116, 49089, 49035, 49027, 49029, 49025, 49053, 49104};
private static char k = 35375;
private static int s = 40685978;
private static int p = 1406017142;
private static int r = -1938835755;
private static byte[] t = {-90, -39, ISOFileInfo.DATA_BYTES2, -47, 113, 72, 65, 126, 96, 41, 115, 121, 65, 123, 67, 103, -106, 97, 10, 116, 101, ISOFileInfo.DATA_BYTES2, 62, 73, 78, 75, 122, CVCAFile.CAR_TAG, 123, 51, -111, 57, -112, 70, 73, 76, ISO7816.INS_INCREASE, CVCAFile.CAR_TAG, 65, 67, -103, 69, 79, 78, CVCAFile.CAR_TAG, 49, -105, 56, -112, 60, -111, ISO7816.INS_INCREASE, -111, 58, -111, 77, 71, 72, 67, 61, -108, 73, 61, -109, 60, -109, 69, 59, 77, 71, 79, -110, 61, -112, 65, 72, 102, -33, -73, 102, -113, ISO7816.INS_READ_BINARY2, -59, 124, ISO7816.INS_GET_RESPONSE, ISOFileInfo.FILE_IDENTIFIER, -73, -120, ISO7816.INS_READ_BINARY, 121, -73, -119, -37, 103, -119, -57, -120, ISO7816.INS_READ_BINARY2, -113, ISO7816.INS_READ_RECORD_STAMPED, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -119, ISOFileInfo.LCS_BYTE, 102, ISOFileInfo.SECURITY_ATTR_EXP, ISO7816.INS_LOAD_KEY_FILE, 122, -33, -73, -120, 103, ISOFileInfo.SECURITY_ATTR_EXP, ISO7816.INS_LOAD_KEY_FILE, 97, -59, -113, ISO7816.INS_READ_RECORD2, ISOFileInfo.SECURITY_ATTR_EXP, -75, 124, ISO7816.INS_READ_RECORD_STAMPED, -75, -35, -78, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FMD_BYTE, -119, -60, ISOFileInfo.SECURITY_ATTR_COMPACT, ISO7816.INS_READ_RECORD2, 121, ISOFileInfo.LCS_BYTE, -60, ISOFileInfo.FMD_BYTE, ISO7816.INS_LOAD_KEY_FILE, -73, -126, 99, ISOFileInfo.CHANNEL_SECURITY, -73, ISO7816.INS_READ_BINARY, -98, -72, -57, ISOFileInfo.SECURITY_ATTR_COMPACT, 77, -10, CVCAFile.CAR_TAG, -120, -65, -113, Byte.MIN_VALUE, ISO7816.INS_READ_BINARY_STAMPED, -61, 119, Byte.MIN_VALUE, -66, -37, 75, -113, -67, -60, ISO7816.INS_MANAGE_CHANNEL, -102, -72, -99, -75, -113, -66, -101, -72, -99, -65, ISO7816.INS_GET_RESPONSE, 67, -120, -69, -113, -98, -70, ISOFileInfo.ENV_TEMP_EF, -102, ISO7816.INS_READ_RECORD2, ISOFileInfo.PROP_INFO, -9, 74, ISOFileInfo.SECURITY_ATTR_COMPACT, PSSSigner.TRAILER_IMPLICIT, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FCI_EXT, -78, ISOFileInfo.DATA_BYTES2, -73, -104, PSSSigner.TRAILER_IMPLICIT, ISOFileInfo.DATA_BYTES2, -119, -113, -67, ISOFileInfo.FCI_EXT, -67, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, -11, -119, -124, 118, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, -119, -67, 59, -29, -18, -20, -39, -19, 61, -59, 60, ISO7816.INS_UPDATE_RECORD, 62, -22, -47, -19, -24, -18, 59, -29, -17, -20, -19, Ascii.DC4, ISO7816.INS_WRITE_BINARY, ISO7816.INS_APPEND_RECORD, 58, -31, Ascii.SYN, ISO7816.INS_APPEND_RECORD, -29, ISO7816.INS_CREATE_FILE, ISO7816.INS_PUT_DATA, 63, -23, -34, -29, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private final Object l = new Object();
boolean b = false;
/* 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:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(byte r6, byte r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonNationalIdInputActivity.$$g
int r8 = r8 + 108
int r6 = r6 * 2
int r1 = r6 + 1
int r7 = r7 + 4
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L13
r3 = r6
r8 = r7
r4 = r2
goto L2c
L13:
r3 = r2
L14:
int r7 = r7 + 1
byte r4 = (byte) r8
r1[r3] = r4
if (r3 != r6) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L23:
r4 = r0[r7]
int r3 = r3 + 1
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L2c:
int r7 = -r7
int r7 = r7 + r3
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonNationalIdInputActivity.aC(byte, byte, short, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_NdidCommonNationalIdInputActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonNationalIdInputActivity.1
private Hilt_NdidCommonNationalIdInputActivity a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_NdidCommonNationalIdInputActivity hilt_NdidCommonNationalIdInputActivity = this.a;
if (hilt_NdidCommonNationalIdInputActivity.b) {
return;
}
hilt_NdidCommonNationalIdInputActivity.b = true;
((InterfaceC11286ecV) hilt_NdidCommonNationalIdInputActivity.y_()).a((NdidCommonNationalIdInputActivity) hilt_NdidCommonNationalIdInputActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = x + 55;
v = i2 % 128;
int i3 = i2 % 2;
Object y_ = f().y_();
int i4 = v + 59;
x = i4 % 128;
if (i4 % 2 == 0) {
return y_;
}
throw null;
}
private C13073fPt f() {
if (this.m == null) {
synchronized (this.l) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
Bundle bundle = null;
if (getIntent() != null) {
int i2 = x + 57;
v = i2 % 128;
if (i2 % 2 == 0) {
getIntent().getExtras();
bundle.hashCode();
throw null;
}
bundle = getIntent().getExtras();
int i3 = v + 69;
x = i3 % 128;
int i4 = i3 % 2;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
@Override // 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[] objArr = new Object[1];
az(new char[]{'\r', 31, 25, 24, 24, 16, NistHelper.SEP_FS, 30, 27, 22, ' ', 4, 24, 29, ' ', 29, 13838, 13838}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 72), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 81, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.qr_expired_on).substring(7, 8).length() + 71), (-1369624463) + (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)), (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)) - 94, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_pin_setup_confirmation_page_description).substring(19, 20).codePointAt(0) + 543053709, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fixed_transfer_success_slip_file_name).substring(0, 17).length() - 17), 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((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_landing_amount_too_high).substring(11, 12).length() - 98), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 1369624472, KeyEvent.getDeadChar(0, 0) - 73, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 543053728, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) + IpLibUtil.KIPP_BARCODE_DRIVER_FAIL), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
az(new char[]{5, 11, 13853, 13853, 27, 26, '\f', 11, 13855, 13855, 15, '\r', 31, 11, '\f', '\r', 29, 26}, (byte) (53 - (ViewConfiguration.getWindowTouchSlop() >> 8)), (ViewConfiguration.getJumpTapTimeout() >> 16) + 18, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i2 = x + 9;
v = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = v + 11;
x = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 5 - TextUtils.indexOf("", ""), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB((short) ((-88) - ((byte) KeyEvent.getModifierMetaStateMask())), (-1369624468) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 85, 543053647 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deejung_transfer_speedy_cash_about).substring(CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256).codePointAt(0) - 48), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
az(new char[]{NistHelper.SEP_FS, 20, 2, ' ', '\"', 20, 17, 14, 27, '\b', '\"', '!', '\"', '!', NistHelper.SEP_FS, 3, '\"', 14, 3, '\"', 30, '!', '\n', '\r', 20, 31, ' ', 30, 31, 15, ' ', 31, 13837, 13837, '\n', '\b', 6, '!', 13912, 13912, '\"', 20, '\b', 31, '\n', 3, '\"', 20, 30, 0, 21, 24, 30, 31, '\n', 21, 31, 30, 0, '\"', '\"', 20, '\b', 25}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_cvc_title_short).substring(0, 3).length() + 93), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) - 35, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.scbs_data_sharing_decline_tc_description).substring(31, 32).length() + 96), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.two_words_with_separator).substring(0, 11).length() - 1369624398, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.gift_tap_to_edit).substring(0, 1).length() - 36, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 543053695, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.marker_phone).substring(0, 25).length() - 25), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 15), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_success_redirect_description).substring(32, 33).codePointAt(0) - 1369624356, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 59, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 543053702, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.nav).substring(0, 3).codePointAt(1) - 65), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
az(new char[]{16, 31, 31, '#', 13802}, (byte) (64 - (Process.myPid() >> 22)), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 28), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.myqr_for_receiving_money).substring(0, 3).length() - 1369624254, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 167, 543053733 - KeyEvent.keyCodeFromString(""), (byte) View.MeasureSpec.makeMeasureSpec(0, 0), 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(487 - (ViewConfiguration.getPressedStateDuration() >> 16), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB((short) (TextUtils.indexOf("", "", 0) - 97), (-1369624459) + (Process.myPid() >> 22), (-73) - Gravity.getAbsoluteGravity(0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_mailing_address_trok_format).substring(4, 10).length() + 543053723, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.new_deejung_transfer_about).substring(233, 234).codePointAt(0) - 32), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
az(new char[]{5, 11, 13853, 13853, 27, 26, '\f', 11, 13855, 13855, 15, '\r', 31, 11, '\f', '\r', 29, 26}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.device_debugging_message).substring(27, 28).codePointAt(0) - 50), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i2 = x + 9;
v = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 492, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (Process.myPid() >> 22))).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, TextUtils.getOffsetBefore("", 0) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = x + 61;
v = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = v + 91;
x = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = v + 59;
x = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aB((short) ((-97) - (ViewConfiguration.getJumpTapTimeout() >> 16)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_review_mf_account).substring(17, 18).length() - 1369624460, (ViewConfiguration.getKeyRepeatTimeout() >> 16) - 73, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_review_repayment_amount).substring(0, 5).length() + 543053724, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
az(new char[]{5, 11, 13853, 13853, 27, 26, '\f', 11, 13855, 13855, 15, '\r', 31, 11, '\f', '\r', 29, 26}, (byte) (53 - Color.blue(0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_introduction_title).substring(0, 13).codePointAt(11) - 79, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = x + 93;
v = i6 % 128;
if (i6 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = x + 37;
v = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.getSize(0), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 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(487 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - TextUtils.indexOf("", "", 0, 0), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).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();
}
/* JADX WARN: Removed duplicated region for block: B:64:0x02a8 */
/* JADX WARN: Removed duplicated region for block: B:68:0x0304 */
/* JADX WARN: Removed duplicated region for block: B:74:0x0327 */
/* JADX WARN: Removed duplicated region for block: B:78:0x0330 */
/* JADX WARN: Removed duplicated region for block: B:89:0x0329 */
/* JADX WARN: Removed duplicated region for block: B:91:0x02a9 A[Catch: all -> 0x0117, TryCatch #0 {all -> 0x0117, blocks: (B:22:0x00a8, B:25:0x00fe, B:27:0x00c0, B:40:0x012d, B:43:0x0190, B:46:0x014b, B:48:0x01b5, B:51:0x0220, B:53:0x01d3, B:62:0x0285, B:65:0x02ee, B:91:0x02a9), top: B:21:0x00a8 }] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aB(short r20, int r21, int r22, int r23, byte r24, java.lang.Object[] r25) {
/*
Method dump skipped, instructions count: 967
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonNationalIdInputActivity.aB(short, int, int, int, byte, java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:42:0x0142, code lost:
if (r2.b == r2.c) goto L41;
*/
/* JADX WARN: Code restructure failed: missing block: B:45:0x0172, code lost:
r11 = new java.lang.Object[13];
r11[12] = r2;
r11[11] = java.lang.Integer.valueOf(r1);
r11[10] = r2;
r11[9] = r2;
r11[8] = java.lang.Integer.valueOf(r1);
r11[7] = r2;
r11[r7] = r2;
r11[5] = java.lang.Integer.valueOf(r1);
r11[4] = r2;
r11[3] = r2;
r11[2] = java.lang.Integer.valueOf(r1);
r11[1] = r2;
r11[0] = r2;
r12 = o.xzZ.y.get(822107368);
*/
/* JADX WARN: Code restructure failed: missing block: B:46:0x01c0, code lost:
if (r12 == null) goto L46;
*/
/* JADX WARN: Code restructure failed: missing block: B:50:0x0250, code lost:
if (((java.lang.Integer) ((java.lang.reflect.Method) r12).invoke(null, r11)).intValue() != r2.j) goto L57;
*/
/* JADX WARN: Code restructure failed: missing block: B:52:0x0254, code lost:
r10 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, java.lang.Integer.valueOf(r1), r2};
r7 = o.xzZ.y.get(-1152873385);
*/
/* JADX WARN: Code restructure failed: missing block: B:53:0x0294, code lost:
if (r7 == null) goto L54;
*/
/* JADX WARN: Code restructure failed: missing block: B:54:0x0296, code lost:
r15 = 6;
*/
/* JADX WARN: Code restructure failed: missing block: B:55:0x030c, code lost:
r7 = ((java.lang.Integer) ((java.lang.reflect.Method) r7).invoke(null, r10)).intValue();
*/
/* JADX WARN: Code restructure failed: missing block: B:56:0x0319, code lost:
r10 = (r2.d * r1) + r2.j;
r5[r2.e] = r3[r7];
r5[r2.e + 1] = r3[r10];
*/
/* JADX WARN: Code restructure failed: missing block: B:58:0x0377, code lost:
r2.e += 2;
r7 = r15;
*/
/* JADX WARN: Code restructure failed: missing block: B:59:0x0299, code lost:
r7 = (java.lang.Class) o.xzZ.c(327 - android.text.TextUtils.indexOf("", ""), (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)) + 5, (char) (android.os.Process.myPid() >> 22));
r11 = (byte) 0;
r12 = (byte) (r11 - 1);
r14 = new java.lang.Object[1];
aC(r11, r12, (byte) (r12 & 10), r14);
r15 = 6;
r7 = r7.getMethod((java.lang.String) r14[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(-1152873385, r7);
*/
/* JADX WARN: Code restructure failed: missing block: B:61:0x032d, code lost:
r15 = 6;
*/
/* JADX WARN: Code restructure failed: missing block: B:62:0x0334, code lost:
if (r2.a != r2.d) goto L60;
*/
/* JADX WARN: Code restructure failed: missing block: B:63:0x0336, code lost:
r2.f = ((r2.f + r1) - 1) % r1;
r2.j = ((r2.j + r1) - 1) % r1;
r7 = (r2.a * r1) + r2.f;
r10 = (r2.d * r1) + r2.j;
r5[r2.e] = r3[r7];
r5[r2.e + 1] = r3[r10];
*/
/* JADX WARN: Code restructure failed: missing block: B:65:0x035e, code lost:
r7 = (r2.a * r1) + r2.j;
r10 = (r2.d * r1) + r2.f;
r5[r2.e] = r3[r7];
r5[r2.e + 1] = r3[r10];
*/
/* JADX WARN: Code restructure failed: missing block: B:67:0x01c4, code lost:
r12 = (java.lang.Class) o.xzZ.c(233 - android.view.View.combineMeasuredStates(0, 0), (android.view.ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (22024 - (android.graphics.PointF.length(com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.graphics.PointF.length(com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
r13 = (byte) 0;
r15 = (byte) (r13 - 1);
r7 = new java.lang.Object[1];
aC(r13, r15, (byte) (r15 & 12), r7);
r12 = r12.getMethod((java.lang.String) r7[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(822107368, r12);
*/
/* JADX WARN: Code restructure failed: missing block: B:69:0x0380, code lost:
r0 = move-exception;
*/
/* JADX WARN: Code restructure failed: missing block: B:70:0x0381, code lost:
r1 = r0.getCause();
*/
/* JADX WARN: Code restructure failed: missing block: B:71:0x0385, code lost:
if (r1 != null) goto L65;
*/
/* JADX WARN: Code restructure failed: missing block: B:72:0x0387, code lost:
throw r1;
*/
/* JADX WARN: Code restructure failed: missing block: B:73:0x0388, code lost:
throw r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:74:0x0158, code lost:
r5[r2.e] = (char) (r2.b - r26);
r5[r2.e + 1] = (char) (r2.c - r26);
r15 = r7;
*/
/* JADX WARN: Code restructure failed: missing block: B:77:0x0156, code lost:
if (r2.b == r2.c) goto L41;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(char[] r25, byte r26, int r27, java.lang.Object[] r28) {
/*
Method dump skipped, instructions count: 935
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonNationalIdInputActivity.az(char[], byte, int, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = x + 99;
v = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
az(new char[]{'\r', 31, 25, 24, 24, 16, NistHelper.SEP_FS, 30, 27, 22, ' ', 4, 24, 29, ' ', 29, 13838, 13838}, (byte) (36 - TextUtils.indexOf((CharSequence) "", '0', 0)), 19 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((short) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 72), (-1369624463) - ExpandableListView.getPackedPositionGroup(0L), (-94) - (ViewConfiguration.getDoubleTapTimeout() >> 16), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 543053740, (byte) TextUtils.getOffsetBefore("", 0), objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = x + 71;
v = i4 % 128;
if (i4 % 2 == 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i5 = v + 35;
x = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 492, TextUtils.getCapsMode("", 0, 0) + 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("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aB((short) (TextUtils.getOffsetBefore("", 0) - 87), (-1369624434) - Color.alpha(0), (-52) - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 543053681 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) KeyEvent.normalizeMetaState(0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
az(new char[]{NistHelper.SEP_FS, 20, 2, ' ', '\"', 20, 17, 14, 27, '\b', '\"', '!', '\"', '!', NistHelper.SEP_FS, 3, '\"', 14, 3, '\"', 30, '!', '\n', '\r', 20, 31, ' ', 30, 31, 15, ' ', 31, 13837, 13837, '\n', '\b', 6, '!', 13912, 13912, '\"', 20, '\b', 31, '\n', 3, '\"', 20, 30, 0, 21, 24, 30, 31, '\n', 21, 31, 30, 0, '\"', '\"', 20, '\b', 25}, (byte) (Color.blue(0) + 96), 65 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB((short) ((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)) + 97), (-1369624386) - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (-35) - View.MeasureSpec.getSize(0), View.combineMeasuredStates(0, 0) + 543053729, (byte) (ViewConfiguration.getTouchSlop() >> 8), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((short) ((ViewConfiguration.getPressedStateDuration() >> 16) + 100), (-1369624323) + TextUtils.lastIndexOf("", '0'), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 26, 543053736 + (KeyEvent.getMaxKeyCode() >> 16), (byte) KeyEvent.normalizeMetaState(0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
az(new char[]{16, 31, 31, '#', 13802}, (byte) (TextUtils.getOffsetAfter("", 0) + 64), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((short) (View.MeasureSpec.getSize(0) + 6), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1369624252, (-63) - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 543053733 - (KeyEvent.getMaxKeyCode() >> 16), (byte) (ViewConfiguration.getKeyRepeatTimeout() >> 16), objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Process.getGidForName("") + 488, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) (ExpandableListView.getPackedPositionChild(0L) + 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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // 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 = x + 73;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = v + 103;
x = i4 % 128;
int i5 = i4 % 2;
}
}