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

685 lines
40 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml.promptpay;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.fragment.hml.promptpay.HmlPromptpayEnterCodeFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C14957gcv;
import o.Nhs;
import o.TVH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public final class HmlPromptpayEnterCodeActivity extends Hilt_HmlPromptpayEnterCodeActivity {
private static char k;
public static final Sts l;
private static long m;
/* renamed from: o, reason: collision with root package name */
private static int f7408o;
private static int p;
private static char[] q;
private static final byte[] $$y = {72, -15, 70, -100};
private static final int $$z = 66;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 1;
/* 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: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 aF(byte r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 2
int r8 = r8 + 1
int r6 = r6 * 4
int r6 = 3 - r6
byte[] r0 = com.scb.phone.view.activity.hml.promptpay.HmlPromptpayEnterCodeActivity.$$y
int r7 = r7 + 71
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r3 = r7
r4 = r2
r7 = r6
goto L2e
L15:
r3 = r2
L16:
int r6 = r6 + 1
byte r4 = (byte) r7
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r8) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L27:
r4 = r0[r6]
r5 = r7
r7 = r6
r6 = r4
r4 = r3
r3 = r5
L2e:
int r6 = r6 + r3
r3 = r4
r5 = r7
r7 = r6
r6 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.promptpay.HmlPromptpayEnterCodeActivity.aF(byte, int, short, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = s + 7;
p = i2 % 128;
int i3 = i2 % 2;
String string = getString(R.string.hml_promptpay_verification_title);
C14957gcv.c((Object) string, "");
int i4 = p + 103;
s = i4 % 128;
int i5 = i4 % 2;
return string;
}
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.hml.promptpay.Hilt_HmlPromptpayEnterCodeActivity, 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 final void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = s + 77;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD((char) (Gravity.getAbsoluteGravity(0, 0) + 59661), new char[]{39196, 59692, 43486, 24739, 61751, 14242, 24817, 13494, 13902, 28787, 55844, 11977, 22483, 30729, 42050, 54195, 65291, 14771}, new char[]{54911, 28513, 3528, 32233}, new char[]{56519, 3976, 35409, 18141}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_email_unable_to_proceed_body).substring(16, 17).codePointAt(0) - 32, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{0, 5, 98, 3}, false, new byte[]{1, 0, 1, 1, 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((char) (18880 - TextUtils.getOffsetAfter("", 0)), new char[]{10291, 33934, 53996, 36445, 2248, 59772, 63669, 10883, 7579, 45832, 43399, 59514, 33543, 27454, 20960, 40531, 17765, 32936, 15107, 23372, 35493, 23736, 14398, 5259, 9205, 42334}, new char[]{16035, 15333, 49220, 55881}, new char[]{56519, 3976, 35409, 18141}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE(new int[]{5, 18, 0, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = s + 17;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 492, (Process.myPid() >> 22) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mtrl_picker_range_header_only_start_selected).substring(0, 7).codePointAt(4) - 32), new char[]{30836, 4410, 41586, 59393, 46153, 32947, 58460, 41518, 5990, 29613, 27233, 60081, 1160, 52060, 48894, 41980, 9459, 44006, 8255, 61662, 58787, 17992, 61358, 15144, 30304, 57979, 42389, 18933, 32935, 47824, 4834, 11564, 21659, 4295, 46034, 22844, 41206, 39025, 23535, 28723, 44804, 51673, 8135, 33960, 57890, 9929, 10682, 38514}, new char[]{55470, 2002, 26384, 41484}, new char[]{56519, 3976, 35409, 18141}, ViewConfiguration.getTapTimeout() >> 16, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{23, 64, 0, 0}, true, new byte[]{1, 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, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{87, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new int[]{151, 74, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 0}, false, new byte[]{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_coupon_review_time_warning).substring(6, 8).length() + 44507), new char[]{10418, 50721, 65443, 3858, 39965}, new char[]{22825, 8647, 56717, 17837}, new char[]{56519, 3976, 35409, 18141}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_open_scbs_remark_1).substring(40, 41).codePointAt(0) - 1927166151, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), new char[]{21246, 57840, 4702, 20410, 20048, 3111, 65302, 41443, 48000, 1151, 58425, 52858, 33399, 60203, 7078, 6747, 7549, 63670, 28131, 43608, 48236, 31202, 54081, 64920, 39837, 16675, 1563, 58851, 50697, 4820, 26470, 27347, 60525, 25533, 29560, 11140}, new char[]{45655, 13426, 56983, 49954}, new char[]{56519, 3976, 35409, 18141}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 112, 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(Color.blue(0) + 487, TextUtils.indexOf("", "") + 5, (char) KeyEvent.keyCodeFromString(""))).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 i6 = p + 85;
s = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
d_("p10x1_ntb_promptpay_entercode");
}
private static void aD(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i4 = $11 + 115;
$10 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
try {
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 353, 5 - (Process.myPid() >> 22), (char) (TextUtils.getOffsetBefore("", 0) + 52128));
byte b = (byte) 0;
Object[] objArr4 = new Object[1];
aF(b, (byte) (b | ISO7816.INS_UNBLOCK_CHV), b, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
try {
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(748 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) Color.alpha(0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
try {
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(401 - ImageFormat.getBitsPerPixel(0), 4 - ImageFormat.getBitsPerPixel(0), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 21609));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aF(b2, (byte) (b2 | 43), b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (m ^ 9051040786702654117L)) ^ ((int) (f7408o ^ 9051040786702654117L))) ^ ((char) (k ^ 9051040786702654117L)));
nhs.a++;
i2 = 2;
} 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;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
String str = new String(cArr6);
int i6 = $10 + 79;
$11 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.hml.promptpay.Hilt_HmlPromptpayEnterCodeActivity, 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 final void onResume() {
int i = 2 % 2;
int i2 = s + 69;
p = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD((char) (18880 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)), new char[]{10291, 33934, 53996, 36445, 2248, 59772, 63669, 10883, 7579, 45832, 43399, 59514, 33543, 27454, 20960, 40531, 17765, 32936, 15107, 23372, 35493, 23736, 14398, 5259, 9205, 42334}, new char[]{16035, 15333, 49220, 55881}, new char[]{56519, 3976, 35409, 18141}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.point_x_tool_title).substring(0, 7).length() - 7, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{5, 18, 0, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = s + 59;
p = i3 % 128;
try {
if (i3 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - ((Process.getThreadPriority(0) + 20) >> 6), TextUtils.getCapsMode("", 0, 0) + 5, (char) Drawable.resolveOpacity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(486 - ((byte) KeyEvent.getModifierMetaStateMask()), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).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(View.MeasureSpec.getMode(0) + 487, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 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();
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object d(Object[] objArr) {
HmlPromptpayEnterCodeActivity hmlPromptpayEnterCodeActivity = (HmlPromptpayEnterCodeActivity) objArr[0];
int i = 2 % 2;
int i2 = s + 29;
p = i2 % 128;
if (i2 % 2 != 0) {
hmlPromptpayEnterCodeActivity.getBaseContext();
throw null;
}
Context baseContext = hmlPromptpayEnterCodeActivity.getBaseContext();
if (baseContext == null) {
Object[] objArr2 = new Object[1];
aD((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.risk_review_bottom_text).substring(19, 20).codePointAt(0) + 18848), new char[]{10291, 33934, 53996, 36445, 2248, 59772, 63669, 10883, 7579, 45832, 43399, 59514, 33543, 27454, 20960, 40531, 17765, 32936, 15107, 23372, 35493, 23736, 14398, 5259, 9205, 42334}, new char[]{16035, 15333, 49220, 55881}, new char[]{56519, 3976, 35409, 18141}, ViewConfiguration.getWindowTouchSlop() >> 8, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aE(new int[]{5, 18, 0, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = p + 113;
s = i3 % 128;
if (i3 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
int i4 = p + 39;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0, 0), 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (ImageFormat.getBitsPerPixel(0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 487, ImageFormat.getBitsPerPixel(0) + 6, (char) View.MeasureSpec.getSize(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onPause();
int i6 = s + 53;
p = i6 % 128;
int i7 = i6 % 2;
return null;
}
private static void aE(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr = q;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c((PointF.length(f, f) > f ? 1 : (PointF.length(f, f) == f ? 0 : -1)) + 223, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) (Drawable.resolveOpacity(i3, i3) + 41977));
byte b = (byte) i3;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
i3 = 0;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i5];
System.arraycopy(cArr, i4, cArr3, 0, i5);
if (bArr != null) {
char[] cArr4 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i9 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.red(0) + 502, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i9] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i10 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 14, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i10] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 402, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 21608));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 2);
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);
}
cArr3 = cArr4;
}
if (i7 > 0) {
int i11 = $10 + 123;
$11 = i11 % 128;
if (i11 % 2 == 0) {
char[] cArr5 = new char[i5];
System.arraycopy(cArr3, 1, cArr5, 1, i5);
System.arraycopy(cArr5, 1, cArr3, i5 / i7, i7);
i = 0;
System.arraycopy(cArr5, i7, cArr3, 0, i5 + i7);
} else {
i = 0;
char[] cArr6 = new char[i5];
System.arraycopy(cArr3, 0, cArr6, 0, i5);
int i12 = i5 - i7;
System.arraycopy(cArr6, 0, cArr3, i12, i7);
System.arraycopy(cArr6, i7, cArr3, 0, i12);
}
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i5];
tvh.c = i;
while (tvh.c < i5) {
cArr7[tvh.c] = cArr3[(i5 - tvh.c) - 1];
tvh.c++;
}
cArr3 = cArr7;
}
if (i6 > 0) {
int i13 = 0;
while (true) {
tvh.c = i13;
if (tvh.c >= i5) {
break;
}
int i14 = $11 + 101;
$10 = i14 % 128;
if (i14 % 2 != 0) {
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i13 = tvh.c;
} else {
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i13 = tvh.c + 1;
}
}
}
objArr[0] = new String(cArr3);
}
@Override // com.scb.phone.view.activity.hml.promptpay.Hilt_HmlPromptpayEnterCodeActivity, 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 final void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = s + 95;
p = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD((char) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 59661), new char[]{39196, 59692, 43486, 24739, 61751, 14242, 24817, 13494, 13902, 28787, 55844, 11977, 22483, 30729, 42050, 54195, 65291, 14771}, new char[]{54911, 28513, 3528, 32233}, new char[]{56519, 3976, 35409, 18141}, 1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{0, 5, 98, 3}, false, new byte[]{1, 0, 1, 1, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = s + 111;
p = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 71 / 0;
if (intValue <= 99999) {
return;
}
} else 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(492 - Color.red(0), View.combineMeasuredStates(0, 0) + 5, (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD((char) Color.alpha(0), new char[]{30836, 4410, 41586, 59393, 46153, 32947, 58460, 41518, 5990, 29613, 27233, 60081, 1160, 52060, 48894, 41980, 9459, 44006, 8255, 61662, 58787, 17992, 61358, 15144, 30304, 57979, 42389, 18933, 32935, 47824, 4834, 11564, 21659, 4295, 46034, 22844, 41206, 39025, 23535, 28723, 44804, 51673, 8135, 33960, 57890, 9929, 10682, 38514}, new char[]{55470, 2002, 26384, 41484}, new char[]{56519, 3976, 35409, 18141}, ViewConfiguration.getFadingEdgeLength() >> 16, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new int[]{23, 64, 0, 0}, true, new byte[]{1, 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, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new int[]{87, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{151, 74, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 0}, false, new byte[]{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD((char) ((ViewConfiguration.getScrollDefaultDelay() >> 16) + 44509), new char[]{10418, 50721, 65443, 3858, 39965}, new char[]{22825, 8647, 56717, 17837}, new char[]{56519, 3976, 35409, 18141}, (-1927166119) - View.resolveSizeAndState(0, 0, 0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD((char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1), new char[]{21246, 57840, 4702, 20410, 20048, 3111, 65302, 41443, 48000, 1151, 58425, 52858, 33399, 60203, 7078, 6747, 7549, 63670, 28131, 43608, 48236, 31202, 54081, 64920, 39837, 16675, 1563, 58851, 50697, 4820, 26470, 27347, 60525, 25533, 29560, 11140}, new char[]{45655, 13426, 56983, 49954}, new char[]{56519, 3976, 35409, 18141}, ExpandableListView.getPackedPositionChild(0L) + 1, 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((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 486, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) ExpandableListView.getPackedPositionType(0L))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final /* synthetic */ Fragment M() {
int i = 2 % 2;
HmlPromptpayEnterCodeFragment.HBt hBt = HmlPromptpayEnterCodeFragment.c;
HmlPromptpayEnterCodeFragment hmlPromptpayEnterCodeFragment = new HmlPromptpayEnterCodeFragment();
int i2 = p + 113;
s = i2 % 128;
if (i2 % 2 != 0) {
return hmlPromptpayEnterCodeFragment;
}
Object obj = null;
obj.hashCode();
throw null;
}
static void h() {
m = 4271184812606424674L;
f7408o = 452713125;
k = (char) 55973;
q = new char[]{40016, 40138, 40131, 40129, 40158, 39996, 40037, 40039, 40037, 40033, 40041, 40045, 40033, 40037, 40059, 40019, 40017, 40058, 40034, 40032, 40057, 40056, 40039, 39993, 40040, 40042, 40007, 39996, 39999, 40001, 40006, 40006, 40000, 39997, 40006, 40006, 40005, 40004, 40005, 40040, 40007, 39992, 39992, 39998, 40000, 40042, 40007, 40007, 40041, 40006, 39997, 40000, 40000, 39997, 39996, 39996, 39999, 39999, 39998, 40001, 40002, 39992, 39999, 39992, 40001, 40000, 40007, 40001, 39994, 39993, 39998, 39992, 39999, 39997, 39999, 39999, 39999, 39992, 40006, 40004, 39997, 40000, 40007, 40006, 40006, 40007, 40040, 39995, 40007, 39999, 39994, 40001, 40001, 40007, 40046, 40000, 39998, 39997, 40007, 40040, 40000, 39993, 39999, 40007, 40042, 40047, 40000, 39995, 39995, 39992, 39999, 40001, 40006, 40004, 40046, 40005, 39996, 39996, 40005, 40007, 40000, 40042, 40000, 39998, 39992, 39994, 39994, 39992, 39993, 39993, 39999, 40007, 40047, 40007, 40006, 40040, 40040, 40000, 39998, 39996, 39996, 39999, 40000, 40000, 40003, 40040, 40040, 40000, 39997, 40006, 40006, 40090, 40227, 40229, 40231, 40224, 40219, 40165, 40162, 40192, 40227, 40212, 40234, 40233, 40232, 40227, 40236, 40232, 40238, 40239, 40235, 40212, 40235, 40234, 40208, 40234, 40237, 40205, 40192, 40227, 40236, 40238, 40214, 40239, 40238, 40215, 40239, 40230, 40192, 40207, 40227, 40238, 40232, 40238, 40238, 40231, 40230, 40238, 40232, 40238, 40200, 40201, 40232, 40227, 40195, 40201, 40233, 40237, 40205, 40205, 40238, 40239, 40235, 40237, 40230, 40192, 40199, 40197, 40161, 40207, 40236, 40236, 40232, 40224, 40230};
}
@Override // com.scb.phone.view.activity.hml.promptpay.Hilt_HmlPromptpayEnterCodeActivity, 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 final void onPause() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1201439508;
d(new Object[]{this});
}
@Override // com.scb.phone.view.activity.hml.promptpay.Hilt_HmlPromptpayEnterCodeActivity, 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 final void onStart() {
int i = 2 % 2;
int i2 = p + 49;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 5;
s = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
static {
p = 0;
h();
l = new Sts((byte) 0);
int i = s + 19;
p = i % 128;
int i2 = i % 2;
}
}