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

627 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.PointF;
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.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.view.activity.BaseActivity;
import com.scb.phone.view.activity.prelogin.quicktopup.HowToAddFavouriteTopUpActivity;
import java.lang.reflect.Method;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.asn1.eac.EACTags;
/* renamed from: o.ehn, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11569ehn extends BaseActivity implements fPA {
private volatile C13073fPt k;
private static final byte[] $$g = {105, 77, -86, 73};
private static final int $$h = 15;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int t = 1;
/* renamed from: o, reason: collision with root package name */
private static long f9010o = 4006475651515328985L;
private static char[] m = {39997, 40056, 40044, 40020, 40045, 39995, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40012, 40035, 40059, 40004, 39996, 40025, 40032, 40037, 40036, 40036, 40037, 40061, 40045, 40021, 40038, 40032, 40040, 40041, 39993, 40000, 39992, 39999, 39999, 40007, 40047, 40005, 40007, 40002, 40001, 40001, 39972, 40003, 40047, 40040, 40042, 40012, 39972, 39994, 39994, 39992, 39995, 40012, 40040, 40001, 39992, 39994, 39973, 39993, 39997, 40005, 40007, 39992, 40002, 40040};
private final Object l = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0020 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0018 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0020 -> B:4:0x0026). 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 r5, byte r6, int r7, java.lang.Object[] r8) {
/*
int r6 = r6 * 3
int r0 = r6 + 1
int r5 = r5 + 4
int r7 = r7 + 71
byte[] r1 = o.AbstractActivityC11569ehn.$$g
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L12
r4 = r6
r3 = r2
goto L26
L12:
r3 = r2
L13:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r6) goto L20
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L20:
int r3 = r3 + 1
int r5 = r5 + 1
r4 = r1[r5]
L26:
int r4 = -r4
int r7 = r7 + r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11569ehn.az(byte, byte, int, java.lang.Object[]):void");
}
public AbstractActivityC11569ehn() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.ehn.3
private AbstractActivityC11569ehn a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11569ehn abstractActivityC11569ehn = this.a;
if (abstractActivityC11569ehn.b) {
return;
}
abstractActivityC11569ehn.b = true;
((InterfaceC11574ehs) abstractActivityC11569ehn.y_()).d((HowToAddFavouriteTopUpActivity) abstractActivityC11569ehn);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = t + 95;
p = i2 % 128;
int i3 = i2 % 2;
Object y_ = f().y_();
int i4 = t + 81;
p = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt f() {
if (this.k == null) {
synchronized (this.l) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = p + 97;
t = i2 % 128;
int i3 = i2 % 2;
VLM.LWm aBN_ = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a().aBN_(this, getIntent() != null ? getIntent().getExtras() : null, super.getDefaultViewModelProviderFactory());
int i4 = t + 51;
p = i4 % 128;
int i5 = i4 % 2;
return aBN_;
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = $10 + 71;
$11 = i3 % 128;
int i4 = i3 % 2;
int i5 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 402, 5 - (Process.myTid() >> 22), (char) (21609 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))));
byte b = (byte) (-1);
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 | 6), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (f9010o ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 238, (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) View.MeasureSpec.getMode(0));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
az(b3, b4, (byte) (b4 | 7), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $10 + 95;
$11 = i6 % 128;
int i7 = i6 % 2;
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(MotionEvent.axisFromString("") + 239, 4 - Process.getGidForName(""), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b5 = (byte) (-1);
byte b6 = (byte) (b5 + 1);
Object[] objArr7 = new Object[1];
az(b5, b6, (byte) (b6 | 7), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr2);
}
@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[]{47742, 42232, 34665, 57846, 49236, 8923, 3405, 28558, 20024, 43197, 35691, 62892, 54273, 13957, 4354, 28797, 21244, 48501}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 7705, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{0, 5, 0, 0}, false, new byte[]{1, 0, 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 baseContext = getBaseContext();
if (baseContext == null) {
int i2 = p + 101;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ay(new int[]{5, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new char[]{47740, 10111, 32839, 27986, 52782, 43800, 5141, 61901, 21191, 16338, 39073, 1425, 59008, 16495, 11597, 36429, 27424, 54292}, (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)) + 40213, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 13;
t = i4 % 128;
if (i4 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 58 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 492, TextUtils.indexOf("", "", 0) + 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[] objArr5 = new Object[1];
ax(new char[]{47662, 38675, 57437, 15820, 3776, 22619, 46363, 34531, 54181, 11573, 32355, 19447, 42216, 61826, 49942, 7250, 27085, 47815, 37899, 57670, 12976, 4092, 22892, 43627, 34801, 53482, 11650, 32531, 18440, 42377, 63121, 49163, 7502, 28337, 48113, 38207, 58933, 13309, 3263, 22912, 43797, 33880, 53640, 8899, 31832, 18808, 39648, 63486}, 11579 - View.MeasureSpec.getSize(0), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{47738, 58682, 1191, 42927, 50997, 26142, 33153, 8407, 16450, 58197, 747, 41508, 52601, 27826, 36810, 12039, 20057, 59804, 2256, 43112, 52208, 27386, 35428, 13642, 21636, 63430, 5913, 46593, 53737, 28973, 36989, 13246, 21192, 61967, 7492, 48331, 57302, 32612, 40695, 14764, 22833, 63522, 7128, 47812, 55838, 1365, 42219, 50292, 26411, 34480, 8615, 16653, 57360, 916, 41680, 49724, 28079, 36019, 11320, 20346, 61069, 2454, 43340, 51203}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + EACTags.DYNAMIC_INTERNAL_AUTHENTIFICATION, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new char[]{47742, 22280, 24689, 32161, 3778, 7111, 13664, 50739, 54101, 60545, 63994, 35711, 42057, 45384, 17085, 24550, 26766, 31330, 5943, 8274, 15746, 52980, 55330, 62740, 34324, 37808, 44223, 47503, 19203, 25722, 29092, 714, 8139, 10610, 14912, 55111, 57526, 64998, 36564, 38919, 46450, 18088, 21404, 27849, 32365, 2879, 9307, 12763, 49837, 57221, 59651, 64122, 38821, 41117, 48581, 20320, 22631, 29961, 1759, 5035, 11566, 15892, 51998, 58553}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 60685, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{47735, 14630, 48369, 13192, 46936, 10916, 43518, 11563, 40964, 10179, 39804, 7741, 40416, 4249, 37956, 3057, 36522, 624, 33046, 1217, 63610, 32546, 62179, 29077, 62793, 26865, 61411, 25460, 58907, 26068, 55676, 23597, 54219, 22161, 51780, 18923, 52415, 16400, 50966, 47825, 15990, 48440, 12505, 46979, 11090, 44771, 11688, 41294, 9226, 39820, 8054, 37415, 4566, 38081, 2112, 36836, 686, 34325, 1284, 63694, 31860, 62243, 30410, 62872, 26992, 60644, 25591, 59159, 23054, 55720, 23924, 53290, 22467, 51865}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 33600, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(new char[]{47654, 43118, 40601, 36140, 62291}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 4669, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new int[]{31, 36, 0, 0}, true, new byte[]{1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, 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(((Process.getThreadPriority(0) + 20) >> 6) + 487, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')))).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 i6 = t + 65;
p = i6 % 128;
int i7 = i6 % 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() {
Method method;
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i2 = p + 41;
t = i2 % 128;
if (i2 % 2 == 0) {
Object[] objArr = new Object[1];
ay(new int[]{5, 26, 0, 0}, true, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{47740, 10111, 32839, 27986, 52782, 43800, 5141, 61901, 21191, 16338, 39073, 1425, 59008, 16495, 11597, 36429, 27424, 54292}, 40212 >>> ((byte) KeyEvent.getModifierMetaStateMask()), objArr2);
method = cls.getMethod((String) objArr2[0], new Class[1]);
} else {
Object[] objArr3 = new Object[1];
ay(new int[]{5, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new char[]{47740, 10111, 32839, 27986, 52782, 43800, 5141, 61901, 21191, 16338, 39073, 1425, 59008, 16495, 11597, 36429, 27424, 54292}, 40212 - ((byte) KeyEvent.getModifierMetaStateMask()), objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
int i3 = p + 31;
t = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
int i5 = p + 89;
t = i5 % 128;
if (i5 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - TextUtils.getOffsetBefore("", 0), Process.getGidForName("") + 6, (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 488, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr5);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void ay(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
Object method;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr = m;
int i8 = -1;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(222 - (ExpandableListView.getPackedPositionForChild(i3, i3) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(i3, i3) == 0L ? 0 : -1)), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) ((ViewConfiguration.getEdgeSlop() >> 16) + 41977));
byte b = (byte) i8;
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
i3 = 0;
i8 = -1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i5];
System.arraycopy(cArr, i4, cArr3, 0, i5);
if (bArr != null) {
char[] cArr4 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i10 = $11 + 57;
$10 = i10 % 128;
int i11 = i10 % 2;
int i12 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 502, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (54 - (Process.myTid() >> 22)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
int i13 = $10 + 15;
$11 = i13 % 128;
int i14 = i13 % 2;
} else {
int i15 = tvh.c;
try {
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - Gravity.getAbsoluteGravity(0, 0), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (58134 - KeyEvent.normalizeMetaState(0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i15] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
c = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 != null) {
method = obj4;
} else {
Class cls2 = (Class) xzZ.c(402 - KeyEvent.keyCodeFromString(""), 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (21608 - (ViewConfiguration.getEdgeSlop() >> 16)));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 + 2), objArr7);
method = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, method);
}
((Method) method).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i7 > 0) {
char[] cArr5 = new char[i5];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i5);
int i16 = i5 - i7;
System.arraycopy(cArr5, 0, cArr3, i16, i7);
System.arraycopy(cArr5, i7, cArr3, 0, i16);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i6 > 0) {
tvh.c = 0;
int i17 = $10 + 59;
$11 = i17 % 128;
int i18 = i17 % 2;
while (tvh.c < i5) {
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
tvh.c++;
}
}
objArr[0] = new String(cArr3);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = p + 35;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = t + 31;
p = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay(new int[]{5, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{47740, 10111, 32839, 27986, 52782, 43800, 5141, 61901, 21191, 16338, 39073, 1425, 59008, 16495, 11597, 36429, 27424, 54292}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 40179, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i6 = p + 107;
t = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i8 = t + 103;
p = i8 % 128;
int i9 = i8 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.getMode(0), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 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((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 487, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i10 = t + 95;
p = i10 % 128;
int i11 = i10 % 2;
} 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 = p + 33;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{47742, 42232, 34665, 57846, 49236, 8923, 3405, 28558, 20024, 43197, 35691, 62892, 54273, 13957, 4354, 28797, 21244, 48501}, 7818 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{0, 5, 0, 0}, false, new byte[]{1, 0, 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) {
int i4 = p + 89;
t = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i6 = p + 111;
t = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 492, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new char[]{47662, 38675, 57437, 15820, 3776, 22619, 46363, 34531, 54181, 11573, 32355, 19447, 42216, 61826, 49942, 7250, 27085, 47815, 37899, 57670, 12976, 4092, 22892, 43627, 34801, 53482, 11650, 32531, 18440, 42377, 63121, 49163, 7502, 28337, 48113, 38207, 58933, 13309, 3263, 22912, 43797, 33880, 53640, 8899, 31832, 18808, 39648, 63486}, 11579 - ExpandableListView.getPackedPositionGroup(0L), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new char[]{47738, 58682, 1191, 42927, 50997, 26142, 33153, 8407, 16450, 58197, 747, 41508, 52601, 27826, 36810, 12039, 20057, 59804, 2256, 43112, 52208, 27386, 35428, 13642, 21636, 63430, 5913, 46593, 53737, 28973, 36989, 13246, 21192, 61967, 7492, 48331, 57302, 32612, 40695, 14764, 22833, 63522, 7128, 47812, 55838, 1365, 42219, 50292, 26411, 34480, 8615, 16653, 57360, 916, 41680, 49724, 28079, 36019, 11320, 20346, 61069, 2454, 43340, 51203}, 24391 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(new char[]{47742, 22280, 24689, 32161, 3778, 7111, 13664, 50739, 54101, 60545, 63994, 35711, 42057, 45384, 17085, 24550, 26766, 31330, 5943, 8274, 15746, 52980, 55330, 62740, 34324, 37808, 44223, 47503, 19203, 25722, 29092, 714, 8139, 10610, 14912, 55111, 57526, 64998, 36564, 38919, 46450, 18088, 21404, 27849, 32365, 2879, 9307, 12763, 49837, 57221, 59651, 64122, 38821, 41117, 48581, 20320, 22631, 29961, 1759, 5035, 11566, 15892, 51998, 58553}, (ViewConfiguration.getWindowTouchSlop() >> 8) + 60719, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{47735, 14630, 48369, 13192, 46936, 10916, 43518, 11563, 40964, 10179, 39804, 7741, 40416, 4249, 37956, 3057, 36522, 624, 33046, 1217, 63610, 32546, 62179, 29077, 62793, 26865, 61411, 25460, 58907, 26068, 55676, 23597, 54219, 22161, 51780, 18923, 52415, 16400, 50966, 47825, 15990, 48440, 12505, 46979, 11090, 44771, 11688, 41294, 9226, 39820, 8054, 37415, 4566, 38081, 2112, 36836, 686, 34325, 1284, 63694, 31860, 62243, 30410, 62872, 26992, 60644, 25591, 59159, 23054, 55720, 23924, 53290, 22467, 51865}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 33612, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new char[]{47654, 43118, 40601, 36140, 62291}, 4702 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{31, 36, 0, 0}, true, new byte[]{1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, 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(487 - Color.blue(0), ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@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 = t + 73;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 26 / 0;
}
}
}