what-the-bank/sources/com/scb/phone/view/activity/investment/scbs/ScbsInputActivity.java

711 lines
41 KiB
Java

package com.scb.phone.view.activity.investment.scbs;
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.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.transferandpay.BillPaymentTabFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC8772dVf;
import o.C1193Xr;
import o.C4593bdB;
import o.IRS;
import o.InterfaceC9359diJ;
import o.MBB;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public class ScbsInputActivity extends AbstractActivityC8772dVf implements InterfaceC9359diJ {
private static final byte[] $$y = {45, 3, ISO7816.INS_READ_RECORD2, ISO7816.INS_PSO};
private static final int $$z = 17;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f7494o = 0;
private static int s = 1;
private static char[] l = {35375, 49106, 49095, 49116, 49123, 49090, 49025, 49115, 49108, 35374, 49093, 49104, 35372, 35373, 49094, 49052, 49119, 49110, 35370, 49088, 49105, 49117, 49138, 49118, 49033, 49111, 35371, 35368, 49091, 49035, 49112, 49027, 49034, 49114, 49053, 49089};
private static char m = 35375;
private static long k = -4906604467791309921L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x002d). 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 aF(int r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 77
int r8 = r8 + 4
byte[] r0 = com.scb.phone.view.activity.investment.scbs.ScbsInputActivity.$$y
int r6 = r6 * 3
int r1 = 1 - r6
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L2d
L14:
r3 = r2
L15:
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r6) goto L22
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L22:
int r8 = r8 + 1
int r3 = r3 + 1
r4 = r0[r8]
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L2d:
int r7 = -r7
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.scbs.ScbsInputActivity.aF(int, short, int, java.lang.Object[]):void");
}
public static Intent ahG_(Context context, C1193Xr c1193Xr) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) ScbsInputActivity.class);
intent.putExtra("KEY_BILL_PAYMENT_DISPLAY", c1193Xr);
int i2 = s + 107;
f7494o = i2 % 128;
if (i2 % 2 == 0) {
return intent;
}
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
int i2 = s + 49;
f7494o = i2 % 128;
int i3 = i2 % 2;
BillPaymentTabFragment a = BillPaymentTabFragment.a(MBB.PROFILE, (C1193Xr) getIntent().getParcelableExtra("KEY_BILL_PAYMENT_DISPLAY"));
int i4 = s + 79;
f7494o = i4 % 128;
int i5 = i4 % 2;
return a;
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void ab() {
int i = 2 % 2;
int i2 = s + 77;
f7494o = i2 % 128;
int i3 = i2 % 2;
getWindow().setFlags(8192, 8192);
int i4 = s + 81;
f7494o = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = s + 101;
f7494o = i2 % 128;
if (i2 % 2 != 0) {
getString(R.string.case_deposit_button);
Object obj = null;
obj.hashCode();
throw null;
}
String string = getString(R.string.case_deposit_button);
int i3 = s + 89;
f7494o = i3 % 128;
int i4 = i3 % 2;
return string;
}
private static void aE(char[] cArr, int i, Object[] objArr) {
long j;
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (true) {
j = 0;
if (c4593bdB.e >= cArr.length) {
break;
}
int i3 = $11 + 73;
$10 = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 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(401 - Process.getGidForName(""), 5 - ExpandableListView.getPackedPositionType(0L), (char) (21608 - (ViewConfiguration.getDoubleTapTimeout() >> 16)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, (byte) (b2 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i4] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() | (k * (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Color.alpha(0) + 238, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) View.resolveSizeAndState(0, 0, 0));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
aF(b3, b4, (byte) (-b4), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i5 = c4593bdB.e;
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Color.red(0) + 402, TextUtils.lastIndexOf("", '0', 0) + 6, (char) (View.MeasureSpec.getSize(0) + 21608));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aF(b5, b6, (byte) (b6 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i5] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (k ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777454, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16));
byte b7 = (byte) 0;
byte b8 = (byte) (b7 + 1);
Object[] objArr9 = new Object[1];
aF(b7, b8, (byte) (-b8), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
int i6 = $10 + 87;
$11 = i6 % 128;
int i7 = i6 % 2;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr10 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > j ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == j ? 0 : -1)) + 238, Drawable.resolveOpacity(0, 0) + 5, (char) (TextUtils.lastIndexOf("", '0', 0) + 1));
byte b9 = (byte) 0;
byte b10 = (byte) (b9 + 1);
Object[] objArr11 = new Object[1];
aF(b9, b10, (byte) (-b10), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
int i8 = $10 + 53;
$11 = i8 % 128;
int i9 = i8 % 2;
j = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2);
}
@Override // o.AbstractActivityC8772dVf, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = s + 83;
f7494o = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new char[]{3, 19, 29, 31, '\t', 3, NistHelper.SEP_FS, 31, 1, 21, 4, '\n', '!', 5, 17, 23, 13829, 13829}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.bond_review_additional_info).substring(42, 43).codePointAt(0) - 4), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.event_exchange_rate).substring(25, 26).length() + 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{16436, 24563, 32682, 8009, 16241}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 8113, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aE(new char[]{16440, 60066, 5399, 49044, 60002, 5337, 48963, 60004, 5264, 48916, 59899, 5136, 48868, 59819, 5131, 48779, 59775, 5077, 48727, 59695, 5033, 48648, 59621, 4959, 48576, 59568}, 43670 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new char[]{'\b', 17, 13828, 13828, 15, 23, 4, 20, 13830, 13830, 15, '\"', 7, 5, 3, ' ', '\t', 27}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 15), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - TextUtils.getOffsetBefore("", 0), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE(new char[]{16488, 23581, 30859, 5474, 12710, 52741, 60045, 34589, 41891, 16491, 23573, 30921, 5390, 12780, 52768, 60124, 34571, 41929, 16509, 23784, 30870, 5378, 12762, 52789, 60151, 34644, 41876, 16461, 23726, 31079, 5447, 12677, 52744, 60095, 34599, 41937, 16403, 23715, 31017, 5566, 12691, 52742, 60094, 34621, 41982, 16470, 23702, 31088}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 7270, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{16444, 44524, 39873, 35257, 63283, 58632, 54119, 49281, 11908, 7395, 2573, 30802, 26239, 21380, 16812, 45041, 40223, 35626, 63862, 59038, 54518, 49868, 12354, 7740, 3138, 31120, 26559, 21911, 17391, 45371, 40795, 36200, 64142, 59609, 55010, 50269, 12880, 8306, 3537, 31738, 27127, 22356, 17790, 45938, 41112, 36515, 64717, 59970, 55405, 50758, 13249, 8635, 3990, 32226, 27446, 22794, 18281, 46309, 41694, 37100, 65035, 60416, 55850, 51157}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.new_deejung_installment_email_notification_message).substring(33, 34).codePointAt(0) + 60855, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new char[]{16440, 30968, 12635, 59809, 41564, 23191, 5034, 52243, 33955, 48385, 30096, 11951, 59159, 40872, 22583, 4246, 51624, 33298, 47869, 29490, 11164, 58596, 40264, 21972, 3682, 50832, 65461, 47135, 28893, 10554, 57742, 39610, 21325, 2946, 50282, 64647, 46568, 28278, 9950, 57127, 38788, 20712, 2422, 49625, 64115, 45791, 27409, 9259, 56459, 38261, 19849, 1562, 16251, 63437, 45103, 26848, 8465, 55849, 37525, 19323, 944, 15380, 62772, 44489}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_introduction_redeem_for_cashback).substring(29, 30).codePointAt(0) + 14457, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new char[]{'\b', 1, 4, 26, 18, 25, 13828, 13828, 21, 31, 5, 19, '\t', 5, 13894, 13894, 23, 5, '\t', '#', 4, '\r', 19, 2, 18, '!', ' ', 4, 11, 31, '\r', 5, 5, '\b', 7, 25, 4, ' ', 14, 20, 5, 31, 31, 25, 2, 17, 5, 31, 16, '#', '\t', 5, 21, 17, 4, 25, 3, 21, 3, 27, 11, 14, 20, 1, 16, '\t', '\t', '\f', 16, 11, 15, 23, 1, 20}, (byte) (Color.blue(0) + 79), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_edit_qr_error_limit).substring(31, 32).codePointAt(0) + 42, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new char[]{'!', '#', NistHelper.SEP_FS, '#', 13753}, (byte) (15 - (Process.myPid() >> 22)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_success_header_remark).substring(40, 41).length() + 4, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE(new char[]{16444, 55555, 29213, 35804, 9425, 48711, 55055, 28916, 35244, 9084, 48167, 54709, 28415, 34699, 8535, 47646, 54232, 27779, 34386, 8025, 47271, 53739, 27432, 33849, 7651, 46841, 53141, 26881, 33306, 7059, 46288, 52809, 26381, 33015, 6590, 45869}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_slip_etb_downtime_notification).substring(27, 28).codePointAt(0) + 39195, 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(((Process.getThreadPriority(0) + 20) >> 6) + 487, View.MeasureSpec.getSize(0) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).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 i4 = s + 97;
f7494o = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // o.AbstractActivityC8772dVf, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = s + 55;
f7494o = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = f7494o + 61;
s = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aE(new char[]{16440, 60066, 5399, 49044, 60002, 5337, 48963, 60004, 5264, 48916, 59899, 5136, 48868, 59819, 5131, 48779, 59775, 5077, 48727, 59695, 5033, 48648, 59621, 4959, 48576, 59568}, 43669 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{'\b', 17, 13828, 13828, 15, 23, 4, 20, 13830, 13830, 15, '\"', 7, 5, 3, ' ', '\t', 27}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.facebook_app_id).substring(0, 15).length() + 13), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.bond_decline_terms_alert_description).substring(31, 32).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i6 = s + 47;
f7494o = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = f7494o + 57;
s = i8 % 128;
int i9 = i8 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - TextUtils.getCapsMode("", 0, 0), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ExpandableListView.getPackedPositionChild(0L) + 6, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i10 = s + 17;
f7494o = i10 % 128;
if (i10 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC8772dVf, com.scb.phone.view.activity.BaseActivityWithFragment, 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) {
Object[] objArr = new Object[1];
aE(new char[]{16440, 60066, 5399, 49044, 60002, 5337, 48963, 60004, 5264, 48916, 59899, 5136, 48868, 59819, 5131, 48779, 59775, 5077, 48727, 59695, 5033, 48648, 59621, 4959, 48576, 59568}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_select_account_scbs_title).substring(89, 91).length() + 43667, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{'\b', 17, 13828, 13828, 15, 23, 4, 20, 13830, 13830, 15, '\"', 7, 5, 3, ' ', '\t', 27}, (byte) (27 - Process.getGidForName("")), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.two_words).substring(0, 9).length() + 9, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = s + 17;
f7494o = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = s + 43;
f7494o = 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(492 - ExpandableListView.getPackedPositionType(0L), 5 - TextUtils.getTrimmedLength(""), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 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 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - TextUtils.getCapsMode("", 0, 0), (char) ((Process.getThreadPriority(0) + 20) >> 6))).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();
}
@Override // o.AbstractActivityC8772dVf, com.scb.phone.view.activity.BaseActivityWithFragment, 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];
aD(new char[]{3, 19, 29, 31, '\t', 3, NistHelper.SEP_FS, 31, 1, 21, 4, '\n', '!', 5, 17, 23, 13829, 13829}, (byte) (28 - TextUtils.getTrimmedLength("")), View.resolveSizeAndState(0, 0, 0) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{16436, 24563, 32682, 8009, 16241}, ImageFormat.getBitsPerPixel(0) + 8148, objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = s + 25;
f7494o = i2 % 128;
if (i2 % 2 != 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i3 = s + 101;
f7494o = i3 % 128;
if (i3 % 2 != 0) {
context2 = context.getApplicationContext();
int i4 = 92 / 0;
} else {
context2 = context.getApplicationContext();
}
int i5 = f7494o + 59;
s = i5 % 128;
int i6 = i5 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i7 = f7494o + 43;
s = i7 % 128;
int i8 = i7 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 492, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aE(new char[]{16488, 23581, 30859, 5474, 12710, 52741, 60045, 34589, 41891, 16491, 23573, 30921, 5390, 12780, 52768, 60124, 34571, 41929, 16509, 23784, 30870, 5378, 12762, 52789, 60151, 34644, 41876, 16461, 23726, 31079, 5447, 12677, 52744, 60095, 34599, 41937, 16403, 23715, 31017, 5566, 12691, 52742, 60094, 34621, 41982, 16470, 23702, 31088}, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 7283, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new char[]{16444, 44524, 39873, 35257, 63283, 58632, 54119, 49281, 11908, 7395, 2573, 30802, 26239, 21380, 16812, 45041, 40223, 35626, 63862, 59038, 54518, 49868, 12354, 7740, 3138, 31120, 26559, 21911, 17391, 45371, 40795, 36200, 64142, 59609, 55010, 50269, 12880, 8306, 3537, 31738, 27127, 22356, 17790, 45938, 41112, 36515, 64717, 59970, 55405, 50758, 13249, 8635, 3990, 32226, 27446, 22794, 18281, 46309, 41694, 37100, 65035, 60416, 55850, 51157}, 60887 - KeyEvent.normalizeMetaState(0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new char[]{16440, 30968, 12635, 59809, 41564, 23191, 5034, 52243, 33955, 48385, 30096, 11951, 59159, 40872, 22583, 4246, 51624, 33298, 47869, 29490, 11164, 58596, 40264, 21972, 3682, 50832, 65461, 47135, 28893, 10554, 57742, 39610, 21325, 2946, 50282, 64647, 46568, 28278, 9950, 57127, 38788, 20712, 2422, 49625, 64115, 45791, 27409, 9259, 56459, 38261, 19849, 1562, 16251, 63437, 45103, 26848, 8465, 55849, 37525, 19323, 944, 15380, 62772, 44489}, 14488 - TextUtils.lastIndexOf("", '0', 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new char[]{'\b', 1, 4, 26, 18, 25, 13828, 13828, 21, 31, 5, 19, '\t', 5, 13894, 13894, 23, 5, '\t', '#', 4, '\r', 19, 2, 18, '!', ' ', 4, 11, 31, '\r', 5, 5, '\b', 7, 25, 4, ' ', 14, 20, 5, 31, 31, 25, 2, 17, 5, 31, 16, '#', '\t', 5, 21, 17, 4, 25, 3, 21, 3, 27, 11, 14, 20, 1, 16, '\t', '\t', '\f', 16, 11, 15, 23, 1, 20}, (byte) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 79), View.MeasureSpec.getMode(0) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new char[]{'!', '#', NistHelper.SEP_FS, '#', 13753}, (byte) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 15), Color.blue(0) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{16444, 55555, 29213, 35804, 9425, 48711, 55055, 28916, 35244, 9084, 48167, 54709, 28415, 34699, 8535, 47646, 54232, 27779, 34386, 8025, 47271, 53739, 27432, 33849, 7651, 46841, 53141, 26881, 33306, 7059, 46288, 52809, 26381, 33015, 6590, 45869}, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 39227, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (KeyEvent.getMaxKeyCode() >> 16), View.combineMeasuredStates(0, 0) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
private static void aD(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object obj;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = l;
Object obj2 = null;
int i4 = 6;
int i5 = -1;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 297, 5 - ((Process.getThreadPriority(0) + 20) >> i4), (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))));
byte b2 = (byte) 0;
byte b3 = (byte) i5;
Object[] objArr3 = new Object[1];
aF(b2, (byte) (b2 | 40), b3, objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i6] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i6++;
i4 = 6;
i5 = -1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(m)};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(View.resolveSize(0, 0) + 298, Color.rgb(0, 0, 0) + 16777221, (char) Color.red(0));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
aF(b4, (byte) (b4 | 40), (byte) (-1), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i7 = $10 + 119;
$11 = i7 % 128;
if (i7 % 2 == 0) {
i2 = i + 61;
cArr4[i2] = (char) (cArr[i2] >>> b);
} else {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
}
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
int i8 = $11 + 57;
$10 = i8 % 128;
int i9 = i8 % 2;
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
obj = obj2;
} else {
try {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(233 - Color.blue(0), 5 - View.getDefaultSize(0, 0), (char) (22023 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
aF(b5, (byte) (b5 | 43), (byte) (-1), objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
int i10 = $10 + 9;
$11 = i10 % 128;
int i11 = i10 % 2;
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c(327 - (ViewConfiguration.getLongPressTimeout() >> 16), TextUtils.getTrimmedLength("") + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)));
byte b6 = (byte) 0;
Object[] objArr9 = new Object[1];
aF(b6, (byte) (b6 | 41), (byte) (-1), objArr9);
obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i12];
} else {
obj = null;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i13 = (irs.a * charValue) + irs.f;
int i14 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i13];
cArr4[irs.e + 1] = cArr2[i14];
} else {
int i15 = (irs.a * charValue) + irs.j;
int i16 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i15];
cArr4[irs.e + 1] = cArr2[i16];
}
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
irs.e += 2;
obj2 = obj;
}
}
for (int i17 = 0; i17 < i; i17++) {
cArr4[i17] = (char) (cArr4[i17] ^ 13722);
}
objArr[0] = new String(cArr4);
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object d(Object[] objArr) {
int i = 2 % 2;
int i2 = s;
int i3 = i2 + 87;
f7494o = i3 % 128;
if (i3 % 2 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = i2 + 11;
f7494o = i4 % 128;
int i5 = i4 % 2;
return Integer.valueOf(R.layout.2131558574);
}
@Override // o.AbstractActivityC8772dVf, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = f7494o + 29;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 10 / 0;
}
int i5 = s + 11;
f7494o = i5 % 128;
int i6 = i5 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final int K() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1103810385;
return ((Integer) d(new Object[]{this})).intValue();
}
}