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

765 lines
40 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.debitcard;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
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.AbstractActivityC8112dBg;
import o.InterfaceC13391fZD;
import o.InterfaceC9104ddS;
import o.TVH;
import o.aEB;
import o.dQY;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public class DebitCardOtpActivationActivity extends AbstractActivityC8112dBg implements InterfaceC9104ddS {
@InterfaceC13391fZD
public aEB presenter;
private static final byte[] $$y = {38, -57, 91, -63};
private static final int $$z = 55;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
private static int l = 1;
private static char[] b = {36787, 47038, 65458, 10150, 28597, 38833, 57274, 2034, 20397, 30643, 49128, 59284, 12216, 22439, 40877, 51113, 3969, 14211, 36799, 47017, 65411, 10173, 28606, 36785, 47013, 65444, 10150, 28607, 38838, 57258, 1949, 20402, 30640, 49066, 59309, 12201, 22441, 40890, 51109, 3997, 14238, 36787, 47080, 65510, 10215, 28603, 38891, 57275, 1977, 20464, 30713, 49141, 59297, 12200, 22524, 40958, 51188, 3987, 14226, 32656, 42948, 61387, 6088, 24521, 34766, 53121, 63448, 16256, 26497, 45010, 55262, 8151, 18312, 36774, 47090, 65527, 10145, 28591, 38826, 57263, 1965, 20407, 30640, 49075, 59319, 12268, 22507, 40888, 51177, 4048, 14293, 32644, 42892, 61324, 6017, 24462, 34778, 53138, 63425, 16320, 26565, 44959, 55184, 8141, 18331, 43704, 37542, 55968, 678, 19115, 45792, 64243, 8945, 27315, 21163, 39589, 49835, 2731, 29349, 47777, 58019, 10901, 4736, 23191, 33439, 51865, 12950, 31390, 41631, 60046, 53897, 6858, 17042, 35456, 62104, 14985, 25231, 43748, 37617, 56053, 741, 19180, 45748, 64251, 8939, 27361, 21232, 39648, 49909, 2809, 29439, 47853, 58108, 10965, 4764, 23255, 33497, 51925, 12949, 31453, 41678, 60105, 53901, 6861, 17096, 35535, 62159, 15071, 25306, 43647, 37412, 55910, 633, 19005, 45612, 64057, 8752, 27188, 21041, 19641, 29868, 15548, 58536, 44216, 57726, 55672, 37165, 18729, 375, 63784, 45347, 26917, 8486, 6463, 53567, 35176, 16737, 14636, 61747, 43319, 24842, 22792, 4370, 51548, 33105, 31060, 12628, 59672, 41241, 39242, 20765, 2380, 49428, 47428, 28996, 10512, 57711, 55660, 37230, 18744};
/* renamed from: o, reason: collision with root package name */
private static long f6780o = -1000087253414070320L;
private static char[] m = {39995, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40012, 40035, 40059, 40004, 39996, 40025, 40032, 40037, 40036, 40036, 40037, 40061, 40045, 40021, 40038, 40032, 40040, 40041, 40043, 40147, 40145, 40146, 40147, 40136, 40137, 40116, 40157, 40165, 40164, 40186, 40156, 40139, 40137, 40116, 40118, 40157, 40145, 40145, 40147, 40147, 40147, 40145, 40144, 40146, 40157, 40116, 40138, 40138, 40117, 40157, 40146, 40138, 40157, 40157, 40157, 40158, 40138, 40146, 40166, 40164, 40187, 40156, 40157, 40156, 40138, 40139, 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};
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x002a). 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, int r8, byte r9, java.lang.Object[] r10) {
/*
int r7 = 106 - r7
byte[] r0 = com.scb.phone.view.activity.debitcard.DebitCardOtpActivationActivity.$$y
int r9 = r9 * 3
int r9 = r9 + 1
int r8 = r8 + 4
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L12
r3 = r8
r4 = r2
goto L2a
L12:
r3 = r2
L13:
int r4 = r3 + 1
int r8 = r8 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r9) goto L24
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L24:
r3 = r0[r8]
r6 = r8
r8 = r7
r7 = r3
r3 = r6
L2a:
int r7 = -r7
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.debitcard.DebitCardOtpActivationActivity.aF(int, int, byte, java.lang.Object[]):void");
}
public static Intent abc_(Activity activity) {
int i = 2 % 2;
Intent intent = new Intent(activity, (Class<?>) DebitCardOtpActivationActivity.class);
int i2 = k + 69;
l = i2 % 128;
if (i2 % 2 != 0) {
return intent;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void aD(int i, int i2, char c, Object[] objArr) {
int i3 = 2;
int i4 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i5 = $11 + 19;
$10 = i5 % 128;
if (i5 % i3 != 0) {
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(b[i - dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 307, KeyEvent.normalizeMetaState(0) + 5, (char) ((Process.myPid() >> 22) + 32797));
byte b2 = (byte) (-1);
Object[] objArr3 = new Object[1];
aF((byte) 8, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
try {
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(f6780o), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Color.alpha(0) + 412, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
byte b3 = (byte) (-1);
Object[] objArr5 = new Object[1];
aF((byte) ($$z & 15), b3, (byte) (b3 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
try {
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 407, TextUtils.getCapsMode("", 0, 0) + 5, (char) (29234 - TextUtils.getOffsetBefore("", 0)));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr7 = new Object[1];
aF(b4, b5, (byte) (b5 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} 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;
}
} else {
int i7 = dqy.a;
try {
Object[] objArr8 = {Integer.valueOf(b[i + dqy.a])};
Object obj4 = xzZ.y.get(1095064095);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(308 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - Color.blue(0), (char) (32797 - Color.green(0)));
byte b6 = (byte) (-1);
Object[] objArr9 = new Object[1];
aF((byte) 8, b6, (byte) (b6 + 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE);
xzZ.y.put(1095064095, obj4);
}
Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(f6780o), Integer.valueOf(c)};
Object obj5 = xzZ.y.get(-548438098);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(TextUtils.getTrimmedLength("") + 412, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (ViewConfiguration.getPressedStateDuration() >> 16));
byte b7 = (byte) (-1);
Object[] objArr11 = new Object[1];
aF((byte) ($$z & 15), b7, (byte) (b7 + 1), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj5);
}
jArr[i7] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue();
Object[] objArr12 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 == null) {
Class cls6 = (Class) xzZ.c(407 - View.resolveSize(0, 0), 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (29234 - (ViewConfiguration.getTapTimeout() >> 16)));
byte b8 = (byte) 0;
byte b9 = (byte) (b8 - 1);
Object[] objArr13 = new Object[1];
aF(b8, b9, (byte) (b9 + 1), objArr13);
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr12);
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
i3 = 2;
}
char[] cArr = new char[i2];
dqy.a = 0;
int i8 = $11 + 99;
$10 = i8 % 128;
int i9 = i8 % 2;
while (dqy.a < i2) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr14 = {dqy, dqy};
Object obj7 = xzZ.y.get(1071125919);
if (obj7 == null) {
Class cls7 = (Class) xzZ.c(407 - Color.blue(0), TextUtils.indexOf("", "") + 5, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 29233));
byte b10 = (byte) 0;
byte b11 = (byte) (b10 - 1);
Object[] objArr15 = new Object[1];
aF(b10, b11, (byte) (b11 + 1), objArr15);
obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj7);
}
((Method) obj7).invoke(null, objArr14);
}
objArr[0] = new String(cArr);
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x00a7, code lost:
if (r3 > 99999) goto L11;
*/
@Override // o.AbstractActivityC8112dBg, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onCreate(android.os.Bundle r19) {
/*
Method dump skipped, instructions count: 1102
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.debitcard.DebitCardOtpActivationActivity.onCreate(android.os.Bundle):void");
}
/* JADX WARN: Code restructure failed: missing block: B:18:0x0023, code lost:
r1.f.y();
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0021, code lost:
if (r1.f != 0) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0019, code lost:
if (r1.f != 0) goto L11;
*/
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void a_(final java.lang.String r13, final java.lang.String r14) {
/*
r12 = this;
r0 = 2
int r1 = r0 % r0
o.aEB r1 = r12.presenter
boolean r2 = r1.b
if (r2 != 0) goto Lb9
int r2 = com.scb.phone.view.activity.debitcard.DebitCardOtpActivationActivity.l
int r2 = r2 + 35
int r3 = r2 % 128
com.scb.phone.view.activity.debitcard.DebitCardOtpActivationActivity.k = r3
int r2 = r2 % r0
r3 = 0
if (r2 == 0) goto L1c
r1.b = r3
T extends o.cYp r2 = r1.f
if (r2 == 0) goto L28
goto L23
L1c:
r2 = 1
r1.b = r2
T extends o.cYp r2 = r1.f
if (r2 == 0) goto L28
L23:
T extends o.cYp r2 = r1.f
r2.y()
L28:
o.JmZ r2 = r1.a
o.gft r4 = r2.e
java.lang.String r5 = "TRADITIONAL"
java.lang.String r4 = r4.a()
boolean r4 = r5.equals(r4)
if (r4 == 0) goto L6e
o.gft r4 = r2.e
o.fSk r4 = r4.c()
o.gft r5 = r2.e
o.fSk r5 = r5.j()
o.oFk r6 = new o.oFk
r6.<init>(r2)
o.fSk r4 = o.AbstractC13163fSk.zip(r4, r5, r6)
o.xbU r5 = new o.xbU
r5.<init>(r2, r14, r13)
o.fSk r13 = r4.flatMap(r5)
o.gft r14 = r2.e
java.util.Objects.requireNonNull(r14)
o.eNq r4 = new o.eNq
r4.<init>(r14)
o.fSk r13 = r13.doOnNext(r4)
o.uPs r14 = new o.uPs
r14.<init>()
o.fSk r13 = r13.flatMap(r14)
goto La8
L6e:
o.gft r4 = r2.e
o.gft r5 = r2.e
java.lang.String r5 = r5.b()
if (r5 == 0) goto L7f
o.gft r5 = r2.e
java.lang.String r5 = r5.b()
goto L81
L7f:
java.lang.String r5 = ""
L81:
r7 = r5
java.lang.String r11 = r2.d
o.Alr r5 = new o.Alr
r8 = 0
r9 = 0
r10 = 0
r6 = r5
r6.<init>(r7, r8, r9, r10, r11)
o.fSk r13 = r4.e(r14, r13, r5)
o.gft r14 = r2.e
java.util.Objects.requireNonNull(r14)
o.eNq r4 = new o.eNq
r4.<init>(r14)
o.fSk r13 = r13.doOnNext(r4)
o.QxZ r14 = new o.QxZ
r14.<init>()
o.fSk r13 = r13.flatMap(r14)
La8:
o.aEB$Sts r14 = new o.aEB$Sts
r14.<init>(r1, r3)
r2.d(r13, r14)
int r13 = com.scb.phone.view.activity.debitcard.DebitCardOtpActivationActivity.k
int r13 = r13 + 59
int r14 = r13 % 128
com.scb.phone.view.activity.debitcard.DebitCardOtpActivationActivity.l = r14
int r13 = r13 % r0
Lb9:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.debitcard.DebitCardOtpActivationActivity.a_(java.lang.String, java.lang.String):void");
}
@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 = l + 83;
k = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
d_("atm_activate_input_otp_screen");
super.c(str, str2, str3);
int i3 = k + 15;
l = i3 % 128;
if (i3 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
d_("atm_activate_input_otp_screen");
super.c(str, str2, str3);
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC8112dBg, 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 void onResume() {
Context applicationContext;
int i = 2 % 2;
int i2 = l + 83;
k = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aE(new int[]{0, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 11, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.miles_delivery_eta_opr).substring(0, 4).codePointAt(0) - 82), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = k + 89;
l = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = k + 103;
l = i6 % 128;
if (i6 % 2 == 0) {
applicationContext = baseContext.getApplicationContext();
int i7 = 64 / 0;
} else {
applicationContext = baseContext.getApplicationContext();
}
baseContext = applicationContext;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 492, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (ViewConfiguration.getScrollBarSize() >> 8))).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.getPackedPositionGroup(0L) + 487, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC8112dBg, 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 void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aE(new int[]{0, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.liveness_permission_camera_description).substring(27, 28).length() + 22, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.onboarding_input_address_soi_is_not_allowed).substring(18, 19).codePointAt(0) - 16, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = k + 49;
l = i2 % 128;
try {
if (i2 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getWindowTouchSlop() >> 8), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) View.getDefaultSize(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(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 493, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) TextUtils.indexOf("", "", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 487, TextUtils.getOffsetBefore("", 0) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i3 = k + 119;
l = i3 % 128;
if (i3 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
private static void aE(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
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[] cArr2 = m;
int i9 = -1;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[i3] = Integer.valueOf(cArr2[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c(222 - MotionEvent.axisFromString(""), (AudioTrack.getMinVolume() > f ? 1 : (AudioTrack.getMinVolume() == f ? 0 : -1)) + 5, (char) (Color.blue(i3) + 41977));
byte b2 = (byte) i9;
cArr = cArr2;
Object[] objArr3 = new Object[1];
aF((byte) ($$z & 235), b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
cArr2 = cArr;
i3 = 0;
i5 = 1;
i9 = -1;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i6];
System.arraycopy(cArr2, i4, cArr4, 0, i6);
if (bArr != null) {
char[] cArr5 = new char[i6];
tvh.c = 0;
char c = 0;
while (tvh.c < i6) {
int i11 = $11 + 31;
$10 = i11 % 128;
int i12 = i11 % 2;
if (bArr[tvh.c] == 1) {
int i13 = $11 + 119;
$10 = i13 % 128;
if (i13 % 2 != 0) {
int i14 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - View.getDefaultSize(0, 0), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (TextUtils.getTrimmedLength("") + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i14] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
throw null;
}
int i15 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.MeasureSpec.getMode(0) + 502, 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (53 - TextUtils.indexOf((CharSequence) "", '0')))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr5[i15] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
} else {
int i16 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(15 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (58135 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr5[i16] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
}
c = cArr5[tvh.c];
Object[] objArr7 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(402 - View.getDefaultSize(0, 0), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) (ExpandableListView.getPackedPositionType(0L) + 21608));
byte b3 = (byte) (-1);
Object[] objArr8 = new Object[1];
aF((byte) ($$z & 233), b3, (byte) (b3 + 1), objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr7);
int i17 = $11 + 7;
$10 = i17 % 128;
int i18 = i17 % 2;
}
cArr4 = cArr5;
}
if (i8 > 0) {
int i19 = $11 + 37;
$10 = i19 % 128;
if (i19 % 2 != 0) {
char[] cArr6 = new char[i6];
i = 0;
System.arraycopy(cArr4, 0, cArr6, 0, i6);
System.arraycopy(cArr6, 1, cArr4, i6 / i8, i8);
System.arraycopy(cArr6, i8, cArr4, 1, i6 - i8);
} else {
i = 0;
char[] cArr7 = new char[i6];
System.arraycopy(cArr4, 0, cArr7, 0, i6);
int i20 = i6 - i8;
System.arraycopy(cArr7, 0, cArr4, i20, i8);
System.arraycopy(cArr7, i8, cArr4, 0, i20);
}
} else {
i = 0;
}
if (z) {
char[] cArr8 = new char[i6];
tvh.c = i;
int i21 = $10 + 19;
$11 = i21 % 128;
int i22 = i21 % 2;
while (tvh.c < i6) {
cArr8[tvh.c] = cArr4[(i6 - tvh.c) - 1];
tvh.c++;
}
cArr4 = cArr8;
}
if (i7 > 0) {
int i23 = $11 + 97;
$10 = i23 % 128;
int i24 = i23 % 2;
int i25 = 0;
while (true) {
tvh.c = i25;
if (tvh.c >= i6) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i25 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
@Override // o.AbstractActivityC8112dBg, 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 void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = k + 15;
l = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1, TextUtils.indexOf("", "") + 18, (char) TextUtils.indexOf("", "", 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((ViewConfiguration.getJumpTapTimeout() >> 16) + 18, (Process.myTid() >> 22) + 5, (char) TextUtils.getOffsetBefore("", 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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = l + 35;
k = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.red(0) + 492, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE(new int[]{26, 48, CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA, 0}, true, new byte[]{0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new int[]{74, 64, 0, 64}, 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];
aD(TextUtils.getOffsetBefore("", 0) + 41, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 63, (char) View.getDefaultSize(0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(104 - TextUtils.lastIndexOf("", '0'), 74 - (KeyEvent.getMaxKeyCode() >> 16), (char) (9474 - KeyEvent.normalizeMetaState(0)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD((-16777037) - Color.rgb(0, 0, 0), TextUtils.indexOf("", "") + 5, (char) (Color.alpha(0) + 50002), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(184 - (ViewConfiguration.getFadingEdgeLength() >> 16), 36 - ExpandableListView.getPackedPositionGroup(0L), (char) (ExpandableListView.getPackedPositionGroup(0L) + 28361), 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(View.MeasureSpec.makeMeasureSpec(0, 0) + 487, 5 - KeyEvent.getDeadChar(0, 0), (char) Drawable.resolveOpacity(0, 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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.AbstractActivityC8112dBg, 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 void onStart() {
int i = 2 % 2;
int i2 = l + 101;
k = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 != 0) {
obj.hashCode();
throw null;
}
int i4 = k + 39;
l = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
}