what-the-bank/sources/com/scb/phone/view/activity/purchase/PurchaseReviewActivity.java

753 lines
44 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.purchase;
import android.content.Context;
import android.content.Intent;
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.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.transferandpay.ReviewActivity;
import com.scb.phone.view.activity.transferandpay.SuccessActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC11651ejP;
import o.C0198BcN;
import o.C11741el;
import o.C1189Xo;
import o.C1191Xp;
import o.C14957gcv;
import o.C7912cxL;
import o.InterfaceC13391fZD;
import o.InterfaceC8972dat;
import o.TVH;
import o.ZI;
import o.eTT;
import o.pug;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.cbeff.ISO781611;
/* loaded from: classes5.dex */
public class PurchaseReviewActivity extends AbstractActivityC11651ejP implements InterfaceC8972dat.ojQ {
private static short[] w;
private String b = null;
private String m = null;
/* renamed from: o, reason: collision with root package name */
private String f7837o;
@InterfaceC13391fZD
public C7912cxL presenter;
private static final byte[] $$p = {39, 45, ISO7816.INS_PUT_DATA, 49};
private static final int $$q = 23;
private static int $10 = 0;
private static int $11 = 1;
private static int u = 0;
private static int v = 1;
private static char[] t = {40012, 40094, 40092, 40082, 40085, 40081, 40095, 40060, 40055, 40084, 40053, 40038, 40068, 40085, 40092, 40089, 40081, 40106, 39994, 40000, 39998, 39999, 39993, 40007, 40005, 40006, 40007, 39996, 39997, 39992, 40001, 40041, 40040, 40046, 40000, 39999, 39997, 39992, 39994, 40001, 40005, 40005, 40007, 40007, 40007, 40005, 40004, 40006, 40001, 39992, 39998, 39998, 39993, 40001, 40006, 39998, 40001, 40001, 40001, 40002, 39998, 40006, 40042, 40040, 40047, 40000, 40046, 39999, 39992, 39997, 39987, 39992, 39986, 39987, 39999, 39987, 39999, 39996, 40044, 39984, 39997, 40047, 39987, 40044, 39987, 40047, 40044, 40044, 40040, 40047, 39987, 39985, 39992, 40046, 39985, 40047, 39996, 39985, 40046, 39986, 40035, 39985, 40045, 40047, 39987, 39992, 39996, 39987, 40040, 40047, 39987, 40047, 40047, 39985, 39996, 40040, 39996, 39986, 39986, 39985, 39993, 39984, 39999, 40046, 39993, 39987, 39998, 39997, 40040, 39987, 40011, 40078, 40078, 40074, 40077};
private static int q = 1578005872;
private static int s = 1406017147;
private static int p = 2085557071;
private static byte[] r = {-126, ISO7816.INS_WRITE_RECORD, -11, -67, -51, -71, 8, 3, Ascii.CAN, 49, 59, ISO7816.INS_CREATE_FILE, 10, ISO7816.INS_DECREASE, Ascii.CAN, ISO7816.INS_INCREASE, Ascii.SUB, 62, 41, 56, -51, 15, 60, 88, -15, 0, 1, 2, 61, 5, ISO7816.INS_INCREASE, ISO7816.INS_READ_BINARY2, -10, -1, -52, ISO7816.INS_APPEND_RECORD, -9, -53, -12, -11, -15, 6, -92, -1, -8, ISO7816.INS_ENVELOPE, -15, -12, -29, -57, 43, Byte.MIN_VALUE, 120, 43, ISO7816.INS_MANAGE_CHANNEL, 122, ISOFileInfo.CHANNEL_SECURITY, 33, -75, 116, 120, 125, 101, ISO7816.INS_MSE, 120, 114, ISOFileInfo.SECURITY_ATTR_COMPACT, 40, 114, -120, 125, 122, ISO7816.INS_MANAGE_CHANNEL, 123, Ascii.DEL, 124, 114, Ascii.DEL, 43, 124, ISOFileInfo.ENV_TEMP_EF, 47, Byte.MIN_VALUE, 120, 125, 40, 124, ISOFileInfo.ENV_TEMP_EF, ISO7816.INS_PSO, ISOFileInfo.CHANNEL_SECURITY, ISO7816.INS_MANAGE_CHANNEL, ISOFileInfo.FMD_BYTE, 124, 126, 33, 123, 126, -122, 103, 115, 41, 114, -119, 113, ISOFileInfo.FMD_BYTE, ISO7816.INS_MSE, Ascii.DEL, -119, 41, ISOFileInfo.ENV_TEMP_EF, 120, 119, 84, -55, -43, ISO7816.INS_WRITE_RECORD, -33, ISOFileInfo.A5, -57, ISO7816.INS_APPEND_RECORD, ISOFileInfo.AB, 104, 29, 105, -41, ISO7816.INS_PUT_DATA, -86, -81, -45, -18, -110, -81, -59, -26, -106, -86, ISO7816.INS_LOAD_KEY_FILE, -29, -97, ISOFileInfo.A1, -57, -72, ISO7816.INS_WRITE_BINARY, -86, -59, -90, -57, -72, ISO7816.INS_PUT_DATA, -17, 110, -41, -58, -86, ISOFileInfo.A5, -63, -88, ISOFileInfo.A1, -34, ISOFileInfo.A0, Ascii.DC2, -111, ISOFileInfo.AB, -37, -43, -94, -39, -84, ISO7816.INS_WRITE_RECORD, -89, -37, -84, -44, -86, ISO7816.INS_LOAD_KEY_FILE, -94, ISO7816.INS_LOAD_KEY_FILE, -84, -94, 16, -44, -93, -99, -47, -88, -44, ISO7816.INS_LOAD_KEY_FILE, -93, -88, -112, -97, -99, 78, -110, -94, 74, -83, 77, -81, -101, 70, -110, -103, -97, -88, -112, -100, -99, -110, ISOFileInfo.PROP_INFO, 65, -109, ISOFileInfo.AB, -106, ISOFileInfo.FCI_EXT, -109, -112, -111, 75, -84, -98, 79, -112};
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0026). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(int r6, int r7, byte r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.purchase.PurchaseReviewActivity.$$p
int r7 = 110 - r7
int r8 = r8 * 4
int r8 = 1 - r8
int r6 = r6 + 4
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L12
r3 = r8
r5 = r2
goto L26
L12:
r3 = r2
L13:
byte r4 = (byte) r7
int r5 = r3 + 1
r1[r3] = r4
int r6 = r6 + 1
if (r5 != r8) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r3 = r0[r6]
L26:
int r7 = r7 + r3
r3 = r5
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.purchase.PurchaseReviewActivity.aC(int, int, byte, java.lang.Object[]):void");
}
public static void d(Context context, C1189Xo c1189Xo, String str) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) PurchaseReviewActivity.class);
intent.putExtra("com.scb.phone.EXTRA_REVIEW", c1189Xo);
if (!TextUtils.isEmpty(null)) {
int i2 = u + 29;
v = i2 % 128;
int i3 = i2 % 2;
intent.putExtra("source", (String) null);
int i4 = u + 39;
v = i4 % 128;
int i5 = i4 % 2;
}
if (!TextUtils.isEmpty(str)) {
intent.putExtra("subtype", str);
}
intent.putExtra("EXTRA_POINT_X_CUSTOMER_ID", (String) null);
intent.putExtra("EXTRA_POINT_X_SOF_TYPE", (String) null);
intent.putExtra("EXTRA_POINT_X_POINT_X_QR", false);
context.startActivity(intent);
}
@Override // o.AbstractActivityC11651ejP, com.scb.phone.view.activity.transferandpay.ReviewActivity, o.AbstractActivityC11922eoV, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aA(new int[]{0, 18, 46, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((short) (TextUtils.indexOf("", "") + 52), TextUtils.getTrimmedLength("") - 230714213, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_completed_error).substring(29, 30).codePointAt(0) - 143, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 796986606, (byte) View.MeasureSpec.getMode(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];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 60), (-230714208) - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (-111) - ((Process.getThreadPriority(0) + 20) >> 6), (-796986617) - (ViewConfiguration.getTouchSlop() >> 8), (byte) (Process.getGidForName("") + 1), 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(R.string.auto_kofax_review_desc_2).substring(79, 80).length() + 27), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deposit_detail_prompt_pay).substring(9, 10).length() - 230714183, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.greater_than_fullpay_message).substring(11, 12).codePointAt(0) - 143, TextUtils.indexOf("", "", 0) - 796986615, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_amount_max_min).substring(0, 7).codePointAt(0) - 37), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = v + 123;
u = i2 % 128;
if (i2 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 62 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
int i4 = u + 75;
v = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = u + 43;
v = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.indexOf("", "") + 5, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new int[]{18, 48, 0, 4}, true, new byte[]{0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{66, 64, 2, 21}, true, null, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((short) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) - 105), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 230714198, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_completed_sub).substring(3, 4).length() - 112, (-796986617) - KeyEvent.keyCodeFromString(""), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), 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(R.string.cash_rewards_eta).substring(20, 21).length() + 62), (ViewConfiguration.getTouchSlop() >> 8) - 230714100, (ViewConfiguration.getEdgeSlop() >> 16) - 111, (-796986609) - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new int[]{ISO781611.BIOMETRIC_SUBTYPE_TAG, 5, 82, 4}, false, new byte[]{0, 0, 0, 0, 1}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB((short) ((Process.myPid() >> 22) + 119), (-230714026) - View.MeasureSpec.getMode(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 145, TextUtils.indexOf((CharSequence) "", '0', 0) - 796986612, (byte) (ViewConfiguration.getTapTimeout() >> 16), 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(535 - AndroidCharacter.getMirror('0'), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) (Process.myTid() >> 22))).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);
String h = h("source", "");
this.f7837o = h("subtype", "");
this.b = getIntent().getStringExtra("EXTRA_POINT_X_CUSTOMER_ID");
this.m = getIntent().getStringExtra("EXTRA_POINT_X_SOF_TYPE");
c("purchase_review", new pug("subtype", this.f7837o), new pug("source", h));
c("scan_n_pay_pointx_review", new pug("customerId", this.b));
this.presenter.e((C7912cxL) this);
}
@Override // com.scb.phone.view.activity.transferandpay.ReviewActivity, o.InterfaceC9010dbe.SYO
public final void e(C1191Xp c1191Xp) {
int i = 2 % 2;
boolean booleanExtra = getIntent().getBooleanExtra("EXTRA_POINT_X_POINT_X_QR", false);
C1189Xo c1189Xo = (C1189Xo) getIntent().getParcelableExtra("com.scb.phone.EXTRA_REVIEW");
c("purchase_slip", new pug("subtype", this.f7837o), new pug("source", "purchase_slip"));
C7912cxL c7912cxL = this.presenter;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cxK
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8972dat.ojQ) obj).a();
}
};
if (booleanExtra) {
int i2 = u + 7;
v = i2 % 128;
int i3 = i2 % 2;
if (c7912cxL.f != 0) {
int i4 = v + 69;
u = i4 % 128;
int i5 = i4 % 2;
ieS.e(c7912cxL.f);
int i6 = u + 79;
v = i6 % 128;
int i7 = i6 % 2;
}
}
startActivity(SuccessActivity.amz_(this, c1191Xp, C7912cxL.b("", getIntent().getStringExtra("source")), C7912cxL.d(getIntent().getStringExtra("source"), getIntent().getStringExtra("subtype")), this.b));
((ReviewActivity) this).l.mConfirmButton.setButtonEnabled(true);
ar_();
final C7912cxL c7912cxL2 = this.presenter;
if (c1189Xo == null || !c1189Xo.H) {
return;
}
ZI.IeS ieS2 = new ZI.IeS(c7912cxL2) { // from class: o.cxM
private C7912cxL d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7912cxL.a(this.d, (InterfaceC8972dat.ojQ) obj);
}
{
this.d = c7912cxL2;
}
};
if (c7912cxL2.f != 0) {
ieS2.e(c7912cxL2.f);
return;
}
int i8 = u + 35;
v = i8 % 128;
int i9 = i8 % 2;
}
@Override // o.InterfaceC8972dat.ojQ
public final void e() {
int i = 2 % 2;
Intent intent = new Intent("com.scb.phone/BROADCAST_ADD_TILE_TO_ROOT");
C14957gcv.e(this, "");
C14957gcv.e(intent, "");
C0198BcN.d(this).zE_(intent);
int i2 = v + 125;
u = i2 % 128;
if (i2 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC8972dat.ojQ
public final void a() {
int i = 2 % 2;
c("scan_n_pay_pointx_success", new pug("customerId", this.b), new pug("payment_method", this.m));
int i2 = v + 121;
u = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.activity.transferandpay.ReviewActivity
public final String g() {
int i = 2 % 2;
int i2 = u + 95;
v = i2 % 128;
if (i2 % 2 != 0) {
return getString(R.string.purchase_review_title);
}
getString(R.string.purchase_review_title);
throw null;
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object a(Object[] objArr) {
boolean z;
byte b = 0;
PurchaseReviewActivity purchaseReviewActivity = (PurchaseReviewActivity) objArr[0];
C1189Xo c1189Xo = (C1189Xo) objArr[1];
int i = 2 % 2;
C7912cxL c7912cxL = purchaseReviewActivity.presenter;
if (c7912cxL.f != 0) {
int i2 = u + 49;
v = i2 % 128;
int i3 = i2 % 2;
z = true;
} else {
z = false;
}
if (!(!z)) {
int i4 = u + 51;
v = i4 % 128;
int i5 = i4 % 2;
c7912cxL.f.y();
}
c7912cxL.e = c1189Xo;
c7912cxL.d.b(new C11741el(c1189Xo.a()));
eTT ett = c7912cxL.d;
ett.d(ett.i, new C7912cxL.IeS(c7912cxL, b));
return null;
}
private static void aA(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 = 1;
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr3 = t;
int i9 = -1;
char c2 = '0';
if (cArr3 != null) {
int i10 = $11 + 85;
$10 = i10 % 128;
int i11 = i10 % 2;
int length = cArr3.length;
char[] cArr4 = new char[length];
int i12 = 0;
while (i12 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[i3] = Integer.valueOf(cArr3[i12]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr2 = cArr3;
} else {
Class cls = (Class) xzZ.c(Gravity.getAbsoluteGravity(i3, i3) + 223, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (TextUtils.indexOf("", c2) + 41978));
cArr2 = cArr3;
Object[] objArr3 = new Object[1];
aC((byte) i9, $$p[i3], (byte) i3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr4[i12] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i12++;
cArr3 = cArr2;
i3 = 0;
i5 = 1;
i9 = -1;
c2 = '0';
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
char[] cArr5 = new char[i6];
System.arraycopy(cArr3, i4, cArr5, 0, i6);
if (bArr != null) {
int i13 = $11 + 123;
$10 = i13 % 128;
if (i13 % 2 != 0) {
cArr = new char[i6];
tvh.c = 0;
c = 1;
} else {
cArr = new char[i6];
tvh.c = 0;
c = 0;
}
while (tvh.c < i6) {
int i14 = $10 + 107;
$11 = i14 % 128;
if (i14 % 2 != 0 ? bArr[tvh.c] != 1 : bArr[tvh.c] != 0) {
int i15 = tvh.c;
try {
Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(1084521042);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.alpha(0) + 15, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) ((ViewConfiguration.getPressedStateDuration() >> 16) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj2);
}
cArr[i15] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i16 = $10 + 9;
$11 = i16 % 128;
if (i16 % 2 == 0) {
int i17 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(502 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (TextUtils.getOffsetAfter("", 0) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr[i17] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
int i18 = 78 / 0;
} else {
int i19 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(850398076);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 502, (Process.myPid() >> 22) + 5, (char) (53 - ImageFormat.getBitsPerPixel(0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj4);
}
cArr[i19] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
}
}
c = cArr[tvh.c];
try {
Object[] objArr7 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 402, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 21608));
byte b = (byte) (-1);
Object[] objArr8 = new Object[1];
aC(b, (byte) (b & 37), (byte) 0, objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr7);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
cArr5 = cArr;
}
if (i8 > 0) {
char[] cArr6 = new char[i6];
System.arraycopy(cArr5, 0, cArr6, 0, i6);
int i20 = i6 - i8;
System.arraycopy(cArr6, 0, cArr5, i20, i8);
System.arraycopy(cArr6, i8, cArr5, 0, i20);
int i21 = $10 + 65;
$11 = i21 % 128;
i = 2;
int i22 = i21 % 2;
} else {
i = 2;
}
if (z) {
int i23 = $10 + 67;
$11 = i23 % 128;
int i24 = i23 % i;
char[] cArr7 = new char[i6];
int i25 = 0;
while (true) {
tvh.c = i25;
if (tvh.c >= i6) {
break;
}
int i26 = $10 + 27;
$11 = i26 % 128;
int i27 = i26 % 2;
cArr7[tvh.c] = cArr5[(i6 - tvh.c) - 1];
i25 = tvh.c + 1;
}
cArr5 = cArr7;
}
if (i7 > 0) {
int i28 = 0;
while (true) {
tvh.c = i28;
if (tvh.c >= i6) {
break;
}
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
i28 = tvh.c + 1;
}
}
objArr[0] = new String(cArr5);
}
/* JADX WARN: Code restructure failed: missing block: B:51:0x0248, code lost:
if (r4 != false) goto L55;
*/
/* JADX WARN: Code restructure failed: missing block: B:52:0x025e, code lost:
r4 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:80:0x025c, code lost:
r4 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:82:0x025a, code lost:
if (r4 != false) goto L55;
*/
/* JADX WARN: Removed duplicated region for block: B:13:0x0096 */
/* JADX WARN: Removed duplicated region for block: B:48:0x022d */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aB(short r17, int r18, int r19, int r20, byte r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 887
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.purchase.PurchaseReviewActivity.aB(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC11651ejP, com.scb.phone.view.activity.transferandpay.ReviewActivity, o.AbstractActivityC11922eoV, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i2 = u + 109;
v = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 60), (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)) - 230714208, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_introduction_highlights_description).substring(0, 2).codePointAt(0) - 8337, (-796986617) - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (byte) (((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];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 82), (-230714183) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_qualification_first_note).substring(0, 1).length(), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_tutorial_just_for_you_title).substring(0, 32).codePointAt(3) - 211, (-796986615) - View.resolveSizeAndState(0, 0, 0), (byte) TextUtils.getCapsMode("", 0, 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 493, 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 487, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i4 = v + 47;
u = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC11651ejP, com.scb.phone.view.activity.transferandpay.ReviewActivity, o.AbstractActivityC11922eoV, 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 = v + 81;
u = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_set_detail_concent_contactual_acknowledge).substring(CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA, CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA).length() - 27), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 230714318, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) - 111, (-796986617) - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_do_not_have_mf).substring(27, 28).length() - 1), 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() + 15), (-230714182) - TextUtils.getCapsMode("", 0, 0), View.resolveSize(0, 0) - 111, (-796986615) - Color.blue(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.common_google_play_services_updating_text).substring(0, 5).codePointAt(3) - 115), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = u + 51;
v = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 2 % 3;
}
}
if (baseContext != null) {
int i6 = v + 13;
u = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 492, 5 - Color.argb(0, 0, 0, 0), (char) KeyEvent.normalizeMetaState(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(487 - KeyEvent.normalizeMetaState(0), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i8 = v + 99;
u = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // o.AbstractActivityC11651ejP, com.scb.phone.view.activity.transferandpay.ReviewActivity, o.AbstractActivityC11922eoV, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = v + 19;
u = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new int[]{0, 18, 46, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((short) ((ViewConfiguration.getTouchSlop() >> 8) + 52), TextUtils.indexOf((CharSequence) "", '0') - 230714212, (-111) - (ViewConfiguration.getLongPressTimeout() >> 16), (-796986605) - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (byte) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(540 - AndroidCharacter.getMirror('0'), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new int[]{18, 48, 0, 4}, true, new byte[]{0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new int[]{66, 64, 2, 21}, true, null, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB((short) ((-106) - ExpandableListView.getPackedPositionType(0L)), (-230714164) - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getMaximumFlingVelocity() >> 16) - 111, (-796986616) - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) Drawable.resolveOpacity(0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((short) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 63), (-230714101) - Process.getGidForName(""), (ViewConfiguration.getMaximumFlingVelocity() >> 16) - 111, (-796986611) - ImageFormat.getBitsPerPixel(0), (byte) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{ISO781611.BIOMETRIC_SUBTYPE_TAG, 5, 82, 4}, false, new byte[]{0, 0, 0, 0, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((short) (Color.argb(0, 0, 0, 0) + 119), (ViewConfiguration.getLongPressTimeout() >> 16) - 230714026, (-111) - TextUtils.getOffsetBefore("", 0), (-796986613) - (ViewConfiguration.getKeyRepeatDelay() >> 16), (byte) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1), objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 487, TextUtils.indexOf("", "") + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i4 = v + 105;
u = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i6 = v + 71;
u = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 5 / 0;
}
}
@Override // o.AbstractActivityC11651ejP, com.scb.phone.view.activity.transferandpay.ReviewActivity, o.AbstractActivityC11922eoV, 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 = u + 29;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 33 / 0;
}
int i5 = v + 57;
u = i5 % 128;
if (i5 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.transferandpay.ReviewActivity
public final void d(C1189Xo c1189Xo) {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1023147922;
a(new Object[]{this, c1189Xo});
}
}