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

536 lines
38 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.drawable.Drawable;
import android.media.AudioTrack;
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.google.common.primitives.SignedBytes;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.ndid.NationalIdCameraActivity;
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.jmrtd.lds.CVCAFile;
/* renamed from: o.ebq, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11254ebq extends BaseActivity implements fPA {
private static short[] r;
private volatile C13073fPt m;
private static final byte[] $$g = {101, -49, 33, 116};
private static final int $$h = 101;
private static int $10 = 0;
private static int $11 = 1;
private static int x = 0;
private static int w = 1;
private static int k = 1957070876;
private static int l = 1406017065;
private static int q = 1310789106;
private static byte[] t = {6, 28, 0, 106, 109, 32, 32, ISOFileInfo.AB, Ascii.SUB, -63, 88, 107, 104, 109, 28, -108, 29, 47, ISO7816.INS_GET_RESPONSE, -33, 86, 56, -25, 41, 87, -33, 81, -39, 61, 14, 63, -126, ISO7816.INS_UNBLOCK_CHV, 83, Ascii.US, Ascii.SYN, -57, -58, -63, 82, ISO7816.INS_PUT_DATA, 81, 81, 120, 43, 77, 80, 84, 83, 82, 126, ISOFileInfo.DATA_BYTES2, 35, 120, 103, 45, 126, 83, 76, 15, ISOFileInfo.FMD_BYTE, 87, 101, 12, 117, 80, 93, 86, 102, 94, 87, 90, 85, 95, 9, 87, 14, 103, ISOFileInfo.FMD_BYTE, 94, ISOFileInfo.FMD_BYTE, 87, 95, 11, 81, 8, 95, 87, 101, 11, ISOFileInfo.FMD_BYTE, 51, 124, 12, 116, 56, 97, 8, ISOFileInfo.FMD_BYTE, 88, 80, 88, 58, 10, 102, 101, 14, 97, 10, 15, 103, 15, 102, 91, 87, 14, 89, 87, 90, 84, 95, 102, -37, SignedBytes.MAX_POWER_OF_TWO, 117, ISOFileInfo.AB, 125, -112, -39, 30, 3, 7, 77, 72, ISO7816.INS_LOAD_KEY_FILE, -59, 65, -124, Byte.MIN_VALUE, -59, 75, -100, ISOFileInfo.SECURITY_ATTR_COMPACT, ISO7816.INS_LOAD_KEY_FILE, 78, -111, -75, -33, 125, -82, 70, ISO7816.INS_LOAD_KEY_FILE, 75, ISO7816.INS_UPDATE_RECORD, 125, -82, 72, ISOFileInfo.PROP_INFO, 4, 77, 124, ISO7816.INS_LOAD_KEY_FILE, ISOFileInfo.AB, Ascii.DEL, -34, -33, 116, ISO7816.INS_UPDATE_BINARY, 0, -113, -39, 73, -37, ISO7816.INS_WRITE_BINARY, 119, ISO7816.INS_PUT_DATA, SignedBytes.MAX_POWER_OF_TWO, -35, 73, ISO7816.INS_PUT_DATA, CVCAFile.CAR_TAG, ISO7816.INS_LOAD_KEY_FILE, 78, ISO7816.INS_WRITE_BINARY, 78, ISO7816.INS_PUT_DATA, ISO7816.INS_WRITE_BINARY, 6, CVCAFile.CAR_TAG, -47, ISOFileInfo.FILE_IDENTIFIER, 79, -34, CVCAFile.CAR_TAG, 78, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private static char s = 61980;
private static char p = 24157;
private static char v = 59761;
private static char y = 56211;
/* renamed from: o, reason: collision with root package name */
private final Object f8970o = 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:0x0028). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(short r5, short r6, short r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 2
int r7 = 4 - r7
byte[] r0 = o.AbstractActivityC11254ebq.$$g
int r6 = 110 - r6
int r5 = r5 * 2
int r1 = 1 - r5
byte[] r1 = new byte[r1]
r2 = 0
int r5 = 0 - r5
if (r0 != 0) goto L16
r3 = r5
r4 = r2
goto L28
L16:
r3 = r2
L17:
byte r4 = (byte) r6
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r5) goto L26
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L26:
r3 = r0[r7]
L28:
int r7 = r7 + 1
int r3 = -r3
int r6 = r6 + r3
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11254ebq.az(short, short, short, java.lang.Object[]):void");
}
public AbstractActivityC11254ebq() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.ebq.3
private AbstractActivityC11254ebq c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11254ebq abstractActivityC11254ebq = this.c;
if (abstractActivityC11254ebq.b) {
return;
}
abstractActivityC11254ebq.b = true;
((InterfaceC11233ebV) abstractActivityC11254ebq.y_()).a((NationalIdCameraActivity) abstractActivityC11254ebq);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = w + 33;
x = i2 % 128;
int i3 = i2 % 2;
Object y_ = g().y_();
int i4 = x + 119;
w = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt g() {
if (this.m == null) {
synchronized (this.f8970o) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
Bundle bundle = null;
if (getIntent() != null) {
int i2 = x + 111;
w = i2 % 128;
if (i2 % 2 == 0) {
getIntent().getExtras();
throw null;
}
bundle = getIntent().getExtras();
} else {
int i3 = x + 67;
w = i3 % 128;
int i4 = i3 % 2;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
int i4 = $11 + 99;
$10 = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 2 / 2;
}
while (jtb.b < cArr.length) {
int i6 = $11 + 7;
$10 = i6 % 128;
int i7 = i6 % 2;
cArr3[i3] = cArr[jtb.b];
int i8 = 1;
cArr3[1] = cArr[jtb.b + 1];
int i9 = 58224;
int i10 = i3;
while (i10 < 16) {
int i11 = $10 + 99;
$11 = i11 % 128;
int i12 = i11 % 2;
char c = cArr3[i8];
char c2 = cArr3[i3];
char[] cArr4 = cArr3;
int i13 = (c2 + i9) ^ ((c2 << 4) + ((char) (v ^ 41718355337583039L)));
int i14 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(y);
objArr2[2] = Integer.valueOf(i14);
objArr2[i8] = Integer.valueOf(i13);
objArr2[0] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - TextUtils.getOffsetBefore("", 0), 5 - TextUtils.indexOf("", ""), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)));
byte b = (byte) 0;
Object[] objArr3 = new Object[i8];
az(b, (byte) (b | ISO7816.INS_UNBLOCK_CHV), b, objArr3);
String str = (String) objArr3[0];
Class<?>[] clsArr = new Class[4];
clsArr[0] = Integer.TYPE;
clsArr[i8] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr4[i8] = charValue;
int i15 = i10;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i9) ^ ((charValue << 4) + ((char) (s ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(p)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 412, 5 - Color.green(0), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
az(b2, (byte) (b2 | ISO7816.INS_UNBLOCK_CHV), b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i9 -= 40503;
i10 = i15 + 1;
cArr3 = cArr4;
i3 = 0;
i8 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(98 - View.resolveSize(0, 0), View.MeasureSpec.getSize(0) + 5, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b3, (byte) (b3 | 43), b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i16 = $10 + 33;
$11 = i16 % 128;
int i17 = i16 % 2;
cArr3 = cArr5;
i3 = 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;
int i2 = w + 67;
x = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.check_eligibility_good_to_know_text).substring(33, 34).codePointAt(0) - 103), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.deejung_transfer_email_notification_message).substring(33, 34).codePointAt(0) - 661165609, (-42) - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), ExpandableListView.getPackedPositionChild(0L) - 502207365, (byte) ((-52) - View.resolveSizeAndState(0, 0, 0)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{33454, 61663, 5221, 17533, 51158, 40453}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, 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];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_decline_ncb_consent_title).substring(0, 18).codePointAt(2) - 3498), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 661165594, View.MeasureSpec.makeMeasureSpec(0, 0) - 34, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 502207379, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 190), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 122), (-661165536) - ImageFormat.getBitsPerPixel(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 76, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 502207365, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.account_management_delete_message).substring(29, 30).codePointAt(0) - 13), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[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 - Process.getGidForName(""), 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) Drawable.resolveOpacity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new char[]{13341, 26666, 55904, 35501, 451, 22864, 44986, 5222, 56228, 37411, 13370, 35631, 16977, 5897, 9033, 11260, 56375, 1331, 14200, 32222, 29121, 54676, 18877, 14678, 33715, 38647, 40073, 64463, 14097, 56672, 24181, 65410, 45589, 60349, 20603, 44240, 63555, 16244, 14533, 3028, 40676, 26174, 58143, 44044, 57603, 51708, 63633, 45466}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.verify_identity_3).substring(0, 3).length() + 45, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 106), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_review_submission_laser_id_title).substring(30, 31).codePointAt(0) - 661165550, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 4, (-502207362) - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 76), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{62058, 51086, 65132, 33931, 45378, 38815, 49258, 48458, 26571, 9018, 12124, 54411, 32023, 44536, 58698, 52923, 19697, 46330, 44896, 42940, 20126, 7111, 65095, 16627, 57603, 51708, 63555, 16244, 31203, 18572, 38846, 37079, 55904, 35501, 24947, 44450, 6352, 20494, 35548, 14007, 12894, 695, 35301, 45411, 10753, 25152, 21524, 26446, 21363, 62740, 14200, 32222, 12090, 3101, 44189, 27852, 39157, 17571, 44986, 5222, 48391, 14112, 38286, 19865}, ((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];
ax((short) (108 - ExpandableListView.getPackedPositionChild(0L)), (ViewConfiguration.getTouchSlop() >> 8) - 661165455, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.isprint_touch_point_force_set_new_pin_message).substring(41, 42).codePointAt(0) - 18, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.single_form_mf_and_om_description).substring(4, 9).codePointAt(1) - 502207399, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 94), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{12869, 63365, 25659, 63905, 56905, 40222}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new char[]{63921, 58541, 40676, 26174, 9055, 34652, 2159, 59979, 3534, 22314, 49543, 50938, 58108, 20049, 48913, 2014, 35548, 14007, 20732, 54525, 21363, 62740, 16480, 29132, 3392, 61397, 13370, 35631, 45538, 62232, 40073, 64463, 39897, 29452, 7809, 58640}, ((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_1).substring(0, 43).codePointAt(42) - 3561, 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(TextUtils.lastIndexOf("", '0', 0) + 488, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).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);
int i4 = w + 79;
x = i4 % 128;
int i5 = i4 % 2;
}
@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 = w + 57;
x = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = x + 37;
w = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.prepaid_market_conduct_link).substring(0, 20).length() + 100), (-661165561) - ImageFormat.getBitsPerPixel(0), ((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() - 35, (-502207388) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_scbs_investment_select_function_robo_advisor).substring(0, 22).length(), (byte) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 80), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (((Process.getThreadPriority(0) + 20) >> 6) - 88), (-661165646) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.fatca_error_open_account_title).substring(11, 12).length() - 43, (-502207364) - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.product_points).substring(0, 5).length() + 14), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = w + 35;
x = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 491, TextUtils.lastIndexOf("", '0') + 6, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).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(488 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (KeyEvent.getMaxKeyCode() >> 16) + 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(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;
int i2 = w + 51;
x = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = x + 73;
w = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
ax((short) ((KeyEvent.getMaxKeyCode() >> 16) + 120), (ViewConfiguration.getKeyRepeatDelay() >> 16) - 661165560, (-34) - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (-502207400) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.juristic_unlock_business_pin).substring(15, 16).length() - 80), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) ((-88) - (KeyEvent.getMaxKeyCode() >> 16)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 661165569, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.favorite_add_suggestion_bulk_transfer).substring(55, 56).codePointAt(0) - 74, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) - 502207465, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 15), 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 obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 491, TextUtils.getOffsetBefore("", 0) + 5, (char) KeyEvent.keyCodeFromString(""))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) ('0' - AndroidCharacter.getMirror('0')))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
/* JADX WARN: Removed duplicated region for block: B:57:0x02b8 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ax(short r17, int r18, int r19, int r20, byte r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 976
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11254ebq.ax(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) {
int i = 2 % 2;
int i2 = w + 37;
x = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((short) ((-71) - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))), AndroidCharacter.getMirror('0') - 38457, (ViewConfiguration.getDoubleTapTimeout() >> 16) - 42, (-502207367) - ExpandableListView.getPackedPositionChild(0L), (byte) ((-52) - (ViewConfiguration.getJumpTapTimeout() >> 16)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{33454, 61663, 5221, 17533, 51158, 40453}, 5 - ExpandableListView.getPackedPositionType(0L), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = x + 37;
w = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 493, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (Process.myPid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new char[]{13341, 26666, 55904, 35501, 451, 22864, 44986, 5222, 56228, 37411, 13370, 35631, 16977, 5897, 9033, 11260, 56375, 1331, 14200, 32222, 29121, 54676, 18877, 14678, 33715, 38647, 40073, 64463, 14097, 56672, 24181, 65410, 45589, 60349, 20603, 44240, 63555, 16244, 14533, 3028, 40676, 26174, 58143, 44044, 57603, 51708, 63633, 45466}, TextUtils.lastIndexOf("", '0', 0) + 49, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax((short) ((-72) - ExpandableListView.getPackedPositionGroup(0L)), (-661165518) - (ViewConfiguration.getLongPressTimeout() >> 16), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (-502207363) - TextUtils.indexOf((CharSequence) "", '0', 0), (byte) ((-41) - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{62058, 51086, 65132, 33931, 45378, 38815, 49258, 48458, 26571, 9018, 12124, 54411, 32023, 44536, 58698, 52923, 19697, 46330, 44896, 42940, 20126, 7111, 65095, 16627, 57603, 51708, 63555, 16244, 31203, 18572, 38846, 37079, 55904, 35501, 24947, 44450, 6352, 20494, 35548, 14007, 12894, 695, 35301, 45411, 10753, 25152, 21524, 26446, 21363, 62740, 14200, 32222, 12090, 3101, 44189, 27852, 39157, 17571, 44986, 5222, 48391, 14112, 38286, 19865}, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 63, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((short) (108 - TextUtils.indexOf((CharSequence) "", '0')), (-661165456) + (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 14 - (ViewConfiguration.getEdgeSlop() >> 16), Color.blue(0) - 502207359, (byte) ((ViewConfiguration.getWindowTouchSlop() >> 8) - 60), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{12869, 63365, 25659, 63905, 56905, 40222}, ExpandableListView.getPackedPositionGroup(0L) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{63921, 58541, 40676, 26174, 9055, 34652, 2159, 59979, 3534, 22314, 49543, 50938, 58108, 20049, 48913, 2014, 35548, 14007, 20732, 54525, 21363, 62740, 16480, 29132, 3392, 61397, 13370, 35631, 45538, 62232, 40073, 64463, 39897, 29452, 7809, 58640}, 37 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 487, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i5 = x + 37;
w = i5 % 128;
int i6 = i5 % 2;
} 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 = x + 105;
w = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = x + 87;
w = i4 % 128;
int i5 = i4 % 2;
}
}