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

665 lines
39 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.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.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 java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC10290dzw;
import o.C3473ayH;
import o.InterfaceC13391fZD;
import o.InterfaceC9127ddp;
import o.TVH;
import o.pug;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public class CloseAccountSelectMainAccountActivity extends AbstractActivityC10290dzw implements InterfaceC9127ddp {
private static short[] q;
@InterfaceC13391fZD
public C3473ayH presenter;
private static final byte[] $$g = {ISO7816.INS_CHANGE_CHV, ISOFileInfo.A1, ISO7816.INS_ENVELOPE, -12};
private static final int $$h = 49;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int s = 1;
private static char[] l = {39995, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40005, 40058, 40027, 39988, 40042, 40059, 40034, 40047, 40039, 40056, 39993, 40045, 40020, 40044, 40056, 40063, 40161, 40161, 40160, 40184, 40190, 40173, 40165, 40181, 40189, 40188, 40188, 40189, 40184, 40145, 40116, 40156, 40179, 40187, 40132, 40154, 40165, 40191, 40179, 40184, 40186, 39955, 39999, 39998, 40000, 40001, 40000, 40047, 40040, 40042, 40006, 39998, 40002, 40001, 40001, 40001, 39998, 40006, 40001, 39993, 39998, 39998, 39992, 40001, 40006, 40004, 40005, 40007, 40007, 40007, 40005, 40005, 40001, 39994, 39992, 39997, 39999, 40000, 40046, 40040, 40041, 40001, 39992, 39997, 39996, 40007, 40006, 40005, 40007, 40079, 40205, 40207, 40164, 40145, 40156, 40166, 40187, 40187, 40165, 40146, 40187, 40187, 40186, 40185, 40186, 40205, 40164, 40157, 40157, 40147, 40165, 40207, 40164, 40164, 40206, 40187, 40146, 40165, 40165, 40146, 40145, 40145, 40156, 40156, 40147, 40166, 40167, 40157, 40156, 40157, 40166, 40165, 40164, 40166, 40159, 40158, 40147, 40157, 40156, 40146, 40156, 40156, 40156, 40157, 40187, 40185, 40146, 40165, 40164, 40187, 40187, 40164, 40205, 39986, 40033, 40041, 40032, 40033, 40040, 40032, 40038, 40037, 40026, 40007, 40039, 40044, 40042, 40044, 40045, 40046, 40045, 40033, 40032, 40034, 40038, 40037, 40034, 40035, 40044, 40046, 40037, 40026, 39972, 39999, 40029, 40058, 40057, 40063, 40037, 40038, 40056, 40058, 40034, 40038, 40038, 40001, 39995, 40031, 40025, 40026, 40056, 40039, 40045, 40033, 40032, 40007, 40007, 40039, 40035, 40003, 40005, 40037, 40034, 40003, 40002, 40032, 40034, 40032, 40056, 40057, 40032, 40032, 40034, 40032, 40037, 40001, 40026, 39991, 40057, 40057, 40057, 40037};
/* renamed from: o, reason: collision with root package name */
private static int f6743o = -1839330123;
private static int k = 1406017128;
private static int m = -336865067;
private static byte[] p = {Byte.MIN_VALUE, -88, 81, -94, ISO7816.INS_REHABILITATE_CHV, -87, -83, -86, ISOFileInfo.AB, 87, 120, -102, 81, 94, -92, 87, -86, 69, ISO7816.INS_UPDATE_BINARY, 19, -20, -60, 19, 60, ISO7816.INS_ENVELOPE, -10, 13, -15, ISO7816.INS_DECREASE, -60, 57, -63, 10, -60, 58, -24, Ascii.DC4, 58, -12, 57, ISO7816.INS_ENVELOPE, 60, -61, -57, 56, 58, -57, 19, 56, -23, Ascii.ETB, -20, -60, 57, Ascii.DC4, 56, -23, Ascii.DC2, -10, 60, ISO7816.INS_GET_RESPONSE, 56, -58, 13, -61, -58, -18, -49, 59, Ascii.NAK, 58, -11, 61, ISO7816.INS_GET_RESPONSE, 10, -57, -11, Ascii.NAK, -23, -60, 63, 16, -78, 17, -39, ISO7816.INS_CHANGE_CHV, ISO7816.INS_PUT_DATA, -9, -37, 11, -13, 10, -22, Ascii.DC4, 32, -17, -37, 38, ISO7816.INS_CHANGE_CHV, 17, -39, 37, ISO7816.INS_PUT_DATA, -37, ISO7816.INS_MSE, -18, ISO7816.INS_LOAD_KEY_FILE, 16, -33, ISO7816.INS_UNBLOCK_CHV, ISO7816.INS_LOAD_KEY_FILE, -39, -34, -16, Ascii.NAK, 39, -12, -39};
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0026). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(byte r6, byte r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 3
int r6 = 1 - r6
byte[] r0 = com.scb.phone.view.activity.closeaccount.CloseAccountSelectMainAccountActivity.$$g
int r8 = r8 + 71
int r7 = r7 * 2
int r7 = r7 + 4
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L14
r3 = r6
r4 = r2
goto L26
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r8
r1[r3] = r5
if (r4 != r6) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r3 = r0[r7]
L26:
int r3 = -r3
int r7 = r7 + 1
int r8 = r8 + r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.closeaccount.CloseAccountSelectMainAccountActivity.az(byte, byte, int, java.lang.Object[]):void");
}
public static Intent aaA_(Context context) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) CloseAccountSelectMainAccountActivity.class);
int i2 = t + 21;
s = i2 % 128;
int i3 = i2 % 2;
return intent;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x013a, code lost:
if (r2 == null) goto L35;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x013c, code lost:
r4 = com.scb.phone.view.activity.closeaccount.CloseAccountSelectMainAccountActivity.s + 105;
com.scb.phone.view.activity.closeaccount.CloseAccountSelectMainAccountActivity.t = r4 % 128;
r4 = r4 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0145, code lost:
r4 = o.xzZ.y.get(125943855);
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0152, code lost:
if (r4 == null) goto L21;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x017e, code lost:
r3 = ((java.lang.reflect.Method) r4).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x0184, code lost:
r13 = new java.lang.Object[1];
ax(new int[]{49, 48, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, r13);
r4 = (java.lang.String) r13[0];
r14 = new java.lang.Object[1];
ax(new int[]{97, 64, org.bouncycastle.crypto.tls.CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, 0}, true, new byte[]{0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, r14);
r12 = (java.lang.String) r14[0];
r14 = (java.lang.Object[]) null;
r15 = new java.lang.Object[1];
ay((short) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) + 1047522575, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 160, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1205483903, (byte) ((-46) - (android.media.AudioTrack.getMinVolume() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.media.AudioTrack.getMinVolume() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1))), r15);
r5 = (java.lang.String) r15[0];
r15 = new java.lang.Object[1];
ax(new int[]{org.bouncycastle.crypto.tls.CipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384, 74, 0, 36}, true, new byte[]{1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0}, r15);
r13 = (java.lang.String) r15[0];
r6 = new java.lang.Object[1];
ax(new int[]{235, 5, 63, 0}, false, new byte[]{0, 1, 0, 0, 0}, r6);
r6 = (java.lang.String) r6[0];
r10 = new java.lang.Object[1];
ay((short) ((android.os.Process.getThreadPriority(0) + 20) >> 6), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.account_selector_cardless_footnote).substring(0, 2).length() + 1047522736, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_company_search_add_dialog_error).substring(16, 17).length() - 127, android.graphics.ImageFormat.getBitsPerPixel(0) + 1205483942, (byte) ((android.util.TypedValue.complexToFloat(0) > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.util.TypedValue.complexToFloat(0) == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 48), r10);
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x02fd, code lost:
r10 = new java.lang.Object[]{r2, r4, r12, r5, r13, true, r6, (java.lang.String) r10[0]};
r2 = o.xzZ.y.get(1656189573);
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0327, code lost:
if (r2 == null) goto L27;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x037d, code lost:
((java.lang.reflect.Method) r2).invoke(r3, r10);
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x032a, code lost:
r2 = ((java.lang.Class) o.xzZ.c(android.graphics.Color.blue(0) + 487, (android.view.ViewConfiguration.getTapTimeout() >> 16) + 5, (char) android.graphics.Color.argb(0, 0, 0, 0))).getMethod("e", android.content.Context.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.Boolean.TYPE, java.lang.String.class, java.lang.String.class);
o.xzZ.y.put(1656189573, r2);
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x0155, code lost:
r4 = ((java.lang.Class) o.xzZ.c(android.text.TextUtils.lastIndexOf("", '0') + 493, android.graphics.Color.rgb(0, 0, 0) + 16777221, (char) (android.graphics.ImageFormat.getBitsPerPixel(0) + 1))).getMethod("a", null);
o.xzZ.y.put(125943855, r4);
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0383, code lost:
r0 = move-exception;
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x0384, code lost:
r2 = r0.getCause();
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x0388, code lost:
if (r2 != null) goto L33;
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x038a, code lost:
throw r2;
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x038b, code lost:
throw r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x038c, code lost:
super.onCreate(r26);
r25.presenter.e((o.C3473ayH) r25);
r0 = r25.presenter;
r0.a.c();
r2 = r0.a;
r2.d(r2.i, new o.C3473ayH.AnonymousClass5(r0));
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x03a7, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x009a, code lost:
if (r2 <= 99999) goto L35;
*/
/* JADX WARN: Code restructure failed: missing block: B:36:0x0095, code lost:
if (r2 >= 99000) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0057, code lost:
if (r2 >= 99000) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x009c, code lost:
r2 = getBaseContext();
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x00aa, code lost:
if (r2 != null) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x00ac, code lost:
r2 = com.scb.phone.view.activity.closeaccount.CloseAccountSelectMainAccountActivity.t + 21;
com.scb.phone.view.activity.closeaccount.CloseAccountSelectMainAccountActivity.s = r2 % 128;
r2 = r2 % 2;
r13 = new java.lang.Object[1];
ax(new int[]{23, 26, 136, 1}, true, new byte[]{1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0}, r13);
r2 = java.lang.Class.forName((java.lang.String) r13[0]);
r12 = (java.lang.Object[]) null;
r12 = new java.lang.Object[1];
ay((short) (android.view.KeyEvent.getMaxKeyCode() >> 16), 1047522655 - android.text.TextUtils.lastIndexOf("", '0', 0), (-126) - android.view.View.combineMeasuredStates(0, 0), 1205483939 - (android.view.ViewConfiguration.getLongPressTimeout() >> 16), (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 53), r12);
r2 = (android.content.Context) r2.getMethod((java.lang.String) r12[0], new java.lang.Class[0]).invoke(null, null);
r4 = com.scb.phone.view.activity.closeaccount.CloseAccountSelectMainAccountActivity.t + 31;
com.scb.phone.view.activity.closeaccount.CloseAccountSelectMainAccountActivity.s = r4 % 128;
r4 = r4 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0134, code lost:
if (r2 == null) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0136, code lost:
r2 = r2.getApplicationContext();
*/
@Override // o.AbstractActivityC10290dzw, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onCreate(android.os.Bundle r26) {
/*
Method dump skipped, instructions count: 1111
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.closeaccount.CloseAccountSelectMainAccountActivity.onCreate(android.os.Bundle):void");
}
@Override // o.InterfaceC9127ddp
public final void c() {
int i = 2 % 2;
CloseAccountReviewActivity.e((Context) this, "CLOSE_ACCOUNT_SELECTION_FRAGMENT");
c("close_acct_review", new pug("source", "eligibility screen"));
finish();
int i2 = s + 57;
t = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9127ddp
public final void a() {
int i = 2 % 2;
int i2 = s + 37;
t = i2 % 128;
if (i2 % 2 == 0) {
CloseAccountSelectionActivity.d((Context) this);
finish();
int i3 = s + 23;
t = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 10 / 0;
return;
}
return;
}
CloseAccountSelectionActivity.d((Context) this);
finish();
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC10290dzw, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(new int[]{23, 26, 136, 1}, true, new byte[]{1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((short) ((-16777216) - Color.rgb(0, 0, 0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) + 1047522552, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_topup_document_receive_option_header).substring(0, 19).codePointAt(3) - 3717, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1205483926, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 32), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = t + 61;
s = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = s + 125;
t = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), TextUtils.getCapsMode("", 0, 0) + 5, (char) Color.red(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (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)), Color.alpha(0) + 5, (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - TextUtils.indexOf("", ""), View.resolveSize(0, 0) + 5, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 486, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void ax(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
char[] cArr;
int i = 2;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr2 = l;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr2 != null) {
int i8 = $10 + 31;
$11 = i8 % 128;
int i9 = i8 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i10 = 0;
while (i10 < length) {
int i11 = $10 + 105;
$11 = i11 % 128;
int i12 = i11 % i;
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c(TextUtils.getCapsMode("", i3, i3) + 223, (AudioTrack.getMaxVolume() > f ? 1 : (AudioTrack.getMaxVolume() == f ? 0 : -1)) + 4, (char) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 41977));
byte b = (byte) i3;
byte b2 = b;
cArr = cArr2;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
cArr2 = cArr;
i = 2;
i3 = 0;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i5];
System.arraycopy(cArr2, i4, cArr4, 0, i5);
if (bArr != null) {
char[] cArr5 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i13 = $11 + 91;
$10 = i13 % 128;
if (i13 % 2 != 0) {
int i14 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 502, Color.blue(0) + 5, (char) (54 - (ViewConfiguration.getKeyRepeatTimeout() >> 16)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i14] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
int i15 = 8 / 0;
} else {
int i16 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(502 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (54 - (ViewConfiguration.getEdgeSlop() >> 16)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr5[i16] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
int i17 = $10 + 85;
$11 = i17 % 128;
int i18 = i17 % 2;
} else {
int i19 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 15, 5 - Gravity.getAbsoluteGravity(0, 0), (char) ((ViewConfiguration.getPressedStateDuration() >> 16) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr5[i19] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
}
c = cArr5[tvh.c];
Object[] objArr7 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 402, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (21608 - TextUtils.getCapsMode("", 0, 0)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr8 = new Object[1];
az(b3, b4, (byte) (b4 + 2), objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr7);
}
cArr4 = cArr5;
}
if (i7 > 0) {
int i20 = $11 + 121;
$10 = i20 % 128;
if (i20 % 2 != 0) {
char[] cArr6 = new char[i5];
System.arraycopy(cArr4, 1, cArr6, 1, i5);
System.arraycopy(cArr6, 1, cArr4, i5 - i7, i7);
System.arraycopy(cArr6, i7, cArr4, 0, i5 * i7);
} else {
char[] cArr7 = new char[i5];
System.arraycopy(cArr4, 0, cArr7, 0, i5);
int i21 = i5 - i7;
System.arraycopy(cArr7, 0, cArr4, i21, i7);
System.arraycopy(cArr7, i7, cArr4, 0, i21);
}
}
if (z) {
int i22 = $11 + 31;
$10 = i22 % 128;
int i23 = i22 % 2;
char[] cArr8 = new char[i5];
int i24 = 0;
while (true) {
tvh.c = i24;
if (tvh.c >= i5) {
break;
}
cArr8[tvh.c] = cArr4[(i5 - tvh.c) - 1];
i24 = tvh.c + 1;
}
cArr4 = cArr8;
}
if (i6 > 0) {
int i25 = 0;
while (true) {
tvh.c = i25;
if (tvh.c >= i5) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i25 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
/* JADX WARN: Removed duplicated region for block: B:49:0x0204 */
/* JADX WARN: Removed duplicated region for block: B:53:0x025a */
/* JADX WARN: Removed duplicated region for block: B:63:0x0283 */
/* JADX WARN: Removed duplicated region for block: B:67:0x028c */
/* JADX WARN: Removed duplicated region for block: B:79:0x0285 */
/* JADX WARN: Removed duplicated region for block: B:81:0x0205 A[Catch: all -> 0x02f4, TryCatch #0 {all -> 0x02f4, blocks: (B:3:0x000f, B:6:0x0031, B:7:0x006d, B:20:0x00a5, B:23:0x00f9, B:25:0x00bd, B:30:0x011a, B:33:0x017a, B:35:0x0138, B:47:0x01e1, B:50:0x0244, B:81:0x0205), top: B:2:0x000f }] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ay(short r18, int r19, int r20, int r21, byte r22, java.lang.Object[] r23) {
/*
Method dump skipped, instructions count: 765
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.closeaccount.CloseAccountSelectMainAccountActivity.ay(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC10290dzw, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = t + 35;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{23, 26, 136, 1}, true, new byte[]{1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0}, 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.hml_contact_call_center).substring(10, 11).length() - 1), 1047522656 - (Process.myPid() >> 22), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 235, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 1205483939, (byte) (Color.argb(0, 0, 0, 0) + 66), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = t + 13;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - TextUtils.indexOf("", "", 0), (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).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(488 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 4 - MotionEvent.axisFromString(""), (char) TextUtils.getTrimmedLength(""))).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();
int i6 = s + 43;
t = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
}
@Override // o.AbstractActivityC10290dzw, 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 = s + 29;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new int[]{0, 18, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{18, 5, 0, 0}, true, new byte[]{0, 1, 0, 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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = s + 53;
t = i4 % 128;
int i5 = i4 % 2;
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, KeyEvent.keyCodeFromString("") + 5, (char) (Process.getGidForName("") + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new int[]{49, 48, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new int[]{97, 64, CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, 0}, true, new byte[]{0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay((short) (ViewConfiguration.getJumpTapTimeout() >> 16), 1047522674 - ExpandableListView.getPackedPositionType(0L), (-126) - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), View.resolveSize(0, 0) + 1205483937, (byte) ((-46) - (ViewConfiguration.getKeyRepeatTimeout() >> 16)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new int[]{CipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384, 74, 0, 36}, true, new byte[]{1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new int[]{235, 5, 63, 0}, false, new byte[]{0, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((short) (TextUtils.lastIndexOf("", '0') + 1), 1047522737 - TextUtils.lastIndexOf("", '0'), (-125) - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 1205483941 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (byte) (48 - Color.alpha(0)), 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(KeyEvent.keyCodeFromString("") + 487, Color.red(0) + 5, (char) ExpandableListView.getPackedPositionType(0L))).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.AbstractActivityC10290dzw, 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 + 75;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 35;
s = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 67 / 0;
}
}
}