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

591 lines
35 KiB
Java
Raw Permalink 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.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
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.view.activity.BaseActivity;
import com.scb.phone.view.activity.promptpay.PromptPayQRActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13068fPo;
import o.VLM;
/* renamed from: o.ejK, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11646ejK extends BaseActivity implements fPA {
/* renamed from: o, reason: collision with root package name */
private volatile C13073fPt f9017o;
private static final byte[] $$g = {8, 78, -66, ISO7816.INS_PSO};
private static final int $$h = 235;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int q = 1;
private static char m = 7969;
private static char l = 23095;
private static char r = 11396;
private static char s = 52315;
private static long t = 2943590315604590748L;
private final Object k = 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(byte r7, int r8, int r9, java.lang.Object[] r10) {
/*
int r8 = r8 * 3
int r8 = 1 - r8
byte[] r0 = o.AbstractActivityC11646ejK.$$g
int r9 = r9 + 66
int r7 = r7 * 3
int r7 = r7 + 4
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r9 = r7
r3 = r8
r4 = r2
goto L2b
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r9
r1[r3] = r5
if (r4 != r8) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
r3 = r0[r7]
r6 = r9
r9 = r7
r7 = r3
r3 = r6
L2b:
int r7 = r7 + r3
int r9 = r9 + 1
r3 = r4
r6 = r9
r9 = r7
r7 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11646ejK.az(byte, int, int, java.lang.Object[]):void");
}
public AbstractActivityC11646ejK() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.ejK.3
private AbstractActivityC11646ejK a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11646ejK abstractActivityC11646ejK = this.a;
if (abstractActivityC11646ejK.b) {
return;
}
abstractActivityC11646ejK.b = true;
((InterfaceC11647ejL) abstractActivityC11646ejK.y_()).d((PromptPayQRActivity) abstractActivityC11646ejK);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = q + 93;
p = i2 % 128;
int i3 = i2 % 2;
C13073fPt f = f();
if (i3 == 0) {
return f.y_();
}
f.y_();
throw null;
}
private C13073fPt f() {
if (this.f9017o == null) {
synchronized (this.k) {
if (this.f9017o == null) {
this.f9017o = new C13073fPt(this);
}
}
}
return this.f9017o;
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(t ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
while (guL.a < a.length) {
int i4 = $11 + 121;
$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(t)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", "") + 208, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (1706 - View.combineMeasuredStates(0, 0)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 | 53), 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(393 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 5 - (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)), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
az(b3, b4, (byte) (b4 | 55), 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 = $11 + 43;
$10 = i7 % 128;
if (i7 % 2 == 0) {
objArr[0] = str;
} else {
int i8 = 93 / 0;
objArr[0] = str;
}
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i2 = q + 99;
p = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
} else {
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i4 = q + 63;
p = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 67 / 0;
}
return aBN_;
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i4 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i5 = $11 + 119;
$10 = i5 % 128;
int i6 = 58224;
if (i5 % 2 != 0) {
cArr3[i4] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b];
i2 = 1;
} else {
cArr3[i4] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
i2 = i4;
}
while (i2 < 16) {
int i7 = $11 + 123;
$10 = i7 % 128;
int i8 = i7 % 2;
char c = cArr3[1];
char c2 = cArr3[i4];
int i9 = (c2 + i6) ^ ((c2 << 4) + ((char) (r ^ 41718355337583039L)));
int i10 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(s);
objArr2[2] = Integer.valueOf(i10);
objArr2[1] = Integer.valueOf(i9);
objArr2[i4] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', i4) + 413, View.resolveSize(i4, i4) + 5, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b = (byte) i4;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
String str = (String) objArr3[i4];
Class<?>[] clsArr = new Class[4];
clsArr[i4] = Integer.TYPE;
clsArr[1] = 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();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i4]), Integer.valueOf((charValue + i6) ^ ((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(412 - Color.argb(0, 0, 0, 0), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) KeyEvent.getDeadChar(0, 0));
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);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i6 -= 40503;
i2++;
cArr3 = cArr4;
i4 = 0;
} 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 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
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);
int i11 = $11 + 81;
$10 = i11 % 128;
int i12 = i11 % 2;
cArr3 = cArr5;
i4 = 0;
}
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 onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
ax(new char[]{61620, 10331, 52578, 32963, 47678, 22733, 9927, 48835, 26846, 38525, 30462, 62396, 32443, 55461, 62154, 47845, 38247, 45284}, 17 - TextUtils.lastIndexOf("", '0'), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{9743, 61980, 9826, 27302, 24132, 24392, 28567, 38248, 17767}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.juristic_resend_starting_pin).substring(7, 21).length() - 13, 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 = q + 67;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ax(new char[]{61620, 10331, 52578, 32963, 47678, 22733, 9927, 48835, 38042, 36952, 9863, 45403, 34212, 11118, 29833, 22423, 22174, 38043, 47460, 46091, 33500, 31451, 21894, 56027, 34614, 30990}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new char[]{37034, 35968, 37065, 5174, 13155, 62238, 663, 14629, 62403, 30497, 38513, 5169, 22210, 53803, 62821, 43309, 47597, 19718, 22601, 51745, 7413, 43037}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 492, View.getDefaultSize(0, 0) + 5, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new char[]{50607, 56350, 50590, 17642, 38966, 39040, 43396, 21163, 42640, 10162, 15728, 32671, 981, 33532, 24104, 49835, 60600, 7579, 62237, 41470, 18941, 63710, 5120, 1258, 10912, 23509, 35111, 60183, 38785, 14115, 10793, 19983, 28824, 37424, 20282, 11527, 56830, 27912, 57434, 45107, 48805, 51284, 1300, 6012, 7141, 43793, 42563, 64095, 33864, 1633, 56043, 22866}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{51075, 10964, 51174, 45685, 12596, 52019, 132, 287, 42169, 53625, 37922, 11379, 510, 29754, 63272, 37192, 61077, 60165, 23065, 62019, 19333, 3603, 48387, 22356, 10460, 44317, 8231, 47278, 38392, 49641, 33658, 7661, 29413, 25850, 58990, 32442, 57300, 39872, 18775, 58327, 48346, 16067, 44052, 17608, 6605, 23949, 3867, 43496, 34354, 61602, 29624, 2736, 25463, 6079, 55028, 28657, 49276, 35507, 14739, 53400, 44307, 10716, 40091, 13782, 2561, 19649, 65503, 38535}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 111, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new char[]{61818, 35891, 1267, 38908, 45643, 4100, 34691, 14329, 11673, 3271, 59931, 18294, 51234, 6169, 11032, 6435, 44159, 16588, 29427, 15411, 52391, 41688, 27082, 52909, 1317, 11422, 40964, 26299, 8304, 52600, 16833, 26903, 9897, 45436, 34772, 48817, 27035, 24583, 44245, 16266, 38067, 38219, 30471, 12612, 48757, 55610, 27493, 48610, 6029, 9568, 43210, 13828, 30771, 19512, 35013, 5242, 65411, 9375, 3212, 24977, 45540, 20606, 14610, 51148}, 63 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{45281, 36715, 45193, 6108, 431, 59090, 12381, 11499, 54174, 29854, 42208, 401, 30346, 53721, 51106, 48359, 39334, 20195, 27290, 57323, 15540, 44010, 36232, 31483, 24508, 2296, 4349, 38159, 58055, 25611, 46013, 12302, 1501, 49422, 55010, 21271, 43253, 15915, 31194, 52785, 52217, 39786, 40136, 26923, 28408, 63522, 16327, 33881, 61716, 21849, 17206, 10068, 5140, 45590, 58920, 16989, 46864, 12059, 2334, 64894, 55840, 35887, 44058, 6260, 32050, 59769, 53012, 47970, 32782, 18078, 21033, 55245, 9032, 41874, 62826, 29328, 17997, 131}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(new char[]{58332, 34990, 15068, 23890, 6666, 37271}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.material_hour_suffix).substring(0, 5).codePointAt(1) - 44, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(new char[]{3561, 50836, 60027, 54895, 21515, 59000, 45660, 52805, 11248, 21710, 8241, 58232, 9634, 53572, 28649, 28160, 44245, 16266, 37114, 61664, 6029, 9568, 30583, 29713, 31313, 51100, 23258, 12454, 36485, 54362, 24479, 53244, 33579, 51773, 36106, 42979}, ((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 - View.resolveSizeAndState(0, 0, 0), 5 - View.resolveSize(0, 0), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i4 = p + 71;
q = i4 % 128;
int i5 = i4 % 2;
}
@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();
if (baseContext == null) {
int i2 = p + 45;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new char[]{61620, 10331, 52578, 32963, 47678, 22733, 9927, 48835, 38042, 36952, 9863, 45403, 34212, 11118, 29833, 22423, 22174, 38043, 47460, 46091, 33500, 31451, 21894, 56027, 34614, 30990}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{37034, 35968, 37065, 5174, 13155, 62238, 663, 14629, 62403, 30497, 38513, 5169, 22210, 53803, 62821, 43309, 47597, 19718, 22601, 51745, 7413, 43037}, 1 - ((Process.getThreadPriority(0) + 20) >> 6), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 125;
p = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = q + 65;
p = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 492, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - TextUtils.lastIndexOf("", '0', 0, 0), 5 - Color.green(0), (char) View.MeasureSpec.getMode(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i7 = 43 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - (Process.myPid() >> 22), 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((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, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.getOffsetBefore("", 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} 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 = q + 81;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new char[]{61620, 10331, 52578, 32963, 47678, 22733, 9927, 48835, 38042, 36952, 9863, 45403, 34212, 11118, 29833, 22423, 22174, 38043, 47460, 46091, 33500, 31451, 21894, 56027, 34614, 30990}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{37034, 35968, 37065, 5174, 13155, 62238, 663, 14629, 62403, 30497, 38513, 5169, 22210, 53803, 62821, 43309, 47597, 19718, 22601, 51745, 7413, 43037}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_biller_search_initial_state).substring(50, 51).length(), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 93;
q = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = p + 65;
q = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.combineMeasuredStates(0, 0), Color.alpha(0) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).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((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 488, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) TextUtils.indexOf("", "", 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@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) {
int i = 2 % 2;
int i2 = q + 69;
p = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{61620, 10331, 52578, 32963, 47678, 22733, 9927, 48835, 26846, 38525, 30462, 62396, 32443, 55461, 62154, 47845, 38247, 45284}, 18 - Color.argb(0, 0, 0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{9743, 61980, 9826, 27302, 24132, 24392, 28567, 38248, 17767}, View.resolveSize(0, 0) + 1, 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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = p + 7;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0'), 4 - ImageFormat.getBitsPerPixel(0), (char) Gravity.getAbsoluteGravity(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[]{50607, 56350, 50590, 17642, 38966, 39040, 43396, 21163, 42640, 10162, 15728, 32671, 981, 33532, 24104, 49835, 60600, 7579, 62237, 41470, 18941, 63710, 5120, 1258, 10912, 23509, 35111, 60183, 38785, 14115, 10793, 19983, 28824, 37424, 20282, 11527, 56830, 27912, 57434, 45107, 48805, 51284, 1300, 6012, 7141, 43793, 42563, 64095, 33864, 1633, 56043, 22866}, (ViewConfiguration.getWindowTouchSlop() >> 8) + 1, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{51075, 10964, 51174, 45685, 12596, 52019, 132, 287, 42169, 53625, 37922, 11379, 510, 29754, 63272, 37192, 61077, 60165, 23065, 62019, 19333, 3603, 48387, 22356, 10460, 44317, 8231, 47278, 38392, 49641, 33658, 7661, 29413, 25850, 58990, 32442, 57300, 39872, 18775, 58327, 48346, 16067, 44052, 17608, 6605, 23949, 3867, 43496, 34354, 61602, 29624, 2736, 25463, 6079, 55028, 28657, 49276, 35507, 14739, 53400, 44307, 10716, 40091, 13782, 2561, 19649, 65503, 38535}, 1 - View.combineMeasuredStates(0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(new char[]{61818, 35891, 1267, 38908, 45643, 4100, 34691, 14329, 11673, 3271, 59931, 18294, 51234, 6169, 11032, 6435, 44159, 16588, 29427, 15411, 52391, 41688, 27082, 52909, 1317, 11422, 40964, 26299, 8304, 52600, 16833, 26903, 9897, 45436, 34772, 48817, 27035, 24583, 44245, 16266, 38067, 38219, 30471, 12612, 48757, 55610, 27493, 48610, 6029, 9568, 43210, 13828, 30771, 19512, 35013, 5242, 65411, 9375, 3212, 24977, 45540, 20606, 14610, 51148}, Process.getGidForName("") + 65, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{45281, 36715, 45193, 6108, 431, 59090, 12381, 11499, 54174, 29854, 42208, 401, 30346, 53721, 51106, 48359, 39334, 20195, 27290, 57323, 15540, 44010, 36232, 31483, 24508, 2296, 4349, 38159, 58055, 25611, 46013, 12302, 1501, 49422, 55010, 21271, 43253, 15915, 31194, 52785, 52217, 39786, 40136, 26923, 28408, 63522, 16327, 33881, 61716, 21849, 17206, 10068, 5140, 45590, 58920, 16989, 46864, 12059, 2334, 64894, 55840, 35887, 44058, 6260, 32050, 59769, 53012, 47970, 32782, 18078, 21033, 55245, 9032, 41874, 62826, 29328, 17997, 131}, -TextUtils.indexOf((CharSequence) "", '0'), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new char[]{58332, 34990, 15068, 23890, 6666, 37271}, Color.blue(0) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{3561, 50836, 60027, 54895, 21515, 59000, 45660, 52805, 11248, 21710, 8241, 58232, 9634, 53572, 28649, 28160, 44245, 16266, 37114, 61664, 6029, 9568, 30583, 29713, 31313, 51100, 23258, 12454, 36485, 54362, 24479, 53244, 33579, 51773, 36106, 42979}, View.MeasureSpec.getMode(0) + 36, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 487, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (ImageFormat.getBitsPerPixel(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 i6 = p + 63;
q = i6 % 128;
int i7 = i6 % 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 = q + 79;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
int i4 = p + 109;
q = i4 % 128;
int i5 = i4 % 2;
}
}