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

626 lines
35 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.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.etb.EtbSuccessActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* renamed from: o.dMw, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8495dMw extends BaseActivity implements fPA {
/* renamed from: o, reason: collision with root package name */
private volatile C13073fPt f8771o;
private static final byte[] $$p = {30, 115, ISOFileInfo.A1, -33};
private static final int $$q = CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int u = 1;
private static char k = 54511;
private static char m = 7397;
private static char p = 17339;
private static char r = 47255;
private static char[] t = {49028, 49089, 49050, 49031, 49025, 49098, 49024, 49109, 49110, 49026, 49114, 49048, 49049, 49104, 49111, 49055, 49138, 49035, 49030, 49127, 49041, 49105, 49052, 49117, 49116, 49093, 49095, 49029, 49034, 49027, 49115, 49054, 49051, 49106, 49091, 49053};
private static char q = 35375;
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:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(short r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 4
int r0 = r6 + 1
byte[] r1 = o.AbstractActivityC8495dMw.$$p
int r8 = r8 + 66
int r7 = r7 * 3
int r7 = 3 - r7
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r4 = r6
r8 = r7
r3 = r2
goto L2c
L15:
r3 = r2
L16:
int r7 = r7 + 1
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 = r5
L2c:
int r4 = -r4
int r7 = r7 + r4
r5 = r8
r8 = r7
r7 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8495dMw.aC(short, byte, short, java.lang.Object[]):void");
}
public AbstractActivityC8495dMw() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dMw.2
private AbstractActivityC8495dMw b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8495dMw abstractActivityC8495dMw = this.b;
if (abstractActivityC8495dMw.b) {
return;
}
abstractActivityC8495dMw.b = true;
((InterfaceC8491dMs) abstractActivityC8495dMw.y_()).d((EtbSuccessActivity) abstractActivityC8495dMw);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = u + 17;
s = i2 % 128;
int i3 = i2 % 2;
Object y_ = f().y_();
int i4 = u + 51;
s = i4 % 128;
if (i4 % 2 == 0) {
return y_;
}
throw null;
}
private C13073fPt f() {
if (this.f8771o == null) {
synchronized (this.l) {
if (this.f8771o == null) {
this.f8771o = new C13073fPt(this);
}
}
}
return this.f8771o;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i2 = s + 9;
u = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
} else {
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i4 = s + 103;
u = i4 % 128;
if (i4 % 2 != 0) {
return aBN_;
}
throw null;
}
private static void aA(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i4 = $10 + 27;
$11 = i4 % 128;
if (i4 % 2 == 0) {
cArr3[0] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b >> 1];
i2 = 1;
} else {
cArr3[0] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
i2 = 0;
}
int i5 = 58224;
while (i2 < 16) {
char c = cArr3[1];
char c2 = cArr3[0];
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i5) ^ ((c2 << 4) + ((char) (p ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(r)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - Color.red(0), Drawable.resolveOpacity(0, 0) + 5, (char) ((-16777216) - Color.rgb(0, 0, 0)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr3[0]), Integer.valueOf((charValue + i5) ^ ((charValue << 4) + ((char) (k ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(m)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 412, View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr3[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i5 -= 40503;
i2++;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2[jtb.b] = cArr3[0];
cArr2[jtb.b + 1] = cArr3[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 98, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) ((-1) - TextUtils.lastIndexOf("", '0')));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
String str = new String(cArr2, 0, i);
int i6 = $11 + 83;
$10 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = u + 7;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{11688, 14067, 7881, 61251, 9262, 60040, 30998, 14433, 38425, 41871, 56522, 38071, 48084, 2634, 54010, 23221, 58691, 2698}, (ViewConfiguration.getFadingEdgeLength() >> 16) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{9022, 59813, 36550, 59302, 31948, 23659}, 5 - View.MeasureSpec.getMode(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 char[]{'#', 21, '\r', 2, NistHelper.SEP_FS, 6, 17, ' ', '\"', '#', '#', 30, 17, 14, NistHelper.SEP_FS, '\b', NistHelper.SEP_FS, 7, 29, 2, 18, 31, 2, 7, ' ', 15}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 101), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mw_edit_qr_error_limit).substring(31, 32).length() + 25, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new char[]{25659, 38571, 2667, 6491, 11081, 18375, 21737, 943, 47460, 63075, 17512, 50123, 14252, 18420, 7280, 33361, 56893, 48763}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = s + 71;
u = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 492, 5 - TextUtils.indexOf("", "", 0, 0), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new char[]{6, 3, '\t', 27, 7, '\f', '\t', 31, 22, 27, 3, '\"', '\t', 18, 11, '\f', 18, '\t', 5, 16, '\t', 0, '\"', 27, '\t', 25, '\f', 19, 16, 25, 15, '\b', 6, 21, 15, 11, '\b', '\t', 13893, 13893, 5, 4, 24, 22, 14, '\f', '\t', 2}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 64), ((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_page_title).substring(0, 20).length() + 28, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{33785, 48777, 12220, 14687, 9335, 4062, 65055, 34427, 44062, 15850, 15077, 54839, 15077, 54839, 58474, 18717, 50456, 12762, 46809, 59304, 65205, 7650, 12801, 47919, 17458, 18472, 14874, 16039, 48223, 27195, 30846, 8515, 35444, 3187, 53702, 3020, 4158, 39532, 62770, 18408, 9335, 4062, 51437, 21189, 19079, 64809, 9335, 4062, 20688, 51110, 32533, 30111, 39903, 5814, 3516, 14378, 12899, 48392, 7953, 16037, 9335, 4062, 5753, 56238}, 64 - (ViewConfiguration.getTouchSlop() >> 8), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{'#', 15, 24, 11, 30, '\t', 13875, 13875, '\n', '\"', 7, '\t', 27, '\t', '#', 23, 3, 27, 11, 25, 11, 27, 1, 5, 14, '\f', '\b', '\t', 15, 29, 26, 16, '\t', 27, 30, 21, 22, 0, 13791, 13791, 23, 24, 24, '\f', '\r', 19, 26, '\t', 20, '\t', 5, 16, NistHelper.SEP_FS, 29, 25, 11, 27, '#', '\t', 31, 23, '\f', '\f', 1}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 18), ((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];
aA(new char[]{5592, 28502, 43832, 10257, 39424, 31211, 15787, 15619, 12127, 23031, 38197, 12285, 33170, 8226, 8776, 51937, 40076, 51553, 31347, 19085, 6184, 32893, 16252, 7234, 31577, 44647, 31357, 42514, 28261, 25480, 32338, 15531, 55315, 49728, 36204, 62439, 14284, 64748, 36489, 10217, 18915, 44384, 9528, 47003, 5176, 3206, 18915, 44384, 59284, 59372, 33170, 8226, 28868, 23525, 6356, 21278, 38243, 65390, 63164, 30950, 27429, 1510, 26638, 60110, 57612, 36856, 2727, 29061, 31199, 3352, 11081, 18375, 1905, 48269}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_successful_scbs_detail_remark).substring(0, 10).codePointAt(7) - 42, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new char[]{39003, 40172, 55065, 47079, 35733, 65334}, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new char[]{'\t', ' ', 5, 4, 16, 26, 5, 27, '!', 25, 26, 11, 19, '!', 4, 5, 13838, 13838, ' ', '\"', 20, '\t', 19, 1, 1, 16, 3, '\"', 2, 6, '\f', 19, 0, 21, '\n', '\t'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 65), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.account_summary_my_investment_message_with_data_sharing).substring(0, 2).length() + 34, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getTapTimeout() >> 16), Process.getGidForName("") + 6, (char) (ViewConfiguration.getScrollDefaultDelay() >> 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, 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = u + 119;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB(new char[]{'#', 21, '\r', 2, NistHelper.SEP_FS, 6, 17, ' ', '\"', '#', '#', 30, 17, 14, NistHelper.SEP_FS, '\b', NistHelper.SEP_FS, 7, 29, 2, 18, 31, 2, 7, ' ', 15}, (byte) (TextUtils.getOffsetAfter("", 0) + 114), 26 - Gravity.getAbsoluteGravity(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{25659, 38571, 2667, 6491, 11081, 18375, 21737, 943, 47460, 63075, 17512, 50123, 14252, 18420, 7280, 33361, 56893, 48763}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.my_e_coupons).substring(6, 7).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = u + 17;
s = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getLongPressTimeout() >> 16), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) ExpandableListView.getPackedPositionGroup(0L))).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(TextUtils.getOffsetBefore("", 0) + 487, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (ViewConfiguration.getTouchSlop() >> 8))).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) {
int i2 = s + 95;
u = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB(new char[]{'#', 21, '\r', 2, NistHelper.SEP_FS, 6, 17, ' ', '\"', '#', '#', 30, 17, 14, NistHelper.SEP_FS, '\b', NistHelper.SEP_FS, 7, 29, 2, 18, 31, 2, 7, ' ', 15}, (byte) (TextUtils.getCapsMode("", 0, 0) + 114), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ntb_resume_popup_description).substring(17, 18).codePointAt(0) - 6, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{25659, 38571, 2667, 6491, 11081, 18375, 21737, 943, 47460, 63075, 17512, 50123, 14252, 18420, 7280, 33361, 56893, 48763}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mcmc_topup_maximum_loan).substring(0, 21).length() - 3, 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(491 - TextUtils.lastIndexOf("", '0', 0), TextUtils.indexOf("", "") + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getLongPressTimeout() >> 16), MotionEvent.axisFromString("") + 6, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = u + 55;
s = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aB(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object obj;
char c;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = t;
Object obj2 = null;
float f = BitmapDescriptorFactory.HUE_RED;
int i5 = 4;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
int i7 = $10 + 87;
$11 = i7 % 128;
int i8 = i7 % i3;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 298, (AudioTrack.getMaxVolume() > f ? 1 : (AudioTrack.getMaxVolume() == f ? 0 : -1)) + i5, (char) Color.blue(0));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 | 51), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i6] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i6++;
i3 = 2;
f = BitmapDescriptorFactory.HUE_RED;
i5 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(q)};
Object obj4 = xzZ.y.get(-1987398494);
char c2 = 5;
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 299, (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 | 51), 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;
}
char c3 = 3;
if (i2 > 1) {
int i9 = $11 + 55;
$10 = i9 % 128;
int i10 = i9 % 2;
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[c3] = 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 - Drawable.resolveOpacity(0, 0), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (Process.getGidForName("") + 22025));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, (byte) (b7 | 54), 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) {
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.getPressedStateDuration() >> 16) + 327, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
aC(b8, b9, (byte) (b9 | ISO7816.INS_DECREASE_STAMPED), objArr9);
c = 5;
obj6 = cls4.getMethod((String) objArr9[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, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i11];
} 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 i12 = (irs.a * charValue) + irs.f;
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i12];
cArr4[irs.e + 1] = cArr2[i13];
int i14 = $10 + 89;
$11 = i14 % 128;
int i15 = i14 % 2;
} else {
int i16 = (irs.a * charValue) + irs.j;
int i17 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i16];
cArr4[irs.e + 1] = cArr2[i17];
}
}
}
irs.e += 2;
obj2 = obj;
c2 = c;
c3 = 3;
}
}
int i18 = 0;
while (i18 < i) {
cArr4[i18] = (char) (cArr4[i18] ^ 13722);
i18++;
int i19 = $10 + 3;
$11 = i19 % 128;
if (i19 % 2 == 0) {
int i20 = 3 % 2;
}
}
objArr[0] = new String(cArr4);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x006c, code lost:
if (r2 > 99999) goto L6;
*/
@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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r17) {
/*
Method dump skipped, instructions count: 876
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8495dMw.attachBaseContext(android.content.Context):void");
}
@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 = u + 65;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
int i4 = s + 109;
u = i4 % 128;
int i5 = i4 % 2;
}
}