what-the-bank/sources/com/scb/phone/view/activity/chequemanagement/ChequeReviewActivity.java

575 lines
33 KiB
Java

package com.scb.phone.view.activity.chequemanagement;
import android.content.Context;
import android.content.Intent;
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.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import butterknife.ButterKnife;
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.fragment.chequemanagement.ChequeReviewFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC10238dyx;
import o.AbstractC13482fbE;
import o.C1189Xo;
import o.C1191Xp;
import o.C4403bZM;
import o.cYE;
import o.xzZ;
/* loaded from: classes4.dex */
public abstract class ChequeReviewActivity extends AbstractActivityC10238dyx implements ChequeReviewFragment.HBt, cYE.ZqN {
private static short[] t;
private C1189Xo b;
private static final byte[] $$g = {82, ISO7816.INS_UNBLOCK_CHV, -108, -93};
private static final int $$h = 252;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int q = 1;
/* renamed from: o, reason: collision with root package name */
private static int f6725o = 973732554;
private static int m = 1406017046;
private static int k = 964640011;
private static byte[] l = {Ascii.SUB, 89, 87, 91, -83, -92, 123, 123, ISO7816.INS_APPEND_RECORD, 93, Ascii.CAN, -109, -94, -93, -92, 87, -81, 84, 40, ISO7816.INS_UPDATE_RECORD, 35, 11, ISO7816.INS_UPDATE_RECORD, -13, 13, 57, ISO7816.INS_ENVELOPE, 62, -1, 11, -10, 14, -59, 11, -11, 39, -37, -11, 59, -10, 13, -13, 12, 8, -9, -11, 8, ISO7816.INS_UPDATE_RECORD, -9, 38, ISO7816.INS_LOAD_KEY_FILE, 35, 11, -10, -37, -9, 38, -35, 57, -13, 15, -9, 9, ISO7816.INS_ENVELOPE, 12, 9, 33, 0, -12, ISO7816.INS_PUT_DATA, -11, 58, -14, 15, -59, 8, 58, ISO7816.INS_PUT_DATA, 38, 11, -16, -33};
private static int[] r = {-1002547002, -1005330893, -1724906219, -1830944162, 1939002487, 1699231509, -639199632, -749457920, -548667385, 1418185634, 444380739, -1202435372, 1099013939, -1731516393, -1384756974, 1823473248, 1992731260, -160764325};
/* JADX WARN: Removed duplicated region for block: B:10:0x0029 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0021 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0029 -> B:4:0x002e). 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 az(int r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 2
int r7 = r7 + 4
int r8 = r8 * 4
int r0 = r8 + 1
int r6 = r6 * 2
int r6 = r6 + 102
byte[] r1 = com.scb.phone.view.activity.chequemanagement.ChequeReviewActivity.$$g
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L16
r3 = r7
r4 = r2
goto L2e
L16:
r3 = r2
r5 = r7
r7 = r6
r6 = r5
L1a:
byte r4 = (byte) r7
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r8) goto L29
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L29:
r3 = r1[r6]
r5 = r3
r3 = r6
r6 = r5
L2e:
int r6 = -r6
int r7 = r7 + r6
int r6 = r3 + 1
r3 = r4
goto L1a
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.chequemanagement.ChequeReviewActivity.az(int, int, short, java.lang.Object[]):void");
}
protected abstract void d(C1189Xo c1189Xo);
@Override // o.AbstractActivityC10238dyx, 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) {
ChequeReviewFragment b;
AbstractC13482fbE a;
int i;
int i2 = 2 % 2;
Object[] objArr = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), (-1774707934) - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 17, (-1789993695) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 39), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{1711209487, 1781207805, -612852214, 2039272277}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, 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];
ay(new int[]{1571500618, 1182941902, -1460693972, 1554682591, 651986023, 586677123, -1483087760, 429345196, -1358901404, -1438547921, 1893740138, -205775906, 1861457804, -14192280}, Color.rgb(0, 0, 0) + 16777242, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new int[]{-1424318163, 538837132, -1814271749, -89690576, -1794442178, 1924762778, -276286985, -24848706, 774602845, -1504571780}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = p + 3;
q = i3 % 128;
if (i3 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i4 = 37 / 0;
} else {
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, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new int[]{1620685156, -466408955, 1791394668, 1188408536, -1719597771, 138101639, 375922729, 14808244, -845775450, -1650428649, 236101831, -2016883638, -1916884854, -595093699, 1638350160, -1994929908, 1735967661, -1663328918, -1250177037, 718939752, -792502694, -885244085, 1729796718, -1900424500}, 49 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{-1008064147, 1039559848, -292859915, -1712799294, -130343849, 1433007381, -74501099, 1305054768, -2118012283, -607541340, 1688449394, -1548481506, 1343994733, 289899392, -1649368837, -1718955287, 8293165, 1202574025, 1375733232, -1968376632, -1668326457, 1083722019, -522876463, 1906971748, -1253951247, 106071919, 1375876712, 2132772766, 1068362875, -1172973185, -912641810, 397108877}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_withdraw_qr_return_to_account_message).substring(42, 43).length() + 63, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_crop_tutorial_dont_desc).substring(0, 2).codePointAt(0) - 8226), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_no_bank_statement).substring(0, 2).length() - 1774707919, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_outcome_inquiries).substring(53, 57).length() - 8, TextUtils.lastIndexOf("", '0', 0, 0) - 1789993660, (byte) (29 - TextUtils.indexOf("", "")), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{841901872, 440336256, -1950798198, 149735800, -1388102241, -831741539, 538187432, 1047603316, 417257777, -2103671088, -457350021, -611152631, -1845854510, 1027350644, -840057662, -1496745248, 912369034, -1564633204, -2089226682, 1866565672, -1059899991, 508524458, -1229696211, -290639876, 352671888, -481687042, 118183456, -58436090, -1756659977, 296979608, 1176889455, 829402282, 839833637, -1349216546, 412385257, -1361844483, 2036130035, 831985472}, View.resolveSize(0, 0) + 74, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new int[]{251237742, 1025144980, 371573506, 1337732878}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new int[]{2074567512, -2101420609, -111262022, 1885359820, 1501176955, 1095498128, 1388241203, 1218752308, -1214265573, -1891628244, -1832296703, -539700387, -521473269, -13910863, -381638956, 867832970, 1845963752, 1961865792}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 23, 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(487 - (ViewConfiguration.getLongPressTimeout() >> 16), Color.blue(0) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).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);
int i5 = q + 115;
p = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 4 % 4;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558478);
ButterKnife.Dg_(this);
C1189Xo c1189Xo = (C1189Xo) getIntent().getParcelableExtra("com.scb.phone.EXTRA_REVIEW");
this.b = c1189Xo;
if (c1189Xo == null) {
finish();
return;
}
int i7 = q + 57;
p = i7 % 128;
if (i7 % 2 != 0) {
b = ChequeReviewFragment.b(c1189Xo);
a = getSupportFragmentManager().a();
i = 3;
} else {
b = ChequeReviewFragment.b(c1189Xo);
a = getSupportFragmentManager().a();
i = 2;
}
a.b(R.id.fragment_container, b, null, i);
a.b();
b.c = this;
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = q + 43;
p = i2 % 128;
int i3 = i2 % 2;
super.Z();
ac();
if ("ORDER_CHEQUE_FUNCTION".equalsIgnoreCase(this.b.j())) {
p(getString(R.string.order_cheque_review_header));
return;
}
p(getString(R.string.review));
int i4 = p + 75;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.fragment.chequemanagement.ChequeReviewFragment.HBt
public final void b(C1189Xo c1189Xo) {
int i = 2 % 2;
int i2 = q + 39;
p = i2 % 128;
int i3 = i2 % 2;
d(c1189Xo);
int i4 = p + 93;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.cYE.ZqN
public final void c(C1191Xp c1191Xp) {
int i = 2 % 2;
Intent intent = new Intent(this, (Class<?>) ChequeSuccessActivity.class);
intent.putExtra("com.scb.phone.EXTRA_SUCCESS", c1191Xp);
startActivity(intent);
finish();
int i2 = q + 95;
p = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
}
private static void ay(int[] iArr, int i, Object[] objArr) {
Object method;
int[] iArr2;
int i2 = 2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = r;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i7 = 0;
while (i7 < length) {
int i8 = $11 + 15;
$10 = i8 % 128;
if (i8 % i2 != 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i6] = Integer.valueOf(iArr3[i7]);
Object obj = xzZ.y.get(Integer.valueOf(i4));
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', i6, i6) + 16, TextUtils.indexOf((CharSequence) "", '0', i6) + 6, (char) (58134 - (ViewConfiguration.getWindowTouchSlop() >> 8)));
Class<?>[] clsArr = new Class[1];
clsArr[i6] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr3 = {Integer.valueOf(iArr3[i7])};
Object obj2 = xzZ.y.get(729798706);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 15, 5 - Drawable.resolveOpacity(0, 0), (char) (58135 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr4[i7] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i7++;
}
i2 = 2;
i6 = 0;
i4 = 729798706;
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = r;
if (iArr6 != null) {
int i9 = $11 + 83;
$10 = i9 % 128;
int i10 = i9 % 2;
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i11 = 0;
while (i11 < length3) {
try {
Object[] objArr4 = new Object[i5];
objArr4[0] = Integer.valueOf(iArr6[i11]);
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
iArr2 = iArr6;
} else {
obj3 = ((Class) xzZ.c(15 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 5 - ExpandableListView.getPackedPositionGroup(0L), (char) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 58134))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
xzZ.y.put(729798706, obj3);
}
iArr7[i11] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i11++;
iArr6 = iArr2;
i5 = 1;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i12 = $11 + 101;
$10 = i12 % 128;
if (i12 % 2 != 0) {
int i13 = 2 / 4;
}
iArr6 = iArr7;
}
char c = 0;
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
cArr[c] = (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 i14 = 0;
for (int i15 = 16; i14 < i15; i15 = 16) {
c4403bZM.e ^= iArr5[i14];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 119, (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)) + 5, (char) ExpandableListView.getPackedPositionGroup(0L));
byte b = (byte) 1;
byte b2 = (byte) (b - 1);
Object[] objArr6 = new Object[1];
az(b, b2, b2, objArr6);
obj4 = cls2.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;
i14++;
}
int i16 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i16;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i17 = c4403bZM.e;
int i18 = 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) {
method = obj5;
} else {
Class cls3 = (Class) xzZ.c(146 - AndroidCharacter.getMirror('0'), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (Process.myTid() >> 22));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr8 = new Object[1];
az(b3, b4, b4, objArr8);
method = cls3.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, method);
}
((Method) method).invoke(null, objArr7);
c = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.AbstractActivityC10238dyx, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new int[]{1571500618, 1182941902, -1460693972, 1554682591, 651986023, 586677123, -1483087760, 429345196, -1358901404, -1438547921, 1893740138, -205775906, 1861457804, -14192280}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{-1424318163, 538837132, -1814271749, -89690576, -1794442178, 1924762778, -276286985, -24848706, 774602845, -1504571780}, View.resolveSizeAndState(0, 0, 0) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = q + 83;
p = i2 % 128;
if (i2 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 66 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i4 = p + 75;
q = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 491, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).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(487 - ExpandableListView.getPackedPositionGroup(0L), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((Process.myTid() >> 22) + 492, ExpandableListView.getPackedPositionType(0L) + 5, (char) ExpandableListView.getPackedPositionType(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(488 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (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)), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC10238dyx, 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 = q + 111;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new int[]{1571500618, 1182941902, -1460693972, 1554682591, 651986023, 586677123, -1483087760, 429345196, -1358901404, -1438547921, 1893740138, -205775906, 1861457804, -14192280}, ((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];
ay(new int[]{-1424318163, 538837132, -1814271749, -89690576, -1794442178, 1924762778, -276286985, -24848706, 774602845, -1504571780}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_outcome_inquiries).substring(53, 57).length() + 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 67;
q = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (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)))).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 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.lastIndexOf("", '0') + 6, (char) ExpandableListView.getPackedPositionType(0L))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = p + 5;
q = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
/* JADX WARN: Removed duplicated region for block: B:58:0x02a6 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ax(short r21, int r22, int r23, int r24, byte r25, java.lang.Object[] r26) {
/*
Method dump skipped, instructions count: 777
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.chequemanagement.ChequeReviewActivity.ax(short, int, int, int, byte, java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0090, code lost:
if (r3 > 99999) goto L10;
*/
@Override // o.AbstractActivityC10238dyx, 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 r21) {
/*
Method dump skipped, instructions count: 800
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.chequemanagement.ChequeReviewActivity.attachBaseContext(android.content.Context):void");
}
@Override // o.AbstractActivityC10238dyx, 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 = p + 95;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}