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

732 lines
42 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
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.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 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.BaseActivity;
import com.scb.phone.view.activity.emailverification.ManageEmailVerificationSuccessActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
/* renamed from: o.dLB, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8436dLB extends BaseActivity implements fPA {
/* renamed from: o, reason: collision with root package name */
private volatile C13073fPt f8751o;
private static final byte[] $$g = {59, 92, ISOFileInfo.FCI_BYTE, -78};
private static final int $$h = 76;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int p = 1;
private static char[] m = {35368, 49116, 35371, 49117, 49089, 49111, 49110, 49114, 35372, 49138, 35374, 49104, 49095, 49053, 49106, 49127, 35373, 35370, 35375, 49088, 49115, 49098, 49091, 49123, 49093};
private static char k = 35372;
private static int[] s = {-281144766, 330868272, -836536417, 458918381, 2142057620, -1341481087, -168548910, -1789764986, 2135331135, -833149285, 11665759, -1175051362, 911822088, 417743376, 501052396, -1260915702, 1280126079, 117468288};
private final Object l = new Object();
boolean b = false;
/* 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 az(byte r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 3
int r0 = 1 - r6
int r8 = 120 - r8
int r7 = r7 * 4
int r7 = r7 + 4
byte[] r1 = o.AbstractActivityC8436dLB.$$g
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L17
r3 = r6
r8 = r7
r4 = r2
goto L2e
L17:
r3 = r2
L18:
byte r4 = (byte) r8
r0[r3] = r4
if (r3 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L25:
int r3 = r3 + 1
r4 = r1[r7]
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L2e:
int r7 = -r7
int r7 = r7 + r3
int r8 = r8 + 1
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8436dLB.az(byte, short, short, java.lang.Object[]):void");
}
public AbstractActivityC8436dLB() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dLB.1
private AbstractActivityC8436dLB c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8436dLB abstractActivityC8436dLB = this.c;
if (abstractActivityC8436dLB.b) {
return;
}
abstractActivityC8436dLB.b = true;
((dLT) abstractActivityC8436dLB.y_()).c((ManageEmailVerificationSuccessActivity) abstractActivityC8436dLB);
}
});
}
@Override // o.fPC
public final Object y_() {
Object y_;
int i = 2 % 2;
int i2 = p + 115;
q = i2 % 128;
if (i2 % 2 != 0) {
y_ = f().y_();
int i3 = 90 / 0;
} else {
y_ = f().y_();
}
int i4 = q + 15;
p = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt f() {
if (this.f8751o == null) {
synchronized (this.l) {
if (this.f8751o == null) {
this.f8751o = new C13073fPt(this);
}
}
}
return this.f8751o;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = q + 123;
p = i2 % 128;
int i3 = i2 % 2;
VLM.LWm aBN_ = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a().aBN_(this, getIntent() != null ? getIntent().getExtras() : null, super.getDefaultViewModelProviderFactory());
int i4 = p + 29;
q = i4 % 128;
int i5 = i4 % 2;
return aBN_;
}
@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 obj = null;
Object[] objArr = new Object[1];
ax(new char[]{'\r', 4, '\t', 0, 2, 6, '\b', '\n', 4, 16, 18, 3, 0, 2, 16, 11, 13872, 13872}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 37), ((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];
ay(new int[]{2082779107, 873740418, 214804804, 1071000035}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.billpayment_bnpl_coin_more_detail_description_1_1).substring(0, 61).length() - 56, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = q + 119;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ax(new char[]{'\r', 4, '\t', 0, 2, 6, '\b', '\n', '\f', 24, 23, '\f', 6, 14, 17, '\f', 22, '\t', 11, 22, 20, 0, 1, '\t', '\n', '\t'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.addition_document_image_attached).substring(0, 3).codePointAt(1) - 63), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ndid_how_to_verify_biometric_description).substring(0, 2).length() + 24, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new int[]{-2053720620, 1702237529, -1670643030, -457044142, -1339316232, -1240795810, 486469014, -1191849485, -693743654, -657529272}, 18 - KeyEvent.keyCodeFromString(""), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 15;
q = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 491, 5 - TextUtils.indexOf("", "", 0, 0), (char) (AndroidCharacter.getMirror('0') - '0'))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new int[]{1322334026, 884515358, -1773812102, -1233345102, -1567465484, -2063977224, -1032664602, -1254579550, 1230253481, 1660896960, -664976187, 397560771, 1934085949, 1190120553, -1264368609, 1599468236, 2043464397, -1794527204, -1747819881, -94794967, -201325158, 1349157068, -2116115598, 254802820}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.juristic_setpin_exit_dialog_msg).substring(121, 122).length() + 47, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{-620746457, -1300418026, -47337182, -1079216385, -253457286, -1359789598, -986550849, -358371341, -1961673256, -1224450178, 1300385491, 505263744, -1135301716, -1415545725, -808455696, 1685865780, 899909700, -1146432857, 481602440, -231448829, -1211788874, 1518275673, -880201837, -2067538034, 528963296, -561589108, -1160986665, -418004783, 1293775090, -678880289, -1076792317, -1673040180}, (KeyEvent.getMaxKeyCode() >> 16) + 64, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{1036338834, -1756888843, 931164845, -1172896003, 1880046863, -1840854118, 585437784, 1939914102, -1568823421, 1639019655, -1346378300, 787253824, -1018229941, 1906019028, 821067234, -2087280447, 845390511, -664712059, -1873078698, -1812967515, -267169465, -1517248529, 354523106, 673397442, 1834809573, -1560766796, -1792691185, 1884571695, 1840246920, 1997004762, 195428031, 896228636}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{561996201, 2009657627, -1898247102, 706082354, 1437450105, 453276339, 1992819732, -159713124, -1647610902, 1007860854, -909286792, -272462938, 2063215161, 1495930745, -155841910, -371865012, -243019234, -1365702670, -1896670817, -1882546452, 1742164618, -985016970, -792400798, -2089800653, 496568596, 664359600, -78616906, 424840598, 1623330235, 728818823, -1265134237, 1695330094, -1503667574, -1716835449, 517145480, -1758180534, -200092684, -1788072427}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 35, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new int[]{-869389373, 666810391, -1845658539, 1035084545}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.new_deejung_transfer_email_notification_message).substring(33, 34).codePointAt(0) - 27, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new int[]{617456962, -1852183522, -1885222867, -2041622168, -153592286, -1188692984, -1526334966, 1311494819, -1240270041, -272936143, 1121605803, -1478763327, -255051884, 1325045207, -1447371588, -1996109157, -846035176, 1235711502}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - Color.alpha(0), 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) TextUtils.getTrimmedLength(""))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i5 = q + 119;
p = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 37 / 0;
}
}
private static void ay(int[] iArr, int i, Object[] objArr) {
char c;
int i2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = s;
int i4 = 1;
int i5 = 0;
if (iArr2 != null) {
int i6 = $10 + 105;
$11 = i6 % 128;
int i7 = i6 % 2;
int length = iArr2.length;
int[] iArr3 = new int[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[0] = Integer.valueOf(iArr2[i8]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - ((Process.getThreadPriority(0) + 20) >> 6), 5 - TextUtils.getTrimmedLength(""), (char) (ExpandableListView.getPackedPositionType(0L) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i8++;
i4 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr2 = iArr3;
}
int length2 = iArr2.length;
int[] iArr4 = new int[length2];
int[] iArr5 = s;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i9 = 0;
while (i9 < length3) {
int i10 = $10 + 45;
$11 = i10 % 128;
if (i10 % 2 == 0) {
try {
Object[] objArr3 = new Object[1];
objArr3[i5] = Integer.valueOf(iArr5[i9]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
i2 = length3;
} else {
obj2 = ((Class) xzZ.c(15 - (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)), Gravity.getAbsoluteGravity(0, 0) + 5, (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE);
i2 = length3;
xzZ.y.put(729798706, obj2);
}
iArr6[i9] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
length3 = i2;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i11 = length3;
Object[] objArr4 = {Integer.valueOf(iArr5[i9])};
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
c = 55346;
} else {
obj3 = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 15, (-16777211) - Color.rgb(0, 0, 0), (char) (58134 - View.resolveSize(0, 0)))).getMethod("i", Integer.TYPE);
c = 55346;
xzZ.y.put(729798706, obj3);
}
iArr6[i9] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i9++;
length3 = i11;
}
i5 = 0;
}
iArr5 = iArr6;
}
int i12 = i5;
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) {
int i15 = $11 + 15;
$10 = i15 % 128;
int i16 = i15 % 2;
c4403bZM.e ^= iArr4[i13];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls = (Class) xzZ.c(118 - Color.alpha(0), 4 - TextUtils.lastIndexOf("", '0', 0), (char) ((-1) - TextUtils.lastIndexOf("", '0')));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr6 = new Object[1];
az(b, b2, (byte) (b2 | 16), objArr6);
obj4 = cls.getMethod((String) objArr6[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i13++;
int i17 = $11 + 11;
$10 = i17 % 128;
if (i17 % 2 != 0) {
int i18 = 3 % 3;
}
}
int i19 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i19;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i20 = c4403bZM.e;
int i21 = 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[] objArr7 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 98, 5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.getTrimmedLength(""));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr8 = new Object[1];
az(b3, b4, (byte) (b4 | Ascii.DC2), objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr7);
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;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = q + 113;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new char[]{'\r', 4, '\t', 0, 2, 6, '\b', '\n', '\f', 24, 23, '\f', 6, 14, 17, '\f', 22, '\t', 11, 22, 20, 0, 1, '\t', '\n', '\t'}, (byte) (37 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.contact_info_laser_id_placeholder).substring(0, 12).length() + 14, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{-2053720620, 1702237529, -1670643030, -457044142, -1339316232, -1240795810, 486469014, -1191849485, -693743654, -657529272}, ((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) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 492, 4 - ImageFormat.getBitsPerPixel(0), (char) (Process.myTid() >> 22))).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(Process.getGidForName("") + 488, View.MeasureSpec.getMode(0) + 5, (char) View.getDefaultSize(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = p + 5;
q = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
/* JADX WARN: Code restructure failed: missing block: B:29:0x0024, code lost:
r1 = o.AbstractActivityC8436dLB.p + 3;
o.AbstractActivityC8436dLB.q = r1 % 128;
r1 = r1 % 2;
r9 = (java.lang.Object[]) null;
r9 = new java.lang.Object[1];
ax(new char[]{'\r', 4, '\t', 0, 2, 6, '\b', '\n', '\f', 24, 23, '\f', 6, 14, 17, '\f', 22, '\t', 11, 22, 20, 0, 1, '\t', '\n', '\t'}, (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 62), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, r9);
r1 = java.lang.Class.forName((java.lang.String) r9[0]);
r9 = new java.lang.Object[1];
ay(new int[]{-2053720620, 1702237529, -1670643030, -457044142, -1339316232, -1240795810, 486469014, -1191849485, -693743654, -657529272}, 18 - android.text.TextUtils.indexOf("", "", 0), r9);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r9[0], new java.lang.Class[0]).invoke(null, null);
r7 = o.AbstractActivityC8436dLB.p + 21;
o.AbstractActivityC8436dLB.q = r7 % 128;
r7 = r7 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x0022, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001b, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onPause() {
/*
Method dump skipped, instructions count: 408
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8436dLB.onPause():void");
}
private static void ax(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object obj;
char c;
int length;
char[] cArr2;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr3 = m;
long j = 0;
Object obj2 = null;
int i5 = 6;
if (cArr3 != null) {
int i6 = $10 + 109;
$11 = i6 % 128;
if (i6 % 2 == 0) {
length = cArr3.length;
cArr2 = new char[length];
} else {
length = cArr3.length;
cArr2 = new char[length];
}
int i7 = 0;
while (i7 < length) {
int i8 = $11 + 63;
$10 = i8 % 128;
int i9 = i8 % i3;
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i7])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 297, ExpandableListView.getPackedPositionChild(j) + i5, (char) View.MeasureSpec.getMode(0));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
az(b2, b3, (byte) (b3 + 3), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr2[i7] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i7++;
i3 = 2;
j = 0;
i5 = 6;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(k)};
Object obj4 = xzZ.y.get(-1987398494);
char c2 = 5;
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 297, TextUtils.getTrimmedLength("") + 5, (char) Drawable.resolveOpacity(0, 0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
az(b4, b5, (byte) (b5 + 3), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
obj = obj2;
c = c2;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[6] = irs;
objArr6[c2] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(233 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (22024 - (ViewConfiguration.getTapTimeout() >> 16)));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
az(b6, b7, b7, objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
int i10 = $11 + 15;
$10 = i10 % 128;
int i11 = i10 % 2;
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 != null) {
c = 5;
} else {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 327, 5 - TextUtils.getTrimmedLength(""), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
az(b8, b9, (byte) (b9 + 2), objArr9);
String str = (String) objArr9[0];
c = 5;
obj6 = cls4.getMethod(str, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[intValue];
cArr4[irs.e + 1] = cArr3[i12];
} else {
obj = null;
c = 5;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i13 = (irs.a * charValue) + irs.f;
int i14 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[i13];
cArr4[irs.e + 1] = cArr3[i14];
} else {
int i15 = (irs.a * charValue) + irs.j;
int i16 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr3[i15];
cArr4[irs.e + 1] = cArr3[i16];
}
}
}
irs.e += 2;
obj2 = obj;
c2 = c;
}
}
int i17 = $11 + 13;
$10 = i17 % 128;
int i18 = i17 % 2;
for (int i19 = 0; i19 < i; i19++) {
cArr4[i19] = (char) (cArr4[i19] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{'\r', 4, '\t', 0, 2, 6, '\b', '\n', 4, 16, 18, 3, 0, 2, 16, 11, 13872, 13872}, (byte) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 71), TextUtils.indexOf((CharSequence) "", '0', 0) + 19, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{2082779107, 873740418, 214804804, 1071000035}, KeyEvent.keyCodeFromString("") + 5, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = p + 103;
q = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = q + 107;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.makeMeasureSpec(0, 0), 4 - ImageFormat.getBitsPerPixel(0), (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)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{1322334026, 884515358, -1773812102, -1233345102, -1567465484, -2063977224, -1032664602, -1254579550, 1230253481, 1660896960, -664976187, 397560771, 1934085949, 1190120553, -1264368609, 1599468236, 2043464397, -1794527204, -1747819881, -94794967, -201325158, 1349157068, -2116115598, 254802820}, 48 - (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)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new int[]{-620746457, -1300418026, -47337182, -1079216385, -253457286, -1359789598, -986550849, -358371341, -1961673256, -1224450178, 1300385491, 505263744, -1135301716, -1415545725, -808455696, 1685865780, 899909700, -1146432857, 481602440, -231448829, -1211788874, 1518275673, -880201837, -2067538034, 528963296, -561589108, -1160986665, -418004783, 1293775090, -678880289, -1076792317, -1673040180}, 64 - (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)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new int[]{1036338834, -1756888843, 931164845, -1172896003, 1880046863, -1840854118, 585437784, 1939914102, -1568823421, 1639019655, -1346378300, 787253824, -1018229941, 1906019028, 821067234, -2087280447, 845390511, -664712059, -1873078698, -1812967515, -267169465, -1517248529, 354523106, 673397442, 1834809573, -1560766796, -1792691185, 1884571695, 1840246920, 1997004762, 195428031, 896228636}, 64 - TextUtils.indexOf("", "", 0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{561996201, 2009657627, -1898247102, 706082354, 1437450105, 453276339, 1992819732, -159713124, -1647610902, 1007860854, -909286792, -272462938, 2063215161, 1495930745, -155841910, -371865012, -243019234, -1365702670, -1896670817, -1882546452, 1742164618, -985016970, -792400798, -2089800653, 496568596, 664359600, -78616906, 424840598, 1623330235, 728818823, -1265134237, 1695330094, -1503667574, -1716835449, 517145480, -1758180534, -200092684, -1788072427}, 74 - (ViewConfiguration.getLongPressTimeout() >> 16), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{-869389373, 666810391, -1845658539, 1035084545}, Color.green(0) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{617456962, -1852183522, -1885222867, -2041622168, -153592286, -1188692984, -1526334966, 1311494819, -1240270041, -272936143, 1121605803, -1478763327, -255051884, 1325045207, -1447371588, -1996109157, -846035176, 1235711502}, 37 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), objArr8);
Object[] objArr9 = {applicationContext, 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.getSize(0), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 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;
}
}
}
@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 = q + 59;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 98 / 0;
}
}
}