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

811 lines
43 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
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.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
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.activity.BaseActivity;
import com.scb.phone.view.activity.profilemanagement.promptpay.ManagePromptpayLandingActivity;
import com.scb.phone.view.fragment.profilemanagement.promptpay.ManagePromptpayLandingFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC11679ejr;
import o.C4403bZM;
import o.C7750cuH;
import o.SpP;
import o.TVH;
import o.gxQ;
import o.hXn;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class ManagePromptpayLandingActivity extends AbstractActivityC11679ejr {
private ManagePromptpayLandingFragment l;
private static final byte[] $$y = {16, ISO7816.INS_MANAGE_CHANNEL, -67, -78};
private static final int $$z = 207;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o */
private static int f7829o = 0;
private static int q = 1;
private static int[] m = {-1564349637, -1127870375, 1067626960, -794996854, 1075371800, -797957168, -942113793, 388829546, 1492973168, -1942198600, -1913865447, 721179735, 1178169865, -1303345209, 1102709594, 589634497, -1907560249, -581760741};
private static char[] k = {39997, 40035, 40045, 40020, 40044, 40028, 40123, 40129, 40135, 40120, 40131, 40130, 40129, 40129, 40130, 40171, 40169, 40171, 40149, 40130, 40127, 40122, 40140, 40129, 40129, 40131, 40120, 40129, 40129, 40128, 40135, 40128, 40171, 40130, 40123, 40123, 40121, 40131, 40149, 40130, 40130, 40148, 40129, 40120, 40131, 40131, 40120, 40127, 40127, 40122, 40122, 40121, 40140, 40141, 40123, 40122, 40123, 40140, 40131, 40130, 40140, 40101, 40100, 40121, 40123, 40122, 40120, 40122, 40122, 39959, 40005, 40007, 39992, 40002, 40040, 40046, 40000, 39992, 39999, 39999, 40007, 40047, 40005, 40007, 40002, 40001, 40001, 39972, 40003, 40047, 40040, 40042, 40012, 39972, 39994, 39994, 39992, 39995, 40012, 40040, 40001, 39992, 39994, 39973, 39993};
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002b). 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(int r7, short r8, short r9, java.lang.Object[] r10) {
/*
int r7 = r7 * 4
int r7 = 4 - r7
int r8 = r8 * 2
int r8 = 1 - r8
int r9 = r9 + 71
byte[] r0 = com.scb.phone.view.activity.profilemanagement.promptpay.ManagePromptpayLandingActivity.$$y
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r9 = r7
r3 = r8
r4 = r2
goto L2b
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r9
r1[r3] = r5
if (r4 != r8) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
r3 = r0[r7]
r6 = r9
r9 = r7
r7 = r3
r3 = r6
L2b:
int r7 = -r7
int r7 = r7 + r3
int r9 = r9 + 1
r3 = r4
r6 = r9
r9 = r7
r7 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.profilemanagement.promptpay.ManagePromptpayLandingActivity.aF(int, short, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
return d(objArr);
}
public static void b(Context context) {
int i = 2 % 2;
context.startActivity(new Intent(context, (Class<?>) ManagePromptpayLandingActivity.class).addFlags(603979776));
int i2 = f7829o + 57;
q = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static /* synthetic */ Object d(Object[] objArr) {
Context context = (Context) objArr[0];
int i = 2 % 2;
context.startActivity(new Intent(context, (Class<?>) ManagePromptpayLandingActivity.class));
int i2 = f7829o + 13;
q = i2 % 128;
int i3 = i2 % 2;
return null;
}
@Override // o.AbstractActivityC11679ejr, com.scb.phone.view.activity.BaseActivityWithFragment, 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(new int[]{-2133874446, 43670835, 1943166199, -729361363, -1899714634, -1416724976, 1228678017, 254858325, -1697503602, -2094009876}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{0, 5, 0, 1}, true, new byte[]{1, 1, 1, 0, 0}, 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];
aD(new int[]{-2133874446, 43670835, 1943166199, -729361363, 909521302, 1964167150, 1055635433, 1102155837, 217080701, 1469287261, 1711778357, 576081105, -139923653, 248889934}, 26 - (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)), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new int[]{583084375, 53726780, 514167371, 1404914114, 1488253833, -1938623213, -359360914, -100594631, -922387115, -478909697}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 80, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i2 = q + 23;
f7829o = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 493, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (AndroidCharacter.getMirror('0') - '0'))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(new int[]{-1528801650, -1751504199, 1355965900, 903774369, 794897546, 209224957, 53060796, -1597621222, -111256603, -1848984371, 534044425, -1318896323, -1644129340, -497218003, 237633204, -1331758493, -1850920118, 1463023635, -944863860, 1145778276, 772371878, 911892653, 520008169, -1328638065}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_omnibus_select_account_deposit_title).substring(CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA, CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA).length() + 47, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{5, 64, 125, 11}, true, new byte[]{1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new int[]{-1809338120, 1721945504, 387716563, 471471423, -1541281356, 984535774, 2082577793, 2139430503, -953973138, -2141004428, 1530310712, 338954690, 14417352, 1695041171, -627668976, 904462573, -2077944064, 1307526507, 1636576786, 366247254, 560547101, 2015458365, 866335784, -691049373, 239813348, 1428163496, 1401184318, -1029313295, -720074424, 1011307332, 1904970423, -1278883866}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_email_otp_resend_error).substring(17, 18).codePointAt(0) + 32, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{389435736, 1565747903, 484731828, 44345649, 1183778517, 1665221185, 1229516261, -1972057907, -182326768, -1930088604, 1276380521, 675665443, 656018954, 1181732506, 2056829554, 858851913, 1060400625, -8320012, -182496934, -581762122, 1087141975, -583451071, 1555771127, -1093369056, 381181136, 1064290404, -1645321532, -2032186266, 1645505967, 59629642, 846398071, -1995266111, -1186657654, 231995363, 1959375978, -184875093, 404020488, 1774485351}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_contact_call_center).substring(10, 11).codePointAt(0) - 34, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new int[]{-1031633479, 1664305192, 899173490, -111976682}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE(new int[]{69, 36, 0, 6}, true, new byte[]{1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0}, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getTouchSlop() >> 8), 5 - View.getDefaultSize(0, 0), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
int i4 = f7829o + 23;
q = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
new hXn().c(((BaseActivity) this).scbAnalytics, "managepromptpay_landing");
getSupportFragmentManager().a(new gxQ(this) { // from class: o.ejC
private ManagePromptpayLandingActivity b;
@Override // o.gxQ
public final void d(yRS yrs, Fragment fragment) {
ManagePromptpayLandingActivity.d(this.b, fragment);
}
{
this.b = this;
}
});
int i6 = q + 31;
f7829o = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, androidx.activity.ComponentActivity, android.app.Activity
public void onNewIntent(Intent intent) {
int i = 2 % 2;
int i2 = f7829o + 103;
q = i2 % 128;
int i3 = i2 % 2;
super.onNewIntent(intent);
setIntent(intent);
int i4 = q + 83;
f7829o = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void aD(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
char c;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = m;
int i3 = 16;
int i4 = 1;
int i5 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[0] = Integer.valueOf(iArr3[i6]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - (ViewConfiguration.getEdgeSlop() >> i3), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (TextUtils.indexOf("", "", 0) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i6] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i6++;
i3 = 16;
i4 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i7 = $11 + 111;
$10 = i7 % 128;
int i8 = i7 % 2;
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = m;
if (iArr6 != null) {
int i9 = $11 + 25;
$10 = i9 % 128;
int i10 = i9 % 2;
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i11 = 0;
while (i11 < length3) {
Object[] objArr3 = new Object[1];
objArr3[i5] = Integer.valueOf(iArr6[i11]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
c = 55346;
} else {
iArr2 = iArr6;
obj2 = ((Class) xzZ.c(15 - (ViewConfiguration.getLongPressTimeout() >> 16), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (58134 - KeyEvent.normalizeMetaState(0)))).getMethod("i", Integer.TYPE);
c = 55346;
xzZ.y.put(729798706, obj2);
}
iArr7[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i11++;
iArr6 = iArr2;
i5 = 0;
}
iArr6 = iArr7;
}
int i12 = i5;
System.arraycopy(iArr6, i12, iArr5, i12, length2);
c4403bZM.b = i12;
while (c4403bZM.b < iArr.length) {
int i13 = $11 + 95;
$10 = i13 % 128;
int i14 = i13 % 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(iArr5);
int i15 = 0;
for (int i16 = 16; i15 < i16; i16 = 16) {
c4403bZM.e ^= iArr5[i15];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c(117 - TextUtils.lastIndexOf("", '0'), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr5 = new Object[1];
aF(b, b2, (byte) (b2 | 33), objArr5);
obj3 = cls.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;
i15++;
}
int i17 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i17;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i18 = c4403bZM.e;
int i19 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 98, 4 - ExpandableListView.getPackedPositionChild(0L), (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aF(b3, b4, (byte) (b4 | Ascii.US), objArr7);
obj4 = cls2.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.AbstractActivityC11679ejr, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
byte b = 0;
if (baseContext == null) {
int i2 = f7829o + 17;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{-2133874446, 43670835, 1943166199, -729361363, 909521302, 1964167150, 1055635433, 1102155837, 217080701, 1469287261, 1711778357, 576081105, -139923653, 248889934}, 25 - TextUtils.indexOf((CharSequence) "", '0', 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{583084375, 53726780, 514167371, 1404914114, 1488253833, -1938623213, -359360914, -100594631, -922387115, -478909697}, TextUtils.getTrimmedLength("") + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = f7829o + 83;
q = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) Gravity.getAbsoluteGravity(0, 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((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 487, (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = 44 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((Process.myPid() >> 22) + 492, 5 - View.resolveSizeAndState(0, 0, 0), (char) Color.red(0))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) TextUtils.indexOf("", "", 0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
ManagePromptpayLandingFragment managePromptpayLandingFragment = this.l;
if (managePromptpayLandingFragment != null) {
C7750cuH c7750cuH = managePromptpayLandingFragment.managePromptpayLandingPresenter;
if (!(c7750cuH.f == 0)) {
c7750cuH.f.y();
}
c7750cuH.b.c();
SpP spP = c7750cuH.b;
spP.d(spP.i, new C7750cuH.Sts(c7750cuH, b));
}
int i6 = f7829o + 23;
q = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 72 / 0;
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
int i2 = q + 35;
f7829o = i2 % 128;
int i3 = i2 % 2;
ManagePromptpayLandingFragment d = ManagePromptpayLandingFragment.d();
int i4 = q + 55;
f7829o = i4 % 128;
int i5 = i4 % 2;
return d;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = f7829o + 87;
q = i2 % 128;
int i3 = i2 % 2;
String string = getString(R.string.manage_scb_promptpay_landing_title);
int i4 = q + 121;
f7829o = i4 % 128;
if (i4 % 2 == 0) {
return string;
}
throw null;
}
@Override // o.AbstractActivityC11679ejr, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = q + 111;
f7829o = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new int[]{-2133874446, 43670835, 1943166199, -729361363, 909521302, 1964167150, 1055635433, 1102155837, 217080701, 1469287261, 1711778357, 576081105, -139923653, 248889934}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_facial_locked_warning_message).substring(63, 64).length() + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{583084375, 53726780, 514167371, 1404914114, 1488253833, -1938623213, -359360914, -100594631, -922387115, -478909697}, TextUtils.getOffsetAfter("", 0) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = f7829o + 37;
q = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = q + 35;
f7829o = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Color.alpha(0), 4 - ExpandableListView.getPackedPositionChild(0L), (char) (TextUtils.lastIndexOf("", '0') + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - TextUtils.indexOf("", "", 0), 5 - TextUtils.indexOf("", ""), (char) TextUtils.getCapsMode("", 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - View.combineMeasuredStates(0, 0), 5 - View.resolveSizeAndState(0, 0, 0), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 486, 5 - View.getDefaultSize(0, 0), (char) View.MeasureSpec.getSize(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
int i7 = q + 73;
f7829o = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aE(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
char c;
int length;
char[] cArr2;
char[] cArr3;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = 1;
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr4 = k;
long j = 0;
if (cArr4 != null) {
int i9 = $10 + 109;
$11 = i9 % 128;
if (i9 % 2 == 0) {
length = cArr4.length;
cArr2 = new char[length];
} else {
length = cArr4.length;
cArr2 = new char[length];
}
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[i3] = Integer.valueOf(cArr4[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr3 = cArr4;
} else {
Class cls = (Class) xzZ.c(TextUtils.getTrimmedLength("") + 223, 6 - (SystemClock.elapsedRealtimeNanos() > j ? 1 : (SystemClock.elapsedRealtimeNanos() == j ? 0 : -1)), (char) ((Process.myTid() >> 22) + 41977));
byte b = (byte) i3;
byte b2 = b;
cArr3 = cArr4;
Object[] objArr3 = new Object[1];
aF(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
cArr4 = cArr3;
i3 = 0;
i5 = 1;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr4 = cArr2;
}
char[] cArr5 = new char[i6];
System.arraycopy(cArr4, i4, cArr5, 0, i6);
if (bArr != null) {
int i11 = $11 + 97;
$10 = i11 % 128;
if (i11 % 2 != 0) {
cArr = new char[i6];
tvh.c = 0;
c = 1;
} else {
cArr = new char[i6];
tvh.c = 0;
c = 0;
}
while (tvh.c < i6) {
int i12 = $10 + 93;
$11 = i12 % 128;
int i13 = i12 % 2;
if (bArr[tvh.c] == 1) {
int i14 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 502, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (55 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr[i14] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i15 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 14, Gravity.getAbsoluteGravity(0, 0) + 5, (char) ((ViewConfiguration.getTouchSlop() >> 8) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr[i15] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(401 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (21608 - (ViewConfiguration.getJumpTapTimeout() >> 16)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aF(b3, b4, (byte) (b4 + 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr5 = cArr;
}
if (i8 > 0) {
int i16 = $11 + 43;
$10 = i16 % 128;
int i17 = i16 % 2;
char[] cArr6 = new char[i6];
i = 0;
System.arraycopy(cArr5, 0, cArr6, 0, i6);
int i18 = i6 - i8;
System.arraycopy(cArr6, 0, cArr5, i18, i8);
System.arraycopy(cArr6, i8, cArr5, 0, i18);
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i6];
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
cArr7[tvh.c] = cArr5[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
int i19 = $11 + 61;
$10 = i19 % 128;
int i20 = i19 % 2;
cArr5 = cArr7;
}
if (i7 > 0) {
tvh.c = 0;
while (tvh.c < i6) {
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
tvh.c++;
int i21 = $10 + 113;
$11 = i21 % 128;
if (i21 % 2 == 0) {
int i22 = 2 / 4;
}
}
}
objArr[0] = new String(cArr5);
}
@Override // o.AbstractActivityC11679ejr, com.scb.phone.view.activity.BaseActivityWithFragment, 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) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{-2133874446, 43670835, 1943166199, -729361363, -1899714634, -1416724976, 1228678017, 254858325, -1697503602, -2094009876}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{0, 5, 0, 1}, true, new byte[]{1, 1, 1, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = f7829o + 25;
q = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(540 - AndroidCharacter.getMirror('0'), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(new int[]{-1528801650, -1751504199, 1355965900, 903774369, 794897546, 209224957, 53060796, -1597621222, -111256603, -1848984371, 534044425, -1318896323, -1644129340, -497218003, 237633204, -1331758493, -1850920118, 1463023635, -944863860, 1145778276, 772371878, 911892653, 520008169, -1328638065}, Color.alpha(0) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new int[]{5, 64, 125, 11}, true, new byte[]{1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new int[]{-1809338120, 1721945504, 387716563, 471471423, -1541281356, 984535774, 2082577793, 2139430503, -953973138, -2141004428, 1530310712, 338954690, 14417352, 1695041171, -627668976, 904462573, -2077944064, 1307526507, 1636576786, 366247254, 560547101, 2015458365, 866335784, -691049373, 239813348, 1428163496, 1401184318, -1029313295, -720074424, 1011307332, 1904970423, -1278883866}, 64 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new int[]{389435736, 1565747903, 484731828, 44345649, 1183778517, 1665221185, 1229516261, -1972057907, -182326768, -1930088604, 1276380521, 675665443, 656018954, 1181732506, 2056829554, 858851913, 1060400625, -8320012, -182496934, -581762122, 1087141975, -583451071, 1555771127, -1093369056, 381181136, 1064290404, -1645321532, -2032186266, 1645505967, 59629642, 846398071, -1995266111, -1186657654, 231995363, 1959375978, -184875093, 404020488, 1774485351}, 74 - (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)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new int[]{-1031633479, 1664305192, 899173490, -111976682}, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new int[]{69, 36, 0, 6}, true, new byte[]{1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0}, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 488, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 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, objArr9);
int i3 = f7829o + 69;
q = i3 % 128;
int i4 = i3 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
public static /* synthetic */ void d(ManagePromptpayLandingActivity managePromptpayLandingActivity, Fragment fragment) {
int i = 2 % 2;
if (fragment instanceof ManagePromptpayLandingFragment) {
int i2 = q;
int i3 = i2 + 115;
f7829o = i3 % 128;
int i4 = i3 % 2;
managePromptpayLandingActivity.l = (ManagePromptpayLandingFragment) fragment;
int i5 = i2 + 65;
f7829o = i5 % 128;
int i6 = i5 % 2;
}
}
@Override // o.AbstractActivityC11679ejr, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = f7829o + 95;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = q + 91;
f7829o = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 51 / 0;
}
}
public static void e(Context context) {
d(new Object[]{context});
}
}