what-the-bank/sources/com/scb/phone/view/activity/fastpay/FastPayInputActivity.java

610 lines
29 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.fastpay;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Process;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.Gravity;
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.R;
import com.scb.phone.view.activity.transferandpay.FavouriteSelectedActivity;
import com.scb.phone.view.activity.transferandpay.billpayment.BillPaymentActivity;
import com.scb.phone.view.fragment.fastpay.FastPayInputFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC8519dNo;
import o.C0910Ri;
import o.C1193Xr;
import o.C1203Xy;
import o.MBB;
import o.TVH;
import o.xzZ;
/* loaded from: classes4.dex */
public class FastPayInputActivity extends AbstractActivityC8519dNo implements FastPayInputFragment.HBt {
private static short[] r;
private C1203Xy m;
private static final byte[] $$g = {59, 92, ISOFileInfo.FCI_BYTE, -78};
private static final int $$h = 208;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int q = 1;
private static char[] l = {40046, 40155, 40153, 40159, 40146, 40158, 40132, 40121, 40124, 40145, 40114, 40099, 40129, 40146, 40153, 40134, 40158, 40151, 39997, 40056, 40044, 40020, 40045, 39993, 40041, 40040, 40032, 40038, 40021, 40045, 40061, 40037, 40036, 40036, 40037, 40032, 40025, 39996, 40004, 40059, 40035, 40012, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 39994, 40039, 40056, 40057, 40032, 40034, 40058, 40017, 40019, 40059, 40037, 40033, 40045, 40041, 40033, 40037, 40039, 40037, 40193, 40147, 40221, 40211, 40199, 40156, 40197, 40208, 40193, 40213, 40209, 40215, 40198, 40208, 40193, 40213, 40219, 40156, 40214, 40215, 40193, 40199, 40214, 40193, 40197, 40208, 40218, 40214, 40156, 40223, 40220, 40193, 40192, 40222, 40193, 40217, 40199, 40208, 40197, 40221, 40221, 40211, 40199, 40221, 40193, 40217, 40215, 40147, 40147, 40168, 40215, 40210, 40214, 40214, 40218, 40215, 40214, 40220, 40197, 40212, 40197, 40147, 40144, 40212, 40147, 40214, 40215, 40197, 40219, 40220, 40217, 40147, 40217, 40210, 39955, 39972, 39992, 39992, 39992, 40034, 40155, 40125, 40107, 40114, 40112, 40104, 40084, 40080, 40085, 40107, 40124, 40155, 40127, 40086, 40107, 40085, 40085, 40087, 40127, 40133, 40155, 40154, 40126, 40087, 40124, 40124, 40125, 40114, 40112, 40154, 40114, 40106, 40106, 40107, 40115};
private static int k = 1377422247;
/* renamed from: o, reason: collision with root package name */
private static int f7150o = 1406017102;
private static int t = 1192945878;
private static byte[] p = {ISO7816.INS_PUT_DATA, 56, ISO7816.INS_GET_RESPONSE, 59, -23, 16, Ascii.ETB, -59, Ascii.NAK, -24, -22, 32, -20, Ascii.SYN, 17, Ascii.NAK, ISO7816.INS_LOAD_KEY_FILE, 62, -61, 59, -57, 56, -59, 56, -51, 56, Ascii.DC4, -18, 19, -22, -60, 63, 16, -60, 58, -57, 58, -20, ISO7816.INS_ENVELOPE, Ascii.DC4, -18, Ascii.SYN, 37, -60, 59, -24, 19, 17, -22, 57, -21, Ascii.DC2, -37, 62, -61, 56, -24, ISO7816.INS_GET_RESPONSE, 57, -60, 59, -63, Ascii.ETB, 57, 16, -23, -22, ISO7816.INS_GET_RESPONSE, -22, 57, -63, Ascii.NAK, 63, Ascii.SYN, -63, 57, -21, Ascii.NAK, -22, 29, ISO7816.INS_APPEND_RECORD, Ascii.DC2, ISO7816.INS_PUT_DATA, 38, -17, Ascii.SYN, -22, -58, 62, -58, ISO7816.INS_CHANGE_CHV, Ascii.DC4, -24, -21, 16, -17, Ascii.DC4, 17, -23, 17, -24, -59, 57, 16, -57, 57, -60, 58, -63, -24, -63, 62, Ascii.SYN, -63, -18, 16, ISO7816.INS_CHANGE_CHV, -33, 35, ISO7816.INS_APPEND_RECORD, Ascii.SYN, -21, 19, ISO7816.INS_LOAD_KEY_FILE, Ascii.SYN, -24, 58, -58, -24, 38, -21, 16, -18, 17, Ascii.NAK, -22, -24, Ascii.NAK, -63, -22, 59, -59, 62, Ascii.SYN, -21, -58, -22, 59, ISO7816.INS_GET_RESPONSE, ISO7816.INS_CHANGE_CHV, -18, Ascii.DC2, -22, Ascii.DC4, -33, 17, Ascii.DC4, 60, 29, -23, -57, -24, 39, -17, Ascii.DC2, ISO7816.INS_LOAD_KEY_FILE, Ascii.NAK, 39, -57, 59, Ascii.SYN, -19, ISO7816.INS_ENVELOPE, Ascii.NAK, Ascii.NAK, Ascii.NAK};
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r6v2 */
/* JADX WARN: Type inference failed for: r6v3, types: [int] */
/* JADX WARN: Type inference failed for: r6v6, types: [int] */
/* JADX WARN: Type inference failed for: r6v8 */
/* JADX WARN: Type inference failed for: r6v9 */
private static void az(short s2, byte b, byte b2, Object[] objArr) {
int i = b + 71;
int i2 = s2 * 4;
int i3 = 3 - (b2 * 4);
byte[] bArr = $$g;
byte[] bArr2 = new byte[i2 + 1];
int i4 = -1;
byte b3 = i;
if (bArr == null) {
int i5 = i + i3;
i3 = i3;
i4 = -1;
b3 = i5;
}
while (true) {
int i6 = i4 + 1;
bArr2[i6] = b3;
if (i6 == i2) {
objArr[0] = new String(bArr2, 0);
return;
}
int i7 = i3 + 1;
b3 = bArr[i7] + b3;
i3 = i7;
i4 = i6;
}
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
FastPayInputActivity fastPayInputActivity = (FastPayInputActivity) objArr[0];
MBB mbb = (MBB) objArr[1];
String str = (String) objArr[2];
int i4 = 2 % 2;
Intent intent = new Intent(fastPayInputActivity, (Class<?>) FavouriteSelectedActivity.class);
intent.putExtra("com.scb.phone.EXTRA_BILL_PAY_METHOD", mbb);
intent.putExtra("source", str);
fastPayInputActivity.startActivityForResult(intent, 100);
if (!fastPayInputActivity.X() || fastPayInputActivity.z_()) {
return null;
}
int i5 = s + 75;
q = i5 % 128;
int i6 = i5 % 2;
fastPayInputActivity.finish();
int i7 = q + 101;
s = i7 % 128;
int i8 = i7 % 2;
return null;
}
public static void c(Context context, C1203Xy c1203Xy, boolean z) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) FastPayInputActivity.class);
intent.putExtra("com.scb.phone.EXTRA_FASTPAY_DISPLAY", c1203Xy);
intent.putExtra("com.scb.phone.EXTRA_FASTPAY_FROM_SCAN_DEEP_LINK", z);
context.startActivity(intent);
int i2 = q + 93;
s = i2 % 128;
int i3 = i2 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0066, code lost:
if (r6 > 99999) goto L6;
*/
@Override // o.AbstractActivityC8519dNo, 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 onCreate(android.os.Bundle r29) {
/*
Method dump skipped, instructions count: 1024
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.fastpay.FastPayInputActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = s + 113;
q = i2 % 128;
if (i2 % 2 == 0) {
super.Z();
ac();
p(h());
int i3 = 32 / 0;
return;
}
super.Z();
ac();
p(h());
}
private String h() {
int i = 2 % 2;
int i2 = q + 27;
s = i2 % 128;
if (i2 % 2 == 0) {
C1203Xy c1203Xy = getIntent() != null ? (C1203Xy) getIntent().getParcelableExtra("com.scb.phone.EXTRA_FASTPAY_DISPLAY") : null;
this.m = c1203Xy;
if (c1203Xy == null) {
int i3 = s + 99;
q = i3 % 128;
int i4 = i3 % 2;
return "";
}
String str = c1203Xy.i;
str.hashCode();
if (str.equals("FASTBP")) {
return getString(R.string.fastpay_billpayment_title);
}
return str.equals("FASTPP") ^ true ? "" : getString(R.string.fastpay_transfer_title);
}
getIntent();
throw null;
}
@Override // com.scb.phone.view.fragment.fastpay.FastPayInputFragment.HBt
public final void d(C1193Xr c1193Xr, MBB mbb, String str, C0910Ri c0910Ri) {
int i = 2 % 2;
Intent intent = new Intent(this, (Class<?>) BillPaymentActivity.class);
intent.putExtra("source", str);
intent.putExtra("com.scb.phone.EXTRA_BILL_PAYMENT_DISPLAY", c1193Xr);
intent.putExtra("com.scb.phone.EXTRA_BILL_PAYMENT_HISTORY", c0910Ri);
intent.putExtra("com.scb.phone.EXTRA_BILL_PAYMENT_ENABLE_SCHEDULE", false);
if (mbb != null) {
int i2 = s + 39;
q = i2 % 128;
int i3 = i2 % 2;
intent.putExtra("com.scb.phone.EXTRA_BILL_PAY_METHOD", mbb);
int i4 = s + 123;
q = i4 % 128;
int i5 = i4 % 2;
}
startActivityForResult(intent, 100);
if (X()) {
int i6 = q + 79;
s = i6 % 128;
int i7 = i6 % 2;
if (z_()) {
return;
}
int i8 = s + 17;
q = i8 % 128;
int i9 = i8 % 2;
finish();
if (i9 == 0) {
throw null;
}
}
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void ab() {
int i = 2 % 2;
int i2 = s + 67;
q = i2 % 128;
if (i2 % 2 == 0) {
getWindow().setFlags(5033, 20003);
} else {
getWindow().setFlags(8192, 8192);
}
int i3 = s + 7;
q = i3 % 128;
if (i3 % 2 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public void onActivityResult(int i, int i2, Intent intent) {
int i3 = 2 % 2;
int i4 = q + 3;
s = i4 % 128;
if (i4 % 2 != 0) {
super.onActivityResult(i, i2, intent);
if (i != 29) {
return;
}
} else {
super.onActivityResult(i, i2, intent);
if (i != 100) {
return;
}
}
finish();
int i5 = q + 27;
s = i5 % 128;
int i6 = i5 % 2;
}
private static void ax(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
char c;
char[] cArr2;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr3 = l;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr3 != null) {
int length = cArr3.length;
char[] cArr4 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr3[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr2 = cArr3;
} else {
Class cls = (Class) xzZ.c(222 - ImageFormat.getBitsPerPixel(i3), TextUtils.getOffsetAfter("", i3) + 5, (char) (41978 - (AudioTrack.getMaxVolume() > f ? 1 : (AudioTrack.getMaxVolume() == f ? 0 : -1))));
byte b = (byte) i3;
byte b2 = b;
cArr2 = cArr3;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr4[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
cArr3 = cArr2;
i3 = 0;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i9 = $10 + 109;
$11 = i9 % 128;
int i10 = i9 % 2;
cArr3 = cArr4;
}
char[] cArr5 = new char[i5];
System.arraycopy(cArr3, i4, cArr5, 0, i5);
if (bArr != null) {
int i11 = $11 + 95;
$10 = i11 % 128;
if (i11 % 2 != 0) {
cArr = new char[i5];
tvh.c = 0;
c = 1;
} else {
cArr = new char[i5];
tvh.c = 0;
c = 0;
}
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i12 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 503, TextUtils.lastIndexOf("", '0') + 6, (char) (54 - TextUtils.getCapsMode("", 0, 0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i13 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 15, Color.alpha(0) + 5, (char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr[i13] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr[tvh.c];
try {
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 402, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 21609));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 2);
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 - 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
cArr5 = cArr;
}
if (i7 > 0) {
char[] cArr6 = new char[i5];
System.arraycopy(cArr5, 0, cArr6, 0, i5);
int i14 = i5 - i7;
System.arraycopy(cArr6, 0, cArr5, i14, i7);
System.arraycopy(cArr6, i7, cArr5, 0, i14);
}
if (z) {
int i15 = $10 + 75;
$11 = i15 % 128;
int i16 = i15 % 2;
char[] cArr7 = new char[i5];
tvh.c = 0;
while (tvh.c < i5) {
int i17 = $10 + 23;
$11 = i17 % 128;
if (i17 % 2 == 0) {
cArr7[tvh.c] = cArr5[tvh.c + i5];
i = tvh.c;
} else {
cArr7[tvh.c] = cArr5[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
tvh.c = i;
int i18 = $11 + 47;
$10 = i18 % 128;
int i19 = i18 % 2;
}
cArr5 = cArr7;
}
if (i6 > 0) {
int i20 = 0;
while (true) {
tvh.c = i20;
if (tvh.c >= i5) {
break;
}
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
i20 = tvh.c + 1;
}
}
objArr[0] = new String(cArr5);
}
/* JADX WARN: Removed duplicated region for block: B:14:0x0091 */
/* JADX WARN: Removed duplicated region for block: B:61:0x0236 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ay(short r20, int r21, int r22, int r23, byte r24, java.lang.Object[] r25) {
/*
Method dump skipped, instructions count: 892
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.fastpay.FastPayInputActivity.ay(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC8519dNo, 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() {
Method method;
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 11;
q = i2 % 128;
if (i2 % 2 == 0) {
Object[] objArr = new Object[1];
ax(new int[]{23, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{49, 18, 0, 0}, true, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
method = cls.getMethod((String) objArr2[0], new Class[1]);
} else {
Object[] objArr3 = new Object[1];
ax(new int[]{23, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new int[]{49, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
int i3 = s + 37;
q = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
int i5 = s + 89;
q = i5 % 128;
int i6 = i5 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = s + 59;
q = i7 % 128;
try {
if (i7 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Color.alpha(0), (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - Color.alpha(0), (Process.myTid() >> 22) + 5, (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, objArr5);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((Process.myTid() >> 22) + 492, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr6 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 487, ExpandableListView.getPackedPositionType(0L) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC8519dNo, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = s + 1;
q = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = s + 47;
q = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
ax(new int[]{23, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{49, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = q + 61;
s = i5 % 128;
try {
if (i5 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((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)) + 492, TextUtils.getTrimmedLength("") + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getFadingEdgeLength() >> 16), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) View.MeasureSpec.makeMeasureSpec(0, 0))).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(492 - TextUtils.indexOf("", ""), View.getDefaultSize(0, 0) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1))).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 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (Process.myPid() >> 22))).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();
int i6 = s + 85;
q = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x005d, code lost:
if (r1 > 99999) goto L6;
*/
@Override // o.AbstractActivityC8519dNo, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r25) {
/*
Method dump skipped, instructions count: 624
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.fastpay.FastPayInputActivity.attachBaseContext(android.content.Context):void");
}
@Override // o.AbstractActivityC8519dNo, 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 + 71;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.fragment.fastpay.FastPayInputFragment.HBt
public final void d(MBB mbb, String str) {
e(new Object[]{this, mbb, str}, -1005254079, 1005254079, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 433752524);
}
}