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

618 lines
42 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.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.google.common.primitives.SignedBytes;
import com.kofax.kmc.kut.utilities.IpLibUtil;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.landingpage.GroupBillerActivity;
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;
/* loaded from: classes5.dex */
public abstract class dWV extends BaseActivity implements fPA {
private static short[] s;
private volatile C13073fPt m;
private static final byte[] $$p = {105, 77, -86, 73};
private static final int $$q = 213;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int w = 1;
private static long l = -819715940441727501L;
private static int k = 1519647061;
private static int p = 1406017106;
private static int r = -795141330;
private static byte[] t = {ISOFileInfo.A1, 40, 81, -66, ISO7816.INS_READ_BINARY, 73, -93, -71, 81, -69, 83, -73, -122, ISO7816.INS_READ_BINARY2, -22, -92, ISOFileInfo.A5, -111, 126, 41, 46, 43, -70, 82, -69, -97, -124, -111, ISOFileInfo.SECURITY_ATTR_EXP, -100, -112, -103, -98, -102, -81, 73, -124, ISOFileInfo.ENV_TEMP_EF, 107, -102, -103, -120, 13, 99, -21, 108, ISO7816.INS_INCREASE, 91, SignedBytes.MAX_POWER_OF_TWO, Ascii.SYN, 70, 51, 61, 75, 63, 65, 90, 70, 3, 105, Ascii.DC4, 108, 16, 99, Ascii.SYN, 99, 30, 99, 71, 57, ISO7816.INS_REHABILITATE_CHV, 61, Ascii.ETB, 104, 91, Ascii.ETB, 109, 16, 109, 63, Ascii.NAK, 71, 57, 65, 118, Ascii.ETB, 108, 51, ISO7816.INS_REHABILITATE_CHV, ISOFileInfo.FCI_EXT, 124, 84, ISOFileInfo.FCI_EXT, -84, 86, 122, -99, 97, ISOFileInfo.A0, 84, -87, 81, -98, 84, -82, 120, -124, -82, ISOFileInfo.FMD_BYTE, -87, 86, -84, 87, 43, -88, -82, 43, ISOFileInfo.FCI_EXT, -88, 121, -101, 124, 84, -87, -124, -88, 121, -122, 122, -84, 80, -88, ISO7816.INS_PSO, -99, 87, ISO7816.INS_PSO, 114, 83, -81, ISOFileInfo.PROP_INFO, -82, 101, -83, 80, -98, 43, 101, ISOFileInfo.PROP_INFO, 121, 84, -93, Byte.MIN_VALUE, 4, 79, 118, Ascii.DC4, 126, 95, Ascii.SUB, -59, ISOFileInfo.SECURITY_ATTR_COMPACT, ISO7816.INS_GET_RESPONSE, 78, 119, 7, 6, CVCAFile.CAR_TAG, 67, 15, 6, 116, 91, 11, 7, 117, 82, 54, Ascii.CAN, 126, Ascii.NAK, 77, 7, 116, Ascii.ESC, 126, Ascii.NAK, 119, 70, -61, 78, 123, 7, Ascii.DC4, 120, 5, Ascii.CAN, 115, 29, -113, 8, Ascii.SUB, 74, 4, Ascii.US, ISO7816.INS_MANAGE_CHANNEL, 1, 79, 30, 74, 1, 73, 7, 117, Ascii.US, 117, 1, Ascii.US, ISOFileInfo.ENV_TEMP_EF, 73, Ascii.DC2, 12, 72, 5, 73, 117, 106, 70, ISOFileInfo.FCP_BYTE, 69, Ascii.NAK, 45, 62, ISO7816.INS_UNBLOCK_CHV, 75, 47, Ascii.US, 119, 28, 124, -18, 58, 115, 47, 56, 62, Ascii.NAK, 45, 57, ISO7816.INS_UNBLOCK_CHV, 47, ISO7816.INS_CHANGE_CHV, ISO7816.INS_MANAGE_CHANNEL, ISO7816.INS_MSE, -22, 35, 54, ISO7816.INS_MSE, 45, 32, 74, -23, 59, 78, 45, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
/* renamed from: o, reason: collision with root package name */
private final Object f8851o = new Object();
boolean b = false;
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Type inference failed for: r8v1, types: [int] */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002d). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(short r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 3
int r7 = r7 + 4
int r6 = r6 * 3
int r6 = 1 - r6
byte[] r0 = o.dWV.$$p
int r8 = r8 + 108
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L15
r4 = r8
r3 = r2
r8 = r7
goto L2d
L15:
r3 = r2
L16:
r5 = r8
r8 = r7
r7 = r5
byte r4 = (byte) r7
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r6) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L28:
r4 = r0[r8]
r5 = r8
r8 = r7
r7 = r5
L2d:
int r4 = -r4
int r7 = r7 + 1
int r8 = r8 + r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.dWV.aC(short, byte, short, java.lang.Object[]):void");
}
public dWV() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dWV.5
private dWV c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
dWV dwv = this.c;
if (dwv.b) {
return;
}
dwv.b = true;
((dWR) dwv.y_()).b((GroupBillerActivity) dwv);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = q + 85;
w = i2 % 128;
int i3 = i2 % 2;
Object y_ = j().y_();
int i4 = w + 117;
q = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt j() {
if (this.m == null) {
synchronized (this.f8851o) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
private static void aA(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(l ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
while (guL.a < a.length) {
int i4 = $10 + 77;
$11 = i4 % 128;
int i5 = i4 % 2;
guL.c = guL.a - i3;
int i6 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(l)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + 208, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (1707 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 | 11), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(392 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 4 - Process.getGidForName(""), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 | 13), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
i3 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(a, 4, a.length - 4);
int i7 = $11 + 65;
$10 = i7 % 128;
if (i7 % 2 != 0) {
throw null;
}
objArr[0] = str;
}
@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 = w + 39;
q = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
} else {
int i4 = w + 61;
q = i4 % 128;
int i5 = i4 % 2;
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
@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 + 17;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{14490, 21440, 14587, 22018, 41374, 43682, 27729, 32039, 11845, 20469, 33778, 19403, 5525, 24767, 39176, 21093, 31992, 6675, 61077, 14624, 25129, 13279}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{41160, 46014, 41125, 46699, 'g', 2922, 47238, 43499, 46620}, ((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).codePointAt(0) - 42, 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((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 155), (-157149026) + ((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(6) - 143, 2091571972 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_kofax_camera_tutorial_no_shadow).substring(0, 2).codePointAt(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.car_insuracne_sales_sheet_title).substring(0, 25).length() + 31), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB((short) ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.permission_storage_camera_title).substring(10, 11).codePointAt(0), (-157149082) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_landing_result_content).substring(45, 46).codePointAt(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mileage_points_per_miles_one_point).substring(15, 16).length() - 54, 2091580200 + (ViewConfiguration.getWindowTouchSlop() >> 8), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 11), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = w + 15;
q = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = q + 119;
w = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 492, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_suitability_assessment_result_mf_disclaimer).substring(19, 20).length() - 63), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.scbs_data_sharing_confirm_decline_tc_description).substring(54, 55).codePointAt(0) - 157148982, ((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) - 55, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2091580116, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 94), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{23662, 27850, 23563, 26884, 6853, 4523, 44824, 48761, 19176, 28916, 14585, 34965, 29035, 24563, 8783, 37194, 6220, 9536, 21914, 64061, 1688, 3218, 31980, 50414, 11645, 7136, 26220, 11608, 54397, 57648, 35213, 13919, 49804, 51343, 45277, 244, 59865, 55249, 55848, 27133, 36971, 48430, 52527, 29262, 48824, 33828, 62620, 23754, 42443, 37831, 7707, 42478, 19530, 31006, 315, 36459, 31485, 16494, 10424, 39054, 25078, 12261, 21004, 57732, 2056, 13652, 17676, 51753}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.installment_plans_general_terms).substring(117, 118).codePointAt(0) - 32, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_mcmc_intructions_description).substring(36, 37).codePointAt(0) - 158), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 157148937, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_maemanee_gmb_error_signup_content).substring(44, 48).length() - 11, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 2091580185, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 98), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.investment_deeplink_my_alert_no_account_dialog_description).substring(67, 68).codePointAt(0) + 41), TextUtils.indexOf("", "") - 157148840, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_kofax_camera_tutorial_no_distorted).substring(0, 2).length() + 1, 2091580204 - Process.getGidForName(""), (byte) ((-91) - KeyEvent.normalizeMetaState(0)), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 6), (ViewConfiguration.getLongPressTimeout() >> 16) - 157148767, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 67, 2091580158 - (ViewConfiguration.getTouchSlop() >> 8), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 116), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB((short) ((-51) - ((Process.getThreadPriority(0) + 20) >> 6)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 157148776, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 134, (ViewConfiguration.getTapTimeout() >> 16) + 2091580202, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.successful_qr_code_bill_payment_description).substring(13, 14).codePointAt(0) - 39), 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((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 488, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) KeyEvent.keyCodeFromString(""))).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);
}
/* JADX WARN: Code restructure failed: missing block: B:39:0x0025, code lost:
r1 = o.dWV.q + 7;
o.dWV.w = r1 % 128;
r1 = r1 % 2;
r11 = (java.lang.Object[]) null;
r7 = new java.lang.Object[1];
aB((short) ((-16777337) - android.graphics.Color.rgb(0, 0, 0)), (-157148992) + (android.os.Process.myTid() >> 22), ((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.debit_card_request_account_error_title).substring(42, 43).length() - 46, 2091580152 + ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7), (byte) (56 - android.graphics.Color.alpha(0)), r7);
r7 = java.lang.Class.forName((java.lang.String) r7[0]);
r8 = new java.lang.Object[1];
aB((short) (115 - (android.view.ViewConfiguration.getDoubleTapTimeout() >> 16)), (-157148968) - android.text.TextUtils.lastIndexOf("", '0', 0, 0), (-53) - (android.view.ViewConfiguration.getKeyRepeatTimeout() >> 16), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 2091580187, (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 32), r8);
r1 = (android.content.Context) r7.getMethod((java.lang.String) r8[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x0023, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001c, 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: 612
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.dWV.onResume():void");
}
private static void aB(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
int i4;
int length;
byte[] bArr;
int i5;
int length2;
byte[] bArr2;
int i6 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(p)};
Object obj = xzZ.y.get(-2092856797);
char c = '0';
if (obj == null) {
Class cls = (Class) xzZ.c(336 - TextUtils.indexOf((CharSequence) "", '0', 0), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (ViewConfiguration.getTouchSlop() >> 8));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 + 2), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
int i7 = intValue == -1 ? 1 : 0;
if ((i7 ^ 1) != 0) {
i4 = 2;
} else {
byte[] bArr3 = t;
if (bArr3 != null) {
int i8 = $10 + 91;
$11 = i8 % 128;
if (i8 % 2 == 0) {
length = bArr3.length;
bArr = new byte[length];
i5 = 1;
} else {
length = bArr3.length;
bArr = new byte[length];
i5 = 0;
}
while (i5 < length) {
Object[] objArr4 = {Integer.valueOf(bArr3[i5])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf("", c, 0) + 61, 4 - Process.getGidForName(""), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aC(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr[i5] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i5++;
c = '0';
}
bArr3 = bArr;
}
if (bArr3 != null) {
byte[] bArr4 = t;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(k)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(337 - (ViewConfiguration.getPressedStateDuration() >> 16), 5 - ExpandableListView.getPackedPositionGroup(0L), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, (byte) (b7 + 2), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
intValue = (byte) (((byte) (bArr4[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (p ^ (-7303220121662775787L))));
i4 = 2;
} else {
intValue = (short) (((short) (s[i + ((int) (k ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (p ^ (-7303220121662775787L))));
int i9 = $10 + 87;
$11 = i9 % 128;
i4 = 2;
int i10 = i9 % 2;
}
}
if (intValue > 0) {
dfy.c = ((i + intValue) - i4) + ((int) (k ^ (-7303220121662775787L))) + i7;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(r), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(748 - (ViewConfiguration.getScrollBarSize() >> 8), 5 - View.resolveSize(0, 0), (char) Color.green(0))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj4);
}
((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr5 = t;
if (bArr5 != null) {
int i11 = $10 + 119;
$11 = i11 % 128;
if (i11 % 2 == 0) {
length2 = bArr5.length;
bArr2 = new byte[length2];
} else {
length2 = bArr5.length;
bArr2 = new byte[length2];
}
for (int i12 = 0; i12 < length2; i12++) {
int i13 = $11 + 1;
$10 = i13 % 128;
int i14 = i13 % 2;
bArr2[i12] = (byte) (bArr5[i12] ^ (-7303220121662775787L));
}
bArr5 = bArr2;
}
boolean z = bArr5 != null;
dfy.d = 1;
while (dfy.d < intValue) {
if (z) {
byte[] bArr6 = t;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = s;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
}
String sb2 = sb.toString();
int i15 = $10 + 33;
$11 = i15 % 128;
int i16 = i15 % 2;
objArr[0] = sb2;
} 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 onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_app_outcome_upselling_custom_placeholder).substring(0, 7).length() - 128), Drawable.resolveOpacity(0, 0) - 157148992, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 79, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2091580164, (byte) (TextUtils.indexOf("", "", 0, 0) + 56), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.find_us_fragment_tag).substring(0, 16).length() + 99), (-157148967) - (ViewConfiguration.getDoubleTapTimeout() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 87, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.e_coupon_review_time_warning).substring(6, 8).codePointAt(1) + 2091580090, (byte) (Color.red(0) + 2), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = w + 85;
q = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = w + 43;
q = i4 % 128;
if (i4 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 39 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.getOffsetBefore("", 0), 4 - TextUtils.lastIndexOf("", '0', 0), (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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(535 - AndroidCharacter.getMirror('0'), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@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 = w + 103;
q = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{14490, 21440, 14587, 22018, 41374, 43682, 27729, 32039, 11845, 20469, 33778, 19403, 5525, 24767, 39176, 21093, 31992, 6675, 61077, 14624, 25129, 13279}, KeyEvent.keyCodeFromString(""), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{41160, 46014, 41125, 46699, 'g', 2922, 47238, 43499, 46620}, KeyEvent.getDeadChar(0, 0), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = w + 17;
q = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i6 = q + 51;
w = i6 % 128;
if (i6 % 2 == 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) Color.red(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB((short) ((-62) - (ViewConfiguration.getDoubleTapTimeout() >> 16)), (-157148951) - MotionEvent.axisFromString(""), (-22) - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 2091580151 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (byte) ((ViewConfiguration.getLongPressTimeout() >> 16) + 21), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new char[]{23662, 27850, 23563, 26884, 6853, 4523, 44824, 48761, 19176, 28916, 14585, 34965, 29035, 24563, 8783, 37194, 6220, 9536, 21914, 64061, 1688, 3218, 31980, 50414, 11645, 7136, 26220, 11608, 54397, 57648, 35213, 13919, 49804, 51343, 45277, 244, 59865, 55249, 55848, 27133, 36971, 48430, 52527, 29262, 48824, 33828, 62620, 23754, 42443, 37831, 7707, 42478, 19530, 31006, 315, 36459, 31485, 16494, 10424, 39054, 25078, 12261, 21004, 57732, 2056, 13652, 17676, 51753}, View.MeasureSpec.getMode(0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB((short) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 127), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 157148904, View.resolveSizeAndState(0, 0, 0) - 7, 2091580199 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (byte) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 65), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((short) ((ViewConfiguration.getScrollDefaultDelay() >> 16) + 73), (-157148841) - MotionEvent.axisFromString(""), 3 - Color.argb(0, 0, 0, 0), (ViewConfiguration.getTapTimeout() >> 16) + 2091580205, (byte) ((ViewConfiguration.getTapTimeout() >> 16) - 91), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((short) (View.MeasureSpec.getSize(0) + 28), ExpandableListView.getPackedPositionChild(0L) - 157148766, (-66) - KeyEvent.getDeadChar(0, 0), 2091580158 - (ViewConfiguration.getTapTimeout() >> 16), (byte) (ImageFormat.getBitsPerPixel(0) + IpLibUtil.KIPP_BAD_POINTER), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((short) ((-51) - View.resolveSize(0, 0)), KeyEvent.getDeadChar(0, 0) - 157148763, (-35) - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 2091580203 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (byte) ((ViewConfiguration.getScrollBarSize() >> 8) - 7), 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(487 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - KeyEvent.getDeadChar(0, 0), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 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, 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 = q + 53;
w = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 35 / 0;
}
int i5 = w + 61;
q = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 87 / 0;
}
}
}