what-the-bank/sources/com/scb/phone/view/activity/profilemanagement/promptpay/ManagePromptpaySuccessActiv...

587 lines
34 KiB
Java

package com.scb.phone.view.activity.profilemanagement.promptpay;
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.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.profilemanagement.promptpay.ManagePromptpaySuccessFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC11682eju;
import o.AbstractC13482fbE;
import o.C4403bZM;
import o.UQ;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public class ManagePromptpaySuccessActivity extends AbstractActivityC11682eju {
private static final byte[] $$p = {124, -126, ISO7816.INS_MSE, 69};
private static final int $$q = 134;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
/* renamed from: o, reason: collision with root package name */
private static int f7830o = 1;
private static int l = 2015661647;
private static int[] k = {-99346699, -1886216191, 1976058551, -1225336515, -1099311854, -1739534362, -817772040, -1027270209, 357394785, -1242509487, 25479363, -1205837565, 303483840, -722807380, -1994486948, -295929548, 151050924, 798274200};
/* 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:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(int r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 2
int r0 = 1 - r6
byte[] r1 = com.scb.phone.view.activity.profilemanagement.promptpay.ManagePromptpaySuccessActivity.$$p
int r8 = r8 + 69
int r7 = r7 + 4
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L15
r3 = r8
r4 = r2
r8 = r7
goto L2c
L15:
r3 = r2
L16:
int r7 = r7 + 1
byte r4 = (byte) r8
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L27:
r3 = r1[r7]
r5 = r8
r8 = r7
r7 = r5
L2c:
int r7 = r7 + r3
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.profilemanagement.promptpay.ManagePromptpaySuccessActivity.aC(int, short, int, java.lang.Object[]):void");
}
public static void e(Context context, UQ uq, boolean z) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) ManagePromptpaySuccessActivity.class);
intent.putExtra("com.scb.phone.EXTRA_MANAGE_PROMPTPAY_SUCCESS", uq);
intent.putExtra("com.scb.phone.EXTRA_MANAGE_PROMPTPAY_FRAGMENT_SUCCESS_SHOW_SUCCESS", z);
context.startActivity(intent);
int i2 = m + 7;
f7830o = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.AbstractActivityC11682eju, 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;
int i2 = 2 % 2;
Object[] objArr = new Object[1];
aA(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 94, new char[]{'\f', 0, 2, 16, 16, 65534, 11, 1, 15, '\f', 6, 1, 65483, '\f', 16, 65483, 65517, 15}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{-872231979, 1189345538, 24914576, 996243592}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, 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 i3 = f7830o + 73;
m = i3 % 128;
int i4 = i3 % 2;
Object[] objArr3 = new Object[1];
aB(new int[]{-720271109, 160855291, -1263104838, 2104871119, 652784380, -1478309609, -1986642105, 614636118, 1997692938, 1094180300, -380538305, -1398768683, -570285091, -566689082}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.credit_charge_info).substring(0, 1).length() + 25, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.request_to_pay_input_hint).substring(19, 20).codePointAt(0) - 14, new char[]{4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_bd_error_line_id).substring(35, 37).codePointAt(1) + CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256, true, ((Process.getThreadPriority(0) + 20) >> 6) + 18, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i5 = f7830o + 73;
m = i5 % 128;
int i6 = i5 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = f7830o + 5;
m = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.red(0) + 492, 5 - TextUtils.getOffsetAfter("", 0), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(Process.getGidForName("") + 49, new char[]{65522, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65519, 31, 65522, 26, 65517, 65516, 65521, 65515, 65516, 27, 65521, 65516, 27, 65516, 26, 65515, 65522, 27, 26, 31, NistHelper.SEP_FS, 65516, 27, 65517, 65520, 65514, 65517, 30, 65521, NistHelper.SEP_FS, 65518, 65522, 65517, 65515, 27, 27, 30, 31, 65514, 65521, 65518, 65514, 65514, 29}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + CipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 17, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.limit_cardless_cardx_speedy_cash_label).substring(12, 14).codePointAt(0) + 32, new char[]{31, 65518, 65517, 65520, 65522, 65517, 65523, 65522, 65518, 65522, 65518, 65521, '!', 65525, 65520, 30, 65522, '!', 65522, 30, '!', '!', 29, 30, 65522, 65524, 65517, 31, 65524, 30, 65521, 65524, 31, 65523, '\"', 65524, ' ', 30, 65522, 65517, 65521, 65522, 29, 30, 65522, 30, 30, 65524, 65521, 29, 65521, 65523, 65523, 65524, 65516, 65525, 65518, 31, 65516, 65522, 65519, 65520, 29, 65522}, 173 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), true, ((Process.getThreadPriority(0) + 20) >> 6) + 21, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{-1585232658, -1410267551, 1366833917, -332540341, 165929854, -1390602624, -1935876847, 1648674795, -319316419, -340168490, -2039180500, -1766326225, -699803255, 549421039, -1850852117, 938041227, 1348328338, 1134304267, 451812828, -1313033072, 364123922, 694386812, 122521902, -1120491038, -1852452288, 328590202, 2066092370, 565199730, 171058695, 1219636082, 366068637, 1398361326}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_scbs_description).substring(0, 2).length() + 62, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{493549730, -1430416508, 1101804787, -136054547, -1539174130, 1194646480, 1199565457, 1100065606, 2047209623, -1360395505, 587438053, 1231465088, -1558285850, -2138291735, 1071318144, -975869868, 652140040, 1290362162, -2093360411, 156137489, -2095125829, -1197535584, 1664418415, 278659252, -53661399, 555555010, -321961910, -639654676, 558953819, -1871056919, 1042187519, -1594654396, 1558493898, 661069125, -1663234057, -1059367689, 964959292, -969404510}, 74 - (ViewConfiguration.getLongPressTimeout() >> 16), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new int[]{-1275808551, 545886879, -2071094274, 997946627}, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new int[]{1017112629, 1211350483, 1159200315, -1409187669, 337790921, -937616047, 995796608, 1571639632, -1495665894, -1038585354, 1667810279, 1972680241, -781422599, 1358330607, -1716891811, -659764571, 1062816120, -344907492}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, 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(View.combineMeasuredStates(0, 0) + 487, TextUtils.getTrimmedLength("") + 5, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558652);
ManagePromptpaySuccessFragment d = ManagePromptpaySuccessFragment.d((UQ) getIntent().getParcelableExtra("com.scb.phone.EXTRA_MANAGE_PROMPTPAY_SUCCESS"));
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.frame_container, d, null, 2);
a.b();
if (!(!getIntent().getBooleanExtra("com.scb.phone.EXTRA_MANAGE_PROMPTPAY_FRAGMENT_SUCCESS_SHOW_SUCCESS", false))) {
int i9 = m + 27;
f7830o = i9 % 128;
i = 2;
int i10 = i9 % 2;
x();
} else {
i = 2;
}
int i11 = f7830o + 69;
m = i11 % 128;
int i12 = i11 % i;
}
private static void aA(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(l)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 7 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b = (byte) 0;
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - (ViewConfiguration.getLongPressTimeout() >> 16), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 & 7), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i3 > 0) {
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
char[] cArr4 = new char[i];
zui.d = 0;
int i6 = $10 + 119;
$11 = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 4 / 2;
}
while (zui.d < i) {
int i8 = $10 + 67;
$11 = i8 % 128;
if (i8 % 2 == 0) {
cArr4[zui.d] = cArr2[i % zui.d];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 342, 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 - 1);
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 & 7), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
} else {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr8 = {zui, zui};
Object obj4 = xzZ.y.get(1294990079);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 341, KeyEvent.getDeadChar(0, 0) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b7 = (byte) 0;
byte b8 = (byte) (b7 - 1);
Object[] objArr9 = new Object[1];
aC(b7, b8, (byte) (b8 & 7), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
private static void aB(int[] iArr, int i, Object[] objArr) {
int length;
int[] iArr2;
int i2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = k;
float f = BitmapDescriptorFactory.HUE_RED;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr3 != null) {
int i7 = $10 + 25;
$11 = i7 % 128;
if (i7 % 2 == 0) {
length = iArr3.length;
iArr2 = new int[length];
i2 = 1;
} else {
length = iArr3.length;
iArr2 = new int[length];
i2 = 0;
}
while (i2 < length) {
int i8 = $11 + 13;
$10 = i8 % 128;
int i9 = i8 % 2;
try {
Object[] objArr2 = {Integer.valueOf(iArr3[i2])};
Object obj = xzZ.y.get(Integer.valueOf(i4));
if (obj == null) {
obj = ((Class) xzZ.c(15 - (ViewConfiguration.getWindowTouchSlop() >> 8), (TypedValue.complexToFraction(0, f, f) > f ? 1 : (TypedValue.complexToFraction(0, f, f) == f ? 0 : -1)) + 5, (char) (58133 - TextUtils.lastIndexOf("", '0', 0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr2[i2] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i2++;
f = BitmapDescriptorFactory.HUE_RED;
i4 = 729798706;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr2;
}
int length2 = iArr3.length;
int[] iArr4 = new int[length2];
int[] iArr5 = k;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i10 = 0;
while (i10 < length3) {
Object[] objArr3 = new Object[i5];
objArr3[i6] = Integer.valueOf(iArr5[i10]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 14, Color.green(i6) + 5, (char) (58134 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)));
Class<?>[] clsArr = new Class[1];
clsArr[i6] = Integer.TYPE;
obj2 = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj2);
}
iArr6[i10] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i10++;
i5 = 1;
i6 = 0;
}
iArr5 = iArr6;
}
int i11 = i6;
System.arraycopy(iArr5, i11, iArr4, i11, length2);
c4403bZM.b = i11;
int i12 = $10 + 11;
$11 = i12 % 128;
int i13 = i12 % 2;
while (c4403bZM.b < iArr.length) {
int i14 = $10 + 29;
$11 = i14 % 128;
int i15 = i14 % 2;
cArr[0] = (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(iArr4);
int i16 = 0;
for (int i17 = 16; i16 < i17; i17 = 16) {
c4403bZM.e ^= iArr4[i16];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(118 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 5 - View.MeasureSpec.getSize(0), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b = (byte) 0;
byte b2 = (byte) (b - 1);
Object[] objArr5 = new Object[1];
aC(b, b2, (byte) (b2 & 35), objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i16++;
}
int i18 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i18;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i19 = c4403bZM.e;
int i20 = 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(iArr4);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 98, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) View.resolveSize(0, 0));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr7 = new Object[1];
aC(b3, b4, (byte) (b4 & 33), objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.AbstractActivityC11682eju, 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 = f7830o + 5;
m = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = m + 81;
f7830o = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aB(new int[]{-720271109, 160855291, -1263104838, 2104871119, 652784380, -1478309609, -1986642105, 614636118, 1997692938, 1094180300, -380538305, -1398768683, -570285091, -566689082}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) - 75, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(18 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), new char[]{4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + CipherSuite.TLS_PSK_WITH_NULL_SHA256, true, ((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);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i6 = f7830o + 11;
m = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 492, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) Color.red(0))).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(488 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 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.AbstractActivityC11682eju, 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 = m + 23;
f7830o = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = m + 75;
f7830o = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aB(new int[]{-720271109, 160855291, -1263104838, 2104871119, 652784380, -1478309609, -1986642105, 614636118, 1997692938, 1094180300, -380538305, -1398768683, -570285091, -566689082}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_robo_advisor_open_scbs_account_stop_3).substring(0, 1).codePointAt(0) - 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 19, new char[]{4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_management_mutual_fund_errror_message).substring(6, 7).codePointAt(0) + CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = f7830o + 103;
m = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(540 - AndroidCharacter.getMirror('0'), (-16777211) - Color.rgb(0, 0, 0), (char) KeyEvent.normalizeMetaState(0))).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(View.getDefaultSize(0, 0) + 487, Color.alpha(0) + 5, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).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 i8 = f7830o + 59;
m = i8 % 128;
if (i8 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x007d, code lost:
if (r3 > 99999) goto L6;
*/
@Override // o.AbstractActivityC11682eju, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r20) {
/*
Method dump skipped, instructions count: 912
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.profilemanagement.promptpay.ManagePromptpaySuccessActivity.attachBaseContext(android.content.Context):void");
}
@Override // o.AbstractActivityC11682eju, 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 = f7830o + 93;
m = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 39 / 0;
}
int i5 = m + 21;
f7830o = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 44 / 0;
}
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = f7830o + 85;
m = i2 % 128;
int i3 = i2 % 2;
}
}