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

534 lines
38 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.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.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.kmc.kut.utilities.IpLibUtil;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.bulktransfer.BulkTransferSuccessActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
/* renamed from: o.duA, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC9978duA extends BaseActivity implements fPA {
private static short[] t;
private volatile C13073fPt m;
private static final byte[] $$p = {63, 15, ISO7816.INS_GET_DATA, 59};
private static final int $$q = 8;
private static int $10 = 0;
private static int $11 = 1;
private static int u = 0;
private static int v = 1;
/* renamed from: o, reason: collision with root package name */
private static int f8901o = -556392155;
private static int k = 1406017025;
private static int s = -851881421;
private static byte[] q = {Ascii.NAK, Ascii.ESC, Ascii.ETB, -31, -24, 55, 55, -82, 17, 84, -33, -18, -17, -24, Ascii.ESC, -29, Ascii.CAN, Ascii.SYN, -23, -26, Ascii.US, 1, -50, 16, 30, -26, Ascii.CAN, ISO7816.INS_CREATE_FILE, 4, 55, 6, ISOFileInfo.AB, Ascii.NAK, Ascii.SUB, 38, -33, -18, -17, -24, Ascii.ESC, -29, Ascii.CAN, -22, 19, ISO7816.INS_CREATE_FILE, 6, -21, -17, -24, -23, Ascii.NAK, 58, ISO7816.INS_LOAD_KEY_FILE, 19, 28, -26, Ascii.NAK, -24, 7, ISO7816.INS_PUT_DATA, 56, ISO7816.INS_GET_RESPONSE, 59, -23, 16, Ascii.ETB, -59, Ascii.NAK, -24, -22, 32, -20, Ascii.SYN, 17, Ascii.NAK, ISO7816.INS_LOAD_KEY_FILE, 62, -61, 59, -57, 56, -59, 56, -51, 56, Ascii.DC4, -18, 19, -22, -60, 63, 16, -60, 58, -57, 58, -20, ISO7816.INS_ENVELOPE, Ascii.DC4, -18, Ascii.SYN, 37, -60, 59, -24, 19, -22, 19, 28, -6, 4, 35, -24, -87, 82, -82, Ascii.DC4, Ascii.ESC, -21, -20, 16, 47, -45, -20, Ascii.SUB, 39, -41, -21, Ascii.EM, 32, ISO7816.INS_UPDATE_RECORD, -26, 4, -7, 17, -21, Ascii.SUB, -25, 4, -7, Ascii.ESC, ISO7816.INS_UNBLOCK_CHV, -81, Ascii.DC4, 7, -21, -6, 6, -23, -26, Ascii.US, -31, 83, ISO7816.INS_UPDATE_BINARY, -24, Ascii.CAN, -22, -29, 30, -19, 19, ISO7816.INS_DELETE_FILE, Ascii.CAN, -19, Ascii.NAK, -21, Ascii.EM, -29, Ascii.EM, -19, -29, 81, Ascii.NAK, ISO7816.INS_CREATE_FILE, ISO7816.INS_WRITE_RECORD, Ascii.SYN, -23, Ascii.NAK, Ascii.EM, Ascii.ETB, -29, Ascii.US, ISO7816.INS_CREATE_FILE, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private static char[] p = {26179, 51041, 9239, 34277, 58002, 31559, 55926, 14712, 39141, 65484, 23886, 48210, 4961, 29431, 53745, 14092, 38470, 62872, 21674, 44001, 2361, 26740, 53120, 11999, 35858, 58233, 17018, 41447, 204, 26113, 50514, 9326, 31731, 56056, 14341, 40774, 65168, 24021, 48355, 4667, 28961, 53391, 14292, 38212, 62586, 19300, 43750, 2463, 28422, 52831, 11629, 36000, 58282, 16742, 41036, 1992, 26327, 50617, 6964, 31347, 55770, 14538, 40519, 64815, 23656, 46012, 4766, 28759, 55053, 36787, 11996, 52622, 27715, 2923, 43503, 18675, 59341, 34384, 9485, 50173, 25317, 312, 41048, 24342, 64960, 40147, 15142, 55928, 30944, 6107, 46732, 21825, 62522, 37537, 12716, 53448, 36613, 11778, 52474, 27583, 2620, 43302, 18502, 59039, 34181, 9343, 49966, 25063, 217, 49047, 24132, 64827, 39923, 15100, 55759, 30800, 5981, 46480, 21729, 62316, 37416, 12572, 61381, 36486, 11566, 52274, 27317, 2440, 43201, 18255, 58932, 33957, 9135, 10212, 34518, 26079, 50199, 41789, 438, 57585, 20427, 11804, 36177, 27565, 51894, 43371, 2066, 63297, 21913, 13520, 37670, 29280, 53474, 49115, 7818, 64838, 23670, 15011, 39332, 30927, 10066, 34398, 25850, 50102, 41534, 373, 57410, 20124, 11654};
private static long r = -1395251480254337308L;
private final Object l = new Object();
boolean b = false;
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Type inference failed for: r8v1, types: [int] */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> 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, int r7, short r8, java.lang.Object[] r9) {
/*
int r8 = r8 + 98
byte[] r0 = o.AbstractActivityC9978duA.$$p
int r6 = r6 * 2
int r6 = 3 - r6
int r7 = r7 * 3
int r7 = 1 - r7
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r4 = r8
r3 = r2
r8 = r6
goto L2c
L15:
r3 = r2
L16:
int r6 = r6 + 1
byte r4 = (byte) r8
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r7) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L27:
r4 = r0[r6]
r5 = r8
r8 = r6
r6 = r5
L2c:
int r6 = r6 + r4
r5 = r8
r8 = r6
r6 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC9978duA.aC(short, int, short, java.lang.Object[]):void");
}
public AbstractActivityC9978duA() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.duA.2
private AbstractActivityC9978duA c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC9978duA abstractActivityC9978duA = this.c;
if (abstractActivityC9978duA.b) {
return;
}
abstractActivityC9978duA.b = true;
((InterfaceC10020duq) abstractActivityC9978duA.y_()).e((BulkTransferSuccessActivity) abstractActivityC9978duA);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = u + 51;
v = i2 % 128;
int i3 = i2 % 2;
Object y_ = j().y_();
int i4 = u + 33;
v = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt j() {
if (this.m == null) {
synchronized (this.l) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
@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 = v + 47;
u = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
int i4 = u + 71;
v = i4 % 128;
int i5 = i4 % 2;
} else {
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aB(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = $10 + 113;
$11 = i4 % 128;
int i5 = i4 % 2;
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(p[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(308 - View.MeasureSpec.getSize(0), 5 - Color.red(0), (char) (32797 - (ViewConfiguration.getScrollDefaultDelay() >> 16)));
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);
xzZ.y.put(1095064095, obj);
}
try {
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(r), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - Color.alpha(0), (-16777211) - Color.rgb(0, 0, 0), (char) Color.argb(0, 0, 0, 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
try {
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 406, KeyEvent.keyCodeFromString("") + 5, (char) (Drawable.resolveOpacity(0, 0) + 29234));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b5, b5, (byte) $$q, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i7 = $10 + 19;
$11 = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
cArr[dqy.a] = (char) jArr[dqy.a];
try {
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(406 - TextUtils.indexOf((CharSequence) "", '0', 0), Color.green(0) + 5, (char) ((-16747982) - Color.rgb(0, 0, 0)));
byte b6 = (byte) 0;
Object[] objArr9 = new Object[1];
aC(b6, b6, (byte) $$q, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
int i9 = $11 + 33;
$10 = i9 % 128;
int i10 = i9 % 2;
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
objArr[0] = new String(cArr);
}
@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];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), 1927790801 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 15, 1627960333 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.debit_card_request_account_error_title).substring(42, 43).codePointAt(0) - 32), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, (char) (59900 - 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];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 1927790817, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.prepaid_request_contact_message).substring(35, 37).codePointAt(0) - 49, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.contact_info_mcmc_topup_mailing_remark_more).substring(0, 21).length() + 1627960358, (byte) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ccr_search_not_found_2).substring(0, 1).codePointAt(0) - 10), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.voucher_delivery_eta).substring(106, 107).codePointAt(0) + 1927790810, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.risk_level).substring(0, 1).codePointAt(0) - 42, 1627960382 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 111), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = v + 39;
u = i2 % 128;
if (i2 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = v + 17;
u = i3 % 128;
int i4 = i3 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getJumpTapTimeout() >> 16), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.opr_registration_disclaimer).substring(0, 1).codePointAt(0) + 1927790817, 27 - TextUtils.lastIndexOf("", '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_insurance_request_e_policy_success_description).substring(51, 52).length() + 1627960330, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(((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() - 7, 65 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (TextUtils.indexOf("", "", 0, 0) + 62704), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(Color.blue(0) + 69, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mw_shop_address_error_inline).substring(35, 37).codePointAt(0) + 20, (char) Color.alpha(0), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA((short) ((-1) - Process.getGidForName("")), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.taking_photo_details_description_bank).substring(120, 121).length() + 1927790905, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.specify_warning_msg).substring(43, 44).codePointAt(0) + 22, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.collateral_estimate_price_error).substring(29, 30).length() + 1627960385, (byte) (((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_2_2).substring(0, 73).length() - 73), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) + IpLibUtil.KIPP_BAD_HISTOGRAM), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1927790966, (ViewConfiguration.getMinimumFlingVelocity() >> 16) - 15, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 1627960339, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mf_switch_review_12).substring(9, 10).codePointAt(0) + 101, 36 - (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) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 43057), 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 - TextUtils.getCapsMode("", 0, 0), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (ViewConfiguration.getPressedStateDuration() >> 16))).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);
}
/* JADX WARN: Code restructure failed: missing block: B:42:0x0027, code lost:
r1 = o.AbstractActivityC9978duA.v + 103;
o.AbstractActivityC9978duA.u = r1 % 128;
r1 = r1 % 2;
r12 = (java.lang.Object[]) null;
r4 = new java.lang.Object[1];
aA((short) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_select_account_mf_title).substring(89, 90).length() - 1), (android.view.ViewConfiguration.getScrollBarSize() >> 8) + 1927790817, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.already_registered_error).substring(21, 22).length() + 5, 1627960378 - android.text.TextUtils.indexOf((java.lang.CharSequence) "", '0'), (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.status_bar_notification_info_overflow).substring(0, 4).codePointAt(2) - 57), r4);
r1 = java.lang.Class.forName((java.lang.String) r4[0]);
r4 = new java.lang.Object[1];
aA((short) (android.view.ViewConfiguration.getTapTimeout() >> 16), 1927790842 - (android.media.AudioTrack.getMinVolume() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.media.AudioTrack.getMinVolume() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)), android.widget.ExpandableListView.getPackedPositionChild(0) - 1, android.text.TextUtils.getCapsMode("", 0, 0) + 1627960381, (byte) (android.view.ViewConfiguration.getScrollBarSize() >> 8), r4);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r4[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:44:0x0025, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001e, 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 onResume() {
/*
Method dump skipped, instructions count: 621
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC9978duA.onResume():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 onPause() {
int i = 2 % 2;
int i2 = u + 59;
v = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 98), TextUtils.getTrimmedLength("") + 1927790817, (-16777210) - Color.rgb(0, 0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1627960366, (byte) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) + IpLibUtil.KIPP_BARCODE_DRIVER_FAIL), 1927790808 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 48, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) + 1627960271, (byte) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = u + 31;
v = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (Process.myPid() >> 22), AndroidCharacter.getMirror('0') - '+', (char) View.MeasureSpec.getSize(0))).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(486 - TextUtils.indexOf((CharSequence) "", '0', 0), 5 - Color.green(0), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = u + 111;
v = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i8 = u + 19;
v = i8 % 128;
if (i8 % 2 == 0) {
int i9 = 77 / 0;
}
}
/* JADX WARN: Removed duplicated region for block: B:35:0x01b9 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aA(short r19, int r20, int r21, int r22, byte r23, java.lang.Object[] r24) {
/*
Method dump skipped, instructions count: 733
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC9978duA.aA(short, int, int, int, byte, java.lang.Object[]):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, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = v + 75;
u = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA((short) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1), 1927790800 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), TextUtils.lastIndexOf("", '0') - 1, 1627960379 - (Process.myPid() >> 22), (byte) View.MeasureSpec.getMode(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(ViewConfiguration.getFadingEdgeLength() >> 16, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (59900 - View.getDefaultSize(0, 0)), 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 || intValue > 99999) {
if (context != null) {
int i4 = v + 27;
u = i4 % 128;
if (i4 % 2 != 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i5 = v + 11;
u = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getPressedStateDuration() >> 16), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aA((short) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1), 1927790859 - TextUtils.indexOf("", "", 0), 28 - Color.argb(0, 0, 0, 0), (ViewConfiguration.getJumpTapTimeout() >> 16) + 1627960331, (byte) ((-1) - TextUtils.lastIndexOf("", '0', 0)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(5 - View.MeasureSpec.getMode(0), View.MeasureSpec.makeMeasureSpec(0, 0) + 64, (char) ((ViewConfiguration.getTouchSlop() >> 8) + 62704), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(69 - (ViewConfiguration.getJumpTapTimeout() >> 16), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 64, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA((short) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1), 1927790906 - (ViewConfiguration.getDoubleTapTimeout() >> 16), KeyEvent.keyCodeFromString("") + 54, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 1627960385, (byte) (ViewConfiguration.getLongPressTimeout() >> 16), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA((short) TextUtils.getTrimmedLength(""), 1927790978 - TextUtils.lastIndexOf("", '0', 0, 0), (-15) - (ViewConfiguration.getLongPressTimeout() >> 16), View.MeasureSpec.makeMeasureSpec(0, 0) + 1627960339, (byte) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(132 - ExpandableListView.getPackedPositionChild(0L), 35 - TextUtils.indexOf((CharSequence) "", '0'), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 43092), 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 - TextUtils.getOffsetAfter("", 0), 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, 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 = u + 83;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = v + 55;
u = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
}