what-the-bank/sources/com/scb/phone/view/activity/easycash/EasycashSalesheetIndexActiv...

686 lines
39 KiB
Java

package com.scb.phone.view.activity.easycash;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.os.Bundle;
import android.os.Process;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
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 butterknife.ButterKnife;
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.easycash.salesheets.EasycashSalesheetEmptyFragment;
import com.scb.phone.view.fragment.easycash.salesheets.EasycashSalesheetIndexFragment;
import java.lang.reflect.Method;
import java.util.List;
import o.AbstractC13482fbE;
import o.C0680Mb;
import o.C4672beb;
import o.GuL;
import o.InterfaceC13391fZD;
import o.InterfaceC6621cYR;
import o.LX;
import o.LZ;
import o.ZI;
import o.dJT;
import o.jTb;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public class EasycashSalesheetIndexActivity extends dJT implements InterfaceC6621cYR.Yju {
@InterfaceC13391fZD
public C4672beb easycashSalesheetIndexPresenter;
private static final byte[] $$g = {94, 84, -2, 0};
private static final int $$h = CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int p = 1;
/* renamed from: o, reason: collision with root package name */
private static long f7070o = -8880433267605751106L;
private static char m = 47769;
private static char l = 5637;
private static char k = 1612;
private static char s = 3266;
/* JADX WARN: Removed duplicated region for block: B:10:0x0029 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0021 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0029 -> B:4:0x002f). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(byte r6, byte r7, int r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 3
int r0 = 1 - r7
int r8 = r8 * 4
int r8 = 4 - r8
int r6 = r6 + 66
byte[] r1 = com.scb.phone.view.activity.easycash.EasycashSalesheetIndexActivity.$$g
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
r3 = -1
if (r1 != 0) goto L17
r4 = r3
r3 = r8
goto L2f
L17:
r5 = r8
r8 = r6
r6 = r5
L1a:
int r3 = r3 + 1
byte r4 = (byte) r8
r0[r3] = r4
if (r3 != r7) goto L29
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L29:
r4 = r1[r6]
r5 = r3
r3 = r6
r6 = r4
r4 = r5
L2f:
int r8 = r8 + r6
int r6 = r3 + 1
r3 = r4
goto L1a
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.easycash.EasycashSalesheetIndexActivity.az(byte, byte, int, java.lang.Object[]):void");
}
public static void c(Context context, LX lx) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) EasycashSalesheetIndexActivity.class);
intent.putExtra("com.scb.phone.SALESHEET_DISPLAYS", lx);
context.startActivity(intent);
int i2 = p + 23;
r = i2 % 128;
int i3 = i2 % 2;
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(f7070o ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
while (guL.a < a.length) {
int i4 = $11 + 73;
$10 = i4 % 128;
int i5 = i4 % 2;
guL.c = guL.a - i3;
int i6 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(f7070o)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(208 - ExpandableListView.getPackedPositionGroup(0L), TextUtils.getOffsetAfter("", 0) + 5, (char) (1706 - TextUtils.indexOf("", "", 0)));
byte b = $$g[3];
Object[] objArr3 = new Object[1];
az((byte) 53, b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 392, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)));
byte b2 = $$g[3];
Object[] objArr5 = new Object[1];
az((byte) 55, b2, b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
i3 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(a, 4, a.length - 4);
int i7 = $10 + 55;
$11 = i7 % 128;
int i8 = i7 % 2;
objArr[0] = str;
}
@Override // o.dJT, 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) {
Context applicationContext;
int i = 2 % 2;
Object obj = null;
Object[] objArr = new Object[1];
ax(new char[]{18364, 18397, 33497, 51434, 5857, 24662, 3404, 48688, 52311, 3674, 23662, 35385, 20699, 39372, 53672, 459, 58690, 58708, 25953, 62842, 27103, 28884}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{11641, 11540, 58965, 28904, 23826, 1229, 46463, 62936, 42649}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.status_bar_notification_info_overflow).substring(0, 4).length() - 3, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = p + 85;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ax(new char[]{18640, 18609, 8508, 20364, 26630, 50099, 35370, 49367, 49979, 44479, 56072, 62686, 24505, 14890, 22160, 32594, 59933, 18109, 57872, 35729, 26294, 54059, 31116, 5661, 61712, 24494, 62734, 41605, 3497, 58414}, 1 - View.getDefaultSize(0, 0), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new char[]{48416, 48451, 33853, 18712, 23076, 26281, 36008, 62197, 14017, 2210, 56730, 50835, 43608, 40752, 20494, 19767, 8143, 58277, 58514, 47539, 37727, 30262}, 1 - KeyEvent.keyCodeFromString(""), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = r + 57;
p = i4 % 128;
if (i4 % 2 == 0) {
applicationContext = baseContext.getApplicationContext();
int i5 = 51 / 0;
} else {
applicationContext = baseContext.getApplicationContext();
}
baseContext = applicationContext;
}
if (baseContext != null) {
int i6 = p + 83;
r = i6 % 128;
int i7 = i6 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(493 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), Color.argb(0, 0, 0, 0) + 5, (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
ax(new char[]{6693, 6676, 59917, 50373, 31524, 2267, 307, 54245, 37266, 26333, 20499, 59299, 3407, 61707, 56779, 27695, 47258, 36308, 26958, 39154, 13399, 6169, 62163, 1390, 41858, 38042, 32260, 45547, 24411, 12052, 2954, 15979, 51930, 48031, 38665, 43755, 17972, 14319, 8425, 55063, 64999, 49723, 44087, 17344, 26943, 24294, 14816, 51227, 58602, 59758, 50488, 29854}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_omnibus_address_info_remark).substring(46, 47).codePointAt(0) - 31, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{51168, 16892, 57884, 19032, 7551, 45708, 19348, 62580, 27157, 48376, 30593, 45771, 30593, 45771, 12632, 12930, 44865, 63699, 35910, 2927, 50305, 64485, 52132, 41460, 61434, 30841, 13290, 51085, 11076, 15901, 16536, 46584, 3135, 27520, 17021, 50894, 59918, 29072, 59956, 15607, 7551, 45708, 1372, 48657, 29798, 19738, 7551, 45708, 32492, 35279, 43172, 48534, 23466, 34417, 13394, 59924, 49741, 44412, 50787, 32849, 7551, 45708, 7908, 17362}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ccr_search_not_found_2).substring(0, 1).codePointAt(0) + 54, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{11754, 55902, 47067, 42789, 40888, 24978, 65424, 56492, 11076, 15901, 5255, 21679, 38388, 21620, 16536, 46584, 2672, 65309, 11563, 13729, 30330, 39851, 17394, 18648, 23466, 34417, 53679, 10550, 50510, 60001, 27754, 33194, 28045, 35548, 50243, 35991, 10820, 65244, 16214, 41465, 27725, 50194, 20642, 29306, 49843, 54147, 57884, 19032, 51365, 10289, 60428, 49088, 3397, 39634, 2612, 22356, 9877, 7002, 37329, 26757, 59918, 29072, 57969, 42007}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.investment_discover_not_available).substring(0, 3).codePointAt(1) + 17, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{2908, 30177, 44461, 30435, 35101, 38552, 34258, 50707, 51980, 57366, 20515, 16889, 12352, 59445, 5051, 36450, 9606, 53471, 46355, 55061, 9189, 42098, 6917, 60566, 8358, 65314, 46111, 27336, 42561, 30056, 11894, 27558, 10591, 26488, 47495, 51722, 62316, 59346, 44398, 38417, 51229, 27589, 36296, 2306, 55789, 53712, 51229, 27589, 9752, 2850, 12352, 59445, 13696, 52018, 25860, 40885, 36383, 54051, 45919, 19930, 13752, 28773, 62566, 13464, 10467, 19604, 24870, 43888, 62564, 28423, 29553, 2829, 55052, 43518}, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 75, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(new char[]{40891, 40834, 42547, 6603, 26899, 17660, 56369, 49566, 5135}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 110, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(new char[]{11449, 11484, 17055, 18890, 37937, 40991, 35898, 15526, 42841, 52803, 56648, 2225, 15260, 22976, 20672, 33640, 36439, 9567, 58432, 30651, 664, 45279, 32709, 60020, 38223, 15375, 62223, 24252, 27027, 34693, 34514, 53628, 64530, 4871, 6663, 17836, 28845, 40747, 44521, 14336}, 1 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 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(487 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - Color.alpha(0), (char) (MotionEvent.axisFromString("") + 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);
setContentView(R.layout.2131558536);
this.easycashSalesheetIndexPresenter.e((C4672beb) this);
C4672beb c4672beb = this.easycashSalesheetIndexPresenter;
final LX lx = (LX) getIntent().getParcelableExtra("com.scb.phone.SALESHEET_DISPLAYS");
if (lx != null) {
int i8 = p + 109;
r = i8 % 128;
if (i8 % 2 != 0) {
boolean z = lx.a;
obj.hashCode();
throw null;
}
if (lx.a) {
ZI.IeS ieS = new ZI.IeS(lx) { // from class: o.bec
private LX e;
@Override // o.ZI.IeS
public final void e(Object obj4) {
((InterfaceC6621cYR.Yju) obj4).c(this.e.b);
}
{
this.e = lx;
}
};
if (c4672beb.f != 0) {
int i9 = p + 103;
r = i9 % 128;
int i10 = i9 % 2;
ieS.e(c4672beb.f);
}
} else {
ZI.IeS ieS2 = new ZI.IeS(lx) { // from class: o.bed
private LX b;
@Override // o.ZI.IeS
public final void e(Object obj4) {
((InterfaceC6621cYR.Yju) obj4).b(this.b.d);
}
{
this.b = lx;
}
};
if (c4672beb.f != 0) {
int i11 = p + 31;
r = i11 % 128;
int i12 = i11 % 2;
ieS2.e(c4672beb.f);
}
}
}
ButterKnife.Dg_(this);
super.Z();
setTitle(R.string.easycash_sale_sheet_title);
ac();
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i4 = $10 + 47;
$11 = i4 % 128;
int i5 = 58224;
int i6 = 1;
if (i4 % 2 == 0) {
cArr3[i3] = cArr[jtb.b];
cArr3[i3] = cArr[jtb.b];
} else {
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
}
int i7 = i3;
while (i7 < 16) {
int i8 = $10 + 31;
$11 = i8 % 128;
int i9 = i8 % 2;
char c = cArr3[i6];
char c2 = cArr3[i3];
char[] cArr4 = cArr3;
int i10 = (c2 + i5) ^ ((c2 << 4) + ((char) (k ^ 41718355337583039L)));
int i11 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(s);
objArr2[2] = Integer.valueOf(i11);
objArr2[i6] = Integer.valueOf(i10);
objArr2[0] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - (Process.myTid() >> 22), 5 - Gravity.getAbsoluteGravity(0, 0), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b = $$g[3];
byte b2 = b;
Object[] objArr3 = new Object[i6];
az(b, b2, b2, objArr3);
String str = (String) objArr3[0];
Class<?>[] clsArr = new Class[4];
clsArr[0] = Integer.TYPE;
clsArr[i6] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr4[i6] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i5) ^ ((charValue << 4) + ((char) (m ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(l)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 412, 5 - TextUtils.indexOf("", ""), (char) ((-1) - TextUtils.lastIndexOf("", '0')));
byte b3 = $$g[3];
byte b4 = b3;
Object[] objArr5 = new Object[1];
az(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i5 -= 40503;
i7++;
int i12 = $10 + 105;
$11 = i12 % 128;
int i13 = i12 % 2;
cArr3 = cArr4;
i3 = 0;
i6 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(98 - Color.argb(0, 0, 0, 0), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (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)));
byte b5 = $$g[3];
byte b6 = (byte) (b5 + 1);
byte b7 = b5;
Object[] objArr7 = new Object[1];
az(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i3 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = p + 25;
r = i2 % 128;
int i3 = i2 % 2;
super.Z();
setTitle(R.string.easycash_sale_sheet_title);
ac();
int i4 = r + 71;
p = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC6621cYR.Yju
public final void b(List<LZ> list) {
int i = 2 % 2;
int i2 = p + 99;
r = i2 % 128;
int i3 = i2 % 2;
EasycashSalesheetIndexFragment a = EasycashSalesheetIndexFragment.a(list);
AbstractC13482fbE a2 = getSupportFragmentManager().a();
a2.b(R.id.salesheets_container, a, null, 1);
a2.b();
int i4 = p + 53;
r = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC6621cYR.Yju
public final void c(C0680Mb c0680Mb) {
EasycashSalesheetEmptyFragment a;
AbstractC13482fbE a2;
int i;
int i2 = 2 % 2;
int i3 = p + 91;
r = i3 % 128;
if (i3 % 2 != 0) {
a = EasycashSalesheetEmptyFragment.a(c0680Mb);
a2 = getSupportFragmentManager().a();
i = 0;
} else {
a = EasycashSalesheetEmptyFragment.a(c0680Mb);
a2 = getSupportFragmentManager().a();
i = 1;
}
a2.b(R.id.salesheets_container, a, null, i);
a2.b();
int i4 = r + 21;
p = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public void onDestroy() {
int i = 2 % 2;
int i2 = r + 13;
p = i2 % 128;
int i3 = i2 % 2;
super.onDestroy();
this.easycashSalesheetIndexPresenter.w_();
int i4 = r + 81;
p = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.dJT, 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 + 55;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new char[]{18640, 18609, 8508, 20364, 26630, 50099, 35370, 49367, 49979, 44479, 56072, 62686, 24505, 14890, 22160, 32594, 59933, 18109, 57872, 35729, 26294, 54059, 31116, 5661, 61712, 24494, 62734, 41605, 3497, 58414}, Color.blue(0) + 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{48416, 48451, 33853, 18712, 23076, 26281, 36008, 62197, 14017, 2210, 56730, 50835, 43608, 40752, 20494, 19767, 8143, 58277, 58514, 47539, 37727, 30262}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = p + 87;
r = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 493, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (ViewConfiguration.getKeyRepeatDelay() >> 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((ViewConfiguration.getEdgeSlop() >> 16) + 487, 5 - TextUtils.getCapsMode("", 0, 0), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).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(View.MeasureSpec.getSize(0) + 492, (-16777211) - Color.rgb(0, 0, 0), (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).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((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)) + 487, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (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)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.dJT, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = p + 19;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new char[]{18640, 18609, 8508, 20364, 26630, 50099, 35370, 49367, 49979, 44479, 56072, 62686, 24505, 14890, 22160, 32594, 59933, 18109, 57872, 35729, 26294, 54059, 31116, 5661, 61712, 24494, 62734, 41605, 3497, 58414}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.settings_label_scb_connect).substring(5, 17).codePointAt(10) - 98, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{48416, 48451, 33853, 18712, 23076, 26281, 36008, 62197, 14017, 2210, 56730, 50835, 43608, 40752, 20494, 19767, 8143, 58277, 58514, 47539, 37727, 30262}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_scb_promptpay).substring(6, 11).codePointAt(1) - 82, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = p + 125;
r = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = r + 121;
p = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 492, Gravity.getAbsoluteGravity(0, 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("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 - View.combineMeasuredStates(0, 0), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (AndroidCharacter.getMirror('0') - '0'))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i8 = p + 125;
r = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // o.dJT, 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];
ax(new char[]{18364, 18397, 33497, 51434, 5857, 24662, 3404, 48688, 52311, 3674, 23662, 35385, 20699, 39372, 53672, 459, 58690, 58708, 25953, 62842, 27103, 28884}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{11641, 11540, 58965, 28904, 23826, 1229, 46463, 62936, 42649}, Color.rgb(0, 0, 0) + 16777217, 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 || intValue > 99999) {
if (context != null) {
int i2 = r + 93;
p = i2 % 128;
if (i2 % 2 == 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 492, (Process.myTid() >> 22) + 5, (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new char[]{6693, 6676, 59917, 50373, 31524, 2267, 307, 54245, 37266, 26333, 20499, 59299, 3407, 61707, 56779, 27695, 47258, 36308, 26958, 39154, 13399, 6169, 62163, 1390, 41858, 38042, 32260, 45547, 24411, 12052, 2954, 15979, 51930, 48031, 38665, 43755, 17972, 14319, 8425, 55063, 64999, 49723, 44087, 17344, 26943, 24294, 14816, 51227, 58602, 59758, 50488, 29854}, 1 - View.MeasureSpec.getMode(0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{51168, 16892, 57884, 19032, 7551, 45708, 19348, 62580, 27157, 48376, 30593, 45771, 30593, 45771, 12632, 12930, 44865, 63699, 35910, 2927, 50305, 64485, 52132, 41460, 61434, 30841, 13290, 51085, 11076, 15901, 16536, 46584, 3135, 27520, 17021, 50894, 59918, 29072, 59956, 15607, 7551, 45708, 1372, 48657, 29798, 19738, 7551, 45708, 32492, 35279, 43172, 48534, 23466, 34417, 13394, 59924, 49741, 44412, 50787, 32849, 7551, 45708, 7908, 17362}, 64 - ExpandableListView.getPackedPositionType(0L), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{11754, 55902, 47067, 42789, 40888, 24978, 65424, 56492, 11076, 15901, 5255, 21679, 38388, 21620, 16536, 46584, 2672, 65309, 11563, 13729, 30330, 39851, 17394, 18648, 23466, 34417, 53679, 10550, 50510, 60001, 27754, 33194, 28045, 35548, 50243, 35991, 10820, 65244, 16214, 41465, 27725, 50194, 20642, 29306, 49843, 54147, 57884, 19032, 51365, 10289, 60428, 49088, 3397, 39634, 2612, 22356, 9877, 7002, 37329, 26757, 59918, 29072, 57969, 42007}, (Process.myTid() >> 22) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{2908, 30177, 44461, 30435, 35101, 38552, 34258, 50707, 51980, 57366, 20515, 16889, 12352, 59445, 5051, 36450, 9606, 53471, 46355, 55061, 9189, 42098, 6917, 60566, 8358, 65314, 46111, 27336, 42561, 30056, 11894, 27558, 10591, 26488, 47495, 51722, 62316, 59346, 44398, 38417, 51229, 27589, 36296, 2306, 55789, 53712, 51229, 27589, 9752, 2850, 12352, 59445, 13696, 52018, 25860, 40885, 36383, 54051, 45919, 19930, 13752, 28773, 62566, 13464, 10467, 19604, 24870, 43888, 62564, 28423, 29553, 2829, 55052, 43518}, TextUtils.indexOf((CharSequence) "", '0', 0) + 75, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new char[]{40891, 40834, 42547, 6603, 26899, 17660, 56369, 49566, 5135}, (ViewConfiguration.getTouchSlop() >> 8) + 1, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{11449, 11484, 17055, 18890, 37937, 40991, 35898, 15526, 42841, 52803, 56648, 2225, 15260, 22976, 20672, 33640, 36439, 9567, 58432, 30651, 664, 45279, 32709, 60020, 38223, 15375, 62223, 24252, 27027, 34693, 34514, 53628, 64530, 4871, 6663, 17836, 28845, 40747, 44521, 14336}, TextUtils.getCapsMode("", 0, 0) + 1, 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(MotionEvent.axisFromString("") + 488, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 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, objArr9);
int i3 = r + 25;
p = i3 % 128;
int i4 = i3 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.dJT, 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 = p + 49;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 41 / 0;
}
}
}