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

540 lines
40 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
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.MotionEvent;
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.investment.onboarding.CheckEligibilityActivity;
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.jmrtd.lds.CVCAFile;
/* renamed from: o.dUy, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC8759dUy extends BaseActivity implements fPA {
private static short[] r;
private volatile C13073fPt l;
private static final byte[] $$p = {38, -57, 91, -63};
private static final int $$q = 94;
private static int $10 = 0;
private static int $11 = 1;
private static int w = 0;
private static int v = 1;
/* renamed from: o, reason: collision with root package name */
private static int f8834o = 1352754191;
private static int m = 1406017083;
private static int t = 475371301;
private static byte[] s = {-15, 76, 114, 78, 120, 97, 46, 46, -89, 72, 13, ISO7816.INS_READ_RECORD_STAMPED, 103, 102, 97, 114, 122, 113, -15, -14, 117, -8, 94, -3, -15, -16, -13, 79, ISO7816.INS_MSE, 0, 117, ISO7816.INS_REHABILITATE_CHV, -2, 79, -16, 89, Ascii.ETB, 69, 123, 115, 122, 40, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.CHANNEL_SECURITY, 124, ISOFileInfo.SECURITY_ATTR_COMPACT, 43, 85, -109, 87, -119, Byte.MIN_VALUE, ISOFileInfo.SECURITY_ATTR_COMPACT, 91, 97, 114, 122, 126, 123, 124, 123, 116, 123, -113, 81, -126, 85, Ascii.DEL, 102, ISOFileInfo.FILE_IDENTIFIER, Ascii.DEL, 101, 126, 101, 87, 125, -113, 81, -119, -100, Ascii.DEL, 122, 43, -126, 7, -104, -61, ISO7816.INS_READ_BINARY, ISO7816.INS_ENVELOPE, -101, ISO7816.INS_WRITE_RECORD, -73, -86, ISO7816.INS_READ_BINARY2, -63, -87, ISO7816.INS_READ_BINARY, -83, -78, -88, -98, ISO7816.INS_READ_BINARY, -103, ISO7816.INS_GET_RESPONSE, -61, -87, -61, ISO7816.INS_READ_BINARY, -88, -100, ISO7816.INS_READ_RECORD_STAMPED, -97, -88, ISO7816.INS_READ_BINARY, ISO7816.INS_ENVELOPE, -100, -61, -108, -53, -101, -45, -113, -58, -97, -61, -81, -73, -81, ISOFileInfo.ENV_TEMP_EF, -99, -63, ISO7816.INS_ENVELOPE, -103, -58, -99, -104, ISO7816.INS_GET_RESPONSE, -104, -63, -84, ISO7816.INS_READ_BINARY, -103, -82, ISO7816.INS_READ_BINARY, -83, ISO7816.INS_READ_RECORD2, -88, -63, ISO7816.INS_ENVELOPE, Ascii.ESC, -113, 3, ISOFileInfo.SECURITY_ATTR_COMPACT, -29, 67, Ascii.ESC, 62, 4, -23, 5, 85, -19, 84, -12, 78, ISO7816.INS_INCREASE, -15, 5, 56, 62, 67, Ascii.ESC, 63, 4, 5, 60, -16, Ascii.SUB, CVCAFile.CAR_TAG, 1, 54, Ascii.SUB, Ascii.ESC, 0, ISO7816.INS_APPEND_RECORD, 79, 57, -18, Ascii.ESC};
private static char[] p = {36799, 48660, 60665, 6790, 18762, 4524, 8220, 29399, 33922, 55134, 59679, 15315, 19930, 40020, 44554, 57547, 13014, 17784, 38685, 43467, 64405, 2635, 23563, 28375, 41113, 62325, 1294, 22485, 27009, 47172, 51726, 36787, 48725, 60572, 6876, 18767, 30554, 42445, 54158, 536, 12380, 32407, 44162, 56132, 2389, 14224, 26075, 37955, 49695, 61658, 16079, 27919, 39753, 51599, 63433, 9817, 21581, 33490, 45202, 65294, 11591, 23433, 35223, 47110, 58927, 5357, 17146, 28987, 49019, 60857, 7162, 19007, 30837, 42673, 54516, 864, 12578, 32694, 44454, 56416, 2616, 14510, 26343, 38184, 50016, 61864, 16317, 28202, 39988, 51954, 63670, 10019, 21865, 33779, 45540, 36794, 48665, 60632, 6815, 18781, 30547, 42375, 54212, 601, 12300, 32453, 44170, 56133, 2318, 14285, 25998, 37959, 49679, 61663, 16022, 27999, 39701, 51674, 63386, 9812, 21534, 33434, 45187, 65374, 11523, 23509, 35218, 47174, 58926, 5357, 17084, 29050, 48999, 60911, 7102, 19051, 30775, 42720, 54452, 887, 12596, 32737, 44465, 56423, 2675, 14591, 26288, 38259, 50038, 61945, 16299, 28275, 40058, 51965, 63673, 10097, 21812, 33763, 45479, 57405, 11995, 23774, 35584, 47371, 59359, 5517, 17477, 29214, 41174};
private static long q = -4915606197081817491L;
private final Object k = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0026). 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(byte r5, int r6, int r7, java.lang.Object[] r8) {
/*
byte[] r0 = o.AbstractActivityC8759dUy.$$p
int r7 = r7 + 98
int r5 = r5 * 3
int r5 = r5 + 1
int r6 = r6 * 4
int r6 = 4 - r6
byte[] r1 = new byte[r5]
r2 = 0
if (r0 != 0) goto L14
r4 = r5
r3 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r7
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r5) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L24:
r4 = r0[r6]
L26:
int r7 = r7 + r4
int r6 = r6 + 1
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8759dUy.aC(byte, int, int, java.lang.Object[]):void");
}
public AbstractActivityC8759dUy() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dUy.3
private AbstractActivityC8759dUy c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8759dUy abstractActivityC8759dUy = this.c;
if (abstractActivityC8759dUy.b) {
return;
}
abstractActivityC8759dUy.b = true;
((dTY) abstractActivityC8759dUy.y_()).d((CheckEligibilityActivity) abstractActivityC8759dUy);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = v + 69;
w = i2 % 128;
int i3 = i2 % 2;
Object y_ = h().y_();
int i4 = w + 81;
v = i4 % 128;
if (i4 % 2 != 0) {
return y_;
}
throw null;
}
private C13073fPt h() {
if (this.l == null) {
synchronized (this.k) {
if (this.l == null) {
this.l = new C13073fPt(this);
}
}
}
return this.l;
}
@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 = v + 17;
w = i2 % 128;
if (i2 % 2 != 0) {
getIntent().getExtras();
throw null;
}
bundle = getIntent().getExtras();
} else {
int i3 = v + 19;
w = i3 % 128;
int i4 = i3 % 2;
}
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 = 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 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), '5' - AndroidCharacter.getMirror('0'), (char) ((KeyEvent.getMaxKeyCode() >> 16) + 32797));
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);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(q), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - (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)), View.combineMeasuredStates(0, 0) + 5, (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1));
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[i4] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 407, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (Process.getGidForName("") + 29235));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 | 8), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
int i5 = $10 + 87;
$11 = i5 % 128;
int i6 = i5 % 2;
while (dqy.a < i2) {
int i7 = $10 + 3;
$11 = i7 % 128;
int i8 = i7 % 2;
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(407 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 29234));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
aC(b7, b8, (byte) (b8 | 8), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
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[] objArr = new Object[1];
aA((short) ((-104) - (Process.myTid() >> 22)), View.combineMeasuredStates(0, 0) - 57637402, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 81, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.view_all_request).substring(17, 19).length() - 1335593169, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 28), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 110, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1), 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(TextUtils.indexOf((CharSequence) "", '0') + 6, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.merchant_terminal_format).substring(0, 10).length() + 16, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.device_debugging_message_bullet).substring(0, 4).length() + 40475), 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().getPackageName().codePointAt(7) - 79), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.unit_limit).substring(0, 6).codePointAt(2) - 57637432, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 60, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_summary_repayment_about_monthly_info).substring(0, 2).codePointAt(1) - 1335593197, (byte) (View.getDefaultSize(0, 0) + 57), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = v + 39;
w = i2 % 128;
if (i2 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = w + 19;
v = i3 % 128;
int i4 = i3 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 493, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).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().getPackageName().length() - 122), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 57637379, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_submitted_result_loan_status_tracking).substring(0, 20).length() - 67, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.common_ndid_ndid_idp_unenrolled_header).substring(46, 47).length() - 1335593216, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_touchpoints_verify_at_scb_easy_id).substring(15, 16).codePointAt(0) + 12), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = 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.cinema_and_seat).substring(11, 12).codePointAt(0) - 80), View.combineMeasuredStates(0, 0) - 57637318, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 81, (-1335593162) - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 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.auto_purchase_bond_dlt_disclaimer_next_day).substring(36, 37).length() + 88), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(31 - KeyEvent.keyCodeFromString(""), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_business_owner_outcome_pending_notified_content).substring(CipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA, CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA).length() + 63, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = 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.mtrl_picker_range_header_only_start_selected).substring(0, 7).codePointAt(4) + 63, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 75, (char) Color.blue(0), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA((short) (MotionEvent.axisFromString("") + 41), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 57637288, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.fatca_question_title_breadcrumb_th).substring(0, 15).codePointAt(0) - 3698, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1335593241, (byte) (Gravity.getAbsoluteGravity(0, 0) + 52), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 64), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.juristic_request_form_eligibility_info_description_1).substring(0, 3).codePointAt(1) - 57637295, (-46) - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (ViewConfiguration.getEdgeSlop() >> 16) - 1335593163, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 22), 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(486 - ExpandableListView.getPackedPositionChild(0L), (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).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 = w + 83;
v = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = 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.hml_business_info_2_add_more_accounts).substring(0, 2).codePointAt(1) - 27, ((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).length() + 24, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.cardless_tnc_decline_dialog_description).substring(31, 32).codePointAt(0) + 40447), 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().getResources().getString(com.scb.phone.R.string.changed_statement_channel_will_be_updated_next_day).substring(0, 1).length() - 34), (-57637386) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.account_selector_cardless_footnote).substring(0, 2).length(), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.order_cheque_review_find_out_more).substring(13, 15).codePointAt(1) - 109, 30563 - AndroidCharacter.getMirror('0'), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.deejung_amortization_email_notification_description).substring(71, 72).codePointAt(0) + 25), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = v + 93;
w = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = w + 3;
v = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.argb(0, 0, 0, 0) + 492, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) View.resolveSize(0, 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((ViewConfiguration.getJumpTapTimeout() >> 16) + 487, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (TextUtils.lastIndexOf("", '0', 0, 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();
}
/* JADX WARN: Removed duplicated region for block: B:58:0x029c */
/* JADX WARN: Removed duplicated region for block: B:62:0x02f1 */
/* JADX WARN: Removed duplicated region for block: B:68:0x0314 */
/* JADX WARN: Removed duplicated region for block: B:72:0x031d */
/* JADX WARN: Removed duplicated region for block: B:79:0x0316 */
/* JADX WARN: Removed duplicated region for block: B:81:0x029d A[Catch: all -> 0x0381, TryCatch #0 {all -> 0x0381, blocks: (B:3:0x000f, B:6:0x0072, B:36:0x012b, B:39:0x018d, B:42:0x0149, B:44:0x01b3, B:47:0x0215, B:49:0x01d1, B:56:0x0279, B:59:0x02db, B:81:0x029d, B:88:0x0032), top: B:2:0x000f }] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aA(short r20, int r21, int r22, int r23, byte r24, java.lang.Object[] r25) {
/*
Method dump skipped, instructions count: 906
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8759dUy.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
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i2 = v + 27;
w = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB(KeyEvent.normalizeMetaState(0) + 5, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 40445), 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().getResources().getString(com.scb.phone.R.string.debit_card_request_promo_code_title).substring(10, 12).codePointAt(1) - 73), (-57637384) - View.combineMeasuredStates(0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.manage_scb_promptpay).substring(6, 11).codePointAt(2) - 114, (-1335593165) - View.MeasureSpec.getMode(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_outcome_reject_annual_interest).substring(13, 14).length() + 56), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = w + 125;
v = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = v + 67;
w = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getWindowTouchSlop() >> 8), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (ViewConfiguration.getTapTimeout() >> 16))).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 - View.MeasureSpec.getMode(0), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) (ImageFormat.getBitsPerPixel(0) + 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(491 - ((byte) KeyEvent.getModifierMetaStateMask()), (-16777211) - Color.rgb(0, 0, 0), (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(487 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) View.resolveSizeAndState(0, 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@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((short) ((-104) - TextUtils.getCapsMode("", 0, 0)), (-57637402) - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (-47) - (ViewConfiguration.getJumpTapTimeout() >> 16), (-1335593167) - Color.argb(0, 0, 0, 0), (byte) ((-16) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(ExpandableListView.getPackedPositionChild(0L) + 1, 4 - ImageFormat.getBitsPerPixel(0), (char) 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 i2 = v + 11;
w = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i4 = v + 111;
w = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 492, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA((short) ((-109) - Color.blue(0)), (ViewConfiguration.getKeyRepeatTimeout() >> 16) - 57637366, (-47) - View.MeasureSpec.getMode(0), (-1335593215) - TextUtils.indexOf("", "", 0), (byte) ((ViewConfiguration.getPressedStateDuration() >> 16) + 44), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA((short) ((-48) - Color.green(0)), (-57637319) - ((byte) KeyEvent.getModifierMetaStateMask()), (-47) - TextUtils.getOffsetAfter("", 0), Gravity.getAbsoluteGravity(0, 0) - 1335593163, (byte) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 89), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB((ViewConfiguration.getDoubleTapTimeout() >> 16) + 31, Color.blue(0) + 64, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((ViewConfiguration.getJumpTapTimeout() >> 16) + 95, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 74, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA((short) (41 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))), (-57637254) - (ViewConfiguration.getLongPressTimeout() >> 16), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 48, KeyEvent.normalizeMetaState(0) - 1335593207, (byte) (Color.red(0) + 52), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA((short) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) - 30), (-57637249) - ExpandableListView.getPackedPositionType(0L), (-48) - MotionEvent.axisFromString(""), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1335593164, (byte) (12 - View.MeasureSpec.makeMeasureSpec(0, 0)), objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 488, TextUtils.lastIndexOf("", '0', 0) + 6, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 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, 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 = w + 1;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 90 / 0;
}
}
}