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

592 lines
36 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.kmc.kut.utilities.IpLibUtil;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.transferandpay.ScanPaymentActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13068fPo;
import o.VLM;
import okhttp3.internal.http2.Http2Connection;
/* renamed from: o.epa, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11980epa extends BaseActivity implements fPA {
private volatile C13073fPt m;
private static final byte[] $$g = {76, 73, -112, -126};
private static final int $$h = 7;
private static int $10 = 0;
private static int $11 = 1;
private static int v = 0;
private static int w = 1;
private static long k = -1068168756887864221L;
private static int l = 452713125;
private static char t = 55973;
private static char p = 11051;
private static char r = 63984;
private static char s = 1066;
private static char q = 5168;
/* renamed from: o, reason: collision with root package name */
private final Object f9081o = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> 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(int r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 2
int r0 = r7 + 1
byte[] r1 = o.AbstractActivityC11980epa.$$g
int r8 = r8 + 66
int r6 = r6 * 3
int r6 = r6 + 4
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r8 = r6
r3 = r7
r4 = r2
goto L2b
L15:
r3 = r2
L16:
byte r4 = (byte) r8
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r7) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L25:
r3 = r1[r6]
r5 = r8
r8 = r6
r6 = r3
r3 = r5
L2b:
int r6 = -r6
int r6 = r6 + r3
int r8 = r8 + 1
r3 = r4
r5 = r8
r8 = r6
r6 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11980epa.az(int, byte, short, java.lang.Object[]):void");
}
public AbstractActivityC11980epa() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.epa.2
private AbstractActivityC11980epa b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11980epa abstractActivityC11980epa = this.b;
if (abstractActivityC11980epa.b) {
return;
}
abstractActivityC11980epa.b = true;
((InterfaceC11994epo) abstractActivityC11980epa.y_()).d((ScanPaymentActivity) abstractActivityC11980epa);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = w + 33;
v = i2 % 128;
int i3 = i2 % 2;
Object y_ = j().y_();
int i4 = v + 107;
w = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 14 / 0;
}
return y_;
}
private C13073fPt j() {
if (this.m == null) {
synchronized (this.f9081o) {
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();
Object obj = null;
if (getIntent() != null) {
int i2 = w + 59;
v = i2 % 128;
if (i2 % 2 != 0) {
getIntent().getExtras();
obj.hashCode();
throw null;
}
bundle = getIntent().getExtras();
} else {
int i3 = v + 123;
w = i3 % 128;
int i4 = i3 % 2;
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i5 = v + 69;
w = i5 % 128;
if (i5 % 2 != 0) {
return aBN_;
}
throw null;
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i3 = $10 + 101;
$11 = i3 % 128;
int i4 = i3 % 2;
cArr3[0] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i5 = 58224;
for (int i6 = 0; i6 < 16; i6++) {
int i7 = $10 + 17;
$11 = i7 % 128;
int i8 = i7 % 2;
char c = cArr3[1];
char c2 = cArr3[0];
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i5) ^ ((c2 << 4) + ((char) (s ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(q)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 412, 5 - TextUtils.getCapsMode("", 0, 0), (char) KeyEvent.getDeadChar(0, 0));
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, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr3[0]), Integer.valueOf((charValue + i5) ^ ((charValue << 4) + ((char) (p ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(r)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - (Process.myPid() >> 22), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b3 = (byte) 0;
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);
}
cArr3[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i5 -= 40503;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2[jtb.b] = cArr3[0];
cArr2[jtb.b + 1] = cArr3[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(99 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) ((Process.getThreadPriority(0) + 20) >> 6));
byte b5 = (byte) 0;
byte b6 = b5;
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(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
String str = new String(cArr2, 0, i);
int i9 = $10 + 65;
$11 = i9 % 128;
int i10 = i9 % 2;
objArr[0] = str;
}
private static void ax(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i3 = $11 + 3;
$10 = i3 % 128;
int i4 = i3 % 2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(Color.alpha(0) + 45, 5 - View.MeasureSpec.getMode(0), (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 352, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (52129 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr4 = new Object[1];
az(b, b2, (byte) (b2 | 49), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(749 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 5 - TextUtils.getOffsetBefore("", 0), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).getMethod(com.pingan.ai.p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 402, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) (ExpandableListView.getPackedPositionType(0L) + 21608));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 | ISO7816.INS_DECREASE), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (k ^ 9051040786702654117L)) ^ ((int) (l ^ 9051040786702654117L))) ^ ((char) (t ^ 9051040786702654117L)));
nhs.a++;
int i5 = $11 + 85;
$10 = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
@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];
ax((char) ((ViewConfiguration.getTapTimeout() >> 16) + 41787), new char[]{52282, 55850, 43700, 23780, 35890, 47193, 61755, 60935, 59080, 50090, 5063, 40848, 45147, 61891, 19810, 52610, 21469, 37631}, new char[]{2204, 61381, 15275, 12963}, new char[]{59078, 55164, 56200, 36022}, ViewConfiguration.getMinimumFlingVelocity() >> 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{24046, 61073, 59707, 25715, 2509, 34672}, TextUtils.lastIndexOf("", '0', 0, 0) + 6, 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 = w + 53;
v = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 39791), new char[]{60478, 64393, 59343, 26256, 49160, 55321, 41433, 61029, 63771, 9796, 7870, 58919, 21460, 64702, 24318, 2699, 37529, 20767, 34134, 33601, 6058, 4090, 17847, 27647, 62375, 38299}, new char[]{43349, 6530, 37194, 6043}, new char[]{59078, 55164, 56200, 36022}, ((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];
ay(new char[]{50108, 34245, 51469, 46002, 37143, 64109, 59371, 64708, 29957, 12923, 36005, 29230, 19561, 20952, 21104, 21735, 10783, 42783}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = v + 81;
w = i4 % 128;
if (i4 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 75 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i6 = w + 79;
v = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Gravity.getAbsoluteGravity(0, 0), TextUtils.lastIndexOf("", '0') + 6, (char) KeyEvent.keyCodeFromString(""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new char[]{19527, 7306, 43359, 32706, 55052, 37676, 14923, 2851, 4552, 2751, 12723, 36959, 23487, 8542, 6038, 19652, 61225, 36477, 40139, 18857, 5150, 10310, 22300, 62276, 1146, 51158, 2688, 47532, 48932, 41118, 3105, 54285, 3189, 24432, 50228, 11808, 6377, 28078, 31897, 13794, 38948, 4680, 27873, 46303, 59635, 4733, 27607, 26675}, 49 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{3732, 54584, 12230, 32375, 54886, 53686, 1709, 15688, 48106, 34635, 49132, 52493, 49132, 52493, 2920, 28807, 32275, 33738, 62212, 54486, 35363, 787, 13765, 32052, 56009, 24806, 37094, 48291, 36049, 55215, 51790, 42612, 8931, 14981, 33357, 17359, 961, 29711, 31897, 13794, 54886, 53686, 20754, 60259, 47709, 9235, 54886, 53686, 43414, 24705, 59999, 58394, 59635, 4733, 49165, 47193, 2007, 49949, 4324, 23804, 54886, 53686, 43184, 38707}, Color.rgb(0, 0, 0) + 16777280, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), new char[]{8148, 56324, 56525, 45686, 20708, 23776, 41134, 47193, 18441, 43410, 6537, 10824, 46435, 5698, 61177, 10879, 15024, 64591, 35760, 5022, 22357, 45506, 32597, 15240, 31552, 17829, 45380, 41581, 48805, 46813, 58707, 28821, 51044, 37117, 31456, 26046, 3650, 48671, 45423, 10601, 30456, 25280, 57820, 14219, 12732, 33527, 22795, 36129, 58380, 10901, 36522, 15013, 24547, 13806, 44230, 3178, 63719, 58039, 58756, 12829, 19181, 38258, 14659, 24403}, new char[]{27648, 8429, 15203, 12730}, new char[]{59078, 55164, 56200, 36022}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.zxing_app_name).substring(0, 15).codePointAt(4) - 111, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((char) Color.red(0), new char[]{29929, 61234, 7723, 47680, 26800, 20925, 60914, 24800, 55681, 18307, 5634, 10843, 65132, 61905, 18765, 52201, 14900, 61425, 44494, 55003, 11545, 48715, 16525, 9958, 36405, 8708, 39232, 32310, 16265, 25489, 553, 9249, 60369, 56619, 17357, 48583, 15278, 60536, 35263, 30515, 50282, 5300, 1099, 6779, 39874, 22421, 28780, 18853, 56216, 28844, 6177, 4858, 44936, 307, 27246, 15368, 17289, 36195, 49526, 45560, 18257, 64341, 46354, 9583, 34409, 17741, 18791, 26137, 51870, 23470, 34302, 44923, 18527, 47410}, new char[]{40759, 19383, 51421, 23300}, new char[]{59078, 55164, 56200, 36022}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) + IpLibUtil.KIPP_BAD_HISTOGRAM, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{60015, 33802, 58705, 16268, 62968, 16409}, View.getDefaultSize(0, 0) + 5, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new char[]{6485, 62296, 38948, 4680, 23479, 49729, 47893, 33161, 720, 44670, 2425, 23640, 2402, 60350, 7988, 16620, 938, 23871, 22586, 45024, 14073, 13345, 40527, 39692, 35607, 27946, 12723, 36959, 6790, 40050, 2688, 47532, 12493, 9919, 32310, 57505}, 36 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 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 - Color.red(0), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} 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;
int i2 = w + 27;
v = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.investment_remark_today_awaiting).substring(0, 1).length() + 39824), new char[]{60478, 64393, 59343, 26256, 49160, 55321, 41433, 61029, 63771, 9796, 7870, 58919, 21460, 64702, 24318, 2699, 37529, 20767, 34134, 33601, 6058, 4090, 17847, 27647, 62375, 38299}, new char[]{43349, 6530, 37194, 6043}, new char[]{59078, 55164, 56200, 36022}, ExpandableListView.getPackedPositionType(0L), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{50108, 34245, 51469, 46002, 37143, 64109, 59371, 64708, 29957, 12923, 36005, 29230, 19561, 20952, 21104, 21735, 10783, 42783}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.contact_info_national_id_consent_b2k).substring(0, 249).length() - 231, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = w + 119;
v = i3 % 128;
if (i3 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Color.alpha(0), MotionEvent.axisFromString("") + 6, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 488, 5 - View.resolveSize(0, 0), (char) TextUtils.indexOf("", ""))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} 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) {
int i2 = w + 89;
v = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 39791), new char[]{60478, 64393, 59343, 26256, 49160, 55321, 41433, 61029, 63771, 9796, 7870, 58919, 21460, 64702, 24318, 2699, 37529, 20767, 34134, 33601, 6058, 4090, 17847, 27647, 62375, 38299}, new char[]{43349, 6530, 37194, 6043}, new char[]{59078, 55164, 56200, 36022}, View.getDefaultSize(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{50108, 34245, 51469, 46002, 37143, 64109, 59371, 64708, 29957, 12923, 36005, 29230, 19561, 20952, 21104, 21735, 10783, 42783}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = v + 69;
w = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 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 - TextUtils.indexOf("", ""), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) TextUtils.indexOf("", ""))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // 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((char) (((byte) KeyEvent.getModifierMetaStateMask()) + 41788), new char[]{52282, 55850, 43700, 23780, 35890, 47193, 61755, 60935, 59080, 50090, 5063, 40848, 45147, 61891, 19810, 52610, 21469, 37631}, new char[]{2204, 61381, 15275, 12963}, new char[]{59078, 55164, 56200, 36022}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{24046, 61073, 59707, 25715, 2509, 34672}, 5 - (ViewConfiguration.getScrollBarSize() >> 8), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = w + 49;
v = i2 % 128;
if (i2 % 2 != 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 492, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new char[]{19527, 7306, 43359, 32706, 55052, 37676, 14923, 2851, 4552, 2751, 12723, 36959, 23487, 8542, 6038, 19652, 61225, 36477, 40139, 18857, 5150, 10310, 22300, 62276, 1146, 51158, 2688, 47532, 48932, 41118, 3105, 54285, 3189, 24432, 50228, 11808, 6377, 28078, 31897, 13794, 38948, 4680, 27873, 46303, 59635, 4733, 27607, 26675}, 48 - View.resolveSizeAndState(0, 0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{3732, 54584, 12230, 32375, 54886, 53686, 1709, 15688, 48106, 34635, 49132, 52493, 49132, 52493, 2920, 28807, 32275, 33738, 62212, 54486, 35363, 787, 13765, 32052, 56009, 24806, 37094, 48291, 36049, 55215, 51790, 42612, 8931, 14981, 33357, 17359, 961, 29711, 31897, 13794, 54886, 53686, 20754, 60259, 47709, 9235, 54886, 53686, 43414, 24705, 59999, 58394, 59635, 4733, 49165, 47193, 2007, 49949, 4324, 23804, 54886, 53686, 43184, 38707}, KeyEvent.getDeadChar(0, 0) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax((char) TextUtils.indexOf("", "", 0), new char[]{8148, 56324, 56525, 45686, 20708, 23776, 41134, 47193, 18441, 43410, 6537, 10824, 46435, 5698, 61177, 10879, 15024, 64591, 35760, 5022, 22357, 45506, 32597, 15240, 31552, 17829, 45380, 41581, 48805, 46813, 58707, 28821, 51044, 37117, 31456, 26046, 3650, 48671, 45423, 10601, 30456, 25280, 57820, 14219, 12732, 33527, 22795, 36129, 58380, 10901, 36522, 15013, 24547, 13806, 44230, 3178, 63719, 58039, 58756, 12829, 19181, 38258, 14659, 24403}, new char[]{27648, 8429, 15203, 12730}, new char[]{59078, 55164, 56200, 36022}, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), new char[]{29929, 61234, 7723, 47680, 26800, 20925, 60914, 24800, 55681, 18307, 5634, 10843, 65132, 61905, 18765, 52201, 14900, 61425, 44494, 55003, 11545, 48715, 16525, 9958, 36405, 8708, 39232, 32310, 16265, 25489, 553, 9249, 60369, 56619, 17357, 48583, 15278, 60536, 35263, 30515, 50282, 5300, 1099, 6779, 39874, 22421, 28780, 18853, 56216, 28844, 6177, 4858, 44936, 307, 27246, 15368, 17289, 36195, 49526, 45560, 18257, 64341, 46354, 9583, 34409, 17741, 18791, 26137, 51870, 23470, 34302, 44923, 18527, 47410}, new char[]{40759, 19383, 51421, 23300}, new char[]{59078, 55164, 56200, 36022}, TextUtils.getOffsetAfter("", 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{60015, 33802, 58705, 16268, 62968, 16409}, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{6485, 62296, 38948, 4680, 23479, 49729, 47893, 33161, 720, 44670, 2425, 23640, 2402, 60350, 7988, 16620, 938, 23871, 22586, 45024, 14073, 13345, 40527, 39692, 35607, 27946, 12723, 36959, 6790, 40050, 2688, 47532, 12493, 9919, 32310, 57505}, 36 - (ViewConfiguration.getEdgeSlop() >> 16), 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(486 - TextUtils.lastIndexOf("", '0', 0), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i3 = w + 87;
v = i3 % 128;
int i4 = i3 % 2;
} 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 = v + 35;
w = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = v + 79;
w = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 95 / 0;
}
}
}