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

642 lines
41 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.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.view.activity.BaseActivity;
import com.scb.phone.view.activity.profilemanagement.promptpay.ManagePromptpaySuccessActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
/* renamed from: o.eju, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11682eju extends BaseActivity implements fPA {
private static short[] q;
private volatile C13073fPt m;
private static final byte[] $$g = {85, -17, 4, -90};
private static final int $$h = 106;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int x = 1;
private static long l = -2891843583057646206L;
/* renamed from: o, reason: collision with root package name */
private static int f9028o = -332217454;
private static int t = 1406017080;
private static int s = 396648353;
private static byte[] r = {-18, 1, -55, Ascii.EM, Ascii.SYN, -23, -26, Ascii.US, 1, -50, 16, 30, -26, Ascii.CAN, ISO7816.INS_CREATE_FILE, 4, 55, 6, ISOFileInfo.AB, Ascii.NAK, Ascii.SUB, 38, -33, -18, -17, -24, Ascii.ESC, -29, Ascii.CAN, -22, 19, 28, -6, 4, 35, -24, -87, 82, -82, Ascii.DC4, Ascii.ESC, -21, -20, 16, 47, -45, -20, Ascii.SUB, 39, -41, -21, Ascii.EM, 32, ISO7816.INS_UPDATE_RECORD, -26, 4, -7, 17, -21, Ascii.SUB, -25, 4, -7, Ascii.ESC, ISO7816.INS_UNBLOCK_CHV, -81, Ascii.DC4, 7, -21, -6, 6, -23, -26, Ascii.US, -31, 83, ISO7816.INS_UPDATE_BINARY, -24, Ascii.CAN, -22, -29, 30, -19, 19, ISO7816.INS_DELETE_FILE, Ascii.CAN, -19, Ascii.NAK, -21, Ascii.EM, -29, Ascii.EM, -19, -29, 81, Ascii.NAK, ISO7816.INS_CREATE_FILE, ISO7816.INS_WRITE_RECORD, Ascii.SYN, -23, Ascii.NAK, Ascii.EM, Ascii.ETB, -29, Ascii.US, ISO7816.INS_CREATE_FILE, 33, -23, Ascii.DC4, -22, -57, -21, 59, -61, 58, ISO7816.INS_PUT_DATA, ISO7816.INS_CHANGE_CHV, 16, -33, -21, Ascii.SYN, Ascii.DC4, 33, -23, Ascii.NAK, -22, -21, Ascii.DC2, -34, -24, 32, -17, 28, -24, -23, -18, ISO7816.INS_GET_RESPONSE, 37, Ascii.ETB, -60, -23, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private final Object k = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002b). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(short r7, short r8, int r9, java.lang.Object[] r10) {
/*
int r8 = r8 + 77
int r7 = r7 * 4
int r7 = r7 + 1
byte[] r0 = o.AbstractActivityC11682eju.$$g
int r9 = r9 * 3
int r9 = 3 - r9
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L14
r3 = r9
r4 = r2
goto L2b
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r8
r1[r3] = r5
int r9 = r9 + 1
if (r4 != r7) goto L26
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L26:
r3 = r0[r9]
r6 = r3
r3 = r9
r9 = r6
L2b:
int r9 = -r9
int r8 = r8 + r9
r9 = r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11682eju.az(short, short, int, java.lang.Object[]):void");
}
public AbstractActivityC11682eju() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.eju.2
private AbstractActivityC11682eju c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11682eju abstractActivityC11682eju = this.c;
if (abstractActivityC11682eju.b) {
return;
}
abstractActivityC11682eju.b = true;
((InterfaceC11639ejD) abstractActivityC11682eju.y_()).d((ManagePromptpaySuccessActivity) abstractActivityC11682eju);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = p + 123;
x = i2 % 128;
int i3 = i2 % 2;
C13073fPt h = h();
if (i3 != 0) {
return h.y_();
}
h.y_();
Object obj = null;
obj.hashCode();
throw null;
}
private C13073fPt h() {
if (this.m == null) {
synchronized (this.k) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
bundle = getIntent().getExtras();
int i2 = x + 83;
p = i2 % 128;
int i3 = i2 % 2;
} else {
int i4 = x + 11;
p = i4 % 128;
int i5 = i4 % 2;
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(402 - Color.alpha(0), '5' - AndroidCharacter.getMirror('0'), (char) (((Process.getThreadPriority(0) + 20) >> 6) + 21608));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (l ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (Process.myTid() >> 22) + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
az(b3, b4, (byte) (b4 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
int i4 = $10 + 65;
$11 = i4 % 128;
int i5 = i4 % 2;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(238 - View.combineMeasuredStates(0, 0), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 + 1);
Object[] objArr7 = new Object[1];
az(b5, b6, (byte) (b6 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
String str = new String(cArr2);
int i6 = $11 + 61;
$10 = i6 % 128;
int i7 = i6 % 2;
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;
int i2 = x + 7;
p = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
Object[] objArr = new Object[1];
ax(new char[]{15909, 47945, 13542, 44575, 11175, 42178, 7794, 39903, 5427, 36428, 2996, 34133, 32402, 63532, 30029, 61164, 26631, 58788}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.levelup_repayment_qrcode).substring(0, 3).length() + 34144, 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().getPackageName().length() - 13), 1073947258 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (ViewConfiguration.getMaximumFlingVelocity() >> 16) - 40, (-1147814249) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.points_value_per_unit).substring(0, 11).length() - 11), 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 i4 = x + 81;
p = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
ay((short) ExpandableListView.getPackedPositionGroup(0L), 1073947260 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ntb_success_title).substring(20, 21).length(), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.billpayment_bnpl_total_interest_fee_1).substring(26, 27).codePointAt(0) - 51, (-1147814261) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new char[]{15911, 5542, 26904, 48371, 36989, 59353, 15290, 3876, 25228, 46715, 36302, 57680, 13619, 2190, 23666, 46068, 34651, 56109}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 11125, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i6 = p + 9;
x = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = x + 91;
p = i8 % 128;
if (i8 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) View.resolveSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
ax(new char[]{15989, 64018, 46770, 29445, 12275, 60354, 42084, 24706, 7470, 55572, 38332, 19982, 2811, 50891, 33593, 49107, 30774, 13318, 61604, 44367, 27107, 9605, 56947, 39626, 22330, 4875, 53245, 34890, 17595, 128, 15742, 63946, 45653, 28400, 10910, 59190, 41862, 23588, 6208, 54497, 37214, 19961, 2455, 49722, 65163, 47985, 30543, 13247}, ((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_check_eligibility_open_mf_remark_1).substring(69, 70).codePointAt(0) + 50225, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{15905, 21291, 58472, 30982, 35398, 8039, 45118, 50470, 22089, 60164, 31988, 37373, 8938, 47067, 51397, 23990, 61090, 941, 38047, 10625, 47907, 52323, 24891, 62043, 1871, 38967, 11558, 48760, 54042, 25604, 63986, 2799, 40915, 12510, 17867, 55010, 27557, 64669, 4552, 41693, 13434, 18739, 55815, 28509, 32845, 5436, 42532, 15173, 19536, 57601, 29352, 34788, 6275, 44493, 16079, 21485, 58532, 31170, 35463, 8067, 45438, 49727, 22275, 59410}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) + 27807, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new char[]{15909, 5203, 27178, 16634, 38553, 60572, 49979, 6504, 28430, 17882, 39841, 60964, 50194, 6675, 28902, 18109, 40149, 62265, 51564, 7945, 30169, 19375, 40569, 62543, 51791, 8427, 30436, 19668, 41816, 63777, 53247, 9617, 31632, 20009, 42011, 64028, 53485, 9917, 31887, 21340, 43305, 65523, 54727, 11154, 32310, 21604, 43520, 32896, 55030, 11486, 856, 22817, 45054, 34246, 56222, 11835, 1084, 23122, 45188, 34544, 56693, 13135, 2373, 24546}, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 10799, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((short) (((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_suitability_assessment_result_mf_disclaimer).substring(19, 20).length() - 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.submit_ekyc_title_breadcrumb_th).substring(0, 21).codePointAt(12) + 1073943677, 29 - (ViewConfiguration.getLongPressTimeout() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 1147814233, (byte) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay((short) (ViewConfiguration.getFadingEdgeLength() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1073947325, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 150, (-1147814267) - (ViewConfiguration.getFadingEdgeLength() >> 16), (byte) TextUtils.getOffsetAfter("", 0), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.deposit_dialog_title).substring(0, 5).codePointAt(1) - 115), 1073947363 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), AndroidCharacter.getMirror('0') - '9', ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.point_x_remaining_balance_p).substring(31, 33).codePointAt(1) - 1147814255, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((Process.myTid() >> 22) + 487, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@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 onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i2 = p + 123;
x = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay((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().getApplicationInfo().targetSdkVersion + 1073947227, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 65, ExpandableListView.getPackedPositionChild(0L) - 1147814226, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{15911, 5542, 26904, 48371, 36989, 59353, 15290, 3876, 25228, 46715, 36302, 57680, 13619, 2190, 23666, 46068, 34651, 56109}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ntb_user_info_header).substring(17, 18).length() + 11158, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = x + 27;
p = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - Color.green(0), 4 - MotionEvent.axisFromString(""), (char) KeyEvent.getDeadChar(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollBarSize() >> 8), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (ViewConfiguration.getJumpTapTimeout() >> 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 i6 = x + 65;
p = i6 % 128;
if (i6 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@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 = p + 21;
x = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = p + 35;
x = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay((short) (Process.myTid() >> 22), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) + 1073947150, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 20, ((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_10).substring(49, 50).length() - 1147814228, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.to_stay_actively_in_control_of_your_money_and_more_accounts_to_display_in_scb_easy_app).substring(78, 79).codePointAt(0) - 32), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{15911, 5542, 26904, 48371, 36989, 59353, 15290, 3876, 25228, 46715, 36302, 57680, 13619, 2190, 23666, 46068, 34651, 56109}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.add_account_title_selector).substring(31, 32).codePointAt(0) + 11127, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = p + 117;
x = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
int i8 = x + 43;
p = i8 % 128;
int i9 = i8 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 492, View.resolveSize(0, 0) + 5, (char) View.resolveSize(0, 0))).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(487 - Color.green(0), Color.green(0) + 5, (char) View.MeasureSpec.getMode(0))).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 i10 = p + 45;
x = i10 % 128;
int i11 = i10 % 2;
}
private static void ay(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
int length;
byte[] bArr;
int i4 = 2;
int i5 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(t)};
Object obj = xzZ.y.get(-2092856797);
long j = 0;
if (obj == null) {
Class cls = (Class) xzZ.c(337 - ExpandableListView.getPackedPositionType(0L), Color.red(0) + 5, (char) TextUtils.getTrimmedLength(""));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
az(b2, (byte) (b2 | 33), b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
int i6 = intValue == -1 ? 1 : 0;
if (i6 != 0) {
byte[] bArr2 = r;
if (bArr2 != null) {
int i7 = $11 + 85;
$10 = i7 % 128;
int i8 = i7 % 2;
int length2 = bArr2.length;
byte[] bArr3 = new byte[length2];
int i9 = 0;
while (i9 < length2) {
int i10 = $11 + 1;
$10 = i10 % 128;
int i11 = i10 % i4;
Object[] objArr4 = {Integer.valueOf(bArr2[i9])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 61, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (ExpandableListView.getPackedPositionChild(j) + 1));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
az(b3, (byte) (b3 | Ascii.US), b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr3[i9] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i9++;
i4 = 2;
j = 0;
}
bArr2 = bArr3;
}
if (bArr2 != null) {
byte[] bArr4 = r;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(f9028o)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(337 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - KeyEvent.normalizeMetaState(0), (char) Gravity.getAbsoluteGravity(0, 0));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b4, (byte) (b4 | 33), b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
intValue = (byte) (((byte) (bArr4[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (t ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (q[i + ((int) (f9028o ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (t ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
dfy.c = ((i + intValue) - 2) + ((int) (f9028o ^ (-7303220121662775787L))) + i6;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(s), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(748 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), KeyEvent.keyCodeFromString("") + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj4);
}
((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr5 = r;
if (bArr5 != null) {
int i12 = $11 + 25;
$10 = i12 % 128;
if (i12 % 2 != 0) {
length = bArr5.length;
bArr = new byte[length];
} else {
length = bArr5.length;
bArr = new byte[length];
}
int i13 = 0;
while (i13 < length) {
bArr[i13] = (byte) (bArr5[i13] ^ (-7303220121662775787L));
i13++;
int i14 = $10 + 45;
$11 = i14 % 128;
int i15 = i14 % 2;
}
bArr5 = bArr;
}
boolean z = bArr5 != null;
dfy.d = 1;
while (dfy.d < intValue) {
if (z) {
byte[] bArr6 = r;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = q;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
}
objArr[0] = sb.toString();
} 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, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = x + 41;
p = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{15909, 47945, 13542, 44575, 11175, 42178, 7794, 39903, 5427, 36428, 2996, 34133, 32402, 63532, 30029, 61164, 26631, 58788}, 34147 - TextUtils.getOffsetAfter("", 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((short) Color.argb(0, 0, 0, 0), MotionEvent.axisFromString("") + 1073947258, (-40) - (ViewConfiguration.getWindowTouchSlop() >> 8), (-1147814215) + (ViewConfiguration.getMinimumFlingVelocity() >> 16), (byte) (ViewConfiguration.getScrollDefaultDelay() >> 16), 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 i4 = x + 91;
p = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i6 = p + 99;
x = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 492, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) TextUtils.getOffsetAfter("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new char[]{15989, 64018, 46770, 29445, 12275, 60354, 42084, 24706, 7470, 55572, 38332, 19982, 2811, 50891, 33593, 49107, 30774, 13318, 61604, 44367, 27107, 9605, 56947, 39626, 22330, 4875, 53245, 34890, 17595, 128, 15742, 63946, 45653, 28400, 10910, 59190, 41862, 23588, 6208, 54497, 37214, 19961, 2455, 49722, 65163, 47985, 30543, 13247}, TextUtils.indexOf((CharSequence) "", '0', 0) + 50274, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new char[]{15905, 21291, 58472, 30982, 35398, 8039, 45118, 50470, 22089, 60164, 31988, 37373, 8938, 47067, 51397, 23990, 61090, 941, 38047, 10625, 47907, 52323, 24891, 62043, 1871, 38967, 11558, 48760, 54042, 25604, 63986, 2799, 40915, 12510, 17867, 55010, 27557, 64669, 4552, 41693, 13434, 18739, 55815, 28509, 32845, 5436, 42532, 15173, 19536, 57601, 29352, 34788, 6275, 44493, 16079, 21485, 58532, 31170, 35463, 8067, 45438, 49727, 22275, 59410}, 27917 - TextUtils.getCapsMode("", 0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(new char[]{15909, 5203, 27178, 16634, 38553, 60572, 49979, 6504, 28430, 17882, 39841, 60964, 50194, 6675, 28902, 18109, 40149, 62265, 51564, 7945, 30169, 19375, 40569, 62543, 51791, 8427, 30436, 19668, 41816, 63777, 53247, 9617, 31632, 20009, 42011, 64028, 53485, 9917, 31887, 21340, 43305, 65523, 54727, 11154, 32310, 21604, 43520, 32896, 55030, 11486, 856, 22817, 45054, 34246, 56222, 11835, 1084, 23122, 45188, 34544, 56693, 13135, 2373, 24546}, 10799 - (ViewConfiguration.getFadingEdgeLength() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay((short) Color.argb(0, 0, 0, 0), Drawable.resolveOpacity(0, 0) + 1073947286, ExpandableListView.getPackedPositionGroup(0L) + 29, (-1147814219) - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((short) TextUtils.indexOf("", ""), 1073947359 - Drawable.resolveOpacity(0, 0), (-40) - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1147814268, (byte) (Process.myTid() >> 22), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((short) (ViewConfiguration.getScrollBarSize() >> 8), 1073947363 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (-9) - (ViewConfiguration.getDoubleTapTimeout() >> 16), View.getDefaultSize(0, 0) - 1147814223, (byte) (ViewConfiguration.getWindowTouchSlop() >> 8), objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - View.getDefaultSize(0, 0), View.resolveSizeAndState(0, 0, 0) + 5, (char) TextUtils.indexOf("", ""))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i8 = x + 97;
p = i8 % 128;
if (i8 % 2 != 0) {
int i9 = 0 / 0;
}
}
@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 = x + 113;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 9 / 0;
}
}
}