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

810 lines
45 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
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.chequemanagement.ChequeSuccessActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import org.jnbis.internal.NistHelper;
/* renamed from: o.dyA, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC10189dyA extends BaseActivity implements fPA {
private volatile C13073fPt l;
private static final byte[] $$p = {78, -14, -82, ISO7816.INS_UPDATE_BINARY};
private static final int $$q = 65;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int s = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f8929o = {35371, 49123, 49088, 49024, 49105, 49104, 49109, 49126, 49029, 49118, 49089, 49053, 49117, 49054, 35370, 49028, 49026, 49035, 49110, 49031, 49098, 49111, 49027, 35361, 35375, 49030, 49034, 49106, 35374, 49116, 35372, 49025, 35368, 35373, 35360, 49114};
private static char m = 35375;
private static int[] r = {-1850153147, 911928259, -823110211, 1031673869, 2115788235, 647407270, 86059699, -551069668, 1221315362, -1191858031, -960861644, -297140223, 576551065, 779106282, 1956631299, 746535194, -1334861663, 1869759026};
private final Object k = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002a). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(int r5, int r6, byte r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 3
int r5 = 3 - r5
int r7 = r7 * 4
int r0 = 1 - r7
int r6 = r6 + 102
byte[] r1 = o.AbstractActivityC10189dyA.$$p
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L16
r3 = r7
r4 = r2
goto L2a
L16:
r3 = r2
L17:
byte r4 = (byte) r6
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r7) goto L26
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L26:
int r5 = r5 + 1
r3 = r1[r5]
L2a:
int r3 = -r3
int r6 = r6 + r3
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10189dyA.aC(int, int, byte, java.lang.Object[]):void");
}
public AbstractActivityC10189dyA() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dyA.1
private AbstractActivityC10189dyA d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC10189dyA abstractActivityC10189dyA = this.d;
if (abstractActivityC10189dyA.b) {
return;
}
abstractActivityC10189dyA.b = true;
((InterfaceC10234dyt) abstractActivityC10189dyA.y_()).c((ChequeSuccessActivity) abstractActivityC10189dyA);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = s + 51;
p = i2 % 128;
if (i2 % 2 != 0) {
g().y_();
Object obj = null;
obj.hashCode();
throw null;
}
Object y_ = g().y_();
int i3 = p + 41;
s = i3 % 128;
int i4 = i3 % 2;
return y_;
}
private C13073fPt g() {
if (this.l == null) {
synchronized (this.k) {
if (this.l == null) {
this.l = new C13073fPt(this);
}
}
}
return this.l;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0040, code lost:
r4 = o.AbstractActivityC10189dyA.p + 95;
o.AbstractActivityC10189dyA.s = r4 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0049, code lost:
if ((r4 % 2) == 0) goto L12;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x004b, code lost:
r2 = getIntent().getExtras();
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0054, code lost:
getIntent().getExtras();
r2.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x005e, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x003e, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0027, code lost:
if (getIntent() != null) goto L9;
*/
@Override // androidx.activity.ComponentActivity, o.GvH
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public o.VLM.LWm getDefaultViewModelProviderFactory() {
/*
r6 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.AbstractActivityC10189dyA.s
int r1 = r1 + 73
int r2 = r1 % 128
o.AbstractActivityC10189dyA.p = r2
int r1 = r1 % r0
r2 = 0
if (r1 == 0) goto L2a
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r3 = o.C13068fPo.Sts.class
java.lang.Object r3 = o.fOV.c(r6, r3)
o.fPo$Sts r3 = (o.C13068fPo.Sts) r3
o.fPo$LWm r3 = r3.a()
android.content.Intent r4 = r6.getIntent()
r5 = 45
int r5 = r5 / 0
if (r4 == 0) goto L5f
goto L40
L2a:
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r3 = o.C13068fPo.Sts.class
java.lang.Object r3 = o.fOV.c(r6, r3)
o.fPo$Sts r3 = (o.C13068fPo.Sts) r3
o.fPo$LWm r3 = r3.a()
android.content.Intent r4 = r6.getIntent()
if (r4 == 0) goto L5f
L40:
int r4 = o.AbstractActivityC10189dyA.p
int r4 = r4 + 95
int r5 = r4 % 128
o.AbstractActivityC10189dyA.s = r5
int r4 = r4 % r0
if (r4 == 0) goto L54
android.content.Intent r2 = r6.getIntent()
android.os.Bundle r2 = r2.getExtras()
goto L5f
L54:
android.content.Intent r0 = r6.getIntent()
r0.getExtras()
r2.hashCode()
throw r2
L5f:
o.VLM$LWm r1 = r3.aBN_(r6, r2, r1)
int r2 = o.AbstractActivityC10189dyA.s
int r2 = r2 + 63
int r3 = r2 % 128
o.AbstractActivityC10189dyA.p = r3
int r2 = r2 % r0
if (r2 == 0) goto L71
r0 = 1
int r0 = r0 / 0
L71:
return r1
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10189dyA.getDefaultViewModelProviderFactory():o.VLM$LWm");
}
private static void aB(int[] iArr, int i, Object[] objArr) {
Object method;
Object method2;
int i2;
int i3 = 2;
int i4 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = r;
char c = '0';
int i5 = 729798706;
int i6 = 1;
int i7 = 0;
if (iArr2 != null) {
int length = iArr2.length;
int[] iArr3 = new int[length];
int i8 = 0;
while (i8 < length) {
int i9 = $11 + 81;
$10 = i9 % 128;
int i10 = i9 % i3;
try {
Object[] objArr2 = {Integer.valueOf(iArr2[i8])};
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(14 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), AndroidCharacter.getMirror(c) - '+', (char) (58134 - View.getDefaultSize(0, 0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i8++;
i3 = 2;
c = '0';
} 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 = r;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i11 = 0;
while (i11 < length3) {
Object[] objArr3 = new Object[i6];
objArr3[i7] = Integer.valueOf(iArr5[i11]);
Object obj2 = xzZ.y.get(Integer.valueOf(i5));
if (obj2 != null) {
i2 = i5;
} else {
Class cls = (Class) xzZ.c(Color.red(i7) + 15, Color.green(i7) + 5, (char) ((ViewConfiguration.getScrollBarSize() >> 8) + 58134));
Class<?>[] clsArr = new Class[1];
clsArr[i7] = Integer.TYPE;
obj2 = cls.getMethod("i", clsArr);
i2 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr6[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i11++;
i5 = i2;
i6 = 1;
i7 = 0;
}
iArr5 = iArr6;
}
int i12 = i7;
System.arraycopy(iArr5, i12, iArr4, i12, length2);
c4403bZM.b = i12;
while (c4403bZM.b < iArr.length) {
cArr[i12] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr4);
int i13 = 0;
for (int i14 = 16; i13 < i14; i14 = 16) {
c4403bZM.e ^= iArr4[i13];
try {
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 != null) {
method2 = obj3;
} else {
Class cls2 = (Class) xzZ.c(117 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), TextUtils.getCapsMode("", 0, 0) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)));
byte b = (byte) 0;
byte b2 = (byte) (b + 2);
Object[] objArr5 = new Object[1];
aC(b, b2, (byte) (b2 - 2), objArr5);
method2 = cls2.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, method2);
}
int intValue = ((Integer) ((Method) method2).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i13++;
int i15 = $11 + 35;
$10 = i15 % 128;
int i16 = i15 % 2;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i17 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i17;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i18 = c4403bZM.e;
int i19 = 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[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 != null) {
method = obj4;
} else {
Class cls3 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 99, Color.green(0) + 5, (char) View.getDefaultSize(0, 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aC(b3, b4, b4, objArr7);
method = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, method);
}
((Method) method).invoke(null, objArr6);
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 onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{24, 15, 22, '\t', '#', 5, 23, '\t', 26, 5, 7, 5, 11, NistHelper.SEP_FS, 0, 23, 13900, 13900}, (byte) (99 - View.MeasureSpec.makeMeasureSpec(0, 0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_kofax_camera_tutorial_no_bank_statement).substring(0, 2).length() + 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{'\b', 21, 11, 31, 13938}, (byte) (View.resolveSize(0, 0) + 116), 5 - Color.blue(0), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aB(new int[]{-1156468643, 1714172342, 160641814, 1491840335, 2035042215, -2051979937, 1105126333, -37413735, -208460309, 2074067918, 859298815, 1951989814, -1634637803, 222676282}, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 25, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(new int[]{1849193615, 1564762687, -781895456, -1080732489, -1390256999, 1925403743, -302899472, 103942615, -166412782, 1497668264}, KeyEvent.normalizeMetaState(0) + 18, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i2 = p + 71;
s = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = s + 61;
p = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = s + 41;
p = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new int[]{-1894132985, 623272531, -222570840, -846047257, 2019192347, -684362441, -1467354953, 1336678226, -961376292, -1620035309, 433834179, 1759847409, 675772084, -1155358024, -682939256, 348971954, -117958861, -1021407699, 1177821227, -2048126509, -1084545307, 610283304, -957994058, 1892821128}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 35, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{22, 0, 6, 20, '\n', 2, 20, 25, 19, 24, ' ', 7, ' ', 7, 16, 17, 7, 20, '\r', '\"', 2, 11, 25, 21, 2, '\t', 23, 4, ' ', 25, 23, 16, 13854, 13854, 26, NistHelper.SEP_FS, 29, '\r', 13929, 13929, '\n', 2, 26, '\t', NistHelper.SEP_FS, '\r', '\n', 2, 23, 15, '\t', '\f', 11, 23, NistHelper.SEP_FS, 1, 23, 11, 17, '\f', '\n', 2, 24, 21}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.app_account_deletion_sub_title).substring(7, 8).codePointAt(0) + 81), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{29, 15, 21, 4, '!', '\t', 13948, 13948, ' ', 25, 0, 21, 1, 22, 23, 16, NistHelper.SEP_FS, 3, '\n', 18, 22, NistHelper.SEP_FS, '\r', '!', 11, 23, '\f', 24, 14, 11, 27, 20, 22, 1, NistHelper.SEP_FS, 26, 31, 1, 13864, 13864, NistHelper.SEP_FS, 19, 27, 1, 11, 0, 6, 20, 0, 22, '#', '\r', 14, ' ', 18, '\n', 21, NistHelper.SEP_FS, '\t', 24, 29, '\r', 3, 17}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 91), ((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];
aB(new int[]{-902258502, 1193761894, 768719326, -1422556101, -1488483985, -719824254, 1282656098, -365328779, -1396274969, -277409107, 1622560433, 979353260, 2079828555, 1788514435, 1794844484, 1940410696, 271291270, -1438799877, 985126304, -588867581, 1921581312, -1237340195, 1671258154, -1044805572, -960287267, 990137787, -462812521, 2146665101, -848954341, 530680790, 602852361, -48879258, -1949973918, -1540614492, 980256688, 1005919394, 902505476, -1209010218}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 40, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new char[]{29, '\b', 23, 17, 13767}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 5), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 107, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new char[]{21, 24, 1, 25, 20, 27, 20, 23, 14, 7, 23, 19, 1, 16, 25, 1, 13814, 13814, 15, 25, 0, 22, 1, 17, '#', 1, '!', 25, '\f', 21, 1, 29, 25, 31, '\f', 22}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 29), ((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 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 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) ((-1) - ImageFormat.getBitsPerPixel(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);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = s + 75;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = p + 73;
s = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aB(new int[]{-1156468643, 1714172342, 160641814, 1491840335, 2035042215, -2051979937, 1105126333, -37413735, -208460309, 2074067918, 859298815, 1951989814, -1634637803, 222676282}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.my_e_coupon_error_generic).substring(23, 24).length() + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{1849193615, 1564762687, -781895456, -1080732489, -1390256999, 1925403743, -302899472, 103942615, -166412782, 1497668264}, ((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) {
int i6 = s + 57;
p = i6 % 128;
if (i6 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i7 = 90 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 444, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) Color.alpha(0))).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.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 486, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) TextUtils.getOffsetAfter("", 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} 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) {
Object[] objArr = new Object[1];
aB(new int[]{-1156468643, 1714172342, 160641814, 1491840335, 2035042215, -2051979937, 1105126333, -37413735, -208460309, 2074067918, 859298815, 1951989814, -1634637803, 222676282}, (KeyEvent.getMaxKeyCode() >> 16) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{1849193615, 1564762687, -781895456, -1080732489, -1390256999, 1925403743, -302899472, 103942615, -166412782, 1497668264}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.action_home_or_up_content_description).substring(0, 11).codePointAt(8) - 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = p + 11;
s = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = p + 7;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = s + 29;
p = i6 % 128;
int i7 = i6 % 2;
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, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 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(488 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) View.getDefaultSize(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aA(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object obj;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = f8929o;
Object obj2 = null;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = 0;
while (i5 < length) {
int i6 = $10 + 25;
$11 = i6 % 128;
if (i6 % i3 == 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 297, 5 - TextUtils.getOffsetBefore("", 0), (char) TextUtils.getOffsetAfter("", 0));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aC(b2, (byte) (b2 | 15), b2, objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i5] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i5])};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(299 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getKeyRepeatDelay() >> 16));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aC(b3, (byte) (b3 | 15), b3, objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
cArr3[i5] = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
i5++;
}
i3 = 2;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(m)};
Object obj5 = xzZ.y.get(-1987398494);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 298, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) Color.argb(0, 0, 0, 0));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b4, (byte) (b4 | 15), b4, objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj5);
}
char charValue = ((Character) ((Method) obj5).invoke(null, objArr6)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i7 = $11 + 97;
$10 = i7 % 128;
int i8 = i7 % 2;
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
int i9 = $10 + 111;
$11 = i9 % 128;
int i10 = i9 % 2;
irs.e = 0;
int i11 = $10 + 49;
$11 = i11 % 128;
int i12 = i11 % 2;
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;
} else {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(822107368);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 233, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (22023 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
aC(b5, (byte) (b5 | Ascii.DC2), b5, objArr9);
obj6 = cls4.getMethod((String) objArr9[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, obj6);
}
if (((Integer) ((Method) obj6).invoke(null, objArr8)).intValue() == irs.j) {
int i13 = $10 + 101;
$11 = i13 % 128;
int i14 = i13 % 2;
Object[] objArr10 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj7 = xzZ.y.get(-1152873385);
if (obj7 == null) {
Class cls5 = (Class) xzZ.c(327 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (ViewConfiguration.getJumpTapTimeout() >> 16));
byte b6 = (byte) 0;
Object[] objArr11 = new Object[1];
aC(b6, (byte) (b6 | 16), b6, objArr11);
obj7 = cls5.getMethod((String) objArr11[0], 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, obj7);
}
obj = null;
int intValue = ((Integer) ((Method) obj7).invoke(null, objArr10)).intValue();
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i15];
} else {
obj = null;
if (irs.a == irs.d) {
int i16 = $11 + 5;
$10 = i16 % 128;
int i17 = i16 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i18 = (irs.a * charValue) + irs.f;
int i19 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i18];
cArr4[irs.e + 1] = cArr2[i19];
} else {
int i20 = (irs.a * charValue) + irs.j;
int i21 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i20];
cArr4[irs.e + 1] = cArr2[i21];
}
irs.e += 2;
obj2 = obj;
}
}
irs.e += 2;
obj2 = obj;
}
}
for (int i22 = 0; i22 < i; i22++) {
cArr4[i22] = (char) (cArr4[i22] ^ 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) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{24, 15, 22, '\t', '#', 5, 23, '\t', 26, 5, 7, 5, 11, NistHelper.SEP_FS, 0, 23, 13900, 13900}, (byte) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 99), 19 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{'\b', 21, 11, 31, 13938}, (byte) (116 - (ViewConfiguration.getTapTimeout() >> 16)), ExpandableListView.getPackedPositionType(0L) + 5, objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = p + 19;
s = i2 % 128;
if (i2 % 2 == 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i3 = s + 105;
p = i3 % 128;
if (i3 % 2 != 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i4 = s + 35;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 492, 5 - Color.red(0), (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new int[]{-1894132985, 623272531, -222570840, -846047257, 2019192347, -684362441, -1467354953, 1336678226, -961376292, -1620035309, 433834179, 1759847409, 675772084, -1155358024, -682939256, 348971954, -117958861, -1021407699, 1177821227, -2048126509, -1084545307, 610283304, -957994058, 1892821128}, TextUtils.lastIndexOf("", '0', 0) + 49, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new char[]{22, 0, 6, 20, '\n', 2, 20, 25, 19, 24, ' ', 7, ' ', 7, 16, 17, 7, 20, '\r', '\"', 2, 11, 25, 21, 2, '\t', 23, 4, ' ', 25, 23, 16, 13854, 13854, 26, NistHelper.SEP_FS, 29, '\r', 13929, 13929, '\n', 2, 26, '\t', NistHelper.SEP_FS, '\r', '\n', 2, 23, 15, '\t', '\f', 11, 23, NistHelper.SEP_FS, 1, 23, 11, 17, '\f', '\n', 2, 24, 21}, (byte) (Color.rgb(0, 0, 0) + 16777329), (KeyEvent.getMaxKeyCode() >> 16) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new char[]{29, 15, 21, 4, '!', '\t', 13948, 13948, ' ', 25, 0, 21, 1, 22, 23, 16, NistHelper.SEP_FS, 3, '\n', 18, 22, NistHelper.SEP_FS, '\r', '!', 11, 23, '\f', 24, 14, 11, 27, 20, 22, 1, NistHelper.SEP_FS, 26, 31, 1, 13864, 13864, NistHelper.SEP_FS, 19, 27, 1, 11, 0, 6, 20, 0, 22, '#', '\r', 14, ' ', 18, '\n', 21, NistHelper.SEP_FS, '\t', 24, 29, '\r', 3, 17}, (byte) (KeyEvent.normalizeMetaState(0) + 125), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{-902258502, 1193761894, 768719326, -1422556101, -1488483985, -719824254, 1282656098, -365328779, -1396274969, -277409107, 1622560433, 979353260, 2079828555, 1788514435, 1794844484, 1940410696, 271291270, -1438799877, 985126304, -588867581, 1921581312, -1237340195, 1671258154, -1044805572, -960287267, 990137787, -462812521, 2146665101, -848954341, 530680790, 602852361, -48879258, -1949973918, -1540614492, 980256688, 1005919394, 902505476, -1209010218}, 74 - (ViewConfiguration.getScrollBarSize() >> 8), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{29, '\b', 23, 17, 13767}, (byte) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 29), 5 - View.MeasureSpec.getMode(0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{21, 24, 1, 25, 20, 27, 20, 23, 14, 7, 23, 19, 1, 16, 25, 1, 13814, 13814, 15, 25, 0, 22, 1, 17, '#', 1, '!', 25, '\f', 21, 1, 29, 25, 31, '\f', 22}, (byte) (76 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), Color.alpha(0) + 36, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getTouchSlop() >> 8), View.MeasureSpec.getSize(0) + 5, (char) (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)))).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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = s + 49;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 92 / 0;
}
int i5 = s + 3;
p = i5 % 128;
int i6 = i5 % 2;
}
}