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

738 lines
44 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
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.deposit.exportstatement.DepositExportStatementActivity;
import java.lang.reflect.Method;
/* renamed from: o.dHl, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8317dHl extends BaseActivity implements fPA {
private volatile C13073fPt l;
private static final byte[] $$p = {43, -33, 87, 81};
private static final int $$q = 2;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int q = 1;
/* renamed from: o, reason: collision with root package name */
private static int[] f8724o = {-1426635594, -1407908905, 830955389, 1934572200, 1618181076, 1165976474, 1185434122, 407809009, 1227062476, -2108413037, 1850407781, -183719319, 755767712, -1826191321, 789176186, -844741357, -2137254637, -1613153890};
private static long m = 6939996919472778750L;
private static int t = 452713125;
private static char p = 55973;
private final Object k = 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:0x002c). 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 r7, short r8, short r9, java.lang.Object[] r10) {
/*
int r8 = r8 + 102
int r7 = r7 * 2
int r7 = 1 - r7
byte[] r0 = o.AbstractActivityC8317dHl.$$p
int r9 = r9 * 3
int r9 = 3 - r9
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L14
r3 = r9
r5 = r2
goto L2c
L14:
r3 = r2
L15:
int r9 = r9 + 1
byte r4 = (byte) r8
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r7) goto L26
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L26:
r3 = r0[r9]
r6 = r9
r9 = r8
r8 = r3
r3 = r6
L2c:
int r8 = r8 + r9
r9 = r3
r3 = r5
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8317dHl.aC(int, short, short, java.lang.Object[]):void");
}
public AbstractActivityC8317dHl() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dHl.5
private AbstractActivityC8317dHl e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8317dHl abstractActivityC8317dHl = this.e;
if (abstractActivityC8317dHl.b) {
return;
}
abstractActivityC8317dHl.b = true;
((InterfaceC8315dHj) abstractActivityC8317dHl.y_()).e((DepositExportStatementActivity) abstractActivityC8317dHl);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = q + 103;
s = i2 % 128;
if (i2 % 2 != 0) {
f().y_();
throw null;
}
Object y_ = f().y_();
int i3 = q + 101;
s = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 26 / 0;
}
return y_;
}
private C13073fPt f() {
if (this.l == null) {
synchronized (this.k) {
if (this.l == null) {
this.l = new C13073fPt(this);
}
}
}
return this.l;
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x0040, code lost:
r4 = getIntent().getExtras();
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x003e, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0027, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0049, code lost:
r4 = null;
*/
@Override // androidx.activity.ComponentActivity, o.GvH
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public o.VLM.LWm getDefaultViewModelProviderFactory() {
/*
r6 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.AbstractActivityC8317dHl.q
int r1 = r1 + 123
int r2 = r1 % 128
o.AbstractActivityC8317dHl.s = r2
int r1 = r1 % r0
r2 = 0
if (r1 == 0) goto L2a
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r3 = o.C13068fPo.Sts.class
java.lang.Object r3 = o.fOV.c(r6, r3)
o.fPo$Sts r3 = (o.C13068fPo.Sts) r3
o.fPo$LWm r3 = r3.a()
android.content.Intent r4 = r6.getIntent()
r5 = 86
int r5 = r5 / 0
if (r4 == 0) goto L49
goto L40
L2a:
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r3 = o.C13068fPo.Sts.class
java.lang.Object r3 = o.fOV.c(r6, r3)
o.fPo$Sts r3 = (o.C13068fPo.Sts) r3
o.fPo$LWm r3 = r3.a()
android.content.Intent r4 = r6.getIntent()
if (r4 == 0) goto L49
L40:
android.content.Intent r4 = r6.getIntent()
android.os.Bundle r4 = r4.getExtras()
goto L4a
L49:
r4 = r2
L4a:
o.VLM$LWm r1 = r3.aBN_(r6, r4, r1)
int r3 = o.AbstractActivityC8317dHl.q
int r3 = r3 + 11
int r4 = r3 % 128
o.AbstractActivityC8317dHl.s = r4
int r3 = r3 % r0
if (r3 != 0) goto L5a
return r1
L5a:
r2.hashCode()
throw r2
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8317dHl.getDefaultViewModelProviderFactory():o.VLM$LWm");
}
private static void aB(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 45, ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(352 - KeyEvent.keyCodeFromString(""), Color.blue(0) + 5, (char) (52128 - (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))));
int i3 = $$q;
byte b = (byte) (i3 - 2);
Object[] objArr4 = new Object[1];
aC(b, (byte) (b | 13), (byte) (i3 - 2), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 748, 5 - KeyEvent.keyCodeFromString(""), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(com.pingan.ai.p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 403, View.combineMeasuredStates(0, 0) + 5, (char) (21608 - (ViewConfiguration.getEdgeSlop() >> 16)));
int i4 = $$q;
byte b2 = (byte) (i4 - 2);
Object[] objArr7 = new Object[1];
aC(b2, (byte) (b2 | 12), (byte) (i4 - 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (m ^ 9051040786702654117L)) ^ ((int) (t ^ 9051040786702654117L))) ^ ((char) (p ^ 9051040786702654117L)));
nhs.a++;
int i5 = $10 + 51;
$11 = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i7 = $10 + 109;
$11 = i7 % 128;
if (i7 % 2 != 0) {
objArr[0] = str;
} else {
Object obj5 = null;
obj5.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
public void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aA(new int[]{-1592569735, 322084590, 741761625, 368285066, -909820735, -1855718090, -1784935795, -2110259918, 1653853008, -1870867784}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((char) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 30198), new char[]{62182, 32520, 22573, 62246, 45464}, new char[]{30281, 2027, 62984, 41077}, new char[]{14171, 44417, 5065, 7636}, 134736724 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, 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 = s + 45;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aA(new int[]{-1592569735, 322084590, 741761625, 368285066, 299819368, -816245427, 197655657, -2104755771, -64951600, -1432263744, 2006973544, 1888080621, -40789470, -232667182}, (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)) + 26, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new int[]{-725559435, 278775551, 1144970651, 1848932792, -2031953002, -102469191, 1418316617, -885099337, 596844354, 1428044372}, ((Process.getThreadPriority(0) + 20) >> 6) + 18, 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 + 59;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Process.getGidForName("") + 493, KeyEvent.getDeadChar(0, 0) + 5, (char) (Process.myPid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new int[]{-157788389, -532227752, -850503204, -649234209, 665206620, -1391248176, 677678904, 2127279271, 2045497683, 1892819017, 1095466496, 1515921744, 1668021263, 1857201252, -941521290, -617295467, -1572261679, 1406918438, -439730289, 757420566, 1286242695, -387446672, 257651904, 461656737}, 48 - Gravity.getAbsoluteGravity(0, 0), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{207919497, -128741856, 2146116325, 2110875795, -120974553, 889716779, -2036042602, 19637358, -1497844123, -616262874, -394258712, 2065881970, 2047410771, -1610324008, 1874766606, -1929239373, -568991186, -306575492, 1101929476, 824429491, 822188624, 1878730451, -188012065, -1773894223, 114485258, 1976469859, -1467950727, -1622475465, 886850239, -1840577837, -1119672951, 459527704}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_change_mailing_address_review_content_1).substring(56, 57).length() - 1), new char[]{29485, 1411, 10856, 42852, 31629, 12940, 2502, 36407, 4922, 52777, 36071, 44645, 40726, 31416, 25172, 28431, 34900, 28417, 15060, 4558, 10794, 6249, 1136, 26722, 52070, 7109, 505, 31256, 47666, 53344, 7168, 32557, 52796, 54312, 46315, 26754, 35691, 18463, 53826, 20953, 48407, 14621, 54431, 7311, 20559, 34531, 15720, 17939, 1737, 62613, 49640, 27245, 54692, 55726, 21507, 5685, 14014, 4019, 8987, 25035, 38554, 11502, 64438, 36397}, new char[]{25567, 30021, 17981, 49128}, new char[]{14171, 44417, 5065, 7636}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.onboarding_input_address_thanon_is_not_allowed).substring(18, 19).length() - 1), new char[]{5874, 63216, 59992, 1114, 16157, 35146, 55570, 28452, 58128, 56323, 31837, 22846, 1736, 25166, 6652, 19077, 39160, 15359, 27471, 11587, 62567, 49563, 24240, 53437, 28148, 20038, 298, 8034, 49182, 7887, 50825, 63739, 52531, 2413, 24523, 11066, 60691, 34117, 34465, 13966, 44706, 41948, 16314, 37506, 33913, 4571, 30436, 57528, 32115, 43640, 54151, 30148, 47690, 24201, 27593, 8629, 5593, 64231, 57962, 56026, 64521, 59390, 54164, 43187, 12021, 7616, 48134, 13512, 46573, 41348, 27565, 20099, 22333, 60921}, new char[]{38322, 29888, 2551, 43631}, new char[]{14171, 44417, 5065, 7636}, Color.red(0), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_ntb_ekyc_landing_activity_description).substring(87, 88).codePointAt(0) + 9382), new char[]{10309, 8968, 41426, 32841, 56282}, new char[]{57615, 31433, 50703, 42276}, new char[]{14171, 44417, 5065, 7636}, 259705313 - (ViewConfiguration.getEdgeSlop() >> 16), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB((char) (ViewConfiguration.getFadingEdgeLength() >> 16), new char[]{34399, 46059, 33629, 26056, 14646, 46911, 61851, 5212, 57432, 47553, 51072, 61690, 19470, 25272, 37314, 4708, 64319, 46490, 47037, 26533, 63428, 51607, 7593, 22605, 23816, 37503, 19020, 13392, 62785, 46434, 40635, 1487, 64447, 11925, 49539, 36222}, new char[]{20368, 15919, 31048, 5617}, new char[]{14171, 44417, 5065, 7636}, ((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_successful_scbs_detail_remark).substring(0, 10).length() - 10, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - Color.alpha(0), (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 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 i6 = q + 71;
s = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
}
private static void aA(int[] iArr, int i, Object[] objArr) {
int i2;
int length;
int[] iArr2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = f8724o;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr3 != null) {
int i7 = $11 + 83;
$10 = i7 % 128;
if (i7 % 2 != 0) {
length = iArr3.length;
iArr2 = new int[length];
} else {
length = iArr3.length;
iArr2 = new int[length];
}
int i8 = 0;
while (i8 < length) {
int i9 = $10 + 111;
$11 = i9 % 128;
if (i9 % 2 == 0) {
try {
Object[] objArr2 = new Object[i5];
objArr2[0] = Integer.valueOf(iArr3[i8]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - KeyEvent.normalizeMetaState(0), 5 - KeyEvent.keyCodeFromString(""), (char) (TextUtils.indexOf("", "") + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr2[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
try {
Object[] objArr3 = {Integer.valueOf(iArr3[i8])};
Object obj2 = xzZ.y.get(729798706);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 16, (Process.myPid() >> 22) + 5, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr2[i8] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
i8++;
i5 = 1;
}
iArr3 = iArr2;
}
int length2 = iArr3.length;
int[] iArr4 = new int[length2];
int[] iArr5 = f8724o;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i10 = 0;
while (i10 < length3) {
int i11 = $10 + 15;
$11 = i11 % 128;
if (i11 % 2 == 0) {
Object[] objArr4 = new Object[1];
objArr4[i6] = Integer.valueOf(iArr5[i10]);
Object obj3 = xzZ.y.get(Integer.valueOf(i4));
if (obj3 == null) {
Class cls = (Class) xzZ.c(Gravity.getAbsoluteGravity(i6, i6) + 15, (TypedValue.complexToFraction(i6, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(i6, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 58134));
Class<?>[] clsArr = new Class[1];
clsArr[i6] = Integer.TYPE;
obj3 = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj3);
}
iArr6[i10] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i4 = 729798706;
} else {
Object[] objArr5 = {Integer.valueOf(iArr5[i10])};
Object obj4 = xzZ.y.get(729798706);
if (obj4 != null) {
i2 = 729798706;
} else {
obj4 = ((Class) xzZ.c(15 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (Process.myTid() >> 22) + 5, (char) (View.resolveSizeAndState(0, 0, 0) + 58134))).getMethod("i", Integer.TYPE);
i2 = 729798706;
xzZ.y.put(729798706, obj4);
}
iArr6[i10] = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
i10++;
i4 = i2;
}
i6 = 0;
}
iArr5 = iArr6;
}
int i12 = i6;
System.arraycopy(iArr5, i12, iArr4, i12, length2);
c4403bZM.b = i12;
while (c4403bZM.b < iArr.length) {
cArr[i12] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr4);
int i13 = 0;
for (int i14 = 16; i13 < i14; i14 = 16) {
c4403bZM.e ^= iArr4[i13];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(-1196964548);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(118 - (ViewConfiguration.getLongPressTimeout() >> 16), 5 - View.MeasureSpec.getSize(0), (char) Color.alpha(0));
int i15 = $$q;
byte b = (byte) (i15 - 2);
byte b2 = (byte) i15;
Object[] objArr7 = new Object[1];
aC(b, b2, (byte) (b2 - 2), objArr7);
obj5 = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj5);
}
int intValue = ((Integer) ((Method) obj5).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i13++;
}
int i16 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i16;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i17 = c4403bZM.e;
int i18 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr4);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr8 = {c4403bZM, c4403bZM};
Object obj6 = xzZ.y.get(1914371176);
if (obj6 == null) {
Class cls3 = (Class) xzZ.c(98 - Gravity.getAbsoluteGravity(0, 0), 5 - Color.red(0), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16));
byte b3 = (byte) ($$q - 2);
byte b4 = b3;
Object[] objArr9 = new Object[1];
aC(b3, b4, b4, objArr9);
obj6 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj6);
}
((Method) obj6).invoke(null, objArr8);
i12 = 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 onResume() {
int i = 2 % 2;
int i2 = s + 111;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new int[]{-1592569735, 322084590, 741761625, 368285066, 299819368, -816245427, 197655657, -2104755771, -64951600, -1432263744, 2006973544, 1888080621, -40789470, -232667182}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.e_coupon_quantity_total_points_result).substring(0, 5).codePointAt(3) - 89, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{-725559435, 278775551, 1144970651, 1848932792, -2031953002, -102469191, 1418316617, -885099337, 596844354, 1428044372}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = q + 57;
s = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.getOffsetBefore("", 0) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).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(487 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - Drawable.resolveOpacity(0, 0), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) View.resolveSize(0, 0))).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(487 - (ViewConfiguration.getWindowTouchSlop() >> 8), (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)) + 5, (char) KeyEvent.keyCodeFromString(""))).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();
int i5 = s + 49;
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
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = q + 61;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new int[]{-1592569735, 322084590, 741761625, 368285066, 299819368, -816245427, 197655657, -2104755771, -64951600, -1432263744, 2006973544, 1888080621, -40789470, -232667182}, ExpandableListView.getPackedPositionChild(0L) + 27, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{-725559435, 278775551, 1144970651, 1848932792, -2031953002, -102469191, 1418316617, -885099337, 596844354, 1428044372}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.set_pin_instruction).substring(14, 15).codePointAt(0) - 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 5;
s = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.green(0) + 492, Gravity.getAbsoluteGravity(0, 0) + 5, (char) Drawable.resolveOpacity(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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 487, 5 - KeyEvent.getDeadChar(0, 0), (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) {
Context context2;
int i = 2 % 2;
int i2 = q + 105;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new int[]{-1592569735, 322084590, 741761625, 368285066, -909820735, -1855718090, -1784935795, -2110259918, 1653853008, -1870867784}, ExpandableListView.getPackedPositionChild(0L) + 19, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((char) (30198 - (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))), new char[]{62182, 32520, 22573, 62246, 45464}, new char[]{30281, 2027, 62984, 41077}, new char[]{14171, 44417, 5065, 7636}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 134736757, 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 = q + 105;
s = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.getTrimmedLength(""), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new int[]{-157788389, -532227752, -850503204, -649234209, 665206620, -1391248176, 677678904, 2127279271, 2045497683, 1892819017, 1095466496, 1515921744, 1668021263, 1857201252, -941521290, -617295467, -1572261679, 1406918438, -439730289, 757420566, 1286242695, -387446672, 257651904, 461656737}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 47, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new int[]{207919497, -128741856, 2146116325, 2110875795, -120974553, 889716779, -2036042602, 19637358, -1497844123, -616262874, -394258712, 2065881970, 2047410771, -1610324008, 1874766606, -1929239373, -568991186, -306575492, 1101929476, 824429491, 822188624, 1878730451, -188012065, -1773894223, 114485258, 1976469859, -1467950727, -1622475465, 886850239, -1840577837, -1119672951, 459527704}, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB((char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new char[]{29485, 1411, 10856, 42852, 31629, 12940, 2502, 36407, 4922, 52777, 36071, 44645, 40726, 31416, 25172, 28431, 34900, 28417, 15060, 4558, 10794, 6249, 1136, 26722, 52070, 7109, 505, 31256, 47666, 53344, 7168, 32557, 52796, 54312, 46315, 26754, 35691, 18463, 53826, 20953, 48407, 14621, 54431, 7311, 20559, 34531, 15720, 17939, 1737, 62613, 49640, 27245, 54692, 55726, 21507, 5685, 14014, 4019, 8987, 25035, 38554, 11502, 64438, 36397}, new char[]{25567, 30021, 17981, 49128}, new char[]{14171, 44417, 5065, 7636}, Process.myTid() >> 22, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')), new char[]{5874, 63216, 59992, 1114, 16157, 35146, 55570, 28452, 58128, 56323, 31837, 22846, 1736, 25166, 6652, 19077, 39160, 15359, 27471, 11587, 62567, 49563, 24240, 53437, 28148, 20038, 298, 8034, 49182, 7887, 50825, 63739, 52531, 2413, 24523, 11066, 60691, 34117, 34465, 13966, 44706, 41948, 16314, 37506, 33913, 4571, 30436, 57528, 32115, 43640, 54151, 30148, 47690, 24201, 27593, 8629, 5593, 64231, 57962, 56026, 64521, 59390, 54164, 43187, 12021, 7616, 48134, 13512, 46573, 41348, 27565, 20099, 22333, 60921}, new char[]{38322, 29888, 2551, 43631}, new char[]{14171, 44417, 5065, 7636}, Process.getGidForName("") + 1, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((char) (9414 - Drawable.resolveOpacity(0, 0)), new char[]{10309, 8968, 41426, 32841, 56282}, new char[]{57615, 31433, 50703, 42276}, new char[]{14171, 44417, 5065, 7636}, 259705313 - Color.red(0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((char) (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)), new char[]{34399, 46059, 33629, 26056, 14646, 46911, 61851, 5212, 57432, 47553, 51072, 61690, 19470, 25272, 37314, 4708, 64319, 46490, 47037, 26533, 63428, 51607, 7593, 22605, 23816, 37503, 19020, 13392, 62785, 46434, 40635, 1487, 64447, 11925, 49539, 36222}, new char[]{20368, 15919, 31048, 5617}, new char[]{14171, 44417, 5065, 7636}, (-1) - TextUtils.indexOf((CharSequence) "", '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 - ExpandableListView.getPackedPositionGroup(0L), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (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, objArr9);
int i6 = s + 53;
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 = s + 49;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = q + 63;
s = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
}