what-the-bank/sources/com/scb/phone/view/activity/investment/onboarding/CheckEligibilityActivity.java

576 lines
40 KiB
Java

package com.scb.phone.view.activity.investment.onboarding;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.findus.FindUsActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC8759dUy;
import o.C3683bDk;
import o.InterfaceC13391fZD;
import o.InterfaceC6669cZl;
import o.pMB;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public class CheckEligibilityActivity extends AbstractActivityC8759dUy implements InterfaceC6669cZl.Sts {
private static short[] q;
@InterfaceC13391fZD
public C3683bDk checkEligibilityPresenter;
private static final byte[] $$g = {ISO7816.INS_CHANGE_CHV, ISOFileInfo.A1, ISO7816.INS_ENVELOPE, -12};
private static final int $$h = 210;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int r = 1;
private static int m = 2015661720;
private static int l = -195689091;
private static int k = 1406017091;
/* renamed from: o, reason: collision with root package name */
private static int f7470o = -1665023469;
private static byte[] t = {-86, -109, ISOFileInfo.A0, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.AB, -41, -88, -87, -99, 122, ISO7816.INS_LOAD_KEY_FILE, -109, -124, -82, -99, -88, -113, 87, -17, ISOFileInfo.FCP_BYTE, -24, 61, -23, 89, 49, 88, 56, 82, 102, 37, -23, 108, ISOFileInfo.FCP_BYTE, 87, -17, 99, -24, -23, 96, ISO7816.INS_CHANGE_CHV, -18, 86, Ascii.NAK, 122, -18, -17, Ascii.DC4, 54, 83, 109, ISO7816.INS_INCREASE, -17, Ascii.NAK, Ascii.NAK};
/* 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:0x0027). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(short r6, short r7, int r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.investment.onboarding.CheckEligibilityActivity.$$g
int r8 = r8 * 4
int r8 = 1 - r8
int r6 = r6 + 69
int r7 = r7 + 4
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L13
r3 = r6
r6 = r8
r4 = r2
goto L27
L13:
r3 = r2
L14:
int r7 = r7 + 1
int r4 = r3 + 1
byte r5 = (byte) r6
r1[r3] = r5
if (r4 != r8) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
r3 = r0[r7]
L27:
int r6 = r6 + r3
r3 = r4
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.onboarding.CheckEligibilityActivity.az(short, short, int, java.lang.Object[]):void");
}
public static void b(Context context) {
int i = 2 % 2;
context.startActivity(new Intent(context, (Class<?>) CheckEligibilityActivity.class));
int i2 = r + 73;
p = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.AbstractActivityC8759dUy, 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 = p + 57;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, new char[]{'\f', 6, 1, 65483, '\f', 16, 65483, 65517, 15, '\f', 0, 2, 16, 16, 65534, 11, 1, 15}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.bond_selection_error_description).substring(CipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256, CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256).codePointAt(0) + 258, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 20, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, new char[]{1, 65532, 5, 17, 65517}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 261, false, 1 - TextUtils.lastIndexOf("", '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];
ax(26 - ExpandableListView.getPackedPositionType(0L), new char[]{'\f', 15, 1, 11, 65534, 1, 65534, 2, 15, 5, 65521, 22, 17, 6, 19, 6, 17, 0, 65502, 65483, '\r', '\r', 65534, 65483, 1, 6}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 256, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_robo_advisor_add_scbs_account_stop_3).substring(0, 1).length() + 4, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 70), 1483195510 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_no_bank_statement).substring(0, 2).codePointAt(0), (-68) - (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)), 821044281 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.gifting_baht).substring(0, 5).codePointAt(2), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.material_hour_24h_suffix).substring(0, 5).length() + 95), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 119;
r = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
int i6 = p + 107;
r = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Gravity.getAbsoluteGravity(0, 0), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_coupon_minutes_after_redemption).substring(0, 5).codePointAt(1) - 1, new char[]{65516, 26, 65515, 65522, 27, 26, 31, NistHelper.SEP_FS, 65516, 27, 65517, 65520, 65514, 65517, 30, 65521, NistHelper.SEP_FS, 65518, 65522, 65517, 65515, 27, 27, 30, 31, 65514, 65521, 65518, 65514, 65514, 29, 65522, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65519, 31, 65522, 26, 65517, 65516, 65521, 65515, 65516, 27, 65521, 65516, 27}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.scbs_onboarding_slip).substring(0, 22).codePointAt(15) + CipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256, true, 13 - (ViewConfiguration.getTouchSlop() >> 8), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 46, new char[]{65523, 65521, 29, 65521, 65524, 30, 30, 65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!', 65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518, 65525, 65516, 65524, 65523}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 225, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 78, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 65, new char[]{65518, 30, 65523, 65520, 65522, 31, ' ', 65522, 29, 65516, 65521, 65514, 65515, 65514, ' ', NistHelper.SEP_FS, 27, 65522, 65514, 65518, NistHelper.SEP_FS, 31, 65517, 65523, 65516, 31, 31, 65517, 27, 65517, 65514, 65522, 27, 65521, 29, 65522, 65519, 27, ' ', 27, 65514, ' ', 65514, 65523, 65520, 65522, 65516, 31, NistHelper.SEP_FS, 31, 65520, 29, ' ', 65517, 65519, 65514, 65519, 65515, 65515, 65516, 65519, 65519, 27, NistHelper.SEP_FS}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.add_accounts_select_lock_account_description).substring(112, 113).codePointAt(0) + 229, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 20, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_no_black).substring(0, 2).codePointAt(0) - 8152, new char[]{14, 17, 65496, 65485, 65485, 17, 7, 65535, 11, 1, '\r', 11, 11, 3, 16, 1, 7, 65535, '\n', 0, 65535, '\f', '\t', 65484, 18, 6, 16, 3, 65535, 18, 1, 65535, 17, 18, 65484, 5, 19, 65535, 16, 2, 17, 15, 19, 65535, 16, 3, 65484, 1, '\r', 11, 65485, 65535, 14, 7, 65485, 7, '\f', 5, 3, 17, 18, 65485, 20, 65488, 65485, 3, 20, 3, '\f', 18, 17, 6, 18, 18}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) + 188, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.material_hour_suffix).substring(0, 5).length() + 66, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) - 96, new char[]{65532, 7, 65534, 65532, 6}, View.MeasureSpec.getSize(0) + 241, true, 2 - TextUtils.getOffsetAfter("", 0), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay((short) ((ViewConfiguration.getScrollBarSize() >> 8) - 58), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1483203740, (-50) - (Process.myTid() >> 22), 821044319 - (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)), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.unsuccessful_transfer_summary).substring(15, 16).length() + 59), 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 - Color.argb(0, 0, 0, 0), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) TextUtils.getOffsetAfter("", 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558580);
ButterKnife.Dg_(this);
String string = getString(R.string.mf_onboarding_eligibility_title_page);
Z();
p(string);
ac();
this.checkEligibilityPresenter.e((C3683bDk) this);
d_("mfonboard_checkeligibility");
}
@OnClick
public void onGetStartedClick() {
int i = 2 % 2;
C3683bDk c3683bDk = this.checkEligibilityPresenter;
byte b = 0;
if (c3683bDk.f != 0) {
int i2 = p;
int i3 = i2 + 37;
r = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 63;
r = i5 % 128;
if (i5 % 2 == 0) {
c3683bDk.f.y();
int i6 = 57 / 0;
} else {
c3683bDk.f.y();
}
}
c3683bDk.b.c();
pMB pmb = c3683bDk.b;
pmb.d(pmb.i, new C3683bDk.Sts(c3683bDk, b));
}
@OnClick
public void onFindUsClick() {
int i = 2 % 2;
startActivity(new Intent(this, (Class<?>) FindUsActivity.class));
int i2 = r + 75;
p = i2 % 128;
if (i2 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void ax(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
char[] cArr2;
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr3 = new char[i];
zui.d = 0;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr3[zui.d] = (char) (i2 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i5]), Integer.valueOf(m)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(143 - (ViewConfiguration.getTapTimeout() >> 16), 7 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte b = (byte) 0;
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr3[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 342, TextUtils.lastIndexOf("", '0') + 6, (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte b3 = (byte) (-1);
Object[] objArr5 = new Object[1];
az((byte) 7, b3, (byte) (b3 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, 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;
}
}
if (i3 > 0) {
zui.a = i3;
char[] cArr4 = new char[i];
System.arraycopy(cArr3, 0, cArr4, 0, i);
System.arraycopy(cArr4, 0, cArr3, i - zui.a, zui.a);
System.arraycopy(cArr4, zui.a, cArr3, 0, i - zui.a);
}
if (z) {
int i6 = $10 + 81;
$11 = i6 % 128;
if (i6 % 2 == 0) {
cArr2 = new char[i];
zui.d = 1;
} else {
cArr2 = new char[i];
zui.d = 0;
}
while (zui.d < i) {
cArr2[zui.d] = cArr3[(i - zui.d) - 1];
try {
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(342 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), Color.rgb(0, 0, 0) + 16777221, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
byte b4 = (byte) (-1);
Object[] objArr7 = new Object[1];
az((byte) 7, b4, (byte) (b4 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i7 = $11 + 77;
$10 = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
cArr3 = cArr2;
}
objArr[0] = new String(cArr3);
}
@Override // o.InterfaceC6669cZl.Sts
public final void d() {
int i = 2 % 2;
startActivity(new Intent(this, (Class<?>) FatcaActivity.class));
finish();
int i2 = r + 117;
p = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC6669cZl.Sts
public final void a() {
int i = 2 % 2;
startActivity(new Intent(this, (Class<?>) FundAppFormActivity.class));
finish();
int i2 = p + 25;
r = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 7 / 0;
}
}
@Override // o.AbstractActivityC8759dUy, 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 = p + 65;
r = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, new char[]{'\f', 15, 1, 11, 65534, 1, 65534, 2, 15, 5, 65521, 22, 17, 6, 19, 6, 17, 0, 65502, 65483, '\r', '\r', 65534, 65483, 1, 6}, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 289, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_outcome_pending_notified_content).substring(CipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA, CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA).length() + 4, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_om_header).substring(21, 22).codePointAt(0) - 146), 1483203737 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 183, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_cash_out_success_balance).substring(34, 35).codePointAt(0) + 821044285, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 87), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = r + 113;
p = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = p + 67;
r = i6 % 128;
try {
if (i6 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getPressedStateDuration() >> 16), View.MeasureSpec.getMode(0) + 5, (char) KeyEvent.keyCodeFromString(""))).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(488 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 5 - Color.red(0), (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(493 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), ExpandableListView.getPackedPositionGroup(0L) + 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, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(View.resolveSize(0, 0) + 487, 5 - Gravity.getAbsoluteGravity(0, 0), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
int i7 = p + 123;
r = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
/* JADX WARN: Removed duplicated region for block: B:44:0x0257 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ay(short r20, int r21, int r22, int r23, byte r24, java.lang.Object[] r25) {
/*
Method dump skipped, instructions count: 942
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.onboarding.CheckEligibilityActivity.ay(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC8759dUy, 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 = r + 115;
p = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_purchase_bond_dlt_disclaimer_next_day).substring(36, 37).length() + 25, new char[]{'\f', 15, 1, 11, 65534, 1, 65534, 2, 15, 5, 65521, 22, 17, 6, 19, 6, 17, 0, 65502, 65483, '\r', '\r', 65534, 65483, 1, 6}, 289 - TextUtils.indexOf((CharSequence) "", '0', 0), true, View.MeasureSpec.getMode(0) + 5, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 70), 1483203735 - ExpandableListView.getPackedPositionChild(0L), (-68) - (ViewConfiguration.getDoubleTapTimeout() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) + 821044207, (byte) (View.resolveSizeAndState(0, 0, 0) + 100), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = p + 91;
r = i3 % 128;
if (i3 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i4 = 13 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i5 = p + 123;
r = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 492, 5 - Color.alpha(0), (char) Color.green(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - TextUtils.indexOf("", "", 0, 0), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i7 = p + 91;
r = i7 % 128;
if (i7 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC8759dUy, 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 = p + 41;
r = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(19 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), new char[]{'\f', 6, 1, 65483, '\f', 16, 65483, 65517, 15, '\f', 0, 2, 16, 16, 65534, 11, 1, 15}, 290 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), false, View.MeasureSpec.getMode(0) + 14, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, new char[]{1, 65532, 5, 17, 65517}, 294 - MotionEvent.axisFromString(""), false, 2 - TextUtils.indexOf("", ""), 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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = r + 57;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 491, (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) KeyEvent.keyCodeFromString(""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(47 - TextUtils.lastIndexOf("", '0', 0, 0), new char[]{65516, 26, 65515, 65522, 27, 26, 31, NistHelper.SEP_FS, 65516, 27, 65517, 65520, 65514, 65517, 30, 65521, NistHelper.SEP_FS, 65518, 65522, 65517, 65515, 27, 27, 30, 31, 65514, 65521, 65518, 65514, 65514, 29, 65522, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65519, 31, 65522, 26, 65517, 65516, 65521, 65515, 65516, 27, 65521, 65516, 27}, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 262, true, 13 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 64, new char[]{65523, 65521, 29, 65521, 65524, 30, 30, 65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!', 65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518, 65525, 65516, 65524, 65523}, 259 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), false, 31 - Drawable.resolveOpacity(0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(64 - TextUtils.getCapsMode("", 0, 0), new char[]{65518, 30, 65523, 65520, 65522, 31, ' ', 65522, 29, 65516, 65521, 65514, 65515, 65514, ' ', NistHelper.SEP_FS, 27, 65522, 65514, 65518, NistHelper.SEP_FS, 31, 65517, 65523, 65516, 31, 31, 65517, 27, 65517, 65514, 65522, 27, 65521, 29, 65522, 65519, 27, ' ', 27, 65514, ' ', 65514, 65523, 65520, 65522, 65516, 31, NistHelper.SEP_FS, 31, 65520, 29, ' ', 65517, 65519, 65514, 65519, 65515, 65515, 65516, 65519, 65519, 27, NistHelper.SEP_FS}, 260 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), true, 34 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(((Process.getThreadPriority(0) + 20) >> 6) + 74, new char[]{14, 17, 65496, 65485, 65485, 17, 7, 65535, 11, 1, '\r', 11, 11, 3, 16, 1, 7, 65535, '\n', 0, 65535, '\f', '\t', 65484, 18, 6, 16, 3, 65535, 18, 1, 65535, 17, 18, 65484, 5, 19, 65535, 16, 2, 17, 15, 19, 65535, 16, 3, 65484, 1, '\r', 11, 65485, 65535, 14, 7, 65485, 7, '\f', 5, 3, 17, 18, 65485, 20, 65488, 65485, 3, 20, 3, '\f', 18, 17, 6, 18, 18}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 288, false, View.combineMeasuredStates(0, 0) + 71, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(Color.blue(0) + 5, new char[]{65532, 7, 65534, 65532, 6}, 240 - TextUtils.lastIndexOf("", '0', 0), true, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 2, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((short) ((-57) - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), 1483203754 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (-50) - (ViewConfiguration.getJumpTapTimeout() >> 16), 821044319 - (Process.myTid() >> 22), (byte) (59 - Process.getGidForName("")), objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - ((byte) KeyEvent.getModifierMetaStateMask()), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) KeyEvent.normalizeMetaState(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i6 = p + 19;
r = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
}
@Override // o.AbstractActivityC8759dUy, 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 = r + 49;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
}
}