what-the-bank/sources/o/dVB.java

626 lines
35 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
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.util.TypedValue;
import android.view.Gravity;
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.view.activity.BaseOtpActivity;
import com.scb.phone.view.activity.investment.scbs.open.OnboardingTcScbsOtpActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public abstract class dVB extends BaseOtpActivity {
private boolean b = false;
private static final byte[] $$y = {123, ISO7816.INS_READ_RECORD2, ISO7816.INS_MSE, -23};
private static final int $$z = CipherSuite.TLS_PSK_WITH_NULL_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int q = 1;
private static char l = 18591;
/* renamed from: o, reason: collision with root package name */
private static char f8835o = 47038;
private static char m = 26231;
private static char k = 44244;
private static char[] r = {35371, 49138, 49035, 49025, 49034, 35373, 49094, 49095, 49106, 49024, 49104, 49026, 35361, 49054, 49030, 49116, 49091, 49117, 35370, 49031, 49029, 49110, 35372, 35363, 49027, 35360, 49028, 49111, 49105, 35375, 49109, 49114, 49119, 35368, 49089, 35374};
private static char p = 35375;
/* 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, byte r7, java.lang.Object[] r8) {
/*
byte[] r0 = o.dVB.$$y
int r6 = r6 * 4
int r6 = r6 + 4
int r7 = r7 * 4
int r1 = r7 + 1
int r5 = 120 - r5
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L15
r4 = r6
r5 = r7
r3 = r2
goto L27
L15:
r3 = r2
L16:
byte r4 = (byte) r5
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[r6]
L27:
int r6 = r6 + 1
int r5 = r5 + r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.dVB.aF(short, short, byte, java.lang.Object[]):void");
}
public dVB() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dVB.3
private dVB c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.c.l();
}
});
}
@Override // o.AbstractActivityC9736dpX
public final void l() {
int i = 2 % 2;
int i2 = q;
int i3 = i2 + 91;
s = i3 % 128;
int i4 = i3 % 2;
if (!this.b) {
int i5 = i2 + 91;
s = i5 % 128;
int i6 = i5 % 2;
this.b = true;
((dVL) y_()).e((OnboardingTcScbsOtpActivity) this);
}
}
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];
while (jtb.b < cArr.length) {
int i3 = $10 + 85;
$11 = i3 % 128;
int i4 = 58224;
if (i3 % 2 == 0) {
cArr3[1] = cArr[jtb.b];
cArr3[0] = cArr[jtb.b];
} else {
cArr3[0] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
}
for (int i5 = 0; i5 < 16; i5++) {
int i6 = $10 + 69;
$11 = i6 % 128;
int i7 = i6 % 2;
char c = cArr3[1];
char c2 = cArr3[0];
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i4) ^ ((c2 << 4) + ((char) (m ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(k)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 412, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) TextUtils.getTrimmedLength(""));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aF((byte) 54, b, b, 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 + i4) ^ ((charValue << 4) + ((char) (l ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(f8835o)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 413, ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (Process.myTid() >> 22));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aF((byte) 54, b2, b2, 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();
i4 -= 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(97 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), Color.rgb(0, 0, 0) + 16777221, (char) View.getDefaultSize(0, 0));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aF((byte) 53, b3, b3, 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 i8 = $10 + 31;
$11 = i8 % 128;
if (i8 % 2 == 0) {
throw null;
}
objArr[0] = str;
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x00a2, 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 r17) {
/*
Method dump skipped, instructions count: 1294
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.dVB.onCreate(android.os.Bundle):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 onResume() {
int i = 2 % 2;
int i2 = s + 59;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = q + 93;
s = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aD(new char[]{36366, 55176, 6002, 195, 18218, 42899, 6974, 60959, 4614, 37241, 53683, 61340, 31285, 50482, 11601, 17023, 38710, 47285, 38156, 14206, 42214, 10149, 27636, 22623, 7510, 13349}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 85, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{11, 7, 13901, 13901, 23, 15, '\r', 7, 13903, 13903, '!', ' ', 11, '\t', '\r', 1, 16, '\f'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 67), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 97, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = s + 29;
q = i6 % 128;
try {
if (i6 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 493, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1))).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((ViewConfiguration.getPressedStateDuration() >> 16) + 487, TextUtils.indexOf("", "") + 5, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
int i7 = 0 / 0;
} else {
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 492, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).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(487 - ((Process.getThreadPriority(0) + 20) >> 6), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (ViewConfiguration.getScrollBarSize() >> 8))).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();
int i8 = q + 79;
s = i8 % 128;
if (i8 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@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;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new char[]{36366, 55176, 6002, 195, 18218, 42899, 6974, 60959, 4614, 37241, 53683, 61340, 31285, 50482, 11601, 17023, 38710, 47285, 38156, 14206, 42214, 10149, 27636, 22623, 7510, 13349}, View.getDefaultSize(0, 0) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{11, 7, 13901, 13901, 23, 15, '\r', 7, 13903, 13903, '!', ' ', 11, '\t', '\r', 1, 16, '\f'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.debit_card_request_checkbox_physical_card_detail).substring(93, 94).length() + 100), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.marker_phone).substring(0, 25).codePointAt(13) - 83, 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 = q + 31;
s = i2 % 128;
try {
if (i2 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - TextUtils.getTrimmedLength(""), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).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(TextUtils.indexOf("", "") + 487, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).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((-16776724) - Color.rgb(0, 0, 0), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) TextUtils.indexOf("", "", 0, 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(487 - View.combineMeasuredStates(0, 0), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) KeyEvent.normalizeMetaState(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
int i3 = q + 83;
s = i3 % 128;
int i4 = i3 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@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 = s + 123;
q = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new char[]{36366, 55176, 6002, 195, 18218, 42899, 6974, 60959, 52850, 52852, 22432, 38633, 61467, 40749, 22090, 44099, 22595, 11922}, 18 - Color.alpha(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{33791, 3530, 8378, 793, 33035, 14164}, 5 - Gravity.getAbsoluteGravity(0, 0), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = s + 99;
q = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
context2 = context.getApplicationContext();
int i6 = q + 87;
s = i6 % 128;
int i7 = i6 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i8 = q + 69;
s = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.indexOf("", ""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(new char[]{6717, 55561, 2931, 57308, 15362, 50621, 25712, 51010, 28745, 46569, 65347, 31748, 9824, 15322, 16759, 37432, 6733, 21949, 57052, 44964, 28205, 49515, 17132, 25019, 64206, 57211, 11839, 7932, 59014, 24429, 11377, 34800, 18474, 57887, 9907, 12455, 29215, 57966, 8739, 26386, 53608, 26053, 10270, 23654, 54908, 16394, 49998, 61893}, 48 - (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)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new char[]{22, 27, 21, 22, 22, 26, 22, 1, 20, 15, 2, 21, 2, 21, 29, '\b', 21, 20, '\t', 5, '\b', 22, 7, 20, '\b', 21, NistHelper.SEP_FS, 6, 4, 5, 26, 0, 13822, 13822, 20, 14, 20, '\b', 13897, 13897, 22, 26, 14, 26, 17, '\b', 22, 26, 26, 3, ' ', 24, '\b', 4, 16, 26, 4, '\b', '\b', 5, 22, 26, '\t', 20}, (byte) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 81), 63 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new char[]{14, '\b', 27, 6, '\t', '\n', 13855, 13855, 4, 5, 15, 27, 25, 22, 26, 0, '\n', 26, 0, 30, 6, 29, 27, 2, '\b', 4, '!', 18, '\b', 26, 3, NistHelper.SEP_FS, 22, 25, 14, 20, 15, 2, 13771, 13771, '\f', 26, 15, '\b', '\"', 6, 21, 22, 27, 22, 4, 3, 22, 2, 30, 0, 26, 6, ' ', 6, 20, '\b', '\b', NistHelper.SEP_FS}, (byte) ('P' - AndroidCharacter.getMirror('0')), 64 - TextUtils.getOffsetAfter("", 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new char[]{21894, 59943, 15253, 30618, 21164, 54245, 23685, 15210, 16263, 9166, 21459, 32590, 29793, 50479, 19318, 53429, 61669, 34314, 37055, 48458, 9537, 4670, 14517, 48606, 59489, 353, 39547, 53388, 22588, 30312, 42274, 27001, 23381, 60417, 11401, 56582, 50792, 62962, 62990, 29380, 46388, 11836, 8862, 60498, 19561, 18225, 46388, 11836, 65131, 62025, 29793, 50479, 44869, 28260, 4614, 37241, 22625, 15110, 15232, 62291, 38801, 51519, 61663, 11650, 49278, 3282, 34954, 39800, 9205, 37418, 59030, 37020, 48014, 2720}, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new char[]{36974, 27296, 52359, 14740, 12478, 310}, View.MeasureSpec.getMode(0) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{20, '\t', 1, 21, NistHelper.SEP_FS, 3, 18, 25, 14, 19, 27, 18, 25, 16, 21, 1, 13784, 13784, 14, 7, 27, 22, 7, 16, 4, '\t', 2, '\t', 27, 20, '\b', 16, 20, '\r', '\t', 23}, (byte) (45 - Color.blue(0)), Process.getGidForName("") + 37, 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(487 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - (Process.myPid() >> 22), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
private static void aE(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
char c;
Object method;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = r;
long j = 0;
int i4 = 3;
int i5 = 1;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
int i7 = $10 + 21;
$11 = i7 % 128;
if (i7 % 2 == 0) {
try {
Object[] objArr2 = new Object[i5];
objArr2[0] = Integer.valueOf(cArr2[i6]);
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.red(0) + 298, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > j ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == j ? 0 : -1)), (char) TextUtils.indexOf("", "", 0));
byte b2 = (byte) i4;
byte b3 = (byte) (b2 - 3);
Object[] objArr3 = new Object[1];
aF(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i6])};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 298, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) ((Process.getThreadPriority(0) + 20) >> 6));
byte b4 = (byte) 3;
byte b5 = (byte) (b4 - 3);
Object[] objArr5 = new Object[1];
aF(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
cArr3[i6] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i6++;
}
j = 0;
i4 = 3;
i5 = 1;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(p)};
Object obj3 = xzZ.y.get(-1987398494);
char c2 = '0';
char c3 = 4;
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(297 - TextUtils.indexOf((CharSequence) "", '0'), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))));
byte b6 = (byte) 3;
byte b7 = (byte) (b6 - 3);
Object[] objArr7 = new Object[1];
aF(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
char charValue = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
int i8 = $11 + 117;
$10 = i8 % 128;
int i9 = i8 % 2;
irs.e = 0;
while (irs.e < i2) {
int i10 = $10 + 13;
$11 = i10 % 128;
int i11 = i10 % 2;
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i12 = $11 + 3;
$10 = i12 % 128;
int i13 = i12 % 2;
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
c = c3;
} else {
try {
Object[] objArr8 = new Object[13];
objArr8[12] = irs;
objArr8[11] = Integer.valueOf(charValue);
objArr8[10] = irs;
objArr8[9] = irs;
objArr8[8] = Integer.valueOf(charValue);
objArr8[7] = irs;
objArr8[6] = irs;
objArr8[5] = Integer.valueOf(charValue);
objArr8[c3] = irs;
objArr8[3] = irs;
objArr8[2] = Integer.valueOf(charValue);
objArr8[1] = irs;
objArr8[0] = irs;
Object obj4 = xzZ.y.get(822107368);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(232 - ExpandableListView.getPackedPositionChild(0L), 4 - TextUtils.indexOf("", c2, 0), (char) (Color.green(0) + 22024));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
aF(b8, b9, b9, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj4);
}
if (((Integer) ((Method) obj4).invoke(null, objArr8)).intValue() == irs.j) {
Object[] objArr10 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(-1152873385);
if (obj5 != null) {
method = obj5;
c2 = '0';
c = 4;
} else {
c2 = '0';
Class cls5 = (Class) xzZ.c(326 - TextUtils.indexOf((CharSequence) "", '0'), 5 - KeyEvent.getDeadChar(0, 0), (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b10 = (byte) 2;
byte b11 = (byte) (b10 - 2);
Object[] objArr11 = new Object[1];
aF(b10, b11, b11, objArr11);
String str = (String) objArr11[0];
c = 4;
method = cls5.getMethod(str, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, method);
}
int intValue = ((Integer) ((Method) method).invoke(null, objArr10)).intValue();
int i14 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i14];
} else {
c2 = '0';
c = 4;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i15 = (irs.a * charValue) + irs.f;
int i16 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i15];
cArr4[irs.e + 1] = cArr2[i16];
} else {
int i17 = (irs.a * charValue) + irs.j;
int i18 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i17];
cArr4[irs.e + 1] = cArr2[i18];
}
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
irs.e += 2;
int i19 = $11 + 113;
$10 = i19 % 128;
int i20 = i19 % 2;
c3 = c;
}
}
for (int i21 = 0; i21 < i; i21++) {
cArr4[i21] = (char) (cArr4[i21] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@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 + 113;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 119;
q = i4 % 128;
int i5 = i4 % 2;
}
}