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

707 lines
44 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
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.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.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.bulktransfer.BulkTransferInfoActivity;
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.dus, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC10022dus extends BaseActivity implements fPA {
private static short[] p;
/* renamed from: o, reason: collision with root package name */
private volatile C13073fPt f8905o;
private static final byte[] $$p = {115, -56, 28, 10};
private static final int $$q = 10;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int y = 1;
private static int[] k = {-891047893, -52189240, -1357221262, -2053414471, 885580388, 1330862356, 1474187195, 1904745454, 1081260562, -48450265, 2089341487, -394680070, 728002491, 246782537, -963201078, 34998232, 1496648614, 972405102};
private static int m = 868204805;
private static int s = 1406017076;
private static int t = -1279264655;
private static byte[] q = {ISOFileInfo.FILE_IDENTIFIER, 120, -75, ISOFileInfo.FCI_BYTE, Byte.MIN_VALUE, -124, ISOFileInfo.ENV_TEMP_EF, -126, 126, 83, -67, 120, 113, -113, 126, ISOFileInfo.ENV_TEMP_EF, 108, -21, 2, 29, -5, 53, 82, -23, -88, 67, -81, 5, Ascii.SUB, -22, -19, 1, 46, ISO7816.INS_ENVELOPE, -19, Ascii.ESC, 86, -58, -22, Ascii.CAN, 81, -35, Ascii.ETB, 53, -8, 0, -22, Ascii.ESC, Ascii.SYN, 53, -8, Ascii.SUB, 45, -82, 5, 54, -22, -5, 55, -24, Ascii.ETB, 30, 16, CVCAFile.CAR_TAG, -57, -23, Ascii.EM, -21, Ascii.DC2, Ascii.US, -20, 2, Ascii.NAK, Ascii.EM, -20, 4, -22, Ascii.CAN, Ascii.DC2, Ascii.CAN, -20, Ascii.DC2, SignedBytes.MAX_POWER_OF_TWO, 4, 17, -61, 7, -24, 4, Ascii.CAN, Ascii.CAN, ISOFileInfo.SECURITY_ATTR_COMPACT, 0, -119, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private final Object l = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4: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, int r7, int r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 4
int r0 = r8 + 1
byte[] r1 = o.AbstractActivityC10022dus.$$p
int r6 = r6 * 2
int r6 = 110 - r6
int r7 = r7 + 4
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r3 = r7
r6 = r8
r4 = r2
goto L2d
L15:
r3 = r2
L16:
int r7 = r7 + 1
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r8) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L25:
int r3 = r3 + 1
r4 = r1[r7]
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2d:
int r7 = -r7
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10022dus.aC(short, int, int, java.lang.Object[]):void");
}
public AbstractActivityC10022dus() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dus.1
private AbstractActivityC10022dus a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC10022dus abstractActivityC10022dus = this.a;
if (abstractActivityC10022dus.b) {
return;
}
abstractActivityC10022dus.b = true;
((InterfaceC9950dtZ) abstractActivityC10022dus.y_()).d((BulkTransferInfoActivity) abstractActivityC10022dus);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = r + 83;
y = i2 % 128;
int i3 = i2 % 2;
Object y_ = g().y_();
int i4 = r + 101;
y = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt g() {
if (this.f8905o == null) {
synchronized (this.l) {
if (this.f8905o == null) {
this.f8905o = new C13073fPt(this);
}
}
}
return this.f8905o;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = y + 9;
r = i2 % 128;
int i3 = i2 % 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 i4 = r + 49;
y = i4 % 128;
if (i4 % 2 == 0) {
getIntent().getExtras();
throw null;
}
bundle = getIntent().getExtras();
}
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 = y + 79;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new int[]{958082038, 798565647, -1210914780, 1453910744, -1250584944, 1065260205, 1547400176, -1266136833, -150562153, -967572269}, 18 - View.resolveSizeAndState(0, 0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{1397753149, 634038913, -399378519, 1925228449}, 5 - Color.blue(0), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aA(new int[]{958082038, 798565647, -1210914780, 1453910744, -217500351, -637767457, 1737600124, 968178842, 1368215156, 70185912, -1288869356, -1444755244, -1512734654, -699486860}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 20, 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().getPackageName().codePointAt(11) - 111), (-1618075409) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.terms_and_conditions_link_not_clickable_right).substring(0, 1).length(), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.root_checker_title).substring(17, 27).codePointAt(6) - 112, Drawable.resolveOpacity(0, 0) + 529406463, (byte) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 106), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = r + 119;
y = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 492, (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)) + 5, (char) TextUtils.getOffsetAfter("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new int[]{1465827545, 1780269861, 953687517, 783688486, -1536486642, -1227501840, 647526425, 963372710, -1057445959, 1457746597, -642330931, -852947121, -1478304732, 234061982, 751464277, 1163167788, 275000105, -1955141744, 438767665, -1808232390, -1762009452, 1094203429, 1951302606, 1681500384}, MotionEvent.axisFromString("") + 49, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{-1596957845, 333605404, -322078833, 334526862, 1360136116, 872332912, -1746345035, -186787577, 1949807196, -731893727, 838210461, -914349916, 682924552, 572605406, 30038218, 278200449, 830027025, 1705518304, 1769519160, 1229470833, 633520414, 1768054351, -454198219, 11574248, -1992080919, -1806697010, 720441733, 620728085, 1051292122, -879480269, 1662409470, -1096767723}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_offline_success_remark_ntb).substring(24, 25).length() + 63, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{-1902557559, 1331908581, 599598358, 2027001471, -188618953, -881436377, 2142935529, 1875391158, 1972342356, 702217177, 717963506, -2126736533, -207205289, 886965219, 1327859169, 449878211, 928265779, -584068621, -718502620, 1209047889, -1782644527, 1582135441, -1253768978, -1002074968, 1213095122, -352657345, 2102855700, -1098812635, 1303590801, -762879972, 626494986, 924412598}, ((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];
aB((short) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 9), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 1618075404, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.e_coupon_detail_use_with_in_minutes).substring(0, 5).length() + 36, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 529406455, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 25), 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 + 5), TextUtils.indexOf((CharSequence) "", '0', 0) - 1618075317, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mw_shop_information_validate_line_id_wrong_format).substring(35, 37).length() - 30, (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)) + 529406421, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 20), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new int[]{-568519549, -691192861, 1628700611, 1100186168, -667210912, -295214525, -1199914691, 1519093502, 1081123764, 1919479303, -912212601, 2110038849, 135986349, -492708629, -771342242, 1005464569, 1547772480, -1715175078}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, 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((ViewConfiguration.getScrollBarSize() >> 8) + 487, View.combineMeasuredStates(0, 0) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void aA(int[] iArr, int i, Object[] objArr) {
int length;
int[] iArr2;
int i2;
int i3;
int i4 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = k;
long j = 0;
int i5 = 729798706;
int i6 = 1;
char c = 0;
if (iArr3 != null) {
int length2 = iArr3.length;
int[] iArr4 = new int[length2];
int i7 = 0;
while (i7 < length2) {
try {
Object[] objArr2 = new Object[i6];
objArr2[c] = Integer.valueOf(iArr3[i7]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(16 - (SystemClock.uptimeMillis() > j ? 1 : (SystemClock.uptimeMillis() == j ? 0 : -1)), TextUtils.getOffsetAfter("", 0) + 5, (char) (58134 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7++;
c = 0;
j = 0;
i6 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length3 = iArr3.length;
int[] iArr5 = new int[length3];
int[] iArr6 = k;
if (iArr6 != null) {
int i8 = $11 + 13;
$10 = i8 % 128;
if (i8 % 2 != 0) {
length = iArr6.length;
iArr2 = new int[length];
} else {
length = iArr6.length;
iArr2 = new int[length];
}
int i9 = 0;
while (i9 < length) {
int i10 = $11 + 57;
$10 = i10 % 128;
if (i10 % 2 != 0) {
Object[] objArr3 = {Integer.valueOf(iArr6[i9])};
Object obj2 = xzZ.y.get(Integer.valueOf(i5));
if (obj2 != null) {
i2 = length;
} else {
i2 = length;
obj2 = ((Class) xzZ.c(View.MeasureSpec.getMode(0) + 15, 5 - View.combineMeasuredStates(0, 0), (char) (58133 - TextUtils.lastIndexOf("", '0', 0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr2[i9] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i9 >>= 1;
i3 = 729798706;
} else {
i2 = length;
Object[] objArr4 = {Integer.valueOf(iArr6[i9])};
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
i3 = 729798706;
} else {
obj3 = ((Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 15, Process.getGidForName("") + 6, (char) (58134 - (ViewConfiguration.getKeyRepeatTimeout() >> 16)))).getMethod("i", Integer.TYPE);
i3 = 729798706;
xzZ.y.put(729798706, obj3);
}
iArr2[i9] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i9++;
}
i5 = i3;
length = i2;
}
iArr6 = iArr2;
}
System.arraycopy(iArr6, 0, iArr5, 0, length3);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i11 = $11 + 101;
$10 = i11 % 128;
int i12 = i11 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i13 = 0;
for (int i14 = 16; i13 < i14; i14 = 16) {
c4403bZM.e ^= iArr5[i13];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 119, 5 - Drawable.resolveOpacity(0, 0), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1));
byte b = (byte) 3;
byte b2 = (byte) (b - 4);
Object[] objArr6 = new Object[1];
aC(b, b2, (byte) (b2 + 1), objArr6);
obj4 = cls.getMethod((String) objArr6[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i13++;
}
int i15 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i15;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i16 = c4403bZM.e;
int i17 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr7 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(99 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16));
byte length4 = (byte) $$p.length;
byte b3 = (byte) (length4 - 5);
Object[] objArr8 = new Object[1];
aC(length4, b3, (byte) (b3 + 1), objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr7);
}
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 onResume() {
int i = 2 % 2;
int i2 = y + 47;
r = i2 % 128;
if (i2 % 2 == 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new int[]{958082038, 798565647, -1210914780, 1453910744, -217500351, -637767457, 1737600124, 968178842, 1368215156, 70185912, -1288869356, -1444755244, -1512734654, -699486860}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.sum_insurance_hint).substring(0, 4).length() + 22, 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().getPackageName().length() - 14), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1618075442, ((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).length() - 16, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_p2p_introduction_redeem_for_cashback).substring(29, 30).codePointAt(0) + 529406431, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_p2p_select_purchase_pts).substring(0, 5).codePointAt(1) + 57), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i3 = r + 39;
y = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i5 = r + 9;
y = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) ((-1) - Process.getGidForName("")))).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.getScrollBarFadeDuration() >> 16) + 487, '5' - AndroidCharacter.getMirror('0'), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 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();
return;
}
getBaseContext();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = r + 5;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new int[]{958082038, 798565647, -1210914780, 1453910744, -217500351, -637767457, 1737600124, 968178842, 1368215156, 70185912, -1288869356, -1444755244, -1512734654, -699486860}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 20, 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.contact_info_national_id_consent_b2k).substring(0, 249).codePointAt(62) - 3589), TextUtils.indexOf("", "") - 1618075408, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 49, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_contact_number).substring(0, 11).length() + 529406452, (byte) (((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_open_scbs_header).substring(27, 28).codePointAt(0) + 74), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = y + 91;
r = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.argb(0, 0, 0, 0) + 492, TextUtils.lastIndexOf("", '0', 0) + 6, (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - MotionEvent.axisFromString(""), 5 - View.MeasureSpec.getSize(0), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -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();
}
private static void aB(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
int i4;
int i5 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(s)};
Object obj = xzZ.y.get(-2092856797);
if (obj == null) {
Class cls = (Class) xzZ.c((Process.myTid() >> 22) + 337, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) KeyEvent.getDeadChar(0, 0));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
Object obj2 = null;
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
if (intValue == -1) {
int i6 = $10 + 89;
$11 = i6 % 128;
int i7 = i6 % 2;
i4 = 1;
} else {
i4 = 0;
}
if (i4 != 0) {
byte[] bArr = q;
if (bArr != null) {
int i8 = $10 + 113;
$11 = i8 % 128;
int i9 = i8 % 2;
int length = bArr.length;
byte[] bArr2 = new byte[length];
for (int i10 = 0; i10 < length; i10++) {
Object[] objArr4 = {Integer.valueOf(bArr[i10])};
Object obj3 = xzZ.y.get(-1648115392);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(60 - Color.red(0), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (ViewConfiguration.getJumpTapTimeout() >> 16));
byte b4 = (byte) 1;
byte b5 = (byte) (-b4);
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 + 1), objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj3);
}
bArr2[i10] = ((Byte) ((Method) obj3).invoke(null, objArr4)).byteValue();
}
bArr = bArr2;
}
if (bArr != null) {
int i11 = $11 + 7;
$10 = i11 % 128;
int i12 = i11 % 2;
byte[] bArr3 = q;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(m)};
Object obj4 = xzZ.y.get(-2092856797);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(MotionEvent.axisFromString("") + 338, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 - 1);
Object[] objArr7 = new Object[1];
aC(b6, b7, (byte) (b7 + 1), objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj4);
}
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj4).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (s ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (p[i + ((int) (m ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (s ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
int i13 = $11 + 119;
$10 = i13 % 128;
int i14 = i13 % 2;
dfy.c = ((i + intValue) - 2) + ((int) (m ^ (-7303220121662775787L))) + i4;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(t), sb};
Object obj5 = xzZ.y.get(1546973421);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 747, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj5);
}
((StringBuilder) ((Method) obj5).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr4 = q;
if (bArr4 != null) {
int length2 = bArr4.length;
byte[] bArr5 = new byte[length2];
for (int i15 = 0; i15 < length2; i15++) {
bArr5[i15] = (byte) (bArr4[i15] ^ (-7303220121662775787L));
}
bArr4 = bArr5;
}
boolean z = bArr4 != null;
dfy.d = 1;
while (dfy.d < intValue) {
if (z) {
byte[] bArr6 = q;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = p;
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++;
int i16 = $11 + 101;
$10 = i16 % 128;
int i17 = i16 % 2;
}
}
String sb2 = sb.toString();
int i18 = $10 + 117;
$11 = i18 % 128;
if (i18 % 2 == 0) {
obj2.hashCode();
throw null;
}
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, 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(new int[]{958082038, 798565647, -1210914780, 1453910744, -1250584944, 1065260205, 1547400176, -1266136833, -150562153, -967572269}, View.combineMeasuredStates(0, 0) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{1397753149, 634038913, -399378519, 1925228449}, 5 - (ViewConfiguration.getEdgeSlop() >> 16), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = y + 95;
r = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 492, 5 - (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)), (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new int[]{1465827545, 1780269861, 953687517, 783688486, -1536486642, -1227501840, 647526425, 963372710, -1057445959, 1457746597, -642330931, -852947121, -1478304732, 234061982, 751464277, 1163167788, 275000105, -1955141744, 438767665, -1808232390, -1762009452, 1094203429, 1951302606, 1681500384}, 48 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new int[]{-1596957845, 333605404, -322078833, 334526862, 1360136116, 872332912, -1746345035, -186787577, 1949807196, -731893727, 838210461, -914349916, 682924552, 572605406, 30038218, 278200449, 830027025, 1705518304, 1769519160, 1229470833, 633520414, 1768054351, -454198219, 11574248, -1992080919, -1806697010, 720441733, 620728085, 1051292122, -879480269, 1662409470, -1096767723}, 64 - TextUtils.getTrimmedLength(""), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new int[]{-1902557559, 1331908581, 599598358, 2027001471, -188618953, -881436377, 2142935529, 1875391158, 1972342356, 702217177, 717963506, -2126736533, -207205289, 886965219, 1327859169, 449878211, 928265779, -584068621, -718502620, 1209047889, -1782644527, 1582135441, -1253768978, -1002074968, 1213095122, -352657345, 2102855700, -1098812635, 1303590801, -762879972, 626494986, 924412598}, (ViewConfiguration.getPressedStateDuration() >> 16) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((short) ((-8) - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), (-1618075391) - KeyEvent.keyCodeFromString(""), (ViewConfiguration.getScrollBarSize() >> 8) + 41, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 529406468, (byte) ((Process.myTid() >> 22) + 9), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((short) (ExpandableListView.getPackedPositionChild(0L) + 40), (-1618075318) - Drawable.resolveOpacity(0, 0), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 29, TextUtils.lastIndexOf("", '0') + 529406422, (byte) (54 - View.getDefaultSize(0, 0)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{-568519549, -691192861, 1628700611, 1100186168, -667210912, -295214525, -1199914691, 1519093502, 1081123764, 1919479303, -912212601, 2110038849, 135986349, -492708629, -771342242, 1005464569, 1547772480, -1715175078}, TextUtils.lastIndexOf("", '0', 0) + 37, 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 - View.MeasureSpec.getSize(0), 4 - ExpandableListView.getPackedPositionChild(0L), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 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);
int i4 = r + 99;
y = i4 % 128;
int i5 = i4 % 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 = r + 57;
y = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = y + 113;
r = i4 % 128;
int i5 = i4 % 2;
}
}