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

640 lines
40 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
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.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.hml.HmlBaseAddressActivity;
import com.scb.phone.view.activity.hml.HmlHomeAddressActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
/* renamed from: o.dOm, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8546dOm extends HmlBaseAddressActivity {
private boolean b = false;
private static final byte[] $$p = {57, -60, 61, 103};
private static final int $$q = 212;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int s = 1;
/* renamed from: o, reason: collision with root package name */
private static int[] f8803o = {2131319913, -2054573485, -834101306, 718330167, -1982485047, -1346247749, -652060743, 561823482, -1144388497, -1798441127, -1889857457, 1494927980, 497974512, 1306849608, 338451840, -772818312, -1472785548, -500764830};
private static char[] l = {16303, 16348, 16290, 16336, 16349, 16295, 16284, 16350, 16271, 16289, 16338, 16340, 16343, 16306, 16294, 16291, 16339, 16346, 16288, 16276, 16274, 16279, 16275, 16272, 16277, 16287, 16273, 16286, 16278, 16292, 16337, 16264, 16285, 16347, 16345, 16293, 16351};
private static int m = 1934310990;
private static boolean k = true;
private static boolean r = true;
private static void aC(byte b, int i, int i2, Object[] objArr) {
int i3 = b * 4;
int i4 = i2 + 4;
byte[] bArr = $$p;
int i5 = 122 - i;
byte[] bArr2 = new byte[i3 + 1];
int i6 = -1;
if (bArr == null) {
i5 = i3 + (-i4);
i4 = i4;
i6 = -1;
}
while (true) {
int i7 = i6 + 1;
int i8 = i4 + 1;
bArr2[i7] = (byte) i5;
if (i7 == i3) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i5 += -bArr[i8];
i4 = i8;
i6 = i7;
}
}
}
public AbstractActivityC8546dOm() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dOm.2
private AbstractActivityC8546dOm e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.e.j();
}
});
}
@Override // o.AbstractActivityC8540dOg
protected final void j() {
int i = 2 % 2;
if (!this.b) {
int i2 = s + 85;
q = i2 % 128;
int i3 = i2 % 2;
this.b = true;
((dPN) y_()).e((HmlHomeAddressActivity) this);
}
int i4 = s + 79;
q = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.hml.HmlBaseAddressActivity, o.AbstractActivityC8540dOg, 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 = s + 115;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new int[]{1915255663, -1547057866, 823860056, -1484489904, 1771950319, 106437982, -1437313379, 110064070, 745192700, -1374550346}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.two_words_with_separator).substring(0, 11).length() + 7, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{519537731, 2121248875, -842998868, 234840122}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.settings_mask_on_sample).substring(9, 12).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) {
Object[] objArr3 = new Object[1];
aB(null, null, ((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_scbs_description).substring(0, 2).length() + 125, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) + 16, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -110, -120, -120, -119, ISOFileInfo.SECURITY_ATTR_EXP, -126, -112, -124, -124, -111, ISOFileInfo.LCS_BYTE}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = q + 53;
s = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 3 % 5;
}
}
if (baseContext != null) {
int i6 = s + 53;
q = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 491, 5 - KeyEvent.normalizeMetaState(0), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new int[]{1387507194, 821657509, -5920019, 1643414783, 349638254, 898870783, 1198455330, -1353114784, 1147535979, -402454890, -1404327272, -975834308, -1346605720, 185721968, 126866417, -648376839, -1768423816, 1462799276, -637608072, 1361736634, -996843337, 2079451368, -2004867195, 647117401}, 48 - (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)), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) + 23, new byte[]{-112, ISOFileInfo.DATA_BYTES2, -109, -108, -99, -102, ISOFileInfo.LCS_BYTE, -99, -109, -105, -99, ISOFileInfo.LCS_BYTE, -103, -98, -99, ISOFileInfo.FILE_IDENTIFIER, -109, -108, -102, -105, -108, ISOFileInfo.DATA_BYTES2, -109, -108, -109, -109, -99, -105, ISOFileInfo.DATA_BYTES2, -105, -103, -103, -99, -100, -106, -104, ISOFileInfo.LCS_BYTE, -100, -108, -101, -107, ISOFileInfo.DATA_BYTES2, -108, ISOFileInfo.LCS_BYTE, -104, -102, -107, -108, -102, -103, -108, -104, -108, -104, -105, -112, -106, -107, -109, -108, -112, -108, -109, -112}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.scbs_data_sharing_decline_tc_description).substring(31, 32).codePointAt(0) + 95, new byte[]{-103, ISOFileInfo.LCS_BYTE, -99, -105, ISOFileInfo.DATA_BYTES2, -98, ISOFileInfo.DATA_BYTES2, -100, -98, -100, -106, -108, -99, -104, -112, -109, -112, -108, ISOFileInfo.LCS_BYTE, -98, -101, -105, -100, -105, -102, -102, -104, -105, -105, ISOFileInfo.DATA_BYTES2, -109, -107, ISOFileInfo.FILE_IDENTIFIER, -106, -108, -99, -112, -98, -99, ISOFileInfo.LCS_BYTE, -104, -103, -100, -102, -100, -98, -109, ISOFileInfo.DATA_BYTES2, -99, -100, -107, -109, -112, -101, -106, -104, -112, -112, -101, ISOFileInfo.DATA_BYTES2, -101, -100, -99, ISOFileInfo.DATA_BYTES2}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.deejung_installment).substring(30, 31).codePointAt(0) + 95, new byte[]{-97, ISOFileInfo.SECURITY_ATTR_EXP, -126, -112, ISOFileInfo.SECURITY_ATTR_COMPACT, -112, ISOFileInfo.A1, -104, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.A1, ISOFileInfo.SECURITY_ATTR_EXP, -97, -112, -92, -126, -122, ISOFileInfo.A1, -122, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A1, -94, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, -112, -124, ISOFileInfo.DATA_BYTES2, -111, ISOFileInfo.A5, -97, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.DATA_BYTES2, -111, -92, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -97, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.FCI_EXT, -93, -126, ISOFileInfo.DATA_BYTES2, -109, -110, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.LCS_BYTE, -124, -112, -94, -94, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, -94, ISOFileInfo.DATA_BYTES2, -122, -97, ISOFileInfo.A1, ISOFileInfo.A1, ISOFileInfo.A0, -97, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -113}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) + 18, new byte[]{-100, ISOFileInfo.FCI_EXT, -99, ISOFileInfo.FCI_EXT, -106}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new int[]{1996552971, -94051837, 332825304, 1803777980, 1797812282, 1324903642, -547887097, -1508597263, 1730348936, -1541140620, -279711001, -1528084157, -644566829, 387736122, -1208712054, -1865607890, 1872495405, -933514494}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.pin_underscore).substring(0, 1).length() + 35, 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((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)) + 487, 5 - TextUtils.getCapsMode("", 0, 0), (char) (Process.myPid() >> 22))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.hml.HmlBaseAddressActivity, o.AbstractActivityC8540dOg, 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 + 109;
q = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(null, null, TextUtils.getCapsMode("", 0, 0) + 127, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -110, -120, -120, -119, ISOFileInfo.SECURITY_ATTR_EXP, -126, -112, -124, -124, -111, ISOFileInfo.LCS_BYTE}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = q + 73;
s = i3 % 128;
if (i3 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 493, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).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(486 - ExpandableListView.getPackedPositionChild(0L), 5 - TextUtils.indexOf("", "", 0), (char) TextUtils.getOffsetAfter("", 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aA(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int i2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = f8803o;
long j = 0;
int i4 = 729798706;
int i5 = 1;
char c = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[c] = Integer.valueOf(iArr3[i6]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "") + 15, 5 - ExpandableListView.getPackedPositionGroup(j), (char) (58133 - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i6] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i6++;
int i7 = $10 + 21;
$11 = i7 % 128;
int i8 = i7 % 2;
j = 0;
i5 = 1;
c = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = f8803o;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i9 = 0;
while (i9 < length3) {
try {
Object[] objArr3 = {Integer.valueOf(iArr6[i9])};
Object obj2 = xzZ.y.get(Integer.valueOf(i4));
if (obj2 != null) {
iArr2 = iArr6;
i2 = i4;
} else {
obj2 = ((Class) xzZ.c(Color.red(0) + 15, TextUtils.indexOf("", "", 0) + 5, (char) (58135 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
i2 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr7[i9] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i9++;
i4 = i2;
iArr6 = iArr2;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr6 = iArr7;
}
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i10 = $10 + 25;
$11 = i10 % 128;
int i11 = i10 % 2;
cArr[0] = (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(iArr5);
int i12 = 0;
for (int i13 = 16; i12 < i13; i13 = 16) {
c4403bZM.e ^= iArr5[i12];
try {
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 118, Color.red(0) + 5, (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1));
byte b = (byte) 0;
Object[] objArr5 = new Object[1];
aC(b, (byte) (b | Ascii.DC2), (byte) (-1), objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i12++;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
int i14 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i14;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i15 = c4403bZM.e;
int i16 = 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(iArr5);
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[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(98 - ((Process.getThreadPriority(0) + 20) >> 6), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b2, (byte) (b2 | Ascii.DC4), (byte) (-1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
int i17 = $10 + 45;
$11 = i17 % 128;
if (i17 % 2 == 0) {
int i18 = 2 / 3;
}
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.hml.HmlBaseAddressActivity, o.AbstractActivityC8540dOg, 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 + 45;
q = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.contact_info_title_auto_topup).substring(0, 19).length() + 108, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -110, -120, -120, -119, ISOFileInfo.SECURITY_ATTR_EXP, -126, -112, -124, -124, -111, ISOFileInfo.LCS_BYTE}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i3 = q + 67;
s = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
int i5 = s + 111;
q = i5 % 128;
if (i5 % 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(View.MeasureSpec.getMode(0) + 492, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 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((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 487, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (TextUtils.lastIndexOf("", '0', 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();
int i6 = s + 57;
q = i6 % 128;
int i7 = i6 % 2;
}
private static void aB(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = l;
int i3 = -1;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i4 = 0;
while (i4 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i4])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (ViewConfiguration.getEdgeSlop() >> 16), Color.red(0) + 5, (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1));
byte b = (byte) i3;
Object[] objArr3 = new Object[1];
aC((byte) 0, $$p[0], b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i4++;
i3 = -1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i5 = $10 + 103;
$11 = i5 % 128;
int i6 = i5 % 2;
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(m)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 283, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 39813));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr5 = new Object[1];
aC(b2, b3, (byte) (b3 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (r) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
try {
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(40 - View.getDefaultSize(0, 0), 5 - KeyEvent.getDeadChar(0, 0), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr4);
return;
}
if (!k) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
int i7 = $10 + 107;
$11 = i7 % 128;
int i8 = i7 % 2;
while (c3614bBe.a < c3614bBe.c) {
int i9 = $10 + 45;
$11 = i9 % 128;
int i10 = i9 % 2;
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i11 = $10 + 63;
$11 = i11 % 128;
int i12 = i11 % 2;
cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 40, ExpandableListView.getPackedPositionType(0L) + 5, (char) KeyEvent.normalizeMetaState(0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr6);
}
@Override // com.scb.phone.view.activity.hml.HmlBaseAddressActivity, o.AbstractActivityC8540dOg, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new int[]{1915255663, -1547057866, 823860056, -1484489904, 1771950319, 106437982, -1437313379, 110064070, 745192700, -1374550346}, 17 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{519537731, 2121248875, -842998868, 234840122}, Color.alpha(0) + 5, 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 = s + 43;
q = i2 % 128;
if (i2 % 2 != 0) {
context = context.getApplicationContext();
int i3 = 88 / 0;
} else {
context = context.getApplicationContext();
}
}
if (context != null) {
int i4 = s + 49;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 492, 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) View.resolveSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new int[]{1387507194, 821657509, -5920019, 1643414783, 349638254, 898870783, 1198455330, -1353114784, 1147535979, -402454890, -1404327272, -975834308, -1346605720, 185721968, 126866417, -648376839, -1768423816, 1462799276, -637608072, 1361736634, -996843337, 2079451368, -2004867195, 647117401}, (-16777168) - Color.rgb(0, 0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(null, null, 127 - (ViewConfiguration.getEdgeSlop() >> 16), new byte[]{-112, ISOFileInfo.DATA_BYTES2, -109, -108, -99, -102, ISOFileInfo.LCS_BYTE, -99, -109, -105, -99, ISOFileInfo.LCS_BYTE, -103, -98, -99, ISOFileInfo.FILE_IDENTIFIER, -109, -108, -102, -105, -108, ISOFileInfo.DATA_BYTES2, -109, -108, -109, -109, -99, -105, ISOFileInfo.DATA_BYTES2, -105, -103, -103, -99, -100, -106, -104, ISOFileInfo.LCS_BYTE, -100, -108, -101, -107, ISOFileInfo.DATA_BYTES2, -108, ISOFileInfo.LCS_BYTE, -104, -102, -107, -108, -102, -103, -108, -104, -108, -104, -105, -112, -106, -107, -109, -108, -112, -108, -109, -112}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(null, null, 127 - (ViewConfiguration.getScrollBarSize() >> 8), new byte[]{-103, ISOFileInfo.LCS_BYTE, -99, -105, ISOFileInfo.DATA_BYTES2, -98, ISOFileInfo.DATA_BYTES2, -100, -98, -100, -106, -108, -99, -104, -112, -109, -112, -108, ISOFileInfo.LCS_BYTE, -98, -101, -105, -100, -105, -102, -102, -104, -105, -105, ISOFileInfo.DATA_BYTES2, -109, -107, ISOFileInfo.FILE_IDENTIFIER, -106, -108, -99, -112, -98, -99, ISOFileInfo.LCS_BYTE, -104, -103, -100, -102, -100, -98, -109, ISOFileInfo.DATA_BYTES2, -99, -100, -107, -109, -112, -101, -106, -104, -112, -112, -101, ISOFileInfo.DATA_BYTES2, -101, -100, -99, ISOFileInfo.DATA_BYTES2}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(null, null, View.resolveSize(0, 0) + 127, new byte[]{-97, ISOFileInfo.SECURITY_ATTR_EXP, -126, -112, ISOFileInfo.SECURITY_ATTR_COMPACT, -112, ISOFileInfo.A1, -104, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.A1, ISOFileInfo.SECURITY_ATTR_EXP, -97, -112, -92, -126, -122, ISOFileInfo.A1, -122, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A1, -94, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, -112, -124, ISOFileInfo.DATA_BYTES2, -111, ISOFileInfo.A5, -97, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.DATA_BYTES2, -111, -92, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -97, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.FCI_EXT, -93, -126, ISOFileInfo.DATA_BYTES2, -109, -110, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.LCS_BYTE, -124, -112, -94, -94, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, -94, ISOFileInfo.DATA_BYTES2, -122, -97, ISOFileInfo.A1, ISOFileInfo.A1, ISOFileInfo.A0, -97, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -113}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(null, null, (ViewConfiguration.getFadingEdgeLength() >> 16) + 127, new byte[]{-100, ISOFileInfo.FCI_EXT, -99, ISOFileInfo.FCI_EXT, -106}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{1996552971, -94051837, 332825304, 1803777980, 1797812282, 1324903642, -547887097, -1508597263, 1730348936, -1541140620, -279711001, -1528084157, -644566829, 387736122, -1208712054, -1865607890, 1872495405, -933514494}, TextUtils.lastIndexOf("", '0', 0, 0) + 37, objArr8);
Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - View.MeasureSpec.getMode(0), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getTapTimeout() >> 16))).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;
}
}
}
int i6 = q + 61;
s = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.hml.HmlBaseAddressActivity, o.AbstractActivityC8540dOg, 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 = q + 13;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = q + 117;
s = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
}