what-the-bank/sources/com/scb/phone/view/activity/debitcard/DebitCardRequestPayOtpActiv...

672 lines
35 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.debitcard;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import java.lang.reflect.Method;
import o.C0693Mj;
import o.C11919eoS;
import o.C14957gcv;
import o.C4593bdB;
import o.InterfaceC13391fZD;
import o.InterfaceC9106ddU;
import o.KQe;
import o.aFE;
import o.jTb;
import o.xzZ;
/* loaded from: classes4.dex */
public final class DebitCardRequestPayOtpActivity extends Hilt_DebitCardRequestPayOtpActivity implements InterfaceC9106ddU.HBt {
public static final Sts b;
private static char k;
private static char l;
private static char m;
/* renamed from: o, reason: collision with root package name */
private static char f6784o;
private static int p;
private static long r;
@InterfaceC13391fZD
public aFE presenter;
private static final byte[] $$y = {54, -108, 123, 45};
private static final int $$z = 0;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
/* 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: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 aF(byte r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 4
int r7 = r7 * 3
int r0 = 1 - r7
byte[] r1 = com.scb.phone.view.activity.debitcard.DebitCardRequestPayOtpActivity.$$y
int r8 = 78 - r8
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L15
r8 = r6
r4 = r7
r3 = r2
goto L2c
L15:
r3 = r2
L16:
int r6 = r6 + 1
byte r4 = (byte) r8
r0[r3] = r4
if (r3 != r7) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L25:
int r3 = r3 + 1
r4 = r1[r6]
r5 = r8
r8 = r6
r6 = r5
L2c:
int r6 = r6 + r4
r5 = r8
r8 = r6
r6 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.debitcard.DebitCardRequestPayOtpActivity.aF(byte, int, int, java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x006d, code lost:
if (r1 > 99999) goto L6;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ java.lang.Object e(java.lang.Object[] r17, int r18, int r19, int r20) {
/*
Method dump skipped, instructions count: 846
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.debitcard.DebitCardRequestPayOtpActivity.e(java.lang.Object[], int, int, int):java.lang.Object");
}
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public static Intent abg_(Context context, String str, Boolean bool) {
C14957gcv.e(context, "");
C14957gcv.e(str, "");
Intent intent = new Intent(context, (Class<?>) DebitCardRequestPayOtpActivity.class);
intent.putExtra("EXTRA_OTP_POLICY_ID", (String) null);
intent.putExtra("TRANSACTION_TOKEN_EXTRA", str);
intent.putExtra("IS_REQUEST_PHYSICAL_EXTRA", bool);
return intent;
}
public /* synthetic */ Sts(byte b) {
this();
}
}
private static void aE(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
int i3 = $10 + 11;
$11 = i3 % 128;
int i4 = i3 % 2;
while (c4593bdB.e < cArr.length) {
int i5 = $10 + 41;
$11 = i5 % 128;
if (i5 % 2 == 0) {
int i6 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 402, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 21609));
int i7 = $$z;
byte b2 = (byte) (i7 - 1);
byte b3 = (byte) i7;
Object[] objArr3 = new Object[1];
aF(b2, b3, (byte) (b3 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i6] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() * r * (-6958928035870403642L);
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 239, 5 - TextUtils.getOffsetAfter("", 0), (char) ((-16777216) - Color.rgb(0, 0, 0)));
int i8 = $$z;
byte b4 = (byte) (i8 - 1);
byte b5 = (byte) i8;
Object[] objArr5 = new Object[1];
aF(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i9 = c4593bdB.e;
try {
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 402, 5 - Drawable.resolveOpacity(0, 0), (char) ((KeyEvent.getMaxKeyCode() >> 16) + 21608));
int i10 = $$z;
byte b6 = (byte) (i10 - 1);
byte b7 = (byte) i10;
Object[] objArr7 = new Object[1];
aF(b6, b7, (byte) (b7 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i9] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (r ^ (-6958928035870403642L));
try {
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 238, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (Process.myPid() >> 22));
int i11 = $$z;
byte b8 = (byte) (i11 - 1);
byte b9 = (byte) i11;
Object[] objArr9 = new Object[1];
aF(b8, b9, b9, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
} 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;
}
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr10 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 238, 5 - KeyEvent.getDeadChar(0, 0), (char) View.MeasureSpec.getMode(0));
int i12 = $$z;
byte b10 = (byte) (i12 - 1);
byte b11 = (byte) i12;
Object[] objArr11 = new Object[1];
aF(b10, b11, b11, objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
}
String str = new String(cArr2);
int i13 = $11 + 51;
$10 = i13 % 128;
int i14 = i13 % 2;
objArr[0] = str;
}
private static void aD(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
jtb.b = 0;
char[] cArr3 = new char[2];
int i3 = $11 + 23;
$10 = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 2 % 4;
}
while (jtb.b < cArr.length) {
int i5 = $11 + 33;
$10 = i5 % 128;
int i6 = i5 % 2;
cArr3[0] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i7 = 58224;
for (int i8 = 0; i8 < 16; i8++) {
char c = cArr3[1];
char c2 = cArr3[0];
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i7) ^ ((c2 << 4) + ((char) (l ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(m)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(413 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) View.MeasureSpec.makeMeasureSpec(0, 0));
int i9 = $$z;
byte b2 = (byte) (i9 - 1);
byte b3 = (byte) i9;
Object[] objArr3 = new Object[1];
aF(b2, b3, (byte) (b3 | 12), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr3[0]), Integer.valueOf((charValue + i7) ^ ((charValue << 4) + ((char) (f6784o ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(k)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(411 - ExpandableListView.getPackedPositionChild(0L), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (ViewConfiguration.getTapTimeout() >> 16));
int i10 = $$z;
byte b4 = (byte) (i10 - 1);
byte b5 = (byte) i10;
Object[] objArr5 = new Object[1];
aF(b4, b5, (byte) (b5 | 12), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr3[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i7 -= 40503;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2[jtb.b] = cArr3[0];
cArr2[jtb.b + 1] = cArr3[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 98, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) ExpandableListView.getPackedPositionType(0L));
int i11 = $$z;
byte b6 = (byte) (i11 - 1);
byte b7 = (byte) i11;
Object[] objArr7 = new Object[1];
aF(b6, b7, (byte) (b7 | 11), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
String str = new String(cArr2, 0, i);
int i12 = $10 + 5;
$11 = i12 % 128;
int i13 = i12 % 2;
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.debitcard.Hilt_DebitCardRequestPayOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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) {
String string;
int i = 2 % 2;
int i2 = p + 125;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new char[]{64110, 30944, 1706, 12959, 31709, 35097, 22243, 4280, 63496, 5404, 18563, 50263, 16620, 12228, 47983, 786, 8740, 18955}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_select_idp_terms_cond_message_right).substring(36, 37).codePointAt(0) - 14, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{2834, 31743, 60120, 23037, 51455}, 28921 - KeyEvent.normalizeMetaState(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 char[]{64110, 30944, 1706, 12959, 31709, 35097, 22243, 4280, 18974, 50389, 39506, 9745, 35277, 27564, 41638, 5317, 34817, 39293, 15940, 52106, 7163, 64565, 17969, 29794, 40216, 7856}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_successful_unable_to_open_scbs_account).substring(33, 34).length() + 25, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new char[]{40535, 25996, 62944, 40814, 60289, 19396, 30470, 48003, 62630, 13554, 19017, 47733, 39673, 39369, 41638, 5317, 2506, 28068}, 19 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 493, 5 - (Process.myPid() >> 22), (char) TextUtils.indexOf("", ""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE(new char[]{2894, 56983, 41205, 35456, 23600, 9799, 2083, 53767, 42469, 36753, 20987, 15243, 3384, 55118, 47486, 33622, 22253, 14467, 739, 54474, 48672, 32768, 27188, 15439, 2033, 59790, 46010, 34255, 28536, 12549, 6969, 60751, 45230, 39669, 27865, 13875, 6213, 57889, 46087, 40932, 24981, 19452, 7632, 59199, 51528, 37748, 25864, 18618}, 54752 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new char[]{29912, 37871, 2135, 8698, 27756, 15228, 19895, 22694, 35345, 36820, 26792, 60136, 26792, 60136, 34947, 44421, 54749, 12220, 14121, 20023, 54325, 10183, 8386, 62962, 17049, 1687, 62004, 53369, 59279, 16250, 49000, 25555, 63158, 48137, 19325, 24006, 14227, 56311, 61099, 49405, 27756, 15228, 5048, 54891, 28120, 45120, 27756, 15228, 34329, 43571, 38791, 57257, 20400, 8836, 42442, 45165, 13333, 2231, 11196, 64271, 27756, 15228, 21931, 51725}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.check_eligibility_header).substring(29, 30).length() + 63, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new char[]{37815, 26179, 14129, 16399, 18370, 64289, 45373, 52124, 59279, 16250, 14414, 45315, 15370, 37067, 49000, 25555, 520, 36492, 29164, 2432, 29900, 14457, 53397, 55192, 20400, 8836, 36389, 36910, 7455, 53741, 56789, 50041, 18203, 12106, 53407, 33730, 49997, 63443, 15429, 39655, 50913, 20460, 63385, 7326, 60260, 7228, 2135, 8698, 24583, 52694, 13862, 22363, 9232, 65376, 34194, 49640, 59211, 31450, 58120, 28760, 14227, 56311, 22329, 8454}, 64 - (KeyEvent.getMaxKeyCode() >> 16), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{2839, 62308, 64469, 57922, 60080, 53614, 55754, 49241, 51316, 45297, 48968, 42967, 44584, 38579, 40192, 34195, 36330, 29778, 31954, 31531, 25522, 27144, 21143, 23271, 16761, 18883, 12311, 14526, 10035, 12190, 5656, 7791, 1771, 3411, 62880, 64545, 58519, 58202, 60258, 54243, 55878, 49866, 51501, 45481, 47130, 41097, 43244, 38764, 40906, 34414, 36530, 29965, 32158, 26027, 27764, 21718, 21342, 23527, 16944, 19076, 12572, 14697, 8686, 10330, 4240, 7974, 2003, 3677, 63078, 65250, 58688, 60888, 54323, 56491}, 63600 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new char[]{8172, 47997, 14167, 49105, 31857, 16840}, 5 - ((Process.getThreadPriority(0) + 20) >> 6), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(new char[]{45043, 15315, 34403, 29131, 24877, 4725, 19625, 21254, 37561, 44999, 15970, 64610, 11260, 10016, 20633, 59035, 15429, 39655, 47705, 33480, 24583, 52694, 44655, 8167, 57436, 37281, 8524, 50302, 27253, 26988, 47123, 42202, 64614, 59579, 18150, 28390}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_purchase_bond_dlt_disclaimer_send_sms).substring(85, 86).codePointAt(0) + 4, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 488, '5' - AndroidCharacter.getMirror('0'), (char) TextUtils.getOffsetBefore("", 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
int i4 = p + 27;
s = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
d_("debit_request_autoactivate_select_mobile_no_otp_screen");
aFE afe = this.presenter;
if (afe != null) {
int i6 = s + 111;
p = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
} else {
C14957gcv.a("");
afe = null;
}
afe.e((aFE) this);
Intent intent = getIntent();
if (intent != null) {
int i7 = s + 21;
p = i7 % 128;
if (i7 % 2 == 0) {
intent.getExtras();
throw null;
}
Bundle extras = intent.getExtras();
if (extras != null) {
C14957gcv.e("TRANSACTION_TOKEN_EXTRA", "");
if (extras == null) {
string = "";
} else {
string = extras.getString("TRANSACTION_TOKEN_EXTRA", "");
C14957gcv.c((Object) string, "");
}
boolean z = extras.getBoolean("IS_REQUEST_PHYSICAL_EXTRA");
C14957gcv.e(string, "");
afe.a = string;
afe.e = z;
}
}
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void a_(String str, String str2) {
int i = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
aFE afe = this.presenter;
if (afe != null) {
int i2 = p + 79;
s = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
afe = null;
}
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
if (afe.c) {
return;
}
C11919eoS c11919eoS = afe.e ? new C11919eoS(afe.a) : new C11919eoS(afe.a, afe.b.e, afe.b.d);
afe.c = true;
if (afe.f != 0) {
int i4 = s + 69;
p = i4 % 128;
int i5 = i4 % 2;
afe.f.y();
}
afe.b.e(str2, str, c11919eoS);
KQe kQe = afe.b;
kQe.d(kQe.i, new aFE.Sts(afe));
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.InterfaceC8956dad
public final void c(String str, String str2, String str3) {
int i = 2 % 2;
int i2 = s + 35;
p = i2 % 128;
int i3 = i2 % 2;
d_("debit_request_autoactivate_input_otp_screen");
super.c(str, str2, str3);
int i4 = s + 113;
p = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9106ddU.HBt
public final void d(C0693Mj c0693Mj) {
int i = 2 % 2;
C14957gcv.e(c0693Mj, "");
Intent intent = new Intent();
intent.putExtra("OTP_ERROR_TITLE", c0693Mj.d);
intent.putExtra("OTP_ERROR_MESSAGE", c0693Mj.c);
intent.putExtra("IS_ERROR_PROMO_CODE", true);
setResult(0, intent);
finish();
int i2 = p + 29;
s = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public final void onDestroy() {
int i = 2 % 2;
aFE afe = this.presenter;
if (afe != null) {
int i2 = p + 5;
s = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
int i4 = p + 71;
s = i4 % 128;
int i5 = i4 % 2;
afe = null;
}
afe.w_();
super.onDestroy();
}
@Override // com.scb.phone.view.activity.debitcard.Hilt_DebitCardRequestPayOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 33;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new char[]{64110, 30944, 1706, 12959, 31709, 35097, 22243, 4280, 18974, 50389, 39506, 9745, 35277, 27564, 41638, 5317, 34817, 39293, 15940, 52106, 7163, 64565, 17969, 29794, 40216, 7856}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{40535, 25996, 62944, 40814, 60289, 19396, 30470, 48003, 62630, 13554, 19017, 47733, 39673, 39369, 41638, 5317, 2506, 28068}, ((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);
int i4 = p + 87;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = s + 35;
p = i6 % 128;
if (i6 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.argb(0, 0, 0, 0) + 492, 5 - View.getDefaultSize(0, 0), (char) (AndroidCharacter.getMirror('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(487 - TextUtils.indexOf("", "", 0), 5 - TextUtils.getTrimmedLength(""), (char) Color.blue(0))).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();
int i7 = p + 49;
s = i7 % 128;
int i8 = i7 % 2;
}
@Override // com.scb.phone.view.activity.debitcard.Hilt_DebitCardRequestPayOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = 2 % 2;
int i2 = s + 49;
p = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new char[]{64110, 30944, 1706, 12959, 31709, 35097, 22243, 4280, 18974, 50389, 39506, 9745, 35277, 27564, 41638, 5317, 34817, 39293, 15940, 52106, 7163, 64565, 17969, 29794, 40216, 7856}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_request_decline_terms_alert_description).substring(31, 32).codePointAt(0) - 6, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{40535, 25996, 62944, 40814, 60289, 19396, 30470, 48003, 62630, 13554, 19017, 47733, 39673, 39369, 41638, 5317, 2506, 28068}, ((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();
}
if (baseContext != null) {
int i3 = s + 39;
p = i3 % 128;
int i4 = i3 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.resolveSize(0, 0), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 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(486 - TextUtils.lastIndexOf("", '0', 0, 0), 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) Color.argb(0, 0, 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
static void h() {
f6784o = (char) 39272;
k = (char) 60598;
l = (char) 55518;
m = (char) 62285;
r = 5819465569305761977L;
}
@Override // com.scb.phone.view.activity.debitcard.Hilt_DebitCardRequestPayOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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) {
e(new Object[]{this, context}, -1953231336, 1953231336, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.debitcard.Hilt_DebitCardRequestPayOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 = s + 17;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = s + 97;
p = i4 % 128;
int i5 = i4 % 2;
}
static {
p = 1;
h();
b = new Sts((byte) 0);
int i = s + 123;
p = i % 128;
int i2 = i % 2;
}
}