what-the-bank/sources/com/scb/phone/view/activity/etb/ETBCheckEligibilityActivity...

531 lines
34 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.etb;
import android.content.Context;
import android.content.Intent;
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.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.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 com.scb.phone.view.activity.HomeActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC8490dMr;
import o.C0693Mj;
import o.C4768bgR;
import o.GuL;
import o.InterfaceC13391fZD;
import o.InterfaceC9213dfV;
import o.UNo;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public class ETBCheckEligibilityActivity extends AbstractActivityC8490dMr implements InterfaceC9213dfV {
private static short[] p;
@InterfaceC13391fZD
public C4768bgR eligibilityPresenter;
private UNo l = new UNo();
private static final byte[] $$g = {39, 45, ISO7816.INS_PUT_DATA, 49};
private static final int $$h = CipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int q = 1;
private static long m = 1756706138858788558L;
private static int k = 2079531919;
/* renamed from: o, reason: collision with root package name */
private static int f7132o = 1406017080;
private static int r = -901864773;
private static byte[] s = {-8, 86, -87, -90, 95, 65, ISOFileInfo.CHANNEL_SECURITY, 80, 94, -90, 88, ISOFileInfo.A0, ISO7816.INS_REHABILITATE_CHV, 119, 70, -21, 85, 90, 102, -97, -82, -81, -88, 91, -93, 88, Ascii.SYN, 126, -100, ISOFileInfo.FMD_BYTE, -97, 77, ISO7816.INS_READ_BINARY_STAMPED, ISO7816.INS_READ_RECORD2, 97, ISO7816.INS_READ_BINARY2, 76, 78, -124, 72, -78, -75, ISO7816.INS_READ_BINARY2, 124, -102, 103, -97, 99, -100, 97, -100, 105, -100, ISO7816.INS_READ_BINARY, 74, -73, 78, 96, -101, ISO7816.INS_READ_BINARY_STAMPED, 96, -98, 99, -98, 72, 102, ISO7816.INS_READ_BINARY, 74, -78, ISOFileInfo.DATA_BYTES2, 96, -97, 76, -73, 6, -61, 56, -21, 57, ISO7816.INS_GET_RESPONSE, 9, -20, 17, -22, 58, Ascii.DC2, -21, Ascii.SYN, -23, 19, -59, -21, ISO7816.INS_ENVELOPE, 59, 56, Ascii.DC2, 56, -21, 19, -57, -19, -60, 19, -21, 57, -57, 56, -49, ISO7816.INS_DECREASE, ISO7816.INS_GET_RESPONSE, 8, -12, 61, -60, 56, Ascii.DC4, -20, Ascii.DC4, -10, -58, 58, 57, ISO7816.INS_ENVELOPE, 61, -58, -61, 59, -61, 58, Ascii.ETB, -21, ISO7816.INS_ENVELOPE, Ascii.NAK, -21, Ascii.SYN, -24, 19, 58, 6, 85, -86, -126, 85, 122, -124, ISO7816.INS_READ_BINARY, 75, -73, 118, -126, Ascii.DEL, ISOFileInfo.FCI_EXT, 76, -126, 124, -82, 82, 124, -78, Ascii.DEL, -124, 122, ISOFileInfo.PROP_INFO, ISOFileInfo.DATA_BYTES2, 126, 124, ISOFileInfo.DATA_BYTES2, 85, 126, -81, 81, -86, -126, Ascii.DEL, 82, 126, -81, 84, ISO7816.INS_READ_BINARY, 122, -122, 126, Byte.MIN_VALUE, 75, ISOFileInfo.PROP_INFO, Byte.MIN_VALUE, -88, -119, 125, 83, 124, ISO7816.INS_READ_RECORD2, 123, -122, 76, ISOFileInfo.DATA_BYTES2, ISO7816.INS_READ_RECORD2, 83, -81, -126, 121, 86, 8, -31, Ascii.CAN, Ascii.ETB, -15, 15, 40, -29, -94, 89, ISOFileInfo.A5, Ascii.US, 16, ISO7816.INS_CREATE_FILE, -25, Ascii.ESC, ISO7816.INS_CHANGE_CHV, ISO7816.INS_LOAD_KEY_FILE, -25, 17, ISO7816.INS_UNBLOCK_CHV, ISO7816.INS_UPDATE_RECORD, ISO7816.INS_CREATE_FILE, Ascii.DC2, 43, -41, -19, 15, -14, Ascii.SUB, ISO7816.INS_CREATE_FILE, 17, -20, 15, -14, 16, 39, -92, Ascii.US, 12, ISO7816.INS_CREATE_FILE, -15, 13, ISO7816.INS_APPEND_RECORD, -19, Ascii.DC4, -22, 88, -35, -29, 19, -31, -24, Ascii.NAK, -26, Ascii.CAN, -17, 19, -26, 30, ISO7816.INS_CREATE_FILE, Ascii.DC2, -24, Ascii.DC2, -26, -24, 90, 30, -21, -39, 29, ISO7816.INS_APPEND_RECORD, 30, Ascii.DC2, -51, 61, -55, 53, ISO7816.INS_GET_DATA};
/* 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:0x002e). 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(int r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 4
int r7 = r7 + 4
int r8 = r8 + 108
int r6 = r6 * 3
int r0 = 1 - r6
byte[] r1 = com.scb.phone.view.activity.etb.ETBCheckEligibilityActivity.$$g
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L17
r3 = r8
r4 = r2
r8 = r7
goto L2e
L17:
r3 = r2
L18:
byte r4 = (byte) r8
r0[r3] = r4
if (r3 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L25:
int r3 = r3 + 1
r4 = r1[r7]
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L2e:
int r7 = -r7
int r8 = r8 + 1
int r7 = r7 + r3
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.etb.ETBCheckEligibilityActivity.az(int, short, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
ETBCheckEligibilityActivity eTBCheckEligibilityActivity = (ETBCheckEligibilityActivity) objArr[0];
int i4 = 2 % 2;
eTBCheckEligibilityActivity.startActivity(new Intent(eTBCheckEligibilityActivity, (Class<?>) EtbActivity.class));
int i5 = t + 75;
q = i5 % 128;
int i6 = i5 % 2;
return null;
}
public static Intent aff_(Context context) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) ETBCheckEligibilityActivity.class);
intent.putExtra("EXTRA_CALLER", 0);
int i2 = q + 3;
t = i2 % 128;
int i3 = i2 % 2;
return intent;
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(m ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
int i3 = $11 + 39;
$10 = i3 % 128;
int i4 = i3 % 2;
while (guL.a < a.length) {
int i5 = $10 + 77;
$11 = i5 % 128;
int i6 = i5 % 2;
guL.c = guL.a - 4;
int i7 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(m)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 207, 5 - (Process.myTid() >> 22), (char) (View.resolveSizeAndState(0, 0, 0) + 1706));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 | 11), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(392 - View.MeasureSpec.getSize(0), 5 - (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)), (char) TextUtils.getTrimmedLength(""));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
az(b3, b4, (byte) (b4 | 13), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
@Override // o.AbstractActivityC8490dMr, com.scb.phone.view.activity.etb.BaseEligibilityActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = q + 45;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new char[]{21238, 21143, 28031, 42490, 41856, 53921, 26845, 14524, 43836, 47456, 61374, 7353, 9745, 57578, 10552, 22795, 64584, 57010, 29489, 41850, 48021, 5202}, 1 - View.MeasureSpec.makeMeasureSpec(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{52543, 52562, 44103, 1600, 25263, 3962, 63263, 39735, 25760}, 1 - TextUtils.indexOf("", "", 0, 0), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cash_rewards_eta).substring(20, 21).length() - 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_input_rate_detail).substring(17, 18).length() - 675102107, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 80, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.verify_identity_2).substring(0, 3).codePointAt(1) + 1712276357, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.limit_value).substring(0, 7).length() + 57), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new char[]{25046, 25013, 44812, 65497, 25064, 25799, 23543, 25225, 26963, 3846, 46491, 43696, 5422, 8833, 29519, 61268, 53113, 7380, 10515, 5392, 34985, 54823}, 1 - TextUtils.getOffsetAfter("", 0), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 5;
t = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 492, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_facial_recognition_description).substring(18, 20).length() - 675102082, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 145, 1712276354 - TextUtils.indexOf((CharSequence) "", '0', 0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 126), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 98), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 675102066, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 80, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1712276394, (byte) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 47), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((short) Color.blue(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 675102002, (ViewConfiguration.getJumpTapTimeout() >> 16) - 46, ((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).length() + 1712276402, (byte) ((-107) - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.pin_underscore).substring(0, 1).codePointAt(0) - 95), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 675101917, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 59, (ViewConfiguration.getLongPressTimeout() >> 16) + 1712276410, (byte) (KeyEvent.keyCodeFromString("") + 11), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) + IpLibUtil.KIPP_BARCODE_DRIVER_FAIL), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cardless_atm_web_view).substring(0, 328).codePointAt(263) - 675101892, (ViewConfiguration.getMaximumFlingVelocity() >> 16) - 46, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) + 1712276264, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 62), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(new char[]{62972, 62873, 20066, 3642, 32914, 39422, 53212, 37674, 34942, 62073, 17528, 22462, 33113, 50109, 33456, 4647, 23378, 64994, 55536, 59444, 7389, 14082, 5429, 42715, 54986, 28946, 21311, 32083, 43094, 44248, 27042, 15187, 25111, 59034, 42935, 61891, 10216, 8214, 64601, 53199}, 1 - KeyEvent.keyCodeFromString(""), 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.getScrollBarSize() >> 8), 5 - Color.argb(0, 0, 0, 0), (char) (ViewConfiguration.getFadingEdgeLength() >> 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);
e(this.eligibilityPresenter);
}
@Override // o.InterfaceC9213dfV
public final void d() {
int i = 2 % 2;
Intent intent = new Intent(this, (Class<?>) HomeActivity.class);
intent.addFlags(603979776);
intent.putExtra("com.scb.phone.EXTRA_NEW_INSTANCE_LAYOUT", R.id.landing_page_tab);
startActivity(intent);
int i2 = t + 81;
q = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 27 / 0;
}
}
@Override // o.InterfaceC9213dfV
public final void d(C0693Mj c0693Mj) {
int i = 2 % 2;
int i2 = q + 27;
t = i2 % 128;
int i3 = i2 % 2;
e(c0693Mj);
int i4 = t + 49;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.etb.BaseEligibilityActivity
protected final void h() {
int i = 2 % 2;
int i2 = t + 65;
q = i2 % 128;
int i3 = i2 % 2;
if (getIntent() != null) {
int i4 = q + 15;
t = i4 % 128;
int i5 = i4 % 2;
int intExtra = getIntent().getIntExtra("EXTRA_CALLER", 0);
if (intExtra == 0) {
int i6 = t + 97;
q = i6 % 128;
if (i6 % 2 == 0) {
this.l.e("lifestyle");
int i7 = 74 / 0;
} else {
this.l.e("lifestyle");
}
} else if (intExtra == 1) {
int i8 = t + 75;
q = i8 % 128;
int i9 = i8 % 2;
this.l.e("banking_services");
int i10 = t + 49;
q = i10 % 128;
int i11 = i10 % 2;
}
this.l.c(((BaseActivity) this).scbAnalytics, "etb_eligibility");
}
}
@Override // o.AbstractActivityC8490dMr, com.scb.phone.view.activity.etb.BaseEligibilityActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ay((short) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 675102140, View.MeasureSpec.makeMeasureSpec(0, 0) - 46, 1712276403 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_single_device_info1).substring(15, 16).length() + 63), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{25046, 25013, 44812, 65497, 25064, 25799, 23543, 25225, 26963, 3846, 46491, 43696, 5422, 8833, 29519, 61268, 53113, 7380, 10515, 5392, 34985, 54823}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 45, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i2 = q + 25;
t = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = q + 91;
t = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 493, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (KeyEvent.getMaxKeyCode() >> 16), (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) Color.red(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionType(0L), (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 486, '5' - AndroidCharacter.getMirror('0'), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i5 = t + 39;
q = i5 % 128;
if (i5 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
/* JADX WARN: Removed duplicated region for block: B:47:0x0231 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ay(short r19, int r20, int r21, int r22, byte r23, java.lang.Object[] r24) {
/*
Method dump skipped, instructions count: 907
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.etb.ETBCheckEligibilityActivity.ay(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC8490dMr, com.scb.phone.view.activity.etb.BaseEligibilityActivity, 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 = q + 57;
t = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.unit_limit).substring(0, 6).length() - 6), (-675102138) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.edit_email_description_blank_state).substring(58, 59).codePointAt(0), (-46) - View.resolveSizeAndState(0, 0, 0), 1712276369 + ((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().getPackageName().codePointAt(7) + 18), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{25046, 25013, 44812, 65497, 25064, 25799, 23543, 25225, 26963, 3846, 46491, 43696, 5422, 8833, 29519, 61268, 53113, 7380, 10515, 5392, 34985, 54823}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ccr_email_is_not_set_yet).substring(58, 59).length(), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = t + 101;
q = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = q + 27;
t = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 5 - View.MeasureSpec.getSize(0), (char) View.getDefaultSize(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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getTapTimeout() >> 16), Color.green(0) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).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: Code restructure failed: missing block: B:13:0x0071, code lost:
if (r3 > 99999) goto L10;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x006e, code lost:
if (r3 > 99999) goto L10;
*/
/* JADX WARN: Removed duplicated region for block: B:11:0x029f */
/* JADX WARN: Removed duplicated region for block: B:9:0x029e A[RETURN] */
@Override // o.AbstractActivityC8490dMr, com.scb.phone.view.activity.etb.BaseEligibilityActivity, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r25) {
/*
Method dump skipped, instructions count: 758
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.etb.ETBCheckEligibilityActivity.attachBaseContext(android.content.Context):void");
}
@Override // o.AbstractActivityC8490dMr, com.scb.phone.view.activity.etb.BaseEligibilityActivity, 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 + 7;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 47;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9213dfV
public final void b() {
d(new Object[]{this}, -987415118, 987415118, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1782980072);
}
@Override // com.scb.phone.view.activity.etb.BaseEligibilityActivity
protected final String g() {
int i = 2 % 2;
int i2 = t + 91;
int i3 = i2 % 128;
q = i3;
int i4 = i2 % 2;
int i5 = i3 + 73;
t = i5 % 128;
if (i5 % 2 == 0) {
return "ETB";
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.etb.BaseEligibilityActivity
protected final int j() {
int i = 2 % 2;
int i2 = q;
int i3 = i2 + 103;
t = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 87;
t = i5 % 128;
if (i5 % 2 == 0) {
return R.string.etb_check_eligibility;
}
throw null;
}
}