what-the-bank/sources/com/scb/phone/view/activity/partner/nsip/NsipPaymentLandingActivity....

915 lines
48 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.partner.nsip;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
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 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.parntner.nsip.NsipPaymentAddAccountFragment;
import java.lang.reflect.Method;
import o.AbstractC13482fbE;
import o.C14957gcv;
import o.C4403bZM;
import o.C4593bdB;
import o.C7182cjU;
import o.InterfaceC13391fZD;
import o.InterfaceC9478dkW;
import o.TI;
import o.ZI;
import o.xzZ;
/* loaded from: classes5.dex */
public final class NsipPaymentLandingActivity extends Hilt_NsipPaymentLandingActivity implements InterfaceC9478dkW.Sts {
public static final LWm m;
private static long q;
private static int[] r;
private static int t;
private String k = "";
private TI l;
/* renamed from: o, reason: collision with root package name */
private boolean f7703o;
@InterfaceC13391fZD
public C7182cjU presenter;
private static final byte[] $$p = {63, -72, 116, -100};
private static final int $$q = 7;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
/* 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 aC(byte r6, byte r7, int r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 4
int r8 = 4 - r8
int r7 = 104 - r7
int r6 = r6 * 3
int r0 = 1 - r6
byte[] r1 = com.scb.phone.view.activity.partner.nsip.NsipPaymentLandingActivity.$$p
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L16
r3 = r8
r4 = r2
goto L2e
L16:
r3 = r2
r5 = r8
r8 = r7
r7 = r5
L1a:
byte r4 = (byte) r8
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 = r3
r3 = r7
r7 = r5
L2e:
int r8 = r8 + r7
int r7 = r3 + 1
r3 = r4
goto L1a
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.partner.nsip.NsipPaymentLandingActivity.aC(byte, byte, int, java.lang.Object[]):void");
}
/* loaded from: classes5.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
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 + 17;
$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((Process.myTid() >> 22) + 402, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (View.MeasureSpec.getSize(0) + 21608));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aC(b, (byte) (b | Ascii.ESC), b, 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() ^ (q ^ (-6958928035870403642L));
try {
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.resolveSize(0, 0) + 238, 5 - Color.blue(0), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aC(b2, (byte) (b2 | Ascii.SUB), b2, 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(402 - TextUtils.indexOf("", ""), TextUtils.getOffsetBefore("", 0) + 5, (char) (TextUtils.getTrimmedLength("") + 21608));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b3, (byte) (b3 | Ascii.ESC), b3, 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() ^ (q ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(238 - (ViewConfiguration.getTouchSlop() >> 8), 5 - Color.green(0), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16));
byte b4 = (byte) 0;
Object[] objArr9 = new Object[1];
aC(b4, (byte) (b4 | Ascii.SUB), b4, 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) {
int i6 = $11 + 115;
$10 = i6 % 128;
if (i6 % 2 != 0) {
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(KeyEvent.normalizeMetaState(0) + 238, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))));
byte b5 = (byte) 0;
Object[] objArr11 = new Object[1];
aC(b5, (byte) (b5 | Ascii.SUB), b5, objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
throw null;
}
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr12 = {c4593bdB, c4593bdB};
Object obj6 = xzZ.y.get(-1143917229);
if (obj6 == null) {
Class cls6 = (Class) xzZ.c(238 - (ViewConfiguration.getLongPressTimeout() >> 16), Color.red(0) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8));
byte b6 = (byte) 0;
Object[] objArr13 = new Object[1];
aC(b6, (byte) (b6 | Ascii.SUB), b6, objArr13);
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj6);
}
((Method) obj6).invoke(null, objArr12);
}
objArr[0] = new String(cArr2);
}
@Override // com.scb.phone.view.activity.partner.nsip.Hilt_NsipPaymentLandingActivity, 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 final void onCreate(Bundle bundle) {
Bundle extras;
int i = 2 % 2;
Object[] objArr = new Object[1];
aA(new int[]{-669266124, -318379753, 387252814, 240820479, -614652088, 587879503, -1589107676, -688354171, -1444756467, 446626373}, 18 - (KeyEvent.getMaxKeyCode() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{-717368643, 570758117, -2120185539, -1616910084}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.investment_deeplink_my_alert_no_account_dialog_description).substring(67, 68).length() + 4, 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) {
int i2 = t + 79;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aB(new char[]{10552, 35456, 28243, 49678, 42986, 7075, 65399, 21366, 13440, 59462, 19471, 8618, 34188, 31089, 56623, 48777, 4703, 62999, 44019, 4021, 58177, 18226, 14481, 40013, 28688, 54754}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 41877, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new int[]{2005417323, 22895116, -1964669324, -2143117849, 1921776263, -1297184824, -1719441693, -1838818403, 1563015527, -1339304813}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_om_header).substring(21, 22).length() + 17, 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(KeyEvent.keyCodeFromString("") + 492, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new int[]{-789787349, -735807601, -1528096739, 1737472777, -1832979587, 335854560, -1214216001, -698185454, -1331504744, -1018210818, -1264934582, -608017356, -1083158636, 1968439274, -80450613, 2076868446, 202936345, -2019347268, -1845364273, -888291899, -1738336143, -915619173, 1608992388, 1767284732}, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 48, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{10556, 19304, 60873, 4037, 40995, 49828, 25759, 39205, 15268, 23943, 65109, 4350, 45711, 55128, 18916, 60341, 3167, 44782, 49342, 25922, 34630, 14752, 23066, 64536, 7842, 45940, 54535, 30715, 59519, 2567, 44243, 49516, 25358, 34269, 9834, 22625, 64192, 7326, 45417, 54174, 30103, 38512, 2214, 43678, 53032, 25087, 33669, 9222, 18093, 63618, 7433, 49127, 53734, 29262, 38126, 14062, 43849, 52545, 28582, 32832, 8731, 17660, 63778, 6993}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_tab_travel_service_block_domestic_description).substring(23, 24).length() + 25170, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{-781678683, 854571221, 954865983, -1729548844, -1422050289, -785661895, 1658097142, 748412857, 448647455, -2004898195, 2058044020, -1299374283, -1584780088, 629667832, -850595654, 226898916, 448506274, 1561953963, 241034491, -1649152797, -61943174, -86589236, -1933856631, 1030435062, 1910223582, 1094112848, -1527268235, 1425805668, -1372861059, 232487391, 1300666069, -1794968535}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_app_outcome_upselling_custom_maximum_inline_error).substring(34, 35).codePointAt(0) + 32, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{10545, 10086, 13755, 968, 4102, 28180, 31924, 19835, 23410, 43411, 42966, 46093, 33470, 37113, 57646, 65361, 52620, 56272, 10364, 9889, 13540, 1298, 4937, 24965, 32319, 19553, 23273, 43204, 47365, 46932, 34294, 37421, 57421, 65169, 52430, 56683, 11169, 14752, 13852, 1089, 4736, 25384, 29043, 20403, 24012, 43523, 47170, 46830, 34604, 38188, 58268, 61895, 52744, 56561, 10986, 15156, 2392, 1989, 5582, 25214, 28842, 20195, 24320, 44376, 48054, 34852, 34365, 38103, 58064, 62232, 49598, 57338, 11317, 14921}, 3660 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new int[]{1274133009, -1431644871, 574044087, -297779047}, TextUtils.lastIndexOf("", '0', 0, 0) + 6, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new int[]{911374350, 608858160, 789440055, -824548885, 1512960417, -1436865439, 967729095, -109941720, 1647736803, 872497977, 1388862408, 354335926, 1387843985, -242449185, -934053990, -1085141897, 657584839, -2138554795}, ((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(TextUtils.indexOf((CharSequence) "", '0') + 488, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).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);
setContentView(R.layout.2131558698);
ButterKnife.Dg_(this);
C7182cjU c7182cjU = this.presenter;
if (c7182cjU != null) {
int i4 = t + 79;
p = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
c7182cjU = null;
}
c7182cjU.e((C7182cjU) this);
Intent intent = getIntent();
if (intent != null && (extras = intent.getExtras()) != null) {
this.f7703o = extras.getBoolean("KEY_IS_ELIGIBLE_ACCOUNT");
TI ti = (TI) extras.getParcelable("KEY_NSIP_PARTNER_PAYMENT_DISPLAY");
if (ti != null) {
C14957gcv.c(ti, "");
this.l = ti;
}
String string = extras.getString("KEY_DEEPLINK_ID");
if (string != null) {
C14957gcv.c((Object) string, "");
this.k = string;
}
}
Z();
p(getString(R.string.nsip_payment_title));
ac();
C7182cjU c7182cjU2 = this.presenter;
if (c7182cjU2 == null) {
C14957gcv.a("");
c7182cjU2 = null;
}
if (this.f7703o) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.cjX
@Override // o.ZI.IeS
public final void e(Object obj3) {
((InterfaceC9478dkW.Sts) obj3).c();
}
};
if (c7182cjU2.f != 0) {
int i6 = p + 1;
t = i6 % 128;
if (i6 % 2 != 0) {
ieS.e(c7182cjU2.f);
return;
} else {
ieS.e(c7182cjU2.f);
throw null;
}
}
return;
}
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cjV
@Override // o.ZI.IeS
public final void e(Object obj3) {
((InterfaceC9478dkW.Sts) obj3).b();
}
};
if (c7182cjU2.f != 0) {
int i7 = p;
int i8 = i7 + 5;
t = i8 % 128;
int i9 = i8 % 2;
int i10 = i7 + 7;
t = i10 % 128;
if (i10 % 2 != 0) {
ieS2.e(c7182cjU2.f);
} else {
ieS2.e(c7182cjU2.f);
int i11 = 35 / 0;
}
}
}
private static void aA(int[] iArr, int i, Object[] objArr) {
int length;
int[] iArr2;
int i2;
int[] iArr3;
char c;
int i3 = 2;
int i4 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = r;
int i5 = 1;
int i6 = 0;
if (iArr4 != null) {
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int i7 = 0;
while (i7 < length2) {
int i8 = $10 + 3;
$11 = i8 % 128;
if (i8 % i3 == 0) {
try {
Object[] objArr2 = new Object[i5];
objArr2[0] = Integer.valueOf(iArr4[i7]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 16, 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) (TextUtils.getOffsetBefore("", 0) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr5[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7 %= 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr3 = {Integer.valueOf(iArr4[i7])};
Object obj2 = xzZ.y.get(729798706);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 15, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr5[i7] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i7++;
}
i3 = 2;
i5 = 1;
}
iArr4 = iArr5;
}
int length3 = iArr4.length;
int[] iArr6 = new int[length3];
int[] iArr7 = r;
if (iArr7 != null) {
int i9 = $10 + 125;
$11 = i9 % 128;
if (i9 % 2 == 0) {
length = iArr7.length;
iArr2 = new int[length];
i2 = 1;
} else {
length = iArr7.length;
iArr2 = new int[length];
i2 = 0;
}
while (i2 < length) {
Object[] objArr4 = new Object[1];
objArr4[i6] = Integer.valueOf(iArr7[i2]);
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
iArr3 = iArr7;
c = 55346;
} else {
iArr3 = iArr7;
obj3 = ((Class) xzZ.c(View.MeasureSpec.getMode(0) + 15, KeyEvent.normalizeMetaState(0) + 5, (char) (58133 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)))).getMethod("i", Integer.TYPE);
c = 55346;
xzZ.y.put(729798706, obj3);
}
iArr2[i2] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i2++;
iArr7 = iArr3;
i6 = 0;
}
iArr7 = iArr2;
}
int i10 = i6;
System.arraycopy(iArr7, i10, iArr6, i10, length3);
c4403bZM.b = i10;
while (c4403bZM.b < iArr.length) {
cArr[i10] = (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(iArr6);
int i11 = 0;
for (int i12 = 16; i11 < i12; i12 = 16) {
int i13 = $11 + 105;
$10 = i13 % 128;
int i14 = i13 % 2;
c4403bZM.e ^= iArr6[i11];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls = (Class) xzZ.c(View.MeasureSpec.getMode(0) + 118, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (ViewConfiguration.getPressedStateDuration() >> 16));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr6 = new Object[1];
aC(b, b2, b2, objArr6);
obj4 = cls.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;
i11++;
}
int i15 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i15;
c4403bZM.a ^= iArr6[16];
c4403bZM.e ^= iArr6[17];
int i16 = c4403bZM.e;
int i17 = 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(iArr6);
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];
try {
Object[] objArr7 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 98, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) Color.green(0));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 2);
Object[] objArr8 = new Object[1];
aC(b3, b4, (byte) (b4 - 2), objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr7);
i10 = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX INFO: Access modifiers changed from: private */
/* JADX WARN: Code restructure failed: missing block: B:21:0x002a, code lost:
if (r2 != null) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0023, code lost:
if (r2 != null) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x002c, code lost:
r0 = r2.getString("NSIP_TRACKER_FROM", o.C17437wka.b.d);
*/
/* JADX WARN: Removed duplicated region for block: B:10:0x003a */
/* JADX WARN: Removed duplicated region for block: B:13:0x0052 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ java.lang.Object e(java.lang.Object[] r9) {
/*
r0 = 0
r9 = r9[r0]
com.scb.phone.view.activity.partner.nsip.NsipPaymentLandingActivity r9 = (com.scb.phone.view.activity.partner.nsip.NsipPaymentLandingActivity) r9
r1 = 2
int r2 = r1 % r1
android.content.Intent r2 = r9.getIntent()
java.lang.String r3 = "NSIP_TRACKER_FROM"
r4 = 0
if (r2 == 0) goto L35
int r5 = com.scb.phone.view.activity.partner.nsip.NsipPaymentLandingActivity.t
int r5 = r5 + 123
int r6 = r5 % 128
com.scb.phone.view.activity.partner.nsip.NsipPaymentLandingActivity.p = r6
int r5 = r5 % r1
if (r5 == 0) goto L26
android.os.Bundle r2 = r2.getExtras()
r5 = 32
int r5 = r5 / r0
if (r2 == 0) goto L35
goto L2c
L26:
android.os.Bundle r2 = r2.getExtras()
if (r2 == 0) goto L35
L2c:
o.wka$LWm$LWm r0 = o.C17437wka.b
java.lang.String r0 = r0.d
java.lang.String r0 = r2.getString(r3, r0)
goto L36
L35:
r0 = r4
L36:
java.lang.String r2 = ""
if (r0 != 0) goto L44
int r0 = com.scb.phone.view.activity.partner.nsip.NsipPaymentLandingActivity.p
int r0 = r0 + 39
int r5 = r0 % 128
com.scb.phone.view.activity.partner.nsip.NsipPaymentLandingActivity.t = r5
int r0 = r0 % r1
r0 = r2
L44:
o.yRS r5 = r9.getSupportFragmentManager()
o.fbE r5 = r5.a()
com.scb.phone.view.fragment.parntner.nsip.NsipPaymentInputFragment$LWm r6 = com.scb.phone.view.fragment.parntner.nsip.NsipPaymentInputFragment.c
o.TI r6 = r9.l
if (r6 != 0) goto L63
o.C14957gcv.a(r2)
int r6 = com.scb.phone.view.activity.partner.nsip.NsipPaymentLandingActivity.p
int r6 = r6 + 63
int r7 = r6 % 128
com.scb.phone.view.activity.partner.nsip.NsipPaymentLandingActivity.t = r7
int r6 = r6 % r1
if (r6 != 0) goto L62
r6 = 3
int r6 = r6 / r6
L62:
r6 = r4
L63:
java.lang.String r9 = r9.k
o.C14957gcv.e(r6, r2)
o.C14957gcv.e(r9, r2)
o.C14957gcv.e(r0, r2)
com.scb.phone.view.fragment.parntner.nsip.NsipPaymentInputFragment r2 = new com.scb.phone.view.fragment.parntner.nsip.NsipPaymentInputFragment
r2.<init>()
android.os.Bundle r7 = new android.os.Bundle
r7.<init>()
java.lang.String r8 = "KEY_NSIP_PARTNER_PAYMENT_DISPLAY"
android.os.Parcelable r6 = (android.os.Parcelable) r6
r7.putParcelable(r8, r6)
java.lang.String r6 = "KEY_DEEPLINK_ID"
r7.putString(r6, r9)
r7.putString(r3, r0)
r2.setArguments(r7)
androidx.fragment.app.Fragment r2 = (androidx.fragment.app.Fragment) r2
r9 = 2131362782(0x7f0a03de, float:1.8345354E38)
r5.b(r9, r2, r4, r1)
r5.b()
return r4
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.partner.nsip.NsipPaymentLandingActivity.e(java.lang.Object[]):java.lang.Object");
}
@Override // o.InterfaceC9478dkW.Sts
public final void b() {
int i = 2 % 2;
AbstractC13482fbE a = getSupportFragmentManager().a();
NsipPaymentAddAccountFragment.Sts sts = NsipPaymentAddAccountFragment.d;
a.b(R.id.container, new NsipPaymentAddAccountFragment(), null, 2);
a.b();
int i2 = t + 33;
p = i2 % 128;
int i3 = i2 % 2;
}
@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 final void onDestroy() {
int i = 2 % 2;
int i2 = t;
int i3 = i2 + 19;
p = i3 % 128;
int i4 = i3 % 2;
C7182cjU c7182cjU = this.presenter;
Object obj = null;
if (c7182cjU != null) {
int i5 = i2 + 1;
p = i5 % 128;
if (i5 % 2 != 0) {
obj.hashCode();
throw null;
}
} else {
C14957gcv.a("");
c7182cjU = null;
}
c7182cjU.w_();
super.onDestroy();
}
@Override // com.scb.phone.view.activity.partner.nsip.Hilt_NsipPaymentLandingActivity, 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 final void onResume() {
int i = 2 % 2;
int i2 = t + 9;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = p + 61;
t = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aB(new char[]{10552, 35456, 28243, 49678, 42986, 7075, 65399, 21366, 13440, 59462, 19471, 8618, 34188, 31089, 56623, 48777, 4703, 62999, 44019, 4021, 58177, 18226, 14481, 40013, 28688, 54754}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 41877, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{2005417323, 22895116, -1964669324, -2143117849, 1921776263, -1297184824, -1719441693, -1838818403, 1563015527, -1339304813}, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 19, 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 = t + 71;
p = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getTouchSlop() >> 8), TextUtils.indexOf("", "", 0, 0) + 5, (char) View.resolveSize(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(487 - ExpandableListView.getPackedPositionType(0L), Gravity.getAbsoluteGravity(0, 0) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
int i7 = 57 / 0;
} else {
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 492, Color.red(0) + 5, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(Process.getGidForName("") + 488, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i8 = p + 9;
t = i8 % 128;
if (i8 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.partner.nsip.Hilt_NsipPaymentLandingActivity, 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 final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new char[]{10552, 35456, 28243, 49678, 42986, 7075, 65399, 21366, 13440, 59462, 19471, 8618, 34188, 31089, 56623, 48777, 4703, 62999, 44019, 4021, 58177, 18226, 14481, 40013, 28688, 54754}, 41911 - View.MeasureSpec.makeMeasureSpec(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{2005417323, 22895116, -1964669324, -2143117849, 1921776263, -1297184824, -1719441693, -1838818403, 1563015527, -1339304813}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = t + 125;
p = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = t + 85;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getTapTimeout() >> 16), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).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 - ((Process.getThreadPriority(0) + 20) >> 6), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).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 // com.scb.phone.view.activity.partner.nsip.Hilt_NsipPaymentLandingActivity, 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 final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new int[]{-669266124, -318379753, 387252814, 240820479, -614652088, 587879503, -1589107676, -688354171, -1444756467, 446626373}, 18 - View.MeasureSpec.makeMeasureSpec(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{-717368643, 570758117, -2120185539, -1616910084}, 5 - Color.blue(0), objArr2);
Object obj = null;
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 i2 = p + 31;
t = i2 % 128;
if (i2 % 2 == 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i3 = p + 47;
t = i3 % 128;
int i4 = i3 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 492, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new int[]{-789787349, -735807601, -1528096739, 1737472777, -1832979587, 335854560, -1214216001, -698185454, -1331504744, -1018210818, -1264934582, -608017356, -1083158636, 1968439274, -80450613, 2076868446, 202936345, -2019347268, -1845364273, -888291899, -1738336143, -915619173, 1608992388, 1767284732}, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new char[]{10556, 19304, 60873, 4037, 40995, 49828, 25759, 39205, 15268, 23943, 65109, 4350, 45711, 55128, 18916, 60341, 3167, 44782, 49342, 25922, 34630, 14752, 23066, 64536, 7842, 45940, 54535, 30715, 59519, 2567, 44243, 49516, 25358, 34269, 9834, 22625, 64192, 7326, 45417, 54174, 30103, 38512, 2214, 43678, 53032, 25087, 33669, 9222, 18093, 63618, 7433, 49127, 53734, 29262, 38126, 14062, 43849, 52545, 28582, 32832, 8731, 17660, 63778, 6993}, 25171 - ExpandableListView.getPackedPositionGroup(0L), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new int[]{-781678683, 854571221, 954865983, -1729548844, -1422050289, -785661895, 1658097142, 748412857, 448647455, -2004898195, 2058044020, -1299374283, -1584780088, 629667832, -850595654, 226898916, 448506274, 1561953963, 241034491, -1649152797, -61943174, -86589236, -1933856631, 1030435062, 1910223582, 1094112848, -1527268235, 1425805668, -1372861059, 232487391, 1300666069, -1794968535}, Color.green(0) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{10545, 10086, 13755, 968, 4102, 28180, 31924, 19835, 23410, 43411, 42966, 46093, 33470, 37113, 57646, 65361, 52620, 56272, 10364, 9889, 13540, 1298, 4937, 24965, 32319, 19553, 23273, 43204, 47365, 46932, 34294, 37421, 57421, 65169, 52430, 56683, 11169, 14752, 13852, 1089, 4736, 25384, 29043, 20403, 24012, 43523, 47170, 46830, 34604, 38188, 58268, 61895, 52744, 56561, 10986, 15156, 2392, 1989, 5582, 25214, 28842, 20195, 24320, 44376, 48054, 34852, 34365, 38103, 58064, 62232, 49598, 57338, 11317, 14921}, 3659 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{1274133009, -1431644871, 574044087, -297779047}, View.MeasureSpec.getMode(0) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{911374350, 608858160, 789440055, -824548885, 1512960417, -1436865439, 967729095, -109941720, 1647736803, 872497977, 1388862408, 354335926, 1387843985, -242449185, -934053990, -1085141897, 657584839, -2138554795}, View.resolveSize(0, 0) + 36, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 487, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
int i5 = t + 1;
p = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
static void g() {
r = new int[]{1900105665, -1521289085, 1729889908, -1729181909, -285994638, -1172578108, -2063393553, -767785749, 142823803, 2109809549, -1282899154, 223841830, 1901136498, 726904533, 108207591, -934718065, -1587532278, -1093765555};
q = 6073484382754323103L;
}
@Override // com.scb.phone.view.activity.partner.nsip.Hilt_NsipPaymentLandingActivity, 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 final void onStart() {
int i = 2 % 2;
int i2 = t + 33;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 15;
p = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC9478dkW.Sts
public final void c() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 2106680523;
e(new Object[]{this});
}
static {
t = 1;
g();
m = new LWm((byte) 0);
int i = p + 111;
t = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}