what-the-bank/sources/com/scb/phone/view/activity/hml/HmlApplicationOutcomeActivi...

879 lines
44 KiB
Java

package com.scb.phone.view.activity.hml;
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.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.MotionEvent;
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.huawei.hms.support.feature.result.CommonConstant;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.fragment.hml.HmlOutcomeApproveFragment;
import com.scb.phone.view.fragment.hml.HmlOutcomeCounterOfferFragment;
import com.scb.phone.view.fragment.hml.HmlOutcomePendingFragment;
import com.scb.phone.view.fragment.hml.HmlOutcomePendingWithAIPFragment;
import com.scb.phone.view.fragment.hml.HmlOutcomeRejectFragment;
import com.scb.phone.view.fragment.hml.HmlOutcomeResubmissionFragment;
import com.scb.phone.view.fragment.hml.businessowner.HmlBusinessOwnerOutcomeApproveFragment;
import com.scb.phone.view.fragment.hml.businessowner.HmlBusinessOwnerOutcomePendingFragment;
import com.scb.phone.view.fragment.hml.businessowner.HmlBusinessOwnerResubmissionFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC8541dOh;
import o.AbstractC13482fbE;
import o.BlU;
import o.C0760Nz;
import o.C1261Zcv;
import o.C14957gcv;
import o.C5028blM;
import o.InterfaceC13391fZD;
import o.InterfaceC9248dgD;
import o.NB;
import o.NC;
import o.ND;
import o.NH;
import o.NI;
import o.Nhs;
import o.TVH;
import o.bTI;
import o.pug;
import o.xzZ;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public class HmlApplicationOutcomeActivity extends AbstractActivityC8541dOh implements InterfaceC9248dgD {
@InterfaceC13391fZD
public C5028blM presenter;
private static final byte[] $$y = {38, -26, Ascii.ESC, PSSSigner.TRAILER_IMPLICIT};
private static final int $$z = 110;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f7247o = 0;
private static int t = 1;
private static long b = 9051040786702654117L;
private static int k = 452713125;
private static char l = 37676;
private static char[] m = {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, 40028, 40124, 40117, 40118, 40125, 40127, 40119, 40110, 40104, 40112, 40114, 40126, 40122, 40102, 40126, 40114, 40124, 40114, 39953, 40007, 40006, 40005, 40007, 39993, 39999, 39998, 40000, 40001, 40000, 40047, 40040, 40042, 40006, 39998, 40002, 40001, 40001, 40001, 39998, 40006, 40001, 39993, 39998, 39998, 39992, 40001, 40006, 40004, 40005, 40007, 40007, 40007, 40005, 40005, 40001, 39994, 39992, 39997, 39999, 40000, 40046, 40040, 40041, 40001, 39992, 39997, 39959, 40006, 40001, 39999, 39996, 40007, 40042, 40040, 40046, 40040, 40007, 40006, 40006, 40007, 40000, 39997, 40004, 40006, 39992, 39999, 39999, 39999, 39997, 39999, 39992, 39998, 39993, 39994, 40001, 40007, 40000, 40001, 39992, 39999, 39992, 40002, 40001, 39998, 39999, 39999, 39996, 39996, 39997, 40000, 40000, 39997, 40006, 40041, 40007, 40007, 40042, 40000, 39998, 39992, 39992, 40007, 40040, 40005, 40004, 40005, 40006, 40006, 39997, 40000, 40049, 40063, 40108, 40111, 40108, 40051, 40110, 40099, 40062, 40060, 40057, 40060, 40056, 40056, 40063, 40060, 40060, 40104, 40111, 40061, 40109, 40048, 40051, 40049, 40108, 40099, 40049, 40110, 40063, 40050, 40057, 40056, 40057, 40099, 40111, 40104, 40049, 40057, 40061, 40111, 40108, 40062, 40048, 40063, 40108, 40108, 40062, 40104, 40062, 40057, 40049, 40104, 40050, 40110, 40049, 40060, 40104, 40099, 40104, 40057, 40099, 40057, 40048, 40051, 39955, 39972, 39992, 39992, 39992};
/* 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:0x002f). 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 aF(short r6, short r7, byte r8, java.lang.Object[] r9) {
/*
int r8 = r8 + 4
int r6 = r6 * 3
int r0 = 1 - r6
int r7 = 115 - r7
byte[] r1 = com.scb.phone.view.activity.hml.HmlApplicationOutcomeActivity.$$y
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L14
r3 = r8
r4 = r2
goto L2f
L14:
r3 = r2
L15:
r5 = r8
r8 = r7
r7 = r5
byte r4 = (byte) r8
int r7 = r7 + 1
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L29
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L29:
r3 = r1[r7]
r5 = r8
r8 = r7
r7 = r3
r3 = r5
L2f:
int r7 = -r7
int r7 = r7 + r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlApplicationOutcomeActivity.aF(short, short, byte, java.lang.Object[]):void");
}
public static Intent afw_(Context context, boolean z) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) HmlApplicationOutcomeActivity.class);
intent.putExtra("SHOW_PENDING_STATE", z);
int i2 = t + 89;
f7247o = i2 % 128;
int i3 = i2 % 2;
return intent;
}
private static void aD(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
char c2;
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
int i3 = $10 + 15;
$11 = i3 % 128;
int i4 = i3 % 2;
while (nhs.a < length3) {
int i5 = $11 + 79;
$10 = i5 % 128;
int i6 = i5 % 2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 44, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(352 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), TextUtils.getOffsetAfter("", 0) + 5, (char) (MotionEvent.axisFromString("") + 52129));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr4 = new Object[1];
aF(b2, b3, (byte) (b3 - 1), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 748, (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) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 != null) {
c2 = 2;
} else {
Class cls2 = (Class) xzZ.c(AndroidCharacter.getMirror('0') + 354, MotionEvent.axisFromString("") + 6, (char) ((ViewConfiguration.getTapTimeout() >> 16) + 21608));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 1);
Object[] objArr7 = new Object[1];
aF(b4, b5, (byte) (-b5), objArr7);
c2 = 2;
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (b ^ 9051040786702654117L)) ^ ((int) (k ^ 9051040786702654117L))) ^ ((char) (l ^ 9051040786702654117L)));
nhs.a++;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
@Override // o.AbstractActivityC8541dOh, 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];
aD((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_enter_pin).substring(12, 13).codePointAt(0) + 65310), new char[]{37793, 64124, 48330, 57895, 44390, 52256, 22381, 735, 12533, 50612, 58020, 27695, 19846, 58074, 42777, 48863, 48973, 2024}, new char[]{64615, 49812, 15952, 42751}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cash_rewards_eta_opr).substring(20, 21).length() - 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{0, 5, 0, 0}, false, new byte[]{1, 0, 0, 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 baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aE(new int[]{5, 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];
aE(new int[]{31, 18, 75, 0}, false, new byte[]{0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 492, 5 - Color.green(0), (char) Color.alpha(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE(new int[]{49, 48, 0, 5}, false, new byte[]{1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{97, 64, 0, 8}, false, new byte[]{0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{CipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384, 64, 66, 52}, true, null, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), new char[]{54052, 32731, 52912, 47337, 52798, 60021, 14311, 19114, 33930, 5118, 62232, 52316, 56652, 2274, 6187, 55034, 63875, 45412, 5603, 49886, 62825, 17827, 50796, 29493, 44063, 21636, 28158, 39419, 10181, 41577, 40119, 36849, 37644, 15441, 61047, 56634, 22234, 51784, 15972, 33890, 3739, 48061, 13892, 41753, 50199, 48537, 50186, 1041, 64097, 40490, 8415, 18198, 45340, 51305, 49626, 22939, 9269, 28448, 23608, 52958, 56531, 46176, 9313, 59011, 29977, 53516, 50733, 48667, 3439, 4936, 44236, 49578, 14535, 40365}, new char[]{11777, 48341, 'Q', 29473}, new char[]{0, 0, 0, 0}, ViewConfiguration.getKeyRepeatDelay() >> 16, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(new int[]{225, 5, 0, 0}, true, new byte[]{0, 0, 0, 0, 1}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.scbs_data_sharing_confirm_decline_tc_description).substring(54, 55).length() - 1), new char[]{15395, 39021, 21935, 33334, 8523, 34141, 50351, 39023, 3079, 42135, 39676, 1712, 50355, 33127, 22448, 23904, 40059, 48830, 37497, 28747, 3963, 11966, 40873, 33146, 27628, 31990, 5434, 3831, 22250, 59341, 36892, 22230, 48704, 41940, 2641, 45273}, new char[]{58968, 9824, 55393, 31339}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_account_inbound_error_description).substring(57, 58).length() - 1, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 487, 5 - Color.green(0), (char) TextUtils.getTrimmedLength(""))).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);
ad();
setContentView(R.layout.2131558575);
ButterKnife.Dg_(this);
Z();
this.presenter.e((C5028blM) this);
C5028blM c5028blM = this.presenter;
if (!getIntent().getBooleanExtra("SHOW_PENDING_STATE", false)) {
if (c5028blM.f != 0) {
int i2 = t + 29;
f7247o = i2 % 128;
int i3 = i2 % 2;
c5028blM.f.y();
}
c5028blM.b.c();
BlU blU = c5028blM.b;
blU.d(blU.i, new C5028blM.AnonymousClass3(c5028blM));
return;
}
if (c5028blM.f != 0) {
int i4 = f7247o + 83;
t = i4 % 128;
if (i4 % 2 != 0) {
c5028blM.f.y();
}
}
C1261Zcv c1261Zcv = c5028blM.e;
c1261Zcv.d(c1261Zcv.b(), new C5028blM.AnonymousClass4(c5028blM));
int i5 = f7247o + 107;
t = i5 % 128;
int i6 = i5 % 2;
}
public final void d(String str, boolean z) {
String str2;
int i = 2 % 2;
pug[] pugVarArr = new pug[3];
pugVarArr[0] = new pug("user_type", g());
pugVarArr[1] = new pug(CommonConstant.KEY_STATUS, str);
if (z) {
int i2 = t + 27;
f7247o = i2 % 128;
int i3 = i2 % 2;
str2 = "business_owner";
} else {
str2 = "consumer";
}
pugVarArr[2] = new pug("loan_type", str2);
c("p10x1_application_outcome", pugVarArr);
int i4 = t + 45;
f7247o = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC9248dgD
public void d(NB nb, bTI bti, Boolean bool) {
int i = 2 % 2;
int i2 = t + 67;
f7247o = i2 % 128;
int i3 = i2 % 2;
d("pending_application", bool.booleanValue());
if (bti == bTI.BUSINESS_OWNER) {
HmlBusinessOwnerOutcomePendingFragment c = HmlBusinessOwnerOutcomePendingFragment.c(nb);
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, c, null, 1);
a.b();
return;
}
HmlOutcomePendingFragment e = HmlOutcomePendingFragment.e(nb);
AbstractC13482fbE a2 = getSupportFragmentManager().a();
a2.b(R.id.container, e, null, 1);
a2.b();
int i4 = t + 89;
f7247o = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 13 / 0;
}
}
@Override // o.InterfaceC9248dgD
public final void e(C0760Nz c0760Nz, Boolean bool) {
int i = 2 % 2;
d("approval_in_principle", bool.booleanValue());
HmlOutcomePendingWithAIPFragment.HBt hBt = HmlOutcomePendingWithAIPFragment.c;
C14957gcv.e(c0760Nz, "");
HmlOutcomePendingWithAIPFragment hmlOutcomePendingWithAIPFragment = new HmlOutcomePendingWithAIPFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("HML_OUTCOME_PENDING_WITH_AIP_EXTRA", c0760Nz);
hmlOutcomePendingWithAIPFragment.setArguments(bundle);
AbstractC13482fbE a = getSupportFragmentManager().a();
Object obj = null;
a.b(R.id.container, hmlOutcomePendingWithAIPFragment, null, 1);
a.b();
int i2 = t + 17;
f7247o = i2 % 128;
if (i2 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9248dgD
public void b(NC nc, Boolean bool, bTI bti) {
int i = 2 % 2;
int i2 = f7247o + 87;
t = i2 % 128;
if (i2 % 2 != 0) {
d("approved_loan", bool.booleanValue());
if (bti == bTI.BUSINESS_OWNER) {
HmlBusinessOwnerOutcomeApproveFragment.IeS ieS = HmlBusinessOwnerOutcomeApproveFragment.c;
C14957gcv.e(nc, "");
HmlBusinessOwnerOutcomeApproveFragment hmlBusinessOwnerOutcomeApproveFragment = new HmlBusinessOwnerOutcomeApproveFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("HML_OUTCOME_APPROVE_EXTRA", nc);
hmlBusinessOwnerOutcomeApproveFragment.setArguments(bundle);
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, hmlBusinessOwnerOutcomeApproveFragment, null, 1);
a.b();
int i3 = f7247o + 23;
t = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 62 / 0;
return;
}
return;
}
HmlOutcomeApproveFragment e = HmlOutcomeApproveFragment.e(nc);
AbstractC13482fbE a2 = getSupportFragmentManager().a();
a2.b(R.id.container, e, null, 1);
a2.b();
return;
}
d("approved_loan", bool.booleanValue());
bTI bti2 = bTI.BUSINESS_OWNER;
throw null;
}
@Override // o.InterfaceC9248dgD
public void b(ND nd, Boolean bool) {
int i = 2 % 2;
int i2 = f7247o + 123;
t = i2 % 128;
int i3 = i2 % 2;
d("counter_offer", bool.booleanValue());
HmlOutcomeCounterOfferFragment d = HmlOutcomeCounterOfferFragment.d(nd);
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, d, null, 1);
a.b();
}
@Override // o.InterfaceC9248dgD
public final void a(ND nd, Boolean bool) {
int i = 2 % 2;
int i2 = f7247o + 47;
t = i2 % 128;
int i3 = i2 % 2;
d("counter_offer_upsell", bool.booleanValue());
HmlOutcomeCounterOfferFragment b2 = HmlOutcomeCounterOfferFragment.b(nd, true);
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, b2, null, 1);
a.b();
}
@Override // o.InterfaceC9248dgD
public void d(NH nh, bTI bti, Boolean bool) {
int i = 2 % 2;
int i2 = t + 53;
f7247o = i2 % 128;
int i3 = i2 % 2;
d("document_resubmission", bool.booleanValue());
if (bti == bTI.BUSINESS_OWNER) {
HmlBusinessOwnerResubmissionFragment.HBt hBt = HmlBusinessOwnerResubmissionFragment.d;
C14957gcv.e(nh, "");
HmlBusinessOwnerResubmissionFragment hmlBusinessOwnerResubmissionFragment = new HmlBusinessOwnerResubmissionFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("HML_OUTCOME_RESUBMISSION_EXTRA", nh);
hmlBusinessOwnerResubmissionFragment.setArguments(bundle);
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, hmlBusinessOwnerResubmissionFragment, null, 1);
a.b();
return;
}
HmlOutcomeResubmissionFragment e = HmlOutcomeResubmissionFragment.e(nh);
AbstractC13482fbE a2 = getSupportFragmentManager().a();
a2.b(R.id.container, e, null, 1);
a2.b();
int i4 = f7247o + 35;
t = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC9248dgD
public void c(NI ni, bTI bti, Boolean bool) {
int i = 2 % 2;
int i2 = f7247o + 105;
t = i2 % 128;
int i3 = i2 % 2;
d("rejected_loan", bool.booleanValue());
HmlOutcomeRejectFragment d = HmlOutcomeRejectFragment.d(ni, bti);
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, d, null, 1);
a.b();
int i4 = t + 35;
f7247o = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC9248dgD
public void d() {
int i = 2 % 2;
int i2 = t + 77;
f7247o = i2 % 128;
if (i2 % 2 != 0) {
j(true);
} else {
j(false);
}
int i3 = t + 9;
f7247o = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 88 / 0;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public void onDestroy() {
int i = 2 % 2;
int i2 = t + 101;
f7247o = i2 % 128;
int i3 = i2 % 2;
this.presenter.w_();
super.onDestroy();
int i4 = t + 27;
f7247o = i4 % 128;
int i5 = i4 % 2;
}
private static void aE(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr = m;
int i9 = -1;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 223, View.combineMeasuredStates(i4, i4) + 5, (char) (41977 - (ViewConfiguration.getWindowTouchSlop() >> 8)));
byte b2 = (byte) i4;
byte b3 = (byte) i9;
Object[] objArr3 = new Object[1];
aF(b2, (byte) (b2 | ISO7816.INS_UNBLOCK_CHV), b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
int i11 = $11 + 59;
$10 = i11 % 128;
int i12 = i11 % 2;
i4 = 0;
i9 = -1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i6];
System.arraycopy(cArr, i5, cArr3, 0, i6);
if (bArr != null) {
char[] cArr4 = new char[i6];
tvh.c = 0;
char c = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i13 = tvh.c;
try {
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(503 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 4 - ExpandableListView.getPackedPositionChild(0L), (char) (55 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i13] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i14 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - ExpandableListView.getPackedPositionType(0L), Color.blue(0) + 5, (char) ((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i14] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 401, Color.alpha(0) + 5, (char) (21608 - Drawable.resolveOpacity(0, 0)));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aF(b4, (byte) (b4 | ISO7816.INS_PSO), (byte) (-1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i8 > 0) {
int i15 = $10 + 59;
$11 = i15 % 128;
int i16 = i15 % 2;
char[] cArr5 = new char[i6];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i6);
int i17 = i6 - i8;
System.arraycopy(cArr5, 0, cArr3, i17, i8);
System.arraycopy(cArr5, i8, cArr3, 0, i17);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i6];
tvh.c = i;
while (tvh.c < i6) {
int i18 = $11 + 91;
$10 = i18 % 128;
if (i18 % 2 != 0) {
cArr6[tvh.c] = cArr3[(i6 / tvh.c) % 1];
i2 = tvh.c;
} else {
cArr6[tvh.c] = cArr3[(i6 - tvh.c) - 1];
i2 = tvh.c + 1;
}
tvh.c = i2;
int i19 = $10 + 103;
$11 = i19 % 128;
int i20 = i19 % 2;
}
cArr3 = cArr6;
}
if (i7 > 0) {
int i21 = 0;
while (true) {
tvh.c = i21;
if (tvh.c >= i6) {
break;
}
int i22 = $11 + 93;
$10 = i22 % 128;
if (i22 % 2 != 0) {
cArr3[tvh.c] = (char) (cArr3[tvh.c] >>> iArr[2]);
} else {
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
}
i21 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@Override // o.AbstractActivityC8541dOh, 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 = t + 27;
f7247o = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = f7247o + 103;
t = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aE(new int[]{5, 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];
aE(new int[]{31, 18, 75, 0}, false, new byte[]{0, 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) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 492, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (TextUtils.indexOf((CharSequence) "", '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 - TextUtils.indexOf("", ""), Color.red(0) + 5, (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC8541dOh, 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 = f7247o + 33;
t = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aE(new int[]{5, 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];
aE(new int[]{31, 18, 75, 0}, false, new byte[]{0, 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) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(493 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 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(TextUtils.indexOf((CharSequence) "", '0') + 488, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i3 = t + 99;
f7247o = i3 % 128;
if (i3 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
getBaseContext();
throw null;
}
@Override // o.AbstractActivityC8541dOh, 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 = t + 25;
f7247o = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD((char) (65342 - TextUtils.getCapsMode("", 0, 0)), new char[]{37793, 64124, 48330, 57895, 44390, 52256, 22381, 735, 12533, 50612, 58020, 27695, 19846, 58074, 42777, 48863, 48973, 2024}, new char[]{64615, 49812, 15952, 42751}, new char[]{0, 0, 0, 0}, TextUtils.indexOf("", "", 0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{0, 5, 0, 0}, false, new byte[]{1, 0, 0, 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) {
if (context != null) {
context2 = context.getApplicationContext();
int i4 = f7247o + 81;
t = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 492, 5 - (Process.myTid() >> 22), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE(new int[]{49, 48, 0, 5}, false, new byte[]{1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new int[]{97, 64, 0, 8}, false, new byte[]{0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new int[]{CipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384, 64, 66, 52}, true, null, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD((char) (ViewConfiguration.getScrollDefaultDelay() >> 16), new char[]{54052, 32731, 52912, 47337, 52798, 60021, 14311, 19114, 33930, 5118, 62232, 52316, 56652, 2274, 6187, 55034, 63875, 45412, 5603, 49886, 62825, 17827, 50796, 29493, 44063, 21636, 28158, 39419, 10181, 41577, 40119, 36849, 37644, 15441, 61047, 56634, 22234, 51784, 15972, 33890, 3739, 48061, 13892, 41753, 50199, 48537, 50186, 1041, 64097, 40490, 8415, 18198, 45340, 51305, 49626, 22939, 9269, 28448, 23608, 52958, 56531, 46176, 9313, 59011, 29977, 53516, 50733, 48667, 3439, 4936, 44236, 49578, 14535, 40365}, new char[]{11777, 48341, 'Q', 29473}, new char[]{0, 0, 0, 0}, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{225, 5, 0, 0}, true, new byte[]{0, 0, 0, 0, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD((char) Color.argb(0, 0, 0, 0), new char[]{15395, 39021, 21935, 33334, 8523, 34141, 50351, 39023, 3079, 42135, 39676, 1712, 50355, 33127, 22448, 23904, 40059, 48830, 37497, 28747, 3963, 11966, 40873, 33146, 27628, 31990, 5434, 3831, 22250, 59341, 36892, 22230, 48704, 41940, 2641, 45273}, new char[]{58968, 9824, 55393, 31339}, new char[]{0, 0, 0, 0}, View.MeasureSpec.getMode(0), 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((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 487, 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) ((-1) - TextUtils.lastIndexOf("", '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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.AbstractActivityC8541dOh, 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 = t + 13;
f7247o = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
int i4 = t + 27;
f7247o = i4 % 128;
int i5 = i4 % 2;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = f7247o + 117;
t = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 57 / 0;
}
}
protected String g() {
int i = 2 % 2;
int i2 = t;
int i3 = i2 + 51;
f7247o = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 113;
f7247o = i5 % 128;
if (i5 % 2 == 0) {
return "etb";
}
throw null;
}
}