what-the-bank/sources/com/scb/phone/view/activity/BaseActivityWithFragment.java

603 lines
37 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
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.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
import butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC13482fbE;
import o.C4593bdB;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.cbeff.ISO781611;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public abstract class BaseActivityWithFragment extends BaseActivity {
private static final byte[] $$g = {ISO7816.INS_CHANGE_CHV, ISOFileInfo.A1, ISO7816.INS_ENVELOPE, -12};
private static final int $$h = 220;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f6515o = 0;
private static int l = 1;
private static int b = 2015661733;
private static long k = 3577200183056788110L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002e). 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 aA(byte r6, short r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.BaseActivityWithFragment.$$g
int r7 = 78 - r7
int r8 = r8 * 2
int r1 = r8 + 1
int r6 = r6 * 2
int r6 = 3 - r6
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L15
r7 = r6
r3 = r8
r4 = r2
goto L2e
L15:
r3 = r2
L16:
int r6 = r6 + 1
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r8) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
int r3 = r3 + 1
r4 = r0[r6]
r5 = r7
r7 = r6
r6 = r4
r4 = r3
r3 = r5
L2e:
int r6 = r6 + r3
r3 = r4
r5 = r7
r7 = r6
r6 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BaseActivityWithFragment.aA(byte, short, short, java.lang.Object[]):void");
}
protected abstract String L();
protected abstract Fragment M();
private static void az(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 = 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(402 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), KeyEvent.normalizeMetaState(0) + 5, (char) (ExpandableListView.getPackedPositionChild(0L) + 21609));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
aA(b2, b3, (byte) (b3 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (k ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - ExpandableListView.getPackedPositionGroup(0L), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aA(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
int i4 = $10 + 67;
$11 = i4 % 128;
int i5 = i4 % 2;
while (c4593bdB.e < cArr.length) {
int i6 = $10 + 19;
$11 = i6 % 128;
if (i6 % 2 == 0) {
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((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 238, TextUtils.getCapsMode("", 0, 0) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aA(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
Object obj4 = null;
((Method) obj3).invoke(null, objArr6);
obj4.hashCode();
throw null;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls4 = (Class) xzZ.c(238 - TextUtils.indexOf("", "", 0, 0), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
aA(b8, b9, b9, objArr9);
obj5 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
objArr[0] = new String(cArr2);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = f6515o + 117;
l = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 93, new char[]{0, '\f', 15, 65517, 65483, 16, '\f', 65483, 1, 6, '\f', 15, 1, 11, 65534, 16, 16, 2}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_om_header).substring(21, 22).length() + 228, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.paynow_landing_description_2).substring(59, 60).codePointAt(0) - 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
az(new char[]{63781, 64782, 61795, 62876, 59856}, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 1086, 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 i4 = l + 65;
f6515o = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.error_ekyc_passport_1002_text).substring(76, 77).length() + 25, new char[]{17, 0, 65502, 65483, '\r', '\r', 65534, 65483, 1, 6, '\f', 15, 1, 11, 65534, 1, 65534, 2, 15, 5, 65521, 22, 17, 6, 19, 6}, TextUtils.indexOf("", "") + 229, true, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 14, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
az(new char[]{63787, 10714, 22772, 35727, 47793, 60837, 7254, 20312, 32256, 41255, 53282, 204, 13311, 25234, 38302, 50344, 63319, 9841}, View.MeasureSpec.getMode(0) + 53479, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0), KeyEvent.normalizeMetaState(0) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
az(new char[]{63865, 35314, 6246, 43149, 15183, 52202, 23136, 60146, 32066, 3460, 40184, 12070, 49127, 19971, 57037, 24883, 61946, 32806, 4240, 41735, 12927, 49901, 21815, 58842, 29718, 1211, 38777, 10146, 46663, 18056, 51626, 22634, 59609, 31568, 3018, 39486, 11002, 48460, 19908, 56401, 28530, 65513, 36435, 7890, 41239, 12729, 49275, 20639}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) + 28712, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, new char[]{65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!', 65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518, 65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.service_at_banking_agent_qr_for_withdrawal).substring(0, 3).codePointAt(1) + 116, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.export_statement_successful_description_with_note).substring(13, 14).codePointAt(0) - 92, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
az(new char[]{63785, 56991, 46758, 36534, 26261, 16080, 5815, 61092, 50690, 40470, 30253, 20072, 9758, 65119, 54890, 44657, 34777, 24565, 14304, 4037, 59349, 49123, 38901, 28419, 18243, 7975, 63336, 53016, 42836, 32621, 22387, 11485, 1180, 56549, 46231, 36048, 25825, 15601, 5123, 60432, 50213, 39999, 29771, 19550, 9274, 64552, 54668, 44492, 34298, 23954, 13780, 3565, 58866, 48394, 38162, 28023, 17712, 7454, 62728, 52540, 42361, 31363, 21193, 10926}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 10189, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
az(new char[]{63776, 3005, 7230, 11963, 13119, 17911, 22113, 22752, 27955, 32680, 32803, 37550, 42791, 43434, 47659, 52394, 53565, 58283, 62521, 1714, 2877, 7601, 11836, 12478, 17726, 22458, 22652, 27303, 32572, 33191, 37427, 42166, 43292, 48010, 52235, 56984, 58136, 62915, 1545, 2202, 7425, 12179, 12294, 17040, 22293, 22928, 27143, 31893, 33053, 37847, 42009, 46740, 47889, 52690, 56863, 57487, 62745, 2014, 2075, 6813, 12051, 12688, 16901, 21635, 22823, 27647, 31800, 36516, 37737, 42491, 46699, 47329, 52596, 57330}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_facial_verification_locked_no_card_button_return_label).substring(14, 15).length() + 62080, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
az(new char[]{63857, 28903, 60018, 26085, 57212}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 35167, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.zxing_msg_camera_framework_bug).substring(6, 7).codePointAt(0) + 4, new char[]{65519, 65524, 31, 65519, 65517, NistHelper.SEP_FS, ' ', ' ', 65516, 65520, 65519, 65520, 30, ' ', 65522, NistHelper.SEP_FS, 65517, 30, 65517, 65512, 30, ' ', 29, NistHelper.SEP_FS, 65512, 65516, 65516, 65517, 65519, 65512, 29, ' ', 65515, 65521, 65512, 65515}, 199 - Color.blue(0), true, 7 - ExpandableListView.getPackedPositionType(0L), 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((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 487, 5 - KeyEvent.normalizeMetaState(0), (char) Gravity.getAbsoluteGravity(0, 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);
setContentView(K());
try {
ButterKnife.Dg_(this);
} catch (IllegalArgumentException unused) {
}
Z();
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, M(), N(), 1);
a.b();
}
@Override // com.scb.phone.view.activity.BaseActivity
public void Z() {
int i = 2 % 2;
int i2 = f6515o + 57;
l = i2 % 128;
if (i2 % 2 == 0) {
super.Z();
p(L());
ac();
int i3 = 1 / 0;
return;
}
super.Z();
p(L());
ac();
}
private static void ax(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(b)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.green(0) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 7 - (Process.myPid() >> 22), (char) (Process.myTid() >> 22));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aA(b2, (byte) (b2 | 9), b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 341, 5 - Color.blue(0), (char) Color.green(0));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 2);
Object[] objArr5 = new Object[1];
aA(b3, b4, (byte) (b4 - 2), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i3 > 0) {
int i6 = $10 + 63;
$11 = i6 % 128;
int i7 = i6 % 2;
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
char[] cArr4 = new char[i];
zui.d = 0;
int i8 = $10 + 17;
$11 = i8 % 128;
if (i8 % 2 == 0) {
int i9 = 4 / 4;
}
while (zui.d < i) {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(342 - (ViewConfiguration.getPressedStateDuration() >> 16), TextUtils.indexOf("", "", 0, 0) + 5, (char) KeyEvent.getDeadChar(0, 0));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 + 2);
Object[] objArr7 = new Object[1];
aA(b5, b6, (byte) (b6 - 2), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
int i10 = $11 + 11;
$10 = i10 % 128;
int i11 = i10 % 2;
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i2 = l + 81;
f6515o = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, new char[]{17, 0, 65502, 65483, '\r', '\r', 65534, 65483, 1, 6, '\f', 15, 1, 11, 65534, 1, 65534, 2, 15, 5, 65521, 22, 17, 6, 19, 6}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + CipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 19, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
az(new char[]{63787, 10714, 22772, 35727, 47793, 60837, 7254, 20312, 32256, 41255, 53282, 204, 13311, 25234, 38302, 50344, 63319, 9841}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 53466, 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 = l + 45;
f6515o = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (KeyEvent.getMaxKeyCode() >> 16), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) ((-1) - TextUtils.lastIndexOf("", '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(Color.alpha(0) + 487, Color.red(0) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) View.MeasureSpec.getSize(0))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(487 - View.MeasureSpec.makeMeasureSpec(0, 0), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) ((-1) - Process.getGidForName("")))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = f6515o + 79;
l = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_offer_review_Baht_per).substring(0, 5).codePointAt(1) - 23, new char[]{17, 0, 65502, 65483, '\r', '\r', 65534, 65483, 1, 6, '\f', 15, 1, 11, 65534, 1, 65534, 2, 15, 5, 65521, 22, 17, 6, 19, 6}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) + ISO781611.CREATION_DATE_AND_TIME_TAG, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 19, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
az(new char[]{63787, 10714, 22772, 35727, 47793, 60837, 7254, 20312, 32256, 41255, 53282, 204, 13311, 25234, 38302, 50344, 63319, 9841}, 53479 - TextUtils.getCapsMode("", 0, 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = f6515o + 9;
l = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 492, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(Drawable.resolveOpacity(0, 0) + 18, new char[]{0, '\f', 15, 65517, 65483, 16, '\f', 65483, 1, 6, '\f', 15, 1, 11, 65534, 16, 16, 2}, 229 - (ViewConfiguration.getDoubleTapTimeout() >> 16), true, KeyEvent.keyCodeFromString("") + 15, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
az(new char[]{63781, 64782, 61795, 62876, 59856}, View.resolveSize(0, 0) + 1087, 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 i2 = l + 97;
f6515o = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 492, 5 - View.MeasureSpec.getSize(0), (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
az(new char[]{63865, 35314, 6246, 43149, 15183, 52202, 23136, 60146, 32066, 3460, 40184, 12070, 49127, 19971, 57037, 24883, 61946, 32806, 4240, 41735, 12927, 49901, 21815, 58842, 29718, 1211, 38777, 10146, 46663, 18056, 51626, 22634, 59609, 31568, 3018, 39486, 11002, 48460, 19908, 56401, 28530, 65513, 36435, 7890, 41239, 12729, 49275, 20639}, 28813 - Color.red(0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(63 - TextUtils.indexOf((CharSequence) "", '0', 0), new char[]{65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!', 65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518, 65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30}, AndroidCharacter.getMirror('0') + 150, false, 24 - TextUtils.indexOf("", "", 0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
az(new char[]{63785, 56991, 46758, 36534, 26261, 16080, 5815, 61092, 50690, 40470, 30253, 20072, 9758, 65119, 54890, 44657, 34777, 24565, 14304, 4037, 59349, 49123, 38901, 28419, 18243, 7975, 63336, 53016, 42836, 32621, 22387, 11485, 1180, 56549, 46231, 36048, 25825, 15601, 5123, 60432, 50213, 39999, 29771, 19550, 9274, 64552, 54668, 44492, 34298, 23954, 13780, 3565, 58866, 48394, 38162, 28023, 17712, 7454, 62728, 52540, 42361, 31363, 21193, 10926}, 10223 - View.MeasureSpec.getSize(0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
az(new char[]{63776, 3005, 7230, 11963, 13119, 17911, 22113, 22752, 27955, 32680, 32803, 37550, 42791, 43434, 47659, 52394, 53565, 58283, 62521, 1714, 2877, 7601, 11836, 12478, 17726, 22458, 22652, 27303, 32572, 33191, 37427, 42166, 43292, 48010, 52235, 56984, 58136, 62915, 1545, 2202, 7425, 12179, 12294, 17040, 22293, 22928, 27143, 31893, 33053, 37847, 42009, 46740, 47889, 52690, 56863, 57487, 62745, 2014, 2075, 6813, 12051, 12688, 16901, 21635, 22823, 27647, 31800, 36516, 37737, 42491, 46699, 47329, 52596, 57330}, 62081 - TextUtils.indexOf("", "", 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
az(new char[]{63857, 28903, 60018, 26085, 57212}, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 35201, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(35 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), new char[]{65519, 65524, 31, 65519, 65517, NistHelper.SEP_FS, ' ', ' ', 65516, 65520, 65519, 65520, 30, ' ', 65522, NistHelper.SEP_FS, 65517, 30, 65517, 65512, 30, ' ', 29, NistHelper.SEP_FS, 65512, 65516, 65516, 65517, 65519, 65512, 29, ' ', 65515, 65521, 65512, 65515}, (KeyEvent.getMaxKeyCode() >> 16) + 199, true, 6 - TextUtils.indexOf((CharSequence) "", '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(487 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) View.combineMeasuredStates(0, 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 i4 = f6515o + 121;
l = i4 % 128;
int i5 = i4 % 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 = f6515o + 121;
l = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = l + 91;
f6515o = i4 % 128;
int i5 = i4 % 2;
}
protected int K() {
int i = 2 % 2;
int i2 = f6515o;
int i3 = i2 + 3;
l = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 23;
l = i5 % 128;
if (i5 % 2 != 0) {
return R.layout.2131558574;
}
Object obj = null;
obj.hashCode();
throw null;
}
public String N() {
int i = 2 % 2;
int i2 = f6515o + 101;
int i3 = i2 % 128;
l = i3;
if (i2 % 2 == 0) {
int i4 = 44 / 0;
}
int i5 = i3 + 23;
f6515o = i5 % 128;
if (i5 % 2 == 0) {
return null;
}
throw null;
}
}