what-the-bank/sources/com/scb/phone/view/activity/bankingagent/Hilt_BankingEnterAmountActi...

658 lines
39 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.bankingagent;
import android.content.Context;
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.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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13068fPo;
import o.C13073fPt;
import o.C4403bZM;
import o.InterfaceC17278vUG;
import o.InterfaceC9879dsH;
import o.VLM;
import o.fOV;
import o.fPA;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public abstract class Hilt_BankingEnterAmountActivity extends BaseActivity implements fPA {
private volatile C13073fPt b;
private static final byte[] $$p = {78, -14, -82, ISO7816.INS_UPDATE_BINARY};
private static final int $$q = 9;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int r = 1;
private static char[] l = {36787, 22763, 8472, 2469, 53985, 47880, 33724, 27805, 13573, 7598, 59034, 53055, 38836, 24790, 18803, 4526, 64209, 50022, 52578, 6689, 25588, 19299, 36919, 36787, 22763, 8472, 2469, 53985, 47880, 33724, 27805, 13579, 7597, 59076, 53057, 38791, 24794, 18788, 4514, 64212, 50044, 43960, 29918, 23882, 9625, 3802, 55142, 49051, 35017, 55285, 164, 31070, 20899, 35499, 58132, 56232, 13508, 27934, 17906, 48784, 38680, 53219, 14541, 4405, 18917, 41686, 39728, 62440, 11401, 1339, 32211, 22239, 36652, 59274, 53389, 2417, 25052, 23075, 45862, 60306, 50300, 15637, 5574, 20082, 42768, 40862, 51250, 8524, 6631, 29294, 43807, 33723, 64620, 54611, 3511, 26115, 24329, 35485, 23955, 9314, 3274, 55233, 48764, 34451, 27128, 12406, 6346, 58281, 51748, 37514, 26019, 19470, 5341, 65517, 50777, 44676, 29113, 22529, 8431, 2993, 53791, 47799, 36283, 21580, 15540, 1856, 60945, 46839, 39185, 24616, 18601, 4883, 64044, 49909, 38237, 31783, 17548, 12113, 63011, 56975, 41298, 34926, 20692, 15208, 608, 60110, 48446, 33840, 27793, 14182, 8134, 59030, 51499, 37316, 30914, 17196, 11152, 62125, 50559, 44429, 29858, 36794, 22769, 8456, 2471, 54013, 47963, 33783, 27804, 13593, 7604, 59093, 52994, 38821, 24790, 18813, 4518, 64199, 50023, 43951, 29902, 23935, 9629, 3786, 55138, 49044, 35014, 20778, 14731, 574, 60283, 45957, 39994, 25926, 19846, 5693, 65348, 51098, 36975, 31071, 16870, 10795, 62287, 56304, 42044, 36183, 21996, 15889, 1881, 61415, 47195, 33103, 27112, 12819, 6910, 58345, 52243, 38067, 32162, 17933, 11953, 63441, 49164, 43187, 29135, 23101, 8883, 2958, 54328, 48299, 34263, 28285, 13981, 8158, 59502, 36843, 22699, 8516, 2553, 53950};
private static long k = 691139477607438469L;
private static int[] t = {-1823647560, 449481269, -1584635794, -486788553, -231750342, 116315163, -239963261, 90535858, -187024653, 1248776631, -1216372220, -1487321935, 1412630488, 1023510534, 1435548010, 1658274202, -95748174, -1862250020};
/* renamed from: o, reason: collision with root package name */
private final Object f6577o = new Object();
boolean m = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002c). 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 aD(int r7, byte r8, int r9, java.lang.Object[] r10) {
/*
byte[] r0 = com.scb.phone.view.activity.bankingagent.Hilt_BankingEnterAmountActivity.$$p
int r8 = r8 * 4
int r8 = 3 - r8
int r9 = 106 - r9
int r7 = r7 * 3
int r7 = r7 + 1
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r3 = r7
r9 = r8
r4 = r2
goto L2c
L15:
r3 = r2
L16:
int r8 = r8 + 1
int r4 = r3 + 1
byte r5 = (byte) r9
r1[r3] = r5
if (r4 != r7) goto L27
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L27:
r3 = r0[r8]
r6 = r9
r9 = r8
r8 = r6
L2c:
int r8 = r8 + r3
r3 = r4
r6 = r9
r9 = r8
r8 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bankingagent.Hilt_BankingEnterAmountActivity.aD(int, byte, int, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_BankingEnterAmountActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.bankingagent.Hilt_BankingEnterAmountActivity.2
private Hilt_BankingEnterAmountActivity b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_BankingEnterAmountActivity hilt_BankingEnterAmountActivity = this.b;
if (hilt_BankingEnterAmountActivity.m) {
return;
}
hilt_BankingEnterAmountActivity.m = true;
((InterfaceC9879dsH) hilt_BankingEnterAmountActivity.y_()).d((BankingEnterAmountActivity) hilt_BankingEnterAmountActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = s + 115;
r = i2 % 128;
int i3 = i2 % 2;
Object y_ = g().y_();
int i4 = s + 91;
r = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt g() {
if (this.b == null) {
synchronized (this.f6577o) {
if (this.b == null) {
this.b = new C13073fPt(this);
}
}
}
return this.b;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
int i2 = r + 13;
s = 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 = r + 1;
s = i4 % 128;
if (i4 % 2 != 0) {
bundle = getIntent().getExtras();
int i5 = 1 / 0;
} else {
bundle = getIntent().getExtras();
}
} else {
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i6 = s + 115;
r = i6 % 128;
if (i6 % 2 != 0) {
return aBN_;
}
throw null;
}
/* JADX WARN: Removed duplicated region for block: B:63:0x0291 */
/* JADX WARN: Removed duplicated region for block: B:64:0x0292 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aB(int r22, int r23, char r24, java.lang.Object[] r25) {
/*
Method dump skipped, instructions count: 667
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bankingagent.Hilt_BankingEnterAmountActivity.aB(int, int, char, 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
public void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 111, TextUtils.lastIndexOf("", '0', 0, 0) + 19, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 98), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_omnibus_all_product_property_header).substring(50, 51).length() + 4, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) + 17018), 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];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.gift_sender).substring(6, 7).codePointAt(0) - 35, 26 - Color.blue(0), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_decline_ncb_consent_name_title).substring(0, 8).length() - 8), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aC(new int[]{-2503494, -345946306, -1736691793, -1134722465, 236167368, -1189717990, -198492738, 533527687, 1375833736, -439273738}, ((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);
int i2 = r + 37;
s = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = r + 71;
s = 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((Process.myPid() >> 22) + 492, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) TextUtils.indexOf("", "", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_edit_qr_shop_ref_hint).substring(4, 5).codePointAt(0) + 17, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 14, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_monthly_income_about_subtitle).substring(108, 109).length() + 22549), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aC(new int[]{-51600930, 1727053618, -2140294507, -1036438674, -966519895, -855277417, -1444654103, 1735185857, 1224010969, 85467553, 744954483, 210668459, 679047241, -1574604651, -1704370884, -662983398, -1102253080, -1125566965, -2024780809, 463742926, 638688637, -1873674714, 1874948904, 2004518723, -1830114358, 18652975, 838147443, 503072559, -1803291938, -1248787363, 1560016948, 169979036}, 64 - (Process.myTid() >> 22), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_withdrawal_generate_qr_title).substring(8, 9).length() + 96, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.collateral_feature_header_instruction_mcmc).substring(39, 40).length() + 1325), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(161 - View.MeasureSpec.makeMeasureSpec(0, 0), (ViewConfiguration.getLongPressTimeout() >> 16) + 74, (char) TextUtils.indexOf("", "", 0, 0), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(ExpandableListView.getPackedPositionGroup(0L) + 235, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aC(new int[]{867905205, -1196299979, -919654996, 1682424822, -150451122, 886546699, 1771611649, 1522477084, 246447261, 1051787061, -270495488, 892256153, 1259480359, 1363231407, -939437641, 454896462, 1641499597, -1373169430}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, 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(487 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (KeyEvent.getMaxKeyCode() >> 16))).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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void aC(int[] iArr, int i, Object[] objArr) {
Object method;
int[] iArr2;
char c;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = t;
int i3 = 16;
int i4 = 1;
int i5 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[0] = Integer.valueOf(iArr3[i6]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - (ViewConfiguration.getJumpTapTimeout() >> i3), (-16777211) - Color.rgb(0, 0, 0), (char) (58134 - TextUtils.getOffsetBefore("", 0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i6] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i6++;
i3 = 16;
i4 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = t;
if (iArr6 != null) {
int i7 = $10 + 49;
$11 = i7 % 128;
int i8 = i7 % 2;
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i9 = 0;
while (i9 < length3) {
int i10 = $10 + 111;
$11 = i10 % 128;
int i11 = i10 % 2;
Object[] objArr3 = new Object[1];
objArr3[i5] = Integer.valueOf(iArr6[i9]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
c = 55346;
} else {
obj2 = ((Class) xzZ.c(14 - ExpandableListView.getPackedPositionChild(0L), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (58134 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
c = 55346;
xzZ.y.put(729798706, obj2);
}
iArr7[i9] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i9++;
iArr6 = iArr2;
i5 = 0;
}
iArr6 = iArr7;
}
int i12 = i5;
System.arraycopy(iArr6, i12, iArr5, i12, length2);
c4403bZM.b = i12;
while (c4403bZM.b < iArr.length) {
int i13 = $11 + 25;
$10 = i13 % 128;
int i14 = i13 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i15 = $10 + 125;
$11 = i15 % 128;
int i16 = 2;
int i17 = i15 % 2;
int i18 = 0;
while (i18 < 16) {
int i19 = $10 + 85;
$11 = i19 % 128;
if (i19 % i16 == 0) {
c4403bZM.e ^= iArr5[i18];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c(117 - TextUtils.lastIndexOf("", '0', 0), 5 - TextUtils.indexOf("", ""), (char) View.MeasureSpec.makeMeasureSpec(0, 0));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr5 = new Object[1];
aD(b, b2, (byte) (b2 + 2), objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i18 += 82;
} else {
c4403bZM.e ^= iArr5[i18];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(118 - View.getDefaultSize(0, 0), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) TextUtils.getTrimmedLength(""));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aD(b3, b4, (byte) (b4 + 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i18++;
}
i16 = 2;
}
int i20 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i20;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i21 = c4403bZM.e;
int i22 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
try {
Object[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 != null) {
method = obj5;
} else {
Class cls3 = (Class) xzZ.c(97 - TextUtils.lastIndexOf("", '0'), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
aD(b5, b5, (byte) $$p.length, objArr9);
method = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, method);
}
((Method) method).invoke(null, objArr8);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2, 0, i);
}
@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) {
Object[] objArr = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 11, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, (char) (ViewConfiguration.getTapTimeout() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aC(new int[]{-2503494, -345946306, -1736691793, -1134722465, 236167368, -1189717990, -198492738, 533527687, 1375833736, -439273738}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.redeem_rmf_dialog_description).substring(81, 82).codePointAt(0) - 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = s + 75;
r = i2 % 128;
try {
if (i2 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 493, 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) Gravity.getAbsoluteGravity(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(ImageFormat.getBitsPerPixel(0) + 488, 4 - TextUtils.lastIndexOf("", '0', 0), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(493 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 4 - TextUtils.lastIndexOf("", '0', 0), (char) KeyEvent.getDeadChar(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(487 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - Color.red(0), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
int i3 = r + 25;
s = i3 % 128;
int i4 = i3 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@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;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 75, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.product_points_and_points_plus_cash).substring(0, 5).codePointAt(1) - 49), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aC(new int[]{-2503494, -345946306, -1736691793, -1134722465, 236167368, -1189717990, -198492738, 533527687, 1375833736, -439273738}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_management_mutual_fund_errror_message).substring(6, 7).codePointAt(0) - 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = s + 25;
r = i2 % 128;
if (i2 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 64 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i4 = r + 73;
s = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 492, (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) Color.green(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(488 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), ExpandableListView.getPackedPositionType(0L) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = 16 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 492, (Process.myPid() >> 22) + 5, (char) (ExpandableListView.getPackedPositionChild(0L) + 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(ExpandableListView.getPackedPositionGroup(0L) + 487, TextUtils.getOffsetBefore("", 0) + 5, (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@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];
aB((-1) - TextUtils.lastIndexOf("", '0', 0, 0), (KeyEvent.getMaxKeyCode() >> 16) + 18, (char) View.resolveSizeAndState(0, 0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(Color.red(0) + 18, TextUtils.getOffsetAfter("", 0) + 5, (char) (17116 - ImageFormat.getBitsPerPixel(0)), 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 = r + 103;
s = i2 % 128;
if (i2 % 2 != 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
context2 = context.getApplicationContext();
int i3 = s + 77;
r = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 4 / 3;
}
} else {
context2 = context;
}
if (context2 != null) {
int i5 = r + 23;
s = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - Color.red(0), TextUtils.getOffsetAfter("", 0) + 5, (char) (MotionEvent.axisFromString("") + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aB((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 50, 47 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (ImageFormat.getBitsPerPixel(0) + 22551), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aC(new int[]{-51600930, 1727053618, -2140294507, -1036438674, -966519895, -855277417, -1444654103, 1735185857, 1224010969, 85467553, 744954483, 210668459, 679047241, -1574604651, -1704370884, -662983398, -1102253080, -1125566965, -2024780809, 463742926, 638688637, -1873674714, 1874948904, 2004518723, -1830114358, 18652975, 838147443, 503072559, -1803291938, -1248787363, 1560016948, 169979036}, 64 - (Process.myPid() >> 22), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(View.resolveSizeAndState(0, 0, 0) + 97, 63 - ExpandableListView.getPackedPositionChild(0L), (char) (TextUtils.indexOf((CharSequence) "", '0') + 1327), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(Color.blue(0) + CipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384, View.resolveSizeAndState(0, 0, 0) + 74, (char) View.resolveSizeAndState(0, 0, 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(235 - TextUtils.getCapsMode("", 0, 0), 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aC(new int[]{867905205, -1196299979, -919654996, 1682424822, -150451122, 886546699, 1771611649, 1522477084, 246447261, 1051787061, -270495488, 892256153, 1259480359, 1363231407, -939437641, 454896462, 1641499597, -1373169430}, 36 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 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 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), Color.red(0) + 5, (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, obj3);
}
((Method) obj3).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 = s + 105;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 36 / 0;
}
}
}