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

683 lines
37 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.personalize.ShortcutRouterActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.efG, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11430efG extends BaseActivity implements fPA {
private volatile C13073fPt k;
private static final byte[] $$g = {55, PSSSigner.TRAILER_IMPLICIT, ISOFileInfo.LCS_BYTE, Ascii.SYN};
private static final int $$h = 23;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int q = 1;
private static char[] l = {40082, 40249, 40224, 40232, 40227, 40228, 40235, 40181, 40196, 40251, 40198, 40195, 40238, 40224, 40228, 40225, 40227, 40237, 39996, 40037, 40039, 40037, 40033, 40041, 40045, 40033, 40037, 40059, 40019, 40017, 40058, 40034, 40032, 40057, 40056, 40039, 40040, 40170, 40182, 40175, 40134, 40128, 40131, 40135, 40155, 40163, 40173, 40134, 40168, 40182, 40180, 40174, 40134, 40133, 40133, 40173, 40181, 40163, 40173, 40168, 40175, 40175, 40130, 40169, 40181, 40182, 40176, 40170, 40130, 40128, 40128, 40134};
/* renamed from: o, reason: collision with root package name */
private static char f8990o = 32022;
private static char p = 17929;
private static char r = 53540;
private static char t = 57284;
private final Object m = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> 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(short r5, short r6, short r7, java.lang.Object[] r8) {
/*
int r6 = 73 - r6
byte[] r0 = o.AbstractActivityC11430efG.$$g
int r5 = r5 * 4
int r5 = r5 + 4
int r7 = r7 * 2
int r7 = r7 + 1
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L14
r4 = r7
r3 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r6
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r7) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L24:
r4 = r0[r5]
L26:
int r4 = -r4
int r6 = r6 + r4
int r5 = r5 + 1
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11430efG.az(short, short, short, java.lang.Object[]):void");
}
public AbstractActivityC11430efG() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.efG.5
private AbstractActivityC11430efG e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11430efG abstractActivityC11430efG = this.e;
if (abstractActivityC11430efG.b) {
return;
}
abstractActivityC11430efG.b = true;
((InterfaceC11439efP) abstractActivityC11430efG.y_()).a((ShortcutRouterActivity) abstractActivityC11430efG);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = s + 87;
q = i2 % 128;
int i3 = i2 % 2;
Object y_ = h().y_();
if (i3 == 0) {
int i4 = 79 / 0;
}
return y_;
}
private C13073fPt h() {
if (this.k == null) {
synchronized (this.m) {
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 = q + 3;
s = i2 % 128;
Bundle bundle = null;
if (i2 % 2 != 0) {
super.getDefaultViewModelProviderFactory();
((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
getIntent();
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 + 77;
s = i3 % 128;
if (i3 % 2 != 0) {
getIntent().getExtras();
bundle.hashCode();
throw null;
}
bundle = getIntent().getExtras();
int i4 = q + 43;
s = i4 % 128;
int i5 = i4 % 2;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
int i4 = $11 + 75;
$10 = i4 % 128;
int i5 = i4 % 2;
while (jtb.b < cArr.length) {
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i6 = 58224;
int i7 = i3;
while (i7 < 16) {
char c = cArr3[1];
char c2 = cArr3[i3];
int i8 = (c2 + i6) ^ ((c2 << 4) + ((char) (r ^ 41718355337583039L)));
int i9 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(t);
objArr2[2] = Integer.valueOf(i9);
objArr2[1] = Integer.valueOf(i8);
objArr2[i3] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - (CdmaCellLocation.convertQuartSecToDecDegrees(i3) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(i3) == 0.0d ? 0 : -1)), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) TextUtils.getTrimmedLength(""));
byte b = (byte) i3;
Object[] objArr3 = new Object[1];
az(b, (byte) (b | 7), b, objArr3);
String str = (String) objArr3[i3];
Class<?>[] clsArr = new Class[4];
clsArr[i3] = 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[i3]), Integer.valueOf((charValue + i6) ^ ((charValue << 4) + ((char) (f8990o ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(p)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(413 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), TextUtils.lastIndexOf("", '0') + 6, (char) Color.green(0));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
az(b2, (byte) (b2 | 7), b2, 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;
i7++;
int i10 = $11 + 11;
$10 = i10 % 128;
if (i10 % 2 != 0) {
int i11 = 4 % 2;
}
cArr3 = cArr4;
i3 = 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(TextUtils.indexOf((CharSequence) "", '0', 0) + 99, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b3, (byte) (b3 | 6), b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i3 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.BaseActivity, 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 int[]{0, 18, CipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256, 0}, true, new byte[]{0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{65237, 13074, 9514, 31854, 10923, 32000}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.credit_value).substring(0, 3).length() + 2, 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 + 125;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ay(new char[]{11733, 32505, 16777, 56759, 2407, 61817, 35252, 20807, 6573, 22644, 32845, 23465, 56932, 27425, 50407, 27071, 17311, 2314, 24051, 16822, 54991, 37660, 53091, 60212, 17490, 46557}, 26 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new int[]{18, 18, 0, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = s + 23;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 493, 5 - TextUtils.indexOf("", ""), (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new char[]{2003, 8542, 22064, 63846, 52598, 52264, 57856, 28315, 51797, 27739, 54249, 12682, 62458, 7931, 19456, 31654, 17953, 3100, 48037, 7226, 64861, 57049, 59564, 48834, 61391, 26371, 63969, 12262, 47646, 43376, 37270, 60602, 29761, 27741, 35407, 24706, 7930, 24938, 10076, 32575, 13136, 2851, 25408, 14846, 28762, 56025, 17709, 10994}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_check_eligibility_scbs_account).substring(84, 85).codePointAt(0) + 16, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{34459, 23546, 60877, 21375, 26366, 13388, 36123, 31637, 15013, 14600, 60052, 45770, 60052, 45770, 3616, 16857, 26132, 51739, 60993, 54438, 36213, 46738, 35300, 46631, 40795, 29125, 54992, 45995, 51434, 5179, 14534, 12674, 62755, 53061, 25917, 58380, 2564, 53203, 10076, 32575, 26366, 13388, 37118, 62112, 488, 44559, 26366, 13388, 28748, 33508, 62335, 24352, 28762, 56025, 22760, 44649, 54011, 23725, 46659, 54905, 26366, 13388, 40170, 58127}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{35441, 60075, 2439, 48006, 28080, 5645, 59624, 15769, 51434, 5179, 50349, 53313, 3049, 57579, 14534, 12674, 51577, 57794, 50683, 13952, 50175, 19476, 34400, 50081, 28762, 56025, 7930, 24938, 14600, 9673, 27041, 48857, 22064, 63846, 31398, 33664, 34837, 16971, 64835, 52585, 19205, 10565, 54761, 57308, 60356, 7432, 60877, 21375, 14184, 54460, 48037, 7226, 20929, 62257, 36317, 44761, 46452, 10553, 57856, 28315, 2564, 53203, 58695, 62763}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.review_omnibus_account_disclaimer).substring(16, 17).length() + 63, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{52454, 36601, 61953, 57861, 46745, 18618, 17985, 14916, 62786, 31459, 36307, 30529, 27842, 30400, 8034, 49479, 52609, 65212, 8113, 41420, 55969, 60684, 29375, 58081, 15154, 48829, 1229, 26741, 34272, 55605, 60036, 27720, 50878, 41811, 35467, 40116, 50034, 54457, 34756, 22959, 42130, 30561, 20021, 3405, 40028, 54029, 42130, 30561, 51672, 43265, 27842, 30400, 8915, 41335, 6573, 22644, 44205, 59813, 55880, 44144, 32619, 3179, 7075, 5540, 13152, 10160, 38566, 45056, 46312, 32974, 9506, 58483, 10163, 64292}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 36, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{46721, 7007, 64095, 11539, 58922, 39506}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_ota_info_second_title).substring(7, 8).length() + 4, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(new int[]{36, 36, CipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA, 14}, true, new byte[]{1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 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(486 - ((byte) KeyEvent.getModifierMetaStateMask()), ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (TextUtils.lastIndexOf("", '0', 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, 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;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{11733, 32505, 16777, 56759, 2407, 61817, 35252, 20807, 6573, 22644, 32845, 23465, 56932, 27425, 50407, 27071, 17311, 2314, 24051, 16822, 54991, 37660, 53091, 60212, 17490, 46557}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.wealth4u).substring(0, 8).codePointAt(1) - 43, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{18, 18, 0, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = s + 91;
q = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = q + 29;
s = 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(492 - (ViewConfiguration.getEdgeSlop() >> 16), ImageFormat.getBitsPerPixel(0) + 6, (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 488, TextUtils.getOffsetAfter("", 0) + 5, (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
int i5 = s + 117;
q = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 5 / 4;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void ax(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
int i2 = 2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr2 = l;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i9 = 0;
while (i9 < length) {
int i10 = $11 + 77;
$10 = i10 % 128;
int i11 = i10 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr2[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.argb(i4, i4, i4, i4) + 223, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) (Color.alpha(i4) + 41977));
byte b = (byte) i4;
byte b2 = (byte) (b + 2);
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 - 2), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
int i12 = $11 + 25;
$10 = i12 % 128;
int i13 = i12 % 2;
i2 = 2;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i6];
System.arraycopy(cArr2, i5, cArr4, 0, i6);
if (bArr != null) {
char[] cArr5 = new char[i6];
tvh.c = 0;
char c = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i14 = tvh.c;
try {
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 503, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 55))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i14] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i15 = 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('?' - AndroidCharacter.getMirror('0'), 5 - TextUtils.indexOf("", ""), (char) (TextUtils.getOffsetAfter("", 0) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i15] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getTouchSlop() >> 8), 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (21608 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
az(b3, b4, b4, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr5;
}
if (i8 > 0) {
char[] cArr6 = new char[i6];
System.arraycopy(cArr4, 0, cArr6, 0, i6);
int i16 = i6 - i8;
System.arraycopy(cArr6, 0, cArr4, i16, i8);
System.arraycopy(cArr6, i8, cArr4, 0, i16);
}
if (z) {
int i17 = $10 + 113;
$11 = i17 % 128;
if (i17 % 2 == 0) {
cArr = new char[i6];
i = 0;
} else {
i = 0;
cArr = new char[i6];
}
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
int i18 = $10 + 117;
$11 = i18 % 128;
int i19 = i18 % 2;
cArr[tvh.c] = cArr4[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr4 = cArr;
}
if (i7 > 0) {
int i20 = 0;
while (true) {
tvh.c = i20;
if (tvh.c >= i6) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i20 = tvh.c + 1;
}
}
String str = new String(cArr4);
int i21 = $10 + 99;
$11 = i21 % 128;
int i22 = i21 % 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 onPause() {
int i = 2 % 2;
int i2 = s + 25;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{11733, 32505, 16777, 56759, 2407, 61817, 35252, 20807, 6573, 22644, 32845, 23465, 56932, 27425, 50407, 27071, 17311, 2314, 24051, 16822, 54991, 37660, 53091, 60212, 17490, 46557}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_personal_info_otp_verify).substring(12, 17).codePointAt(2) - 58, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{18, 18, 0, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 21;
s = i4 % 128;
if (i4 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 40 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i6 = q + 109;
s = i6 % 128;
int i7 = i6 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), TextUtils.getCapsMode("", 0, 0) + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 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((ViewConfiguration.getPressedStateDuration() >> 16) + 487, TextUtils.lastIndexOf("", '0', 0) + 6, (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 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 i8 = q + 97;
s = i8 % 128;
if (i8 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@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 + 5;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new int[]{0, 18, CipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256, 0}, true, new byte[]{0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{65237, 13074, 9514, 31854, 10923, 32000}, 5 - Color.alpha(0), 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 i4 = s + 49;
q = i4 % 128;
if (i4 % 2 != 0) {
context2 = context.getApplicationContext();
} else {
context2 = context.getApplicationContext();
int i5 = 68 / 0;
}
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) TextUtils.getTrimmedLength(""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new char[]{2003, 8542, 22064, 63846, 52598, 52264, 57856, 28315, 51797, 27739, 54249, 12682, 62458, 7931, 19456, 31654, 17953, 3100, 48037, 7226, 64861, 57049, 59564, 48834, 61391, 26371, 63969, 12262, 47646, 43376, 37270, 60602, 29761, 27741, 35407, 24706, 7930, 24938, 10076, 32575, 13136, 2851, 25408, 14846, 28762, 56025, 17709, 10994}, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{34459, 23546, 60877, 21375, 26366, 13388, 36123, 31637, 15013, 14600, 60052, 45770, 60052, 45770, 3616, 16857, 26132, 51739, 60993, 54438, 36213, 46738, 35300, 46631, 40795, 29125, 54992, 45995, 51434, 5179, 14534, 12674, 62755, 53061, 25917, 58380, 2564, 53203, 10076, 32575, 26366, 13388, 37118, 62112, 488, 44559, 26366, 13388, 28748, 33508, 62335, 24352, 28762, 56025, 22760, 44649, 54011, 23725, 46659, 54905, 26366, 13388, 40170, 58127}, 64 - View.combineMeasuredStates(0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{35441, 60075, 2439, 48006, 28080, 5645, 59624, 15769, 51434, 5179, 50349, 53313, 3049, 57579, 14534, 12674, 51577, 57794, 50683, 13952, 50175, 19476, 34400, 50081, 28762, 56025, 7930, 24938, 14600, 9673, 27041, 48857, 22064, 63846, 31398, 33664, 34837, 16971, 64835, 52585, 19205, 10565, 54761, 57308, 60356, 7432, 60877, 21375, 14184, 54460, 48037, 7226, 20929, 62257, 36317, 44761, 46452, 10553, 57856, 28315, 2564, 53203, 58695, 62763}, 64 - Color.argb(0, 0, 0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{52454, 36601, 61953, 57861, 46745, 18618, 17985, 14916, 62786, 31459, 36307, 30529, 27842, 30400, 8034, 49479, 52609, 65212, 8113, 41420, 55969, 60684, 29375, 58081, 15154, 48829, 1229, 26741, 34272, 55605, 60036, 27720, 50878, 41811, 35467, 40116, 50034, 54457, 34756, 22959, 42130, 30561, 20021, 3405, 40028, 54029, 42130, 30561, 51672, 43265, 27842, 30400, 8915, 41335, 6573, 22644, 44205, 59813, 55880, 44144, 32619, 3179, 7075, 5540, 13152, 10160, 38566, 45056, 46312, 32974, 9506, 58483, 10163, 64292}, 73 - ((byte) KeyEvent.getModifierMetaStateMask()), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{46721, 7007, 64095, 11539, 58922, 39506}, 5 - ((Process.getThreadPriority(0) + 20) >> 6), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new int[]{36, 36, CipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA, 14}, true, new byte[]{1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 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(487 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 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);
} 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 = s + 61;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 73 / 0;
}
int i5 = q + 21;
s = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
}