what-the-bank/sources/com/scb/phone/view/activity/loan/SmeLoanDetailActivity.java

713 lines
35 KiB
Java

package com.scb.phone.view.activity.loan;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
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.BindView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.huawei.hms.android.HwBuildEx;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.custom.common.CustomHorizontalProgressBar;
import com.scb.phone.view.fragment.loan.SmeLoanDetailFragment;
import com.scb.phone.view.fragment.loan.SmeLoanSelectorFragment;
import com.scb.phone.view.fragment.loan.SmeLoanStatusFragment;
import java.lang.reflect.Method;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC8835dXf;
import o.C0385Fj;
import o.C0390Fm;
import o.C4102bPy;
import o.C4593bdB;
import o.GuL;
import o.InterfaceC8943daQ;
import o.ZI;
import o.bPC;
import o.pug;
import o.xzZ;
import org.bouncycastle.pqc.math.linearalgebra.Matrix;
/* loaded from: classes5.dex */
public class SmeLoanDetailActivity extends AbstractActivityC8835dXf implements SmeLoanSelectorFragment.RVV, SmeLoanDetailFragment.LWm {
private static final byte[] $$p = {33, ISOFileInfo.ENV_TEMP_EF, -97, 85};
private static final int $$q = 53;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int q = 1;
private static long r = 8478441573135452955L;
private static long t = 8197987080297661880L;
private int k;
private List<C0390Fm> l;
private SmeLoanStatusFragment m;
@BindView
CustomHorizontalProgressBar mCustomProgressBarSmeLoanStatus;
/* renamed from: o, reason: collision with root package name */
private SmeLoanDetailFragment f7541o;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> 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(byte r6, short r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.loan.SmeLoanDetailActivity.$$p
int r6 = r6 * 4
int r1 = 1 - r6
int r7 = r7 * 2
int r7 = 4 - r7
int r8 = r8 + 77
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L17
r3 = r6
r8 = r7
r4 = r2
goto L2d
L17:
r3 = r2
L18:
byte r4 = (byte) r8
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L27:
r3 = r0[r7]
r5 = r8
r8 = r7
r7 = r3
r3 = r5
L2d:
int r7 = -r7
int r7 = r7 + r3
int r8 = r8 + 1
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.loan.SmeLoanDetailActivity.aC(byte, short, short, java.lang.Object[]):void");
}
private static void aA(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(r ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
int i4 = $11 + 77;
$10 = i4 % 128;
int i5 = i4 % 2;
while (guL.a < a.length) {
int i6 = $10 + 25;
$11 = i6 % 128;
int i7 = i6 % 2;
guL.c = guL.a - i3;
int i8 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(r)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(209 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) ((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 1706));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 | ISO7816.INS_PSO), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 392, 5 - (Process.myPid() >> 22), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 | ISO7816.INS_UNBLOCK_CHV), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
i3 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
private static void aB(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = $10 + 99;
$11 = i3 % 128;
if (i3 % 2 == 0) {
int i4 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 403, 5 - TextUtils.getCapsMode("", 0, 0), (char) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 21608));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i4] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() / (t - 6958928035870403642L);
try {
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 238, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (Process.myTid() >> 22));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i5 = c4593bdB.e;
try {
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 401, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (21608 - View.resolveSizeAndState(0, 0, 0)));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aC(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i5] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (t ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(237 - ImageFormat.getBitsPerPixel(0), Process.getGidForName("") + 6, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
aC(b7, b8, (byte) (b8 + 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr10 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 238, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr11 = new Object[1];
aC(b9, b10, (byte) (b10 + 1), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
}
String str = new String(cArr2);
int i6 = $10 + 15;
$11 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
/* JADX WARN: Code restructure failed: missing block: B:18:0x0375, code lost:
if ((r4 % 2) == 0) goto L50;
*/
@Override // o.AbstractActivityC8835dXf, 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 r20) {
/*
Method dump skipped, instructions count: 1308
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.loan.SmeLoanDetailActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = q + 81;
p = i2 % 128;
int i3 = i2 % 2;
super.Z();
setTitle(R.string.account_summary_my_business_loans);
ac();
int i4 = p + 15;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.fragment.loan.SmeLoanSelectorFragment.RVV
public final void a(final C0390Fm c0390Fm) {
CustomHorizontalProgressBar customHorizontalProgressBar;
int i = 2 % 2;
int i2 = p + 83;
q = i2 % 128;
if (i2 % 2 == 0) {
String str = c0390Fm.x;
str.hashCode();
str.hashCode();
Object obj = null;
obj.hashCode();
throw null;
}
String str2 = c0390Fm.x;
str2.hashCode();
int hashCode = str2.hashCode();
char c = 65535;
if (hashCode != 2427) {
if (hashCode != 2558) {
if (hashCode == 159567045 && str2.equals("COMMERCIAL_LOAN")) {
c = 2;
}
} else if (str2.equals("PN")) {
c = 1;
}
} else if (str2.equals("LG")) {
c = 0;
}
if (c == 0) {
c("accountsummary_businessloandetails", new pug("product", "letters_of_guarantee"));
} else if (c == 1) {
c("accountsummary_businessloandetails", new pug("product", "promissory_note"));
} else if (c == 2) {
c("accountsummary_businessloandetails", new pug("product", "commercial_loan"));
}
if (this.m == null) {
this.m = (SmeLoanStatusFragment) getSupportFragmentManager().findFragmentById(R.id.fragment_sme_loan_status);
}
SmeLoanStatusFragment smeLoanStatusFragment = this.m;
if (smeLoanStatusFragment != null && (customHorizontalProgressBar = smeLoanStatusFragment.mCustomProgressBarSmeLoanStatus) != null) {
customHorizontalProgressBar.setProgressMax(HwBuildEx.VersionCodes.CUR_DEVELOPMENT);
bPC bpc = smeLoanStatusFragment.mPresenter;
if (c0390Fm != null) {
if ("COMMERCIAL_LOAN".equalsIgnoreCase(c0390Fm.x)) {
ZI.IeS ieS = new ZI.IeS(c0390Fm) { // from class: o.bPE
private C0390Fm b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
bPC.a(this.b, (InterfaceC8943daQ.HBt) obj2);
}
{
this.b = c0390Fm;
}
};
if (bpc.f != 0) {
ieS.e(bpc.f);
}
} else if ("LG".equalsIgnoreCase(c0390Fm.x)) {
ZI.IeS ieS2 = new ZI.IeS(c0390Fm) { // from class: o.bPD
private C0390Fm b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
bPC.c(this.b, (InterfaceC8943daQ.HBt) obj2);
}
{
this.b = c0390Fm;
}
};
if (bpc.f != 0) {
ieS2.e(bpc.f);
}
} else if ("PN".equalsIgnoreCase(c0390Fm.x)) {
ZI.IeS ieS3 = new ZI.IeS(c0390Fm) { // from class: o.bPF
private C0390Fm a;
@Override // o.ZI.IeS
public final void e(Object obj2) {
bPC.e(this.a, (InterfaceC8943daQ.HBt) obj2);
}
{
this.a = c0390Fm;
}
};
if (bpc.f != 0) {
ieS3.e(bpc.f);
}
}
}
}
if (this.f7541o == null) {
this.f7541o = (SmeLoanDetailFragment) getSupportFragmentManager().findFragmentById(R.id.fragment_sme_loan_detail);
}
SmeLoanDetailFragment smeLoanDetailFragment = this.f7541o;
if (smeLoanDetailFragment != null) {
smeLoanDetailFragment.d = c0390Fm;
C4102bPy c4102bPy = smeLoanDetailFragment.mPresenter;
ZI.IeS ieS4 = new ZI.IeS(c0390Fm) { // from class: o.bPz
private C0390Fm a;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C4102bPy.a(this.a, (InterfaceC8943daQ.LWm) obj2);
}
{
this.a = c0390Fm;
}
};
if (c4102bPy.f != 0) {
ieS4.e(c4102bPy.f);
}
if (c0390Fm != null) {
String str3 = c0390Fm.x;
if ("COMMERCIAL_LOAN".equalsIgnoreCase(str3)) {
ZI.IeS ieS5 = new ZI.IeS(c0390Fm) { // from class: o.bPA
private C0390Fm d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C4102bPy.c(this.d, (InterfaceC8943daQ.LWm) obj2);
}
{
this.d = c0390Fm;
}
};
if (!(c4102bPy.f != 0)) {
return;
}
int i3 = p + 23;
q = i3 % 128;
int i4 = i3 % 2;
ieS5.e(c4102bPy.f);
int i5 = q + 55;
p = i5 % 128;
int i6 = i5 % 2;
return;
}
if ("PN".equalsIgnoreCase(str3)) {
ZI.IeS ieS6 = new ZI.IeS(c0390Fm) { // from class: o.bPB
private C0390Fm a;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C4102bPy.d(this.a, (InterfaceC8943daQ.LWm) obj2);
}
{
this.a = c0390Fm;
}
};
if (c4102bPy.f != 0) {
ieS6.e(c4102bPy.f);
return;
}
return;
}
if ("LG".equalsIgnoreCase(str3)) {
ZI.IeS ieS7 = new ZI.IeS(c0390Fm) { // from class: o.bPx
private C0390Fm c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C4102bPy.b(this.c, (InterfaceC8943daQ.LWm) obj2);
}
{
this.c = c0390Fm;
}
};
if (c4102bPy.f != 0) {
int i7 = q + 9;
p = i7 % 128;
int i8 = i7 % 2;
ieS7.e(c4102bPy.f);
}
}
}
}
}
@Override // com.scb.phone.view.fragment.loan.SmeLoanDetailFragment.LWm
public final void a(C0385Fj c0385Fj) {
int i = 2 % 2;
startActivity(new Intent(this, (Class<?>) LoanInputActivity.class).putExtra("com.scb.phone.EXTRA_LOAN_DISPLAY", c0385Fj));
int i2 = p + 11;
q = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 46 / 0;
}
}
@Override // o.AbstractActivityC8835dXf, 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 = q + 43;
p = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new char[]{30611, 60311, 30706, 63541, 15366, 47293, 24281, 50616, 15084, 19370, 3017, 31476, 60882, 1667, 47341, 44996, 37090, 53632, 30201, 56467, 17317, 27770, 8841, 4723, 63127, 16235, 57247, 18303, 47506, 51799}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.noti_bnpl_description).substring(0, 59).codePointAt(11) - 3632, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{22045, 12604, 39010, 25513, 51911, 20995, 15680, 33982, 28598, 63201, 24116, 14666, 32905, 27604, 62216, 23086, 9569, 36023}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_email_success_description).substring(47, 48).length() + 26422, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = p + 83;
q = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = q + 9;
p = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 491, 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) TextUtils.indexOf("", "", 0, 0))).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(486 - ((byte) KeyEvent.getModifierMetaStateMask()), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) Color.blue(0))).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();
}
@Override // o.AbstractActivityC8835dXf, 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 = q + 103;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = q + 75;
p = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aA(new char[]{30611, 60311, 30706, 63541, 15366, 47293, 24281, 50616, 15084, 19370, 3017, 31476, 60882, 1667, 47341, 44996, 37090, 53632, 30201, 56467, 17317, 27770, 8841, 4723, 63127, 16235, 57247, 18303, 47506, 51799}, ((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(new char[]{22045, 12604, 39010, 25513, 51911, 20995, 15680, 33982, 28598, 63201, 24116, 14666, 32905, 27604, 62216, 23086, 9569, 36023}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) + 26322, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = p + 57;
q = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 493, ExpandableListView.getPackedPositionChild(0L) + 6, (char) (TextUtils.indexOf((CharSequence) "", '0', 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((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 486, View.combineMeasuredStates(0, 0) + 5, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // o.AbstractActivityC8835dXf, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = q + 73;
p = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{25470, 35236, 25375, 24694, 59452, 55950, 50842, 4482, 11777, 10649, 37770, 44750, 63793, 25779, 8432, 31616, 33852, 46015, 60845, 2213, 22349, 3667}, ViewConfiguration.getScrollBarFadeDuration() >> 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{22035, 14564, 35821, 6846, 60822}, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 28387, 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 i4 = q + 23;
p = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
int i6 = q + 77;
p = i6 % 128;
int i7 = i6 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i8 = p + 19;
q = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 492, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) TextUtils.indexOf("", "", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new char[]{22095, 36410, 59052, 57157, 14209, 27682, 17578, 48442, 38276, 51788, 8754, 6894, 29481, 43979, 32775, 63739, 53548, 2542, 28250, 18127, 48817, 38693, 53245, 9234, 7376, 30067, 44467, 33386, 64137, 54080, 2912, 25506, 22575, 45208, 59648, 49654, 9780, 7812, 30478, 44953, 34740, 64545, 54425, 3354, 26073, 23153, 45745, 60247}, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 55410, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new char[]{22043, 12905, 40610, 31556, 51100, 41045, 3316, 59764, 30131, 56918, 47838, 1871, 58160, 20409, 10287, 46228, 4376, 64911, 18037, 8931, 36665, 27601, 62481, 20681, 15541, 39205, 26028, 52810, 43648, 14086, 37880, 31853, 55529, 42332, 449, 60896, 30271, 53935, 48962, 7119, 58368, 16545, 11565, 35311, 4695, 65246, 23374, 10087, 33770, 27683, 51394, 21766, 12761, 39551, 26341, 49983, 45022, 2064, 38093, 28849, 56612, 47613, 585, 61136}, 25718 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new char[]{22047, 1701, 63368, 42212, 5523, 49698, 45897, 24622, 53588, 33212, 32403, 12250, 40120, 19917, 14884, 60171, 22575, 2319, 63982, 22167, 2035, 62673, 42443, 4649, 50005, 45165, 24854, 53738, 36498, 32767, 11485, 40295, 18986, 15199, 59449, 22850, 2471, 59011, 22525, 1242, 62771, 41493, 4981, 49260, 45340, 25082, 56962, 36790, 31884, 11624, 39450, 19327, 14420, 59576, 22956, 14045, 59366, 21652, 1398, 62030, 41855, 4177, 49383, 45460}, 20708 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{22038, 44823, 42032, 48473, 45689, 35797, 33023, 39322, 40677, 37906, 60733, 57900, 64321, 61544, 51589, 52896, 51147, 56545, 53783, 11056, 8283, 14707, 15970, 14212, 3240, 1472, 6818, 4101, 26938, 28229, 26493, 31900, 30122, 19104, 17349, 22778, 24094, 22369, 44119, 42336, 47767, 45993, 35032, 33234, 34547, 39954, 38185, 59999, 58219, 63709, 61879, 63190, 53239, 50512, 55809, 54069, 10319, 8484, 9861, 16319, 13525, 3570, 779, 6185, 4369, 5717, 28470, 25798, 32175, 29401, 19445, 16667, 17954, 24392}, (-16713443) - Color.rgb(0, 0, 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{22087, 18015, 30296, 26237, 5746}, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4110, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{22043, 58004, 16218, 19435, 33846, 53488, 27912, 47491, 61963, 3755, 23328, 38882, 8344, 32092, 35280, 49769, 7935, 43892, 59285, 12366, 19648, 39292, 54767, 28206, 47940, 63374, Matrix.MATRIX_TYPE_RANDOM_REGULAR, 23734, 59773, 9636, 32343, 35486, 50986, 5024, 44089, 63770}, 46219 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 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 - (KeyEvent.getMaxKeyCode() >> 16), 5 - Drawable.resolveOpacity(0, 0), (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("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.AbstractActivityC8835dXf, 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 + 7;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = q + 69;
p = i4 % 128;
int i5 = i4 % 2;
}
}