what-the-bank/sources/com/scb/phone/view/activity/prepaid/Hilt_PrepaidOtpActivity.java

523 lines
32 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.prepaid;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
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.google.common.base.Ascii;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseOtpActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.DFY;
import o.InterfaceC11551ehV;
import o.InterfaceC17278vUG;
import o.dQY;
import o.xzZ;
import org.jmrtd.cbeff.ISO781611;
import org.jmrtd.lds.CVCAFile;
/* loaded from: classes5.dex */
public abstract class Hilt_PrepaidOtpActivity extends BaseOtpActivity {
private static short[] r;
private boolean b = false;
private static final byte[] $$y = {67, -87, -63, ISOFileInfo.FCI_EXT};
private static final int $$z = 234;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int q = 1;
private static char[] k = {37050, 39019, 33027, 35379, 46028, 48356, 42379, 44775, 54852, 57190, 51289, 61697, 64193, 58354, 60572, 5564, 7496, 1558, 52403, 50297, 56631, 54829, 61378, 57402, 59627, 61827, 64179, 49996, 52324, 54539, 56935, 42698, 45029, 47239, 33279, 35442, 37758, 39947, 25904, 28109, 30348, 32691, 18520, 20823, 23045, 9021, 11212, 13546, 15761, 40985, 43217, 45492, 47762, 33639, 35906, 38202, 40489, 59130, 61380, 63674, 49561, 51825, 54109, 56362, 9489, 11765, 13994, 22705, 20534, 18780, 17017, 31689, 29877, 28033, 26279, 7698, 5927, 'O', 14655, 13018, 11170, 9412, 56810, 54609, 52748, 50986, 61594, 59833, 58070, 39923, 37648, 35939, 34118, 48698, 47071, 41120, 22976, 21229, 19030, 17188, 31788, 30157, 28351, 26589, 4340, 2069, 307, 14933, 13166, 11401, 9641, 56990, 55221, 52994, 63607, 61714, 60107, 58302, 40146, 38398, 36127, 34356, 48900, 43120, 41439, 23290, 21403, 19693, 17422, 32119, 30277, 19715, 17866, 23742, 22414, 28274};
private static long l = 6795962860594628364L;
private static int m = 957354267;
/* renamed from: o, reason: collision with root package name */
private static int f7759o = 1406017041;
private static int t = -195993685;
private static byte[] p = {57, -86, ISO7816.INS_DECREASE_STAMPED, ISO7816.INS_UPDATE_RECORD, 11, -27, -20, -25, -47, -31, ISO7816.INS_DELETE_FILE, -6, 60, -8, -26, -19, -31, -44, 14, -45, 11, -41, ISO7816.INS_DECREASE_STAMPED, -47, ISO7816.INS_DECREASE_STAMPED, -39, ISO7816.INS_DECREASE_STAMPED, ISO7816.INS_CREATE_FILE, -2, -29, -6, ISO7816.INS_WRITE_BINARY, 15, -20, ISO7816.INS_WRITE_BINARY, 10, -41, 10, -8, ISO7816.INS_WRITE_RECORD, ISO7816.INS_CREATE_FILE, -2, -26, 49, ISO7816.INS_WRITE_BINARY, 11, ISO7816.INS_DELETE_FILE, -29, 41, 122, -33, -126, ISO7816.INS_UPDATE_RECORD, 103, -84, ISOFileInfo.FILE_IDENTIFIER, ISO7816.INS_READ_BINARY_STAMPED, ISOFileInfo.ENV_TEMP_EF, -35, -75, -126, -119, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, 120, -126, 101, ISO7816.INS_WRITE_RECORD, -33, -75, -33, -126, ISOFileInfo.LCS_BYTE, 126, Byte.MIN_VALUE, 123, ISOFileInfo.LCS_BYTE, -126, ISO7816.INS_UPDATE_RECORD, 126, -33, 102, -41, 103, -81, 107, ISO7816.INS_WRITE_BINARY, 123, -33, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.SECURITY_ATTR_EXP, 105, 121, -35, ISO7816.INS_UPDATE_RECORD, 101, ISO7816.INS_WRITE_BINARY, 121, 122, ISO7816.INS_WRITE_RECORD, 122, -35, ISOFileInfo.CHANNEL_SECURITY, -126, 101, -120, -126, -119, -113, ISOFileInfo.LCS_BYTE, -35, 83, 120, 67, 74, 104, 82, 51, 126, -71, 0, -92, CVCAFile.CAR_TAG, 75, 123, 122, 70, 39, ISOFileInfo.FILE_IDENTIFIER, 122, 72, 63, -113, 123, 73, 54, ISOFileInfo.LCS_BYTE, 124, 82, 105, 65, 123, 72, Ascii.DEL, 82, 105, 75, 58, -89, CVCAFile.CAR_TAG, 95, 123, 104, 92, 121, 124, 119, 113, 3, ISOFileInfo.SECURITY_ATTR_COMPACT, 126, 78, 120, 115, 116, 101, 67, 114, 78, 101, 77, 123, 73, 115, 73, 101, 115, 1, 77, 118, Byte.MIN_VALUE, 76, 121, 77, 73, 53, 97, 41, 106, ISO7816.INS_UNBLOCK_CHV, 91, 47, Ascii.DEL, 71, 124, 92, 122, -106, 83, 47, 104, 106, 97, 41, -107, ISO7816.INS_UNBLOCK_CHV, 47, -108, 80, 46, 102, 35, -110, 46, 41, 32, 70, 101, 107, 90, 41};
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x0027). 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(short r5, short r6, short r7, java.lang.Object[] r8) {
/*
int r5 = r5 + 4
byte[] r0 = com.scb.phone.view.activity.prepaid.Hilt_PrepaidOtpActivity.$$y
int r6 = 110 - r6
int r7 = r7 * 3
int r1 = r7 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L13
r4 = r6
r6 = r7
r3 = r2
goto L27
L13:
r3 = r2
L14:
byte r4 = (byte) r6
int r5 = r5 + 1
r1[r3] = r4
if (r3 != r7) goto L23
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L23:
int r3 = r3 + 1
r4 = r0[r5]
L27:
int r6 = r6 + r4
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.Hilt_PrepaidOtpActivity.aF(short, short, short, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_PrepaidOtpActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.prepaid.Hilt_PrepaidOtpActivity.2
private Hilt_PrepaidOtpActivity d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.d.l();
}
});
}
@Override // o.AbstractActivityC9736dpX
public final void l() {
int i = 2 % 2;
int i2 = q + 49;
int i3 = i2 % 128;
s = i3;
int i4 = i2 % 2;
if (this.b) {
return;
}
int i5 = i3 + 83;
q = i5 % 128;
int i6 = i5 % 2;
this.b = true;
((InterfaceC11551ehV) y_()).c((PrepaidOtpActivity) this);
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x00c6, code lost:
if (r2 > 99999) goto L10;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x00c3, code lost:
if (r2 > 99999) goto L10;
*/
@Override // 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 r31) {
/*
Method dump skipped, instructions count: 1496
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.Hilt_PrepaidOtpActivity.onCreate(android.os.Bundle):void");
}
private static void aD(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = $11 + 25;
$10 = i4 % 128;
int i5 = i4 % 2;
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(k[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(308 - Color.alpha(0), KeyEvent.keyCodeFromString("") + 5, (char) (32797 - ExpandableListView.getPackedPositionGroup(0L)));
byte b = (byte) (-1);
Object[] objArr3 = new Object[1];
aF(b, (byte) (b & 12), (byte) 0, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(l), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 412, ImageFormat.getBitsPerPixel(0) + 6, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b2 = (byte) (-1);
Object[] objArr5 = new Object[1];
aF(b2, (byte) (b2 & 11), (byte) 0, 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();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Color.blue(0) + 407, ExpandableListView.getPackedPositionType(0L) + 5, (char) (29234 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))));
byte length = (byte) $$y.length;
Object[] objArr7 = new Object[1];
aF((byte) (-1), length, (byte) (length - 4), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i7 = $10 + 71;
$11 = i7 % 128;
if (i7 % 2 == 0) {
int i8 = 4 / 5;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 407, 5 - (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)), (char) (29234 - Color.green(0)));
byte length2 = (byte) $$y.length;
Object[] objArr9 = new Object[1];
aF((byte) (-1), length2, (byte) (length2 - 4), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
objArr[0] = new String(cArr);
}
/* JADX WARN: Code restructure failed: missing block: B:27:0x0023, code lost:
r8 = (java.lang.Object[]) null;
r10 = new java.lang.Object[1];
aD(22 - android.os.Process.getGidForName(""), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, (char) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.prepaid_travel_wallet_other_currency_wallet_empty_state).substring(40, 41).length() + 28552), r10);
r1 = java.lang.Class.forName((java.lang.String) r10[0]);
r9 = new java.lang.Object[1];
aD(((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 15, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, (char) (android.text.TextUtils.lastIndexOf("", '0', 0, 0) + 12201), r9);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r9[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x0021, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost:
if (r1 == null) goto L9;
*/
@Override // 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 onResume() {
/*
Method dump skipped, instructions count: 404
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.Hilt_PrepaidOtpActivity.onResume():void");
}
@Override // 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;
int i2 = q + 7;
s = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(23 - (ViewConfiguration.getLongPressTimeout() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 72, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 28540), 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 + 15, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_mobile_no_title).substring(0, 10).codePointAt(4) - 90, (char) (12200 - TextUtils.getCapsMode("", 0, 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 = q + 121;
s = i3 % 128;
int i4 = i3 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 492, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) ((Process.getThreadPriority(0) + 20) >> 6))).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 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = q + 97;
s = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 2 % 4;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aE(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
int length;
byte[] bArr;
int i4;
int i5 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(f7759o)};
Object obj = xzZ.y.get(-2092856797);
int i6 = -1;
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 337, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b2 = (byte) (-1);
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
aF(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
int i7 = intValue == -1 ? 1 : 0;
double d = 0.0d;
if (i7 != 0) {
byte[] bArr2 = p;
if (bArr2 != null) {
int i8 = $10 + 1;
$11 = i8 % 128;
int i9 = i8 % 2;
int length2 = bArr2.length;
byte[] bArr3 = new byte[length2];
int i10 = 0;
while (i10 < length2) {
Object[] objArr4 = {Integer.valueOf(bArr2[i10])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(59 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == d ? 0 : -1)) + 5, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1));
byte b4 = (byte) i6;
byte b5 = (byte) (b4 + 3);
Object[] objArr5 = new Object[1];
aF(b4, b5, (byte) (b5 - 2), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr3[i10] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i10++;
i6 = -1;
d = 0.0d;
}
bArr2 = bArr3;
}
if (bArr2 != null) {
int i11 = $11 + 63;
$10 = i11 % 128;
int i12 = i11 % 2;
byte[] bArr4 = p;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(m)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 337, 5 - TextUtils.indexOf("", "", 0), (char) Color.green(0));
byte b6 = (byte) (-1);
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
aF(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
intValue = (byte) (((byte) (bArr4[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (f7759o ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (r[i + ((int) (m ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (f7759o ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
dfy.c = ((i + intValue) - 2) + ((int) (m ^ (-7303220121662775787L))) + i7;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(t), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 748, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj4);
}
((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr5 = p;
if (bArr5 != null) {
int i13 = $10 + 45;
$11 = i13 % 128;
if (i13 % 2 == 0) {
length = bArr5.length;
bArr = new byte[length];
i4 = 1;
} else {
length = bArr5.length;
bArr = new byte[length];
i4 = 0;
}
while (i4 < length) {
bArr[i4] = (byte) (bArr5[i4] ^ (-7303220121662775787L));
i4++;
}
bArr5 = bArr;
}
boolean z = bArr5 != null;
dfy.d = 1;
while (dfy.d < intValue) {
if (z) {
byte[] bArr6 = p;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r5] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = r;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r5] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
}
objArr[0] = sb.toString();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
@Override // 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) {
Context context2;
int i = 2 % 2;
int i2 = q + 119;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD((-1) - ExpandableListView.getPackedPositionChild(0L), 18 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (View.resolveSize(0, 0) + 7945), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(18 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), AndroidCharacter.getMirror('0') - '+', (char) (17212 - AndroidCharacter.getMirror('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) {
if (context != null) {
context2 = context.getApplicationContext();
int i4 = q + 101;
s = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0'), TextUtils.getCapsMode("", 0, 0) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE((short) (14 - View.combineMeasuredStates(0, 0)), (-1792937743) - TextUtils.lastIndexOf("", '0', 0), TextUtils.getCapsMode("", 0, 0) - 5, 1482735219 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) (1 - Process.getGidForName("")), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE((short) ((ViewConfiguration.getTouchSlop() >> 8) - 27), (-1792937695) - TextUtils.indexOf((CharSequence) "", '0', 0), (-5) - (ViewConfiguration.getScrollDefaultDelay() >> 16), TextUtils.getTrimmedLength("") + 1482735271, (byte) (Color.argb(0, 0, 0, 0) + 80), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(68 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (KeyEvent.getMaxKeyCode() >> 16) + 64, (char) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 55042), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE((short) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 29), (-1792937630) - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (-5) - (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)), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 1482735273, (byte) (116 - TextUtils.indexOf((CharSequence) "", '0', 0)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(Color.alpha(0) + ISO781611.CREATION_DATE_AND_TIME_TAG, (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, (char) (49896 - TextUtils.getOffsetAfter("", 0)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE((short) ((-93) - (KeyEvent.getMaxKeyCode() >> 16)), (-1792937557) - ImageFormat.getBitsPerPixel(0), (ViewConfiguration.getMaximumFlingVelocity() >> 16) - 5, 1482735270 - ImageFormat.getBitsPerPixel(0), (byte) (View.resolveSize(0, 0) + 35), objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 487, AndroidCharacter.getMirror('0') - '+', (char) (ViewConfiguration.getEdgeSlop() >> 16))).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.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 = q + 25;
s = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 != 0) {
obj.hashCode();
throw null;
}
int i4 = s + 27;
q = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
}