what-the-bank/sources/com/scb/phone/view/activity/closeaccount/CloseAccountEligibilityActi...

639 lines
38 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.closeaccount;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
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.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.deposit.DepositDetailActivity;
import com.scb.phone.view.activity.transferandpay.transfer.TransferActivity;
import java.lang.reflect.Method;
import java.util.ArrayList;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC10291dzx;
import o.C0693Mj;
import o.C13194fTh;
import o.C4593bdB;
import o.C4768bgR;
import o.InterfaceC13391fZD;
import o.InterfaceC9213dfV;
import o.fSQ;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.lds.CVCAFile;
/* loaded from: classes4.dex */
public class CloseAccountEligibilityActivity extends AbstractActivityC10291dzx implements InterfaceC9213dfV.Sts {
private static short[] q;
@InterfaceC13391fZD
public C4768bgR eligibilityPresenter;
private static final byte[] $$g = {94, -37, CVCAFile.CAR_TAG, -43};
private static final int $$h = CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int s = 1;
private static int l = 1477604656;
/* renamed from: o, reason: collision with root package name */
private static int f6741o = 1406017150;
private static int m = -1483594750;
private static byte[] k = {-78, -59, -41, -37, 105, 96, -69, -69, ISO7816.INS_MSE, -39, 4, -109, ISOFileInfo.FCP_BYTE, 99, 96, -41, ISOFileInfo.FCI_BYTE, ISO7816.INS_WRITE_BINARY, -113, 120, 65, -103, 41, ISO7816.INS_WRITE_BINARY, ISO7816.INS_DELETE_FILE, 70, -18, 71, 49, 62, 51, -19, 61, 54, ISO7816.INS_DECREASE_STAMPED, 78, 10, ISO7816.INS_DECREASE, 57, 61, -26, 88, -17, 71, -29, 70, -19, 70, Ascii.NAK, 70, ISO7816.INS_INCREASE, 8, 63, ISO7816.INS_DECREASE_STAMPED, ISO7816.INS_APPEND_RECORD, 91, 62, ISO7816.INS_APPEND_RECORD, ISO7816.INS_REHABILITATE_CHV, -29, ISO7816.INS_REHABILITATE_CHV, 10, -20, ISO7816.INS_INCREASE, 8, ISO7816.INS_DECREASE, 77, ISO7816.INS_APPEND_RECORD, 71, 54, 63, ISO7816.INS_GET_RESPONSE, 122, Ascii.US, CVCAFile.CAR_TAG, 28, 103, ISO7816.INS_UNBLOCK_CHV, 75, ISO7816.INS_DECREASE_STAMPED, 77, 29, 53, CVCAFile.CAR_TAG, 49, 76, 10, 96, CVCAFile.CAR_TAG, 101, Ascii.DC2, Ascii.US, 53, Ascii.US, CVCAFile.CAR_TAG, 10, 102, 72, 99, 10, CVCAFile.CAR_TAG, 28, 102, Ascii.US, 110, Ascii.ETB, 103, 47, 83, Ascii.CAN, 99, Ascii.US, 51, 75, 51, 81, 97, 29, 28, 101, Ascii.CAN, 97, 122, Ascii.DC2, 122, 29, 54, CVCAFile.CAR_TAG, 101, ISO7816.INS_DECREASE, CVCAFile.CAR_TAG, 49, 79, 10, 29, ISO7816.INS_GET_RESPONSE, 93, ISO7816.INS_INCREASE, -22, 93, ISOFileInfo.FCP_BYTE, -20, 56, 83, 63, 126, -22, 103, -17, 84, -22, ISOFileInfo.FMD_BYTE, 54, 90, ISOFileInfo.FMD_BYTE, 58, 103, -20, ISOFileInfo.FCP_BYTE, -19, -23, 102, ISOFileInfo.FMD_BYTE, -23, 93, 102, 55, 89, ISO7816.INS_INCREASE, -22, 103, 90, 102, 55, 92, 56, ISOFileInfo.FCP_BYTE, -18, 102, -24, 83, -19, -24, ISO7816.INS_DECREASE, 17, 101, 91, ISOFileInfo.FMD_BYTE, 59, 99, -18, 84, -23, 59, 91, 55, -22, 97, 94};
private static long p = 2700477778493159977L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002b). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(int r7, int r8, int r9, java.lang.Object[] r10) {
/*
int r9 = r9 * 3
int r9 = 1 - r9
int r7 = r7 * 2
int r7 = 3 - r7
byte[] r0 = com.scb.phone.view.activity.closeaccount.CloseAccountEligibilityActivity.$$g
int r8 = r8 + 77
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L14
r3 = r9
r4 = r2
goto L2b
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r8
r1[r3] = r5
int r7 = r7 + 1
if (r4 != r9) goto L26
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L26:
r3 = r0[r7]
r6 = r3
r3 = r8
r8 = r6
L2b:
int r8 = -r8
int r8 = r8 + r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.closeaccount.CloseAccountEligibilityActivity.az(int, int, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
CloseAccountEligibilityActivity closeAccountEligibilityActivity = (CloseAccountEligibilityActivity) objArr[0];
int i4 = 2 % 2;
Intent intent = new Intent(closeAccountEligibilityActivity, (Class<?>) DepositDetailActivity.class);
intent.addFlags(603979776);
intent.putExtra("com.scb.phone.EXTRA_NEW_INSTANCE_LAYOUT", R.id.landing_page_tab);
closeAccountEligibilityActivity.startActivity(intent);
int i5 = t + 41;
s = i5 % 128;
int i6 = i5 % 2;
return null;
}
public static Intent aaz_(Context context) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) CloseAccountEligibilityActivity.class);
int i2 = s + 57;
t = i2 % 128;
if (i2 % 2 == 0) {
return intent;
}
throw null;
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + 402, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (21608 - (Process.myTid() >> 22)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (p ^ (-6958928035870403642L));
try {
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(239 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 5 - KeyEvent.getDeadChar(0, 0), (char) View.MeasureSpec.getMode(0));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
az(b3, b4, (byte) (b4 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i4 = $11 + 101;
$10 = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $10 + 95;
$11 = i6 % 128;
int i7 = i6 % 2;
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 239, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 + 1);
Object[] objArr7 = new Object[1];
az(b5, b6, (byte) (b6 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
objArr[0] = new String(cArr2);
}
@Override // o.AbstractActivityC10291dzx, 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;
Object obj = null;
Object[] objArr = new Object[1];
ax((short) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 94), (-198994725) - Color.blue(0), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 108, 195282506 - View.combineMeasuredStates(0, 0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.point_x_point_value).substring(0, 35).length() + 11), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (39 - KeyEvent.keyCodeFromString("")), (-198994708) - TextUtils.lastIndexOf("", '0', 0), (ViewConfiguration.getFadingEdgeLength() >> 16) - 108, 195282518 - (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.billpayment_bnpl_product_method).substring(0, 13).length() + 98), 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) {
int i2 = t + 43;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ay(new char[]{43406, 23404, 19537, 29018, 25140, 5927, 6149, 3514, 16102, 9162, 54493, 55790, 51890, 65413, 57709, 37477, 34633, 34875, 48433, 44545, 21311, 17654, 18883, 31425, 28598, 4270}, 62189 - (ViewConfiguration.getWindowTouchSlop() >> 8), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new char[]{43404, 28863, 7127, 8946, 52510, 37944, 48965, 22957, 24759, 3026, 54001, 64785, 33840, 44911, 18845, 4269, 15312, 49908}, Color.green(0) + 55589, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = t + 65;
s = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = s + 7;
t = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - TextUtils.getOffsetBefore("", 0), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) Drawable.resolveOpacity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 57), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) - 198994702, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 154, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 195282445, (byte) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 126), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 162), TextUtils.indexOf((CharSequence) "", '0', 0) - 198994653, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_point_m_card).substring(15, 16).codePointAt(0) - 140, 195282510 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (byte) (53 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_bo_downtime_desc_1).substring(27, 28).length() + 71), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.two_words).substring(0, 9).codePointAt(1) - 198994639, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mtrl_picker_range_header_only_start_selected).substring(0, 7).length() - 115, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 195282472, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 34), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{43399, 64778, 185, 21548, 64472, 3840, 21158, 58935, 3348, 20639, 58404, 3001, 24384, 58077, 13932, 24061, 57498, 13372, 23486, 61253, 13018, 18022, 60923, 12425, 17433, 60333, 16251, 17104, 38491, 15856, 16756, 37889, 15291, 20285, 37580, 9807, 19967, 37172, 9230, 19341, 40742, 8868, 30273, 40391, 8562, 29927, 39808, 12034, 29370, 34304, 11742, 29027, 34038, 11205, 32536, 33464, 54846, 32137, 33116, 54506, 30836, 36615, 53890, 26164, 36224, 53576, 25791, 34867, 57102, 25228, 46636, 56758, 24915, 46277}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_promptpay_verification_instructions).substring(0, 2).length() + 21647, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{43478, 60276, 11453, 25054, 41739}, 17076 - Process.getGidForName(""), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new char[]{43402, 48019, 36327, 40844, 57855, 62279, 50549, 55060, 14634, 2780, 7421, 28341, 28881, 17083, 21581, 42606, 34830, 39475, 61384, 61865, 50121, 54763, 10226, 2393, 7013, 27993, 32559, 16513, 21236, 42179, 46826, 39001, 60027, 64615, 52740, 53373}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.beid_camera_permission).substring(0, 39).length() + 4598, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
e(this.eligibilityPresenter);
ArrayList arrayList = new ArrayList();
arrayList.add("3002");
C4768bgR c4768bgR = this.eligibilityPresenter;
c4768bgR.e = arrayList;
c4768bgR.d = this;
final C4768bgR c4768bgR2 = this.eligibilityPresenter;
c4768bgR2.g.e().b(new fSQ(c4768bgR2) { // from class: o.bgV
private C4768bgR e;
@Override // o.fSQ
public final void c(Object obj4) {
this.e.b = (String) obj4;
}
{
this.e = c4768bgR2;
}
}, C13194fTh.a);
int i7 = s + 53;
t = i7 % 128;
int i8 = i7 % 2;
}
@Override // o.InterfaceC9213dfV
public final void b() {
int i = 2 % 2;
int i2 = t + 121;
s = i2 % 128;
int i3 = i2 % 2;
startActivity(CloseAccountSelectMainAccountActivity.aaA_(this));
int i4 = s + 65;
t = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9213dfV
public final void d(C0693Mj c0693Mj) {
int i = 2 % 2;
int i2 = t + 15;
s = i2 % 128;
int i3 = i2 % 2;
CloseAccountSelectionActivity.d((Context) this);
if (i3 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.etb.BaseEligibilityActivity
public final void h() {
int i = 2 % 2;
int i2 = t + 89;
s = i2 % 128;
int i3 = i2 % 2;
d_("close_acct_eligibility");
if (i3 == 0) {
int i4 = 85 / 0;
}
int i5 = t + 29;
s = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC9213dfV.Sts
public final void c() {
int i = 2 % 2;
int i2 = t + 43;
s = i2 % 128;
int i3 = i2 % 2;
TransferActivity.b(this, "input", this.eligibilityPresenter.b);
finish();
int i4 = t + 79;
s = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 85 / 0;
}
}
@Override // o.AbstractActivityC10291dzx, 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() {
Context applicationContext;
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = t + 61;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new char[]{43406, 23404, 19537, 29018, 25140, 5927, 6149, 3514, 16102, 9162, 54493, 55790, 51890, 65413, 57709, 37477, 34633, 34875, 48433, 44545, 21311, 17654, 18883, 31425, 28598, 4270}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 62155, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{43404, 28863, 7127, 8946, 52510, 37944, 48965, 22957, 24759, 3026, 54001, 64785, 33840, 44911, 18845, 4269, 15312, 49908}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 55555, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = t + 121;
s = i4 % 128;
if (i4 % 2 == 0) {
applicationContext = baseContext.getApplicationContext();
int i5 = 56 / 0;
} else {
applicationContext = baseContext.getApplicationContext();
}
baseContext = applicationContext;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - MotionEvent.axisFromString(""), (-16777211) - Color.rgb(0, 0, 0), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getTapTimeout() >> 16), KeyEvent.getDeadChar(0, 0) + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC10291dzx, 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 = s + 13;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = t + 11;
s = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay(new char[]{43406, 23404, 19537, 29018, 25140, 5927, 6149, 3514, 16102, 9162, 54493, 55790, 51890, 65413, 57709, 37477, 34633, 34875, 48433, 44545, 21311, 17654, 18883, 31425, 28598, 4270}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.taking_photo_details_blurry_card).substring(30, 31).codePointAt(0) + 62157, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{43404, 28863, 7127, 8946, 52510, 37944, 48965, 22957, 24759, 3026, 54001, 64785, 33840, 44911, 18845, 4269, 15312, 49908}, TextUtils.lastIndexOf("", '0', 0) + 55590, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = s + 25;
t = i6 % 128;
if (i6 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = s + 111;
t = i7 % 128;
int i8 = i7 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 492, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) KeyEvent.getDeadChar(0, 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 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).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();
}
/* JADX WARN: Code restructure failed: missing block: B:49:0x01ee, code lost:
if (r11 != false) goto L52;
*/
/* JADX WARN: Code restructure failed: missing block: B:50:0x0204, code lost:
r7 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:88:0x0202, code lost:
r7 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:90:0x0200, code lost:
if (r11 != false) goto L52;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ax(short r18, int r19, int r20, int r21, byte r22, java.lang.Object[] r23) {
/*
Method dump skipped, instructions count: 841
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.closeaccount.CloseAccountEligibilityActivity.ax(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC10291dzx, 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
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((short) (93 - TextUtils.lastIndexOf("", '0', 0)), (-198994725) + (ViewConfiguration.getPressedStateDuration() >> 16), (-109) - TextUtils.indexOf((CharSequence) "", '0'), 195282506 - (ViewConfiguration.getJumpTapTimeout() >> 16), (byte) ((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 46), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (View.getDefaultSize(0, 0) + 39), Color.red(0) - 198994707, Drawable.resolveOpacity(0, 0) - 108, 195282518 - KeyEvent.normalizeMetaState(0), (byte) (111 - (ViewConfiguration.getKeyRepeatTimeout() >> 16)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = t + 119;
s = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i3 = s + 13;
t = i3 % 128;
int i4 = i3 % 2;
context2 = context.getApplicationContext();
int i5 = t + 37;
s = i5 % 128;
int i6 = i5 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i7 = t + 99;
s = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0), Gravity.getAbsoluteGravity(0, 0) + 5, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax((short) (View.combineMeasuredStates(0, 0) + 91), (-198994703) - MotionEvent.axisFromString(""), (-108) - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 195282458 - (Process.myTid() >> 22), (byte) ((-125) - Color.alpha(0)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax((short) (View.resolveSize(0, 0) - 63), (-198994654) - (Process.myTid() >> 22), (-108) - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 195282510 - (Process.myPid() >> 22), (byte) (View.MeasureSpec.makeMeasureSpec(0, 0) + 52), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax((short) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 72), Color.blue(0) - 198994590, (-108) - Color.alpha(0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 195282506, (byte) (67 - ImageFormat.getBitsPerPixel(0)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{43399, 64778, 185, 21548, 64472, 3840, 21158, 58935, 3348, 20639, 58404, 3001, 24384, 58077, 13932, 24061, 57498, 13372, 23486, 61253, 13018, 18022, 60923, 12425, 17433, 60333, 16251, 17104, 38491, 15856, 16756, 37889, 15291, 20285, 37580, 9807, 19967, 37172, 9230, 19341, 40742, 8868, 30273, 40391, 8562, 29927, 39808, 12034, 29370, 34304, 11742, 29027, 34038, 11205, 32536, 33464, 54846, 32137, 33116, 54506, 30836, 36615, 53890, 26164, 36224, 53576, 25791, 34867, 57102, 25228, 46636, 56758, 24915, 46277}, 21649 - (ViewConfiguration.getTouchSlop() >> 8), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{43478, 60276, 11453, 25054, 41739}, TextUtils.indexOf("", "") + 17077, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{43402, 48019, 36327, 40844, 57855, 62279, 50549, 55060, 14634, 2780, 7421, 28341, 28881, 17083, 21581, 42606, 34830, 39475, 61384, 61865, 50121, 54763, 10226, 2393, 7013, 27993, 32559, 16513, 21236, 42179, 46826, 39001, 60027, 64615, 52740, 53373}, AndroidCharacter.getMirror('0') + 4589, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - TextUtils.getTrimmedLength(""), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // o.AbstractActivityC10291dzx, 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 = t + 83;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = s + 43;
t = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9213dfV
public final void d() {
b(new Object[]{this}, -945783356, 945783356, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1595219749);
}
@Override // com.scb.phone.view.activity.etb.BaseEligibilityActivity
public final String g() {
int i = 2 % 2;
int i2 = t;
int i3 = i2 + 43;
s = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 5;
s = i5 % 128;
int i6 = i5 % 2;
return "CLOSE_ACCOUNT";
}
@Override // com.scb.phone.view.activity.etb.BaseEligibilityActivity
public final int j() {
int i = 2 % 2;
int i2 = s + 35;
int i3 = i2 % 128;
t = i3;
int i4 = i2 % 2;
int i5 = i3 + 119;
s = i5 % 128;
int i6 = i5 % 2;
return R.string.close_account_eligibility_title;
}
}