what-the-bank/sources/o/AbstractActivityC8462dLu.java

528 lines
40 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
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.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.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.ebillsubscription.EBillSubscriptionSearchActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.jmrtd.lds.CVCAFile;
/* renamed from: o.dLu, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8462dLu extends BaseActivity implements fPA {
private static short[] q;
private volatile C13073fPt k;
private static final byte[] $$p = {63, -72, 116, -100};
private static final int $$q = 209;
private static int $10 = 0;
private static int $11 = 1;
private static int v = 0;
private static int u = 1;
/* renamed from: o, reason: collision with root package name */
private static int f8760o = -1953068316;
private static int m = 1406017064;
private static int r = -1516482947;
private static byte[] s = {Ascii.CAN, Ascii.SYN, Ascii.SUB, -20, -27, 58, 58, -93, 28, 89, ISO7816.INS_WRITE_RECORD, -29, ISO7816.INS_APPEND_RECORD, -27, Ascii.SYN, -18, Ascii.NAK, -18, 12, -12, 15, -35, ISO7816.INS_CHANGE_CHV, 35, -15, 33, ISO7816.INS_UPDATE_RECORD, -34, Ascii.DC4, ISO7816.INS_LOAD_KEY_FILE, ISO7816.INS_MSE, 37, 33, -20, 10, -9, 15, -13, 12, -15, 12, -7, 12, 32, ISO7816.INS_PUT_DATA, 39, -34, -16, 11, ISO7816.INS_CHANGE_CHV, -16, 14, -13, 14, ISO7816.INS_LOAD_KEY_FILE, -10, 32, ISO7816.INS_PUT_DATA, ISO7816.INS_MSE, 17, -16, 15, ISO7816.INS_UPDATE_RECORD, 39, 108, -105, ISO7816.INS_REHABILITATE_CHV, -106, ISOFileInfo.FCI_BYTE, -90, 67, -66, 69, -107, -67, ISO7816.INS_REHABILITATE_CHV, -71, 70, PSSSigner.TRAILER_IMPLICIT, 106, ISO7816.INS_REHABILITATE_CHV, 109, -108, -105, -67, -105, ISO7816.INS_REHABILITATE_CHV, PSSSigner.TRAILER_IMPLICIT, 104, CVCAFile.CAR_TAG, 107, PSSSigner.TRAILER_IMPLICIT, ISO7816.INS_REHABILITATE_CHV, -106, 104, -105, 96, -97, ISOFileInfo.FCI_BYTE, -89, 91, -110, 107, -105, -69, 67, -69, 89, 105, -107, -106, 109, -110, 105, 108, -108, 108, -107, -72, ISO7816.INS_REHABILITATE_CHV, 109, -70, ISO7816.INS_REHABILITATE_CHV, -71, 71, PSSSigner.TRAILER_IMPLICIT, -107, ISOFileInfo.FMD_BYTE, -101, ISO7816.INS_READ_RECORD2, ISOFileInfo.FMD_BYTE, 75, -75, ISOFileInfo.DATA_BYTES2, 122, -122, 71, ISO7816.INS_READ_RECORD2, 78, ISO7816.INS_READ_RECORD_STAMPED, 125, ISO7816.INS_READ_RECORD2, 77, -97, 99, 77, ISOFileInfo.FILE_IDENTIFIER, 78, -75, 75, ISO7816.INS_READ_BINARY_STAMPED, ISO7816.INS_READ_BINARY, 79, 77, ISO7816.INS_READ_BINARY, ISOFileInfo.FMD_BYTE, 79, -98, 96, -101, ISO7816.INS_READ_RECORD2, 78, 99, 79, -98, 101, ISOFileInfo.DATA_BYTES2, 75, -73, 79, ISO7816.INS_READ_BINARY2, 122, ISO7816.INS_READ_BINARY_STAMPED, ISO7816.INS_READ_BINARY2, -103, -72, 76, ISOFileInfo.FCP_BYTE, 77, -126, 74, -73, 125, ISO7816.INS_READ_BINARY, -126, ISOFileInfo.FCP_BYTE, -98, ISO7816.INS_READ_RECORD2, 72, 103, 113, ISOFileInfo.PROP_INFO, 121, -122, -63, 9, -12, 10, 39, 11, -37, 35, ISO7816.INS_PUT_DATA, 58, -60, -16, 63, 11, -10, -12, -63, 9, -11, 10, 11, -14, 62, 8, ISO7816.INS_GET_RESPONSE, 15, -4, 8, 9, 14, 32, -59, -9, ISO7816.INS_CHANGE_CHV, 9, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private static long p = 9051040786702654117L;
private static int t = 452713125;
private static char w = 239;
private final Object l = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002a). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(int r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 4
int r8 = r8 + 1
int r6 = r6 * 4
int r6 = r6 + 4
int r7 = r7 + 108
byte[] r0 = o.AbstractActivityC8462dLu.$$p
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r7 = r6
r4 = r8
r3 = r2
goto L2a
L15:
r3 = r2
r5 = r7
r7 = r6
r6 = r5
L19:
byte r4 = (byte) r6
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r8) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L28:
r4 = r0[r7]
L2a:
int r4 = -r4
int r6 = r6 + r4
int r7 = r7 + 1
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8462dLu.aC(int, int, int, java.lang.Object[]):void");
}
public AbstractActivityC8462dLu() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dLu.4
private AbstractActivityC8462dLu d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8462dLu abstractActivityC8462dLu = this.d;
if (abstractActivityC8462dLu.b) {
return;
}
abstractActivityC8462dLu.b = true;
((InterfaceC8461dLt) abstractActivityC8462dLu.y_()).d((EBillSubscriptionSearchActivity) abstractActivityC8462dLu);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = u + 111;
v = i2 % 128;
int i3 = i2 % 2;
Object y_ = g().y_();
int i4 = u + 85;
v = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt g() {
if (this.k == null) {
synchronized (this.l) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
int i2 = u + 113;
v = i2 % 128;
int i3 = i2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i4 = v + 65;
u = i4 % 128;
int i5 = i4 % 2;
bundle = getIntent().getExtras();
} else {
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aB(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - (Process.myPid() >> 22), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(352 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 52127));
byte b = (byte) 0;
Object[] objArr4 = new Object[1];
aC(b, (byte) (b | 7), b, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 749, 5 - Color.red(0), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod(com.pingan.ai.p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 402, 5 - Color.alpha(0), (char) (ExpandableListView.getPackedPositionChild(0L) + 21609));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b2, (byte) (b2 | 6), b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (p ^ 9051040786702654117L)) ^ ((int) (t ^ 9051040786702654117L))) ^ ((char) (w ^ 9051040786702654117L)));
nhs.a++;
int i3 = $10 + 67;
$11 = i3 % 128;
int i4 = i3 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i5 = $11 + 75;
$10 = i5 % 128;
if (i5 % 2 == 0) {
objArr[0] = str;
} else {
int i6 = 46 / 0;
objArr[0] = str;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.bottomsheet_action_collapse).substring(15, 16).length() - 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 665283309, (-44) - MotionEvent.axisFromString(""), 162377719 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_business_info_2_add_more_accounts).substring(0, 2).length(), (byte) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 13), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_maemanee_gmb_entrace_open_gmb_button).substring(18, 19).codePointAt(0) + 62330), new char[]{27083, 63252, 36830, 19525, 52208}, new char[]{46825, 49569, 39454, 15347}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mr_terms_and_conditions_decline_dialog_description).substring(31, 32).codePointAt(0) + 516006294, 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 = u + 11;
v = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aB((char) (TextUtils.getOffsetBefore("", 0) + 52732), new char[]{28278, 25475, 49469, 28567, 52694, 18425, 24859, 13926, 3781, 33579, 30215, 60204, 26355, 17992, 32575, 4551, 33158, 11430, 15210, 20452, 57597, 16835, 56284, 22433, 31877, 26081}, new char[]{29923, 11182, 64549, 22477}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.cardless_payment_type_speedy_cash_limit).substring(6, 7).length() - 1, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB((char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 20085), new char[]{1206, 40405, 49992, 2707, 35078, 22995, 37008, 41534, 47595, 25322, 22957, 33384, 42382, 39024, 5004, 51434, 3403, 58764}, new char[]{37240, 47474, 30233, 18254}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.FaceTec_result_idscan_unsuccess_message).substring(22, 23).length() - 1, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = v + 77;
u = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) Drawable.resolveOpacity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_business_owner_progress_remark_info).substring(27, 28).codePointAt(0) + 665283328, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.installment_plans_general_terms).substring(117, 118).length() - 14, Gravity.getAbsoluteGravity(0, 0) + 162377673, (byte) (52 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.lifestyle_tutorial_message_step_5).substring(44, 45).length() - 1), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 665283407, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 10, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 162377691, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mf_port_suit_toggle_retake_suitability_test_description).substring(40, 41).codePointAt(0) + 93), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), 665283469 - TextUtils.lastIndexOf("", '0', 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 31, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.fatca_error_open_account_title).substring(11, 12).length() + 162377720, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.manage_scb_promptpay_landing_title).substring(6, 11).length() - 96), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((char) (ViewConfiguration.getScrollDefaultDelay() >> 16), new char[]{41489, 26498, 57679, 18597, 48038, 59373, 24251, 26430, 1394, 42390, 56238, 20238, 63192, 32359, 12816, 2616, 23995, 30104, 18931, 59029, 43134, 30410, 16473, 29793, 29871, 1597, 30855, 55078, 7500, 33304, 16275, 6989, 9849, 11680, 7307, 61695, 55647, 53177, 60521, 57815, 33072, 22854, 44972, 10101, 27338, 44797, 40297, 22998, 12532, 19297, 28034, 57384, 28014, 44009, 21756, 45259, 62064, 59062, 53537, 8479, 10406, 10516, 53373, 17744, 12081, 42707, 32754, 20311, 32102, 41495, 48952, 41923, 21546, 40263}, new char[]{7322, 41317, 9034, 58912}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 109, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA((short) ((-1) - TextUtils.indexOf((CharSequence) "", '0')), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 665283499, (-56) - (ViewConfiguration.getEdgeSlop() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.billpayment_bnpl_monthly_interest_rate_remark).substring(0, 1).length() + 162377680, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 68), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA((short) (KeyEvent.getMaxKeyCode() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.membership_expiry_message).substring(30, 31).length() + 665283536, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_document_uploaded_files).substring(0, 3).length() - 28, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.pin_underscore).substring(0, 1).codePointAt(0) + 162377630, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.app_account_deletion_confirm_popup_message).substring(301, 302).length() - 33), 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((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 487, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 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, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
int i6 = u + 37;
v = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
/* JADX WARN: Code restructure failed: missing block: B:28:0x0022, code lost:
r6 = new java.lang.Object[1];
aB((char) (52732 - (android.view.ViewConfiguration.getTapTimeout() >> 16)), new char[]{28278, 25475, 49469, 28567, 52694, 18425, 24859, 13926, 3781, 33579, 30215, 60204, 26355, 17992, 32575, 4551, 33158, 11430, 15210, 20452, 57597, 16835, 56284, 22433, 31877, 26081}, new char[]{29923, 11182, 64549, 22477}, new char[]{0, 0, 0, 0}, (android.util.TypedValue.complexToFraction(0, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.util.TypedValue.complexToFraction(0, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)), r6);
r6 = java.lang.Class.forName((java.lang.String) r6[0]);
r9 = (java.lang.Object[]) null;
r1 = new java.lang.Object[1];
aB((char) (((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.card_x_estimated_loan).substring(0, 23).length() + 20063), new char[]{1206, 40405, 49992, 2707, 35078, 22995, 37008, 41534, 47595, 25322, 22957, 33384, 42382, 39024, 5004, 51434, 3403, 58764}, new char[]{37240, 47474, 30233, 18254}, new char[]{0, 0, 0, 0}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, r1);
r1 = (android.content.Context) r6.getMethod((java.lang.String) r1[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x0020, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onResume() {
/*
Method dump skipped, instructions count: 470
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8462dLu.onResume():void");
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = v + 61;
u = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = u + 25;
v = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_terms_and_conditions_mf_account).substring(37, 38).length() + 52731), new char[]{28278, 25475, 49469, 28567, 52694, 18425, 24859, 13926, 3781, 33579, 30215, 60204, 26355, 17992, 32575, 4551, 33158, 11430, 15210, 20452, 57597, 16835, 56284, 22433, 31877, 26081}, new char[]{29923, 11182, 64549, 22477}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.fatca_question_title).substring(11, 12).length() - 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 20073), new char[]{1206, 40405, 49992, 2707, 35078, 22995, 37008, 41534, 47595, 25322, 22957, 33384, 42382, 39024, 5004, 51434, 3403, 58764}, new char[]{37240, 47474, 30233, 18254}, new char[]{0, 0, 0, 0}, ViewConfiguration.getScrollDefaultDelay() >> 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = v + 81;
u = i5 % 128;
try {
if (i5 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 492, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - Process.getGidForName(""), View.MeasureSpec.getMode(0) + 5, (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = 94 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 492, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Color.red(0) + 487, 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
int i7 = v + 33;
u = i7 % 128;
int i8 = i7 % 2;
} 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:0x025b, code lost:
if (r10 != false) goto L54;
*/
/* JADX WARN: Code restructure failed: missing block: B:50:0x0271, code lost:
r7 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:78:0x026f, code lost:
r7 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:80:0x026d, code lost:
if (r10 != false) goto L54;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aA(short r19, int r20, int r21, int r22, byte r23, java.lang.Object[] r24) {
/*
Method dump skipped, instructions count: 895
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8462dLu.aA(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA((short) View.combineMeasuredStates(0, 0), 665283343 - Drawable.resolveOpacity(0, 0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) - 43, 162377721 + (ViewConfiguration.getTapTimeout() >> 16), (byte) (((Process.getThreadPriority(0) + 20) >> 6) + 13), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((char) ((Process.myPid() >> 22) + 62362), new char[]{27083, 63252, 36830, 19525, 52208}, new char[]{46825, 49569, 39454, 15347}, new char[]{0, 0, 0, 0}, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 516006326, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = v + 63;
u = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i4 = v + 51;
u = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 492, 5 - TextUtils.indexOf("", "", 0), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA((short) TextUtils.getOffsetBefore("", 0), 665283359 - Process.getGidForName(""), TextUtils.lastIndexOf("", '0') - 12, 162377673 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (byte) (51 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA((short) (ViewConfiguration.getMaximumFlingVelocity() >> 16), ExpandableListView.getPackedPositionChild(0L) + 665283408, 2 - TextUtils.lastIndexOf("", '0', 0), 162377724 + (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (byte) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 124), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA((short) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), ((byte) KeyEvent.getModifierMetaStateMask()) + 665283471, 3 - KeyEvent.keyCodeFromString(""), 162377722 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (byte) ((ViewConfiguration.getWindowTouchSlop() >> 8) - 91), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((char) TextUtils.indexOf("", "", 0), new char[]{41489, 26498, 57679, 18597, 48038, 59373, 24251, 26430, 1394, 42390, 56238, 20238, 63192, 32359, 12816, 2616, 23995, 30104, 18931, 59029, 43134, 30410, 16473, 29793, 29871, 1597, 30855, 55078, 7500, 33304, 16275, 6989, 9849, 11680, 7307, 61695, 55647, 53177, 60521, 57815, 33072, 22854, 44972, 10101, 27338, 44797, 40297, 22998, 12532, 19297, 28034, 57384, 28014, 44009, 21756, 45259, 62064, 59062, 53537, 8479, 10406, 10516, 53373, 17744, 12081, 42707, 32754, 20311, 32102, 41495, 48952, 41923, 21546, 40263}, new char[]{7322, 41317, 9034, 58912}, new char[]{0, 0, 0, 0}, ViewConfiguration.getTapTimeout() >> 16, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA((short) (ViewConfiguration.getWindowTouchSlop() >> 8), KeyEvent.keyCodeFromString("") + 665283533, (-57) - TextUtils.indexOf((CharSequence) "", '0'), TextUtils.getTrimmedLength("") + 162377681, (byte) ((ViewConfiguration.getPressedStateDuration() >> 16) + 102), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA((short) (((byte) KeyEvent.getModifierMetaStateMask()) + 1), 665283536 - TextUtils.indexOf((CharSequence) "", '0', 0), (-25) - KeyEvent.keyCodeFromString(""), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 162377725, (byte) (View.getDefaultSize(0, 0) - 32), 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(Gravity.getAbsoluteGravity(0, 0) + 487, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) Color.green(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;
}
}
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = u + 73;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = v + 121;
u = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
}