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

628 lines
34 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.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
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.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.chubb.review.ChubbReviewActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.dzi, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC10276dzi extends BaseActivity implements fPA {
private volatile C13073fPt l;
private static final byte[] $$p = {78, -14, -82, ISO7816.INS_UPDATE_BINARY};
private static final int $$q = 95;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int q = 1;
private static char[] k = {39996, 40059, 40032, 40034, 40044, 40033, 40056, 40039, 40047, 40034, 40059, 40042, 39988, 40027, 40058, 40005, 40002, 40045, 39996, 40039, 40037, 40033, 40041, 40045, 40033, 40037, 40059, 40019, 40017, 40058, 40034, 40032, 40057, 40056, 40039, 40035, 40012, 40089, 40095, 40089, 40089, 40089, 40090, 40096, 40102, 40095, 40098, 40097, 40096, 40096, 40097, 40138, 40136, 40138, 40116, 40097, 40094, 40089, 40099, 40096, 40096, 40098, 40095, 40096, 40096, 40103, 40102, 40103, 40138, 40097, 40090, 40090, 40088, 40098, 40116, 40097, 40097, 40139, 40096, 40095, 40098, 40098, 40095, 40094, 40094, 40089, 40089, 40088, 40099, 40108, 40090, 40089, 40090, 40099, 40098, 40097, 40099, 40068, 40091, 40088, 39994, 40041, 40033, 40056, 40026, 40001, 40037, 40032, 40034, 40032, 40032, 40057, 40056, 40032, 40034, 40032, 40002, 40003, 40034, 40037, 40005, 40003, 40035, 40039, 40007, 40007, 40032, 40033, 40045, 40039, 40056, 40026, 40025, 40031, 39995, 40001, 40038, 40038, 40034, 40058, 40056, 40038, 40037, 40063, 40057, 40058, 40029, 39999, 39972, 40026, 40037, 40046, 40044, 40035, 40034, 40037, 40038, 40034, 40032, 40033, 40045, 40046, 40045, 40044, 40042, 40044, 40039, 40007, 40026, 40037, 40038, 40032, 40040, 40033, 40037, 40050, 40059, 40037, 40051, 39995, 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, 40046, 40000, 39992, 39999, 39999, 40007, 40047, 40005};
/* renamed from: o, reason: collision with root package name */
private static long f8946o = -4498846241062605396L;
private final Object m = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002a). 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 aC(int r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 4
int r0 = r6 + 1
int r7 = r7 * 2
int r7 = 4 - r7
int r8 = r8 + 71
byte[] r1 = o.AbstractActivityC10276dzi.$$p
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r4 = r6
r8 = r7
r3 = r2
goto L2a
L15:
r3 = r2
r5 = r8
r8 = r7
r7 = r5
L19:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r6) goto L26
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L26:
int r3 = r3 + 1
r4 = r1[r8]
L2a:
int r7 = r7 + r4
int r8 = r8 + 1
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10276dzi.aC(int, byte, short, java.lang.Object[]):void");
}
public AbstractActivityC10276dzi() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dzi.4
private AbstractActivityC10276dzi b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC10276dzi abstractActivityC10276dzi = this.b;
if (abstractActivityC10276dzi.b) {
return;
}
abstractActivityC10276dzi.b = true;
((InterfaceC10272dze) abstractActivityC10276dzi.y_()).a((ChubbReviewActivity) abstractActivityC10276dzi);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = t + 45;
q = i2 % 128;
int i3 = i2 % 2;
Object y_ = j().y_();
int i4 = q + 23;
t = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt j() {
if (this.l == null) {
synchronized (this.m) {
if (this.l == null) {
this.l = new C13073fPt(this);
}
}
}
return this.l;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle extras;
int i = 2 % 2;
int i2 = t + 23;
q = i2 % 128;
Bundle bundle = null;
if (i2 % 2 == 0) {
super.getDefaultViewModelProviderFactory();
((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
getIntent();
bundle.hashCode();
throw null;
}
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i3 = q + 123;
t = i3 % 128;
if (i3 % 2 != 0) {
extras = getIntent().getExtras();
int i4 = 57 / 0;
} else {
extras = getIntent().getExtras();
}
bundle = extras;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aB(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 = $11 + 27;
$10 = 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((ViewConfiguration.getLongPressTimeout() >> 16) + 402, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) (TextUtils.getOffsetAfter("", 0) + 21608));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(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() ^ (f8946o ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(239 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - ExpandableListView.getPackedPositionType(0L), (char) TextUtils.indexOf("", "", 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(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);
int i6 = $11 + 109;
$10 = i6 % 128;
int i7 = i6 % 2;
} 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) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((Process.myTid() >> 22) + 238, AndroidCharacter.getMirror('0') - '+', (char) View.MeasureSpec.getMode(0));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aC(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);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
String str = new String(cArr2);
int i8 = $10 + 109;
$11 = i8 % 128;
int i9 = i8 % 2;
objArr[0] = str;
}
@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];
aA(new int[]{0, 18, 0, 5}, true, new byte[]{1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{48647, 2434, 53533, 39088, 24650}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 46980, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aB(new char[]{48651, 57593, 1012, 41711, 50673, 25842, 34784, 9903, 18915, 59647, 3064, 43675, 52727, 27856, 36808, 11984, 20940, 61646, 5076, 45780, 54778, 29891, 38822, 14004, 22963, 63675}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 24304, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new int[]{18, 18, 0, 17}, true, new byte[]{1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = t + 13;
q = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (Process.myPid() >> 22), 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) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new char[]{48731, 46636, 44732, 42843, 40861, 37948, 36010, 34076, 64896, 62890, 59954, 58064, 56085, 54197, 51319, 49357, 14616, 12760, 10666, 7729, 5773, 3867, 1981, 31860, 29844, 27989, 25971, 23988, 21077, 19102, 17200, 48116, 45179, 43214, 41296, 39208, 37352, 34394, 65230, 63295, 61424, 58439, 56537, 54436, 52581, 50575, 14913, 13025}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.levelup_repayment_qrcode_slip_title).substring(0, 3).codePointAt(1) + 2079, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{36, 64, 94, 16}, true, new byte[]{1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{48651, 37091, 58168, 12874, 1231, 22316, 42537, 63704, 52176, 6762, 27827, 49044, 36420, 57507, 13300, 525, 21787, 42953, 63102, 51577, 7055, 27359, 48491, 36799, 56977, 12571, 1014, 21156, 42254, 62545, 50925, 6497, 26750, 47833, 36233, 56428, 11963, 461, 20509, 41644, 62967, 50179, 5973, 27106, 47200, 35604, 56722, 11376, 32568, 20974, 41162, 62225, 50600, 5366, 26380, 46603, 35042, 56162, 10774, 31936, 20259, 40575, 61655, 50130}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.preregistration_pin_locked_body).substring(31, 32).codePointAt(0) + 11921, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{100, 74, 0, 41}, false, new byte[]{1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new int[]{CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256, 5, 64, 2}, true, null, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new int[]{CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384, 36, 0, 28}, true, new byte[]{1, 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, 0, 0, 0, 1, 1, 0, 0, 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(TextUtils.indexOf((CharSequence) "", '0', 0) + 488, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) TextUtils.indexOf("", "", 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 i4 = q + 43;
t = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
/* JADX WARN: Code restructure failed: missing block: B:27:0x0021, code lost:
r6 = new java.lang.Object[1];
aB(new char[]{48651, 57593, 1012, 41711, 50673, 25842, 34784, 9903, 18915, 59647, 3064, 43675, 52727, 27856, 36808, 11984, 20940, 61646, 5076, 45780, 54778, 29891, 38822, 14004, 22963, 63675}, android.graphics.Color.blue(0) + 24317, r6);
r1 = java.lang.Class.forName((java.lang.String) r6[0]);
r7 = new java.lang.Object[1];
aA(new int[]{18, 18, 0, 17}, true, new byte[]{1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1}, r7);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
r5 = o.AbstractActivityC10276dzi.t + 83;
o.AbstractActivityC10276dzi.q = r5 % 128;
r5 = r5 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onResume() {
/*
Method dump skipped, instructions count: 309
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10276dzi.onResume():void");
}
private static void aA(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
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[] cArr2 = k;
long j = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - Color.blue(i3), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (ExpandableListView.getPackedPositionChild(j) + 41978));
byte b = (byte) i3;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
i3 = 0;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i5];
System.arraycopy(cArr2, i4, cArr4, 0, i5);
if (bArr != null) {
int i9 = $11 + 45;
$10 = i9 % 128;
if (i9 % 2 != 0) {
cArr = new char[i5];
tvh.c = 1;
} else {
cArr = new char[i5];
tvh.c = 0;
}
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i10 = $10 + 107;
$11 = i10 % 128;
int i11 = i10 % 2;
int i12 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(501 - Process.getGidForName(""), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (54 - View.MeasureSpec.getSize(0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i13 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 15, View.combineMeasuredStates(0, 0) + 5, (char) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr[i13] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), View.resolveSizeAndState(0, 0, 0) + 5, (char) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 21608));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aC(b3, b4, (byte) (b4 + 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr;
}
if (i7 > 0) {
char[] cArr5 = new char[i5];
i = 0;
System.arraycopy(cArr4, 0, cArr5, 0, i5);
int i14 = i5 - i7;
System.arraycopy(cArr5, 0, cArr4, i14, i7);
System.arraycopy(cArr5, i7, cArr4, 0, i14);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i5];
tvh.c = i;
while (tvh.c < i5) {
cArr6[tvh.c] = cArr4[(i5 - tvh.c) - 1];
tvh.c++;
int i15 = $10 + 49;
$11 = i15 % 128;
int i16 = i15 % 2;
}
cArr4 = cArr6;
}
if (i6 > 0) {
tvh.c = 0;
int i17 = $10 + 67;
$11 = i17 % 128;
int i18 = i17 % 2;
while (tvh.c < i5) {
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
tvh.c++;
}
}
objArr[0] = new String(cArr4);
}
@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();
Object obj = null;
if (baseContext == null) {
int i2 = q + 113;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB(new char[]{48651, 57593, 1012, 41711, 50673, 25842, 34784, 9903, 18915, 59647, 3064, 43675, 52727, 27856, 36808, 11984, 20940, 61646, 5076, 45780, 54778, 29891, 38822, 14004, 22963, 63675}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 24283, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{18, 18, 0, 17}, true, new byte[]{1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = t + 99;
q = i4 % 128;
if (i4 % 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(TextUtils.indexOf((CharSequence) "", '0') + 493, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 488, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i5 = t + 99;
q = i5 % 128;
int i6 = i5 % 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, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = q + 15;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new int[]{0, 18, 0, 5}, true, new byte[]{1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{48647, 2434, 53533, 39088, 24650}, 46992 - ((byte) KeyEvent.getModifierMetaStateMask()), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = t + 63;
q = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i6 = t + 47;
q = i6 % 128;
int i7 = i6 % 2;
context2 = context.getApplicationContext();
int i8 = t + 115;
q = i8 % 128;
int i9 = i8 % 2;
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 493, 5 - TextUtils.indexOf("", ""), (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new char[]{48731, 46636, 44732, 42843, 40861, 37948, 36010, 34076, 64896, 62890, 59954, 58064, 56085, 54197, 51319, 49357, 14616, 12760, 10666, 7729, 5773, 3867, 1981, 31860, 29844, 27989, 25971, 23988, 21077, 19102, 17200, 48116, 45179, 43214, 41296, 39208, 37352, 34394, 65230, 63295, 61424, 58439, 56537, 54436, 52581, 50575, 14913, 13025}, View.combineMeasuredStates(0, 0) + 2161, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new int[]{36, 64, 94, 16}, true, new byte[]{1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new char[]{48651, 37091, 58168, 12874, 1231, 22316, 42537, 63704, 52176, 6762, 27827, 49044, 36420, 57507, 13300, 525, 21787, 42953, 63102, 51577, 7055, 27359, 48491, 36799, 56977, 12571, 1014, 21156, 42254, 62545, 50925, 6497, 26750, 47833, 36233, 56428, 11963, 461, 20509, 41644, 62967, 50179, 5973, 27106, 47200, 35604, 56722, 11376, 32568, 20974, 41162, 62225, 50600, 5366, 26380, 46603, 35042, 56162, 10774, 31936, 20259, 40575, 61655, 50130}, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 11953, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{100, 74, 0, 41}, false, new byte[]{1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256, 5, 64, 2}, true, null, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384, 36, 0, 28}, true, new byte[]{1, 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, 0, 0, 0, 1, 1, 0, 0, 0}, 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((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 488, 5 - Color.blue(0), (char) (Process.myPid() >> 22))).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 + 99;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
int i4 = q + 125;
t = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 38 / 0;
}
}
}