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

608 lines
35 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
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.view.activity.BaseOtpActivity;
import com.scb.phone.view.activity.debitatm.DebitLimitOtpActivity;
import java.lang.reflect.Method;
import okhttp3.internal.http2.Http2Connection;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.dAn, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8085dAn extends BaseOtpActivity {
private boolean b = false;
private static final byte[] $$E = {71, -71, -97, 59};
private static final int $$F = 220;
private static int $10 = 0;
private static int $11 = 1;
private static int l = 0;
private static int p = 1;
private static char[] k = {49104, 49089, 49117, 49026, 49024, 49031, 49114, 49108, 49035, 49030, 49111, 49034, 49109, 49025, 49029, 49116, 49088, 49028, 49106, 49053, 49105, 49123, 49110, 49107, 49027};
/* renamed from: o, reason: collision with root package name */
private static char f8682o = 35372;
private static long m = -4375431596878524648L;
private static void aJ(short s, byte b, int i, Object[] objArr) {
int i2 = i + 77;
byte[] bArr = $$E;
int i3 = 4 - (s * 2);
int i4 = b * 2;
byte[] bArr2 = new byte[i4 + 1];
int i5 = -1;
if (bArr == null) {
i3++;
i2 = i4 + i3;
}
while (true) {
i5++;
bArr2[i5] = (byte) i2;
if (i5 == i4) {
objArr[0] = new String(bArr2, 0);
return;
} else {
int i6 = bArr[i3];
i3++;
i2 += i6;
}
}
}
public AbstractActivityC8085dAn() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dAn.2
private AbstractActivityC8085dAn c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.c.l();
}
});
}
@Override // o.AbstractActivityC9736dpX
public final void l() {
InterfaceC8082dAk interfaceC8082dAk;
int i = 2 % 2;
int i2 = p;
int i3 = i2 + 121;
l = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
if (this.b) {
return;
}
int i4 = i2 + 39;
l = i4 % 128;
if (i4 % 2 != 0) {
this.b = true;
interfaceC8082dAk = (InterfaceC8082dAk) y_();
} else {
this.b = true;
interfaceC8082dAk = (InterfaceC8082dAk) y_();
}
interfaceC8082dAk.b((DebitLimitOtpActivity) this);
}
private static void aI(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;
while (c4593bdB.e < cArr.length) {
int i3 = $10 + 13;
$11 = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 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(403 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - TextUtils.indexOf("", "", 0, 0), (char) (21608 - (KeyEvent.getMaxKeyCode() >> 16)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aJ(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i4] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() + (m | (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 238, (Process.myTid() >> 22) + 5, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aJ(b3, b4, (byte) (b4 + 1), 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 i5 = c4593bdB.e;
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(402 - Color.red(0), Color.red(0) + 5, (char) (21607 - TextUtils.lastIndexOf("", '0', 0, 0)));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aJ(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i5] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (m ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(238 - (ViewConfiguration.getPressedStateDuration() >> 16), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
aJ(b7, b8, (byte) (b8 + 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
int i6 = $11 + 21;
$10 = i6 % 128;
int i7 = i6 % 2;
while (c4593bdB.e < cArr.length) {
int i8 = $11 + 115;
$10 = i8 % 128;
if (i8 % 2 != 0) {
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.getFadingEdgeLength() >> 16) + 238, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr11 = new Object[1];
aJ(b9, b10, (byte) (b10 + 1), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
Object obj6 = null;
((Method) obj5).invoke(null, objArr10);
obj6.hashCode();
throw null;
}
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr12 = {c4593bdB, c4593bdB};
Object obj7 = xzZ.y.get(-1143917229);
if (obj7 == null) {
Class cls6 = (Class) xzZ.c(Color.blue(0) + 238, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b11 = (byte) 0;
byte b12 = b11;
Object[] objArr13 = new Object[1];
aJ(b11, b12, (byte) (b12 + 1), objArr13);
obj7 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj7);
}
((Method) obj7).invoke(null, objArr12);
}
objArr[0] = new String(cArr2);
}
@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 onCreate(Bundle bundle) {
Context applicationContext;
int i = 2 % 2;
int i2 = l + 63;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(new char[]{17, 3, 11, 0, 16, 5, 14, 15, 16, 17, 16, 24, 0, 16, 2, 20, 13882, 13882}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_personal_info_laser_id_title).substring(0, 15).codePointAt(3) - 20), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{7347, 51932, 45181, 40902, 17750}, Color.argb(0, 0, 0, 0) + 54907, 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];
aI(new char[]{7359, 26913, 63384, 31775, 51957, 22370, 56796, 10759, 45111, 16055, 35588, 4555, 40531, 58592, 28996, 65480, 17848, 53782, 22680, 42340, 13278, 47187, 1754, 36028, 6439, 26515}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_p2p_tap_menu).substring(0, 9).codePointAt(2) + 29992, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aI(new char[]{7357, 15626, 24558, 30799, 39487, 46229, 54636, 63480, 4518, 12807, 19704, 27996, 36657, 43410, 51812, 58584, 1697, 9985}, ExpandableListView.getPackedPositionType(0L) + 8609, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = l + 59;
p = i4 % 128;
if (i4 % 2 == 0) {
applicationContext = baseContext.getApplicationContext();
int i5 = 27 / 0;
} else {
applicationContext = baseContext.getApplicationContext();
}
baseContext = applicationContext;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - Process.getGidForName(""), 5 - KeyEvent.getDeadChar(0, 0), (char) TextUtils.indexOf("", ""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aI(new char[]{7407, 14068, 18640, 25323, 46233, 52780, 57366, 14964, 19540, 26594, 47566, 54144, 58801, 16325, 20859, 27477, 48492, 55040, 60134, 15553, 22185, 26763, 33473, 54396, 60928, '=', 23119, 28132, 34705, 55726, 62428, 1388, 24399, 29014, 35644, 56600, 61612, 2698, 23794, 30423, 34916, 41551, 62501, 3636, 8257, 31743, 36237, 42937}, 10781 - TextUtils.indexOf("", "", 0), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new char[]{23, 21, '\f', 24, '\n', 24, 6, '\n', 24, 7, 14, '\n', 14, '\n', 18, 2, '\n', '\t', '\b', 18, 4, '\n', 15, '\b', '\t', 19, 20, 4, 14, '\f', 23, '\t', 13751, 13751, '\b', 19, 5, '\t', 13826, 13826, '\n', 24, 19, '\r', '\b', 4, '\n', 24, '\r', 5, 17, 22, 3, 5, 5, 24, 5, 3, '\b', '\r', '\n', 24, 17, 23}, (byte) (11 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), (ViewConfiguration.getFadingEdgeLength() >> 16) + 64, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{7359, 49183, 42268, 35334, 28507, 19504, 12653, 5748, 64292, 55334, 48471, 25096, 18192, 9295, 2416, 61041, 54063, 45109, 38202, 31381, 24475, 15491, 57743, 50867, 44005, 34999, 28146, 21240, 14298, 5341, 63945, 56989, 33738, 24741, 17837, 10976, 4079, 62225, 53273, 46336, 39427, 32527, 23601, 318, 58996, 52088, 43094, 36108, 29196, 22290, 13390, 6525, 65148, 41834, 32872, 26055, 19094, 12238, 3282, 61916, 54967, 48051, 39155, 32174}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 56535, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new char[]{7350, 17499, 44360, 5757, 32617, 41041, 2391, 29286, 56101, 15566, 26069, 52968, 14321, 39052, 49565, 10924, 37803, 62637, 23631, 34132, 61035, 22391, 47114, 57624, 18984, 45884, 5258, 32193, 42730, 4065, 28805, 55696, 650, 27564, 52413, 13406, 40270, 50725, 12159, 36892, 63767, 8757, 35632, 60630, 21955, 48886, 59377, 18579, 45451, 6865, 17327, 42162, 3143, 29972, 56937, 1897, 26639, 53592, 14893, 25403, 50373, 11734, 38643, 65509, 8369, 35225, 62158, 23522, 48319, 58461, 19805, 46695, 8034, 16404}, 22769 - TextUtils.indexOf("", ""), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aG(new char[]{14, 16, '\t', 18, 13784}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.registration_card_detail_header_register_flow).substring(24, 25).length() + 45), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_summary_repayment_about_intro).substring(151, CipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA).length() + 4, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aI(new char[]{7355, 36812, 14858, 42675, 20854, 64984, 26712, 5323, 34667, 13283, 56976, 18762, 62936, 24612, 3232, 48977, 11231, 54860, 17125, 60726, 38976, 1236, 46943, 9126, 52772, 31366, 58690, 37278, 15485, 43196, 23495, 50694, 29322, 7480, 35241, 13314}, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 37746, 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(487 - (ViewConfiguration.getTouchSlop() >> 8), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) Color.red(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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@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 = p + 119;
l = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = l + 49;
p = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aI(new char[]{7359, 26913, 63384, 31775, 51957, 22370, 56796, 10759, 45111, 16055, 35588, 4555, 40531, 58592, 28996, 65480, 17848, 53782, 22680, 42340, 13278, 47187, 1754, 36028, 6439, 26515}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30063, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{7357, 15626, 24558, 30799, 39487, 46229, 54636, 63480, 4518, 12807, 19704, 27996, 36657, 43410, 51812, 58584, 1697, 9985}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) + 8494, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i6 = p + 37;
l = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = p + 59;
l = i8 % 128;
try {
if (i8 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0', 0), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).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(TextUtils.getOffsetAfter("", 0) + 487, 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) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i9 = 93 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - Color.alpha(0), ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - Color.alpha(0), 5 - TextUtils.indexOf("", "", 0), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@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();
if (baseContext == null) {
int i2 = l + 13;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aI(new char[]{7359, 26913, 63384, 31775, 51957, 22370, 56796, 10759, 45111, 16055, 35588, 4555, 40531, 58592, 28996, 65480, 17848, 53782, 22680, 42340, 13278, 47187, 1754, 36028, 6439, 26515}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30063, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{7357, 15626, 24558, 30799, 39487, 46229, 54636, 63480, 4518, 12807, 19704, 27996, 36657, 43410, 51812, 58584, 1697, 9985}, 8609 - Color.red(0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 19;
l = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
int i6 = l + 113;
p = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = l + 49;
p = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Drawable.resolveOpacity(0, 0), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).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((ViewConfiguration.getTouchSlop() >> 8) + 487, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) KeyEvent.normalizeMetaState(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();
}
private static void aG(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = k;
long j = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = 0;
while (i5 < length) {
int i6 = $10 + 69;
$11 = i6 % 128;
if (i6 % i3 == 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 297, 4 - TextUtils.lastIndexOf("", '0', 0), (char) (1 - (SystemClock.elapsedRealtime() > j ? 1 : (SystemClock.elapsedRealtime() == j ? 0 : -1))));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aJ(b2, b3, (byte) (b3 | 40), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i5] = ((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[i5])};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 297, TextUtils.getOffsetBefore("", 0) + 5, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aJ(b4, b5, (byte) (b5 | 40), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
cArr3[i5] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i5++;
}
i3 = 2;
j = 0;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(f8682o)};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 298, ExpandableListView.getPackedPositionChild(0L) + 6, (char) ((-1) - MotionEvent.axisFromString("")));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aJ(b6, b7, (byte) (b7 | 40), 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) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i7 = $10 + 111;
$11 = i7 % 128;
if (i7 % 2 == 0) {
cArr4[irs.e] = (char) (irs.b / b);
cArr4[irs.e] = (char) (irs.c >>> b);
} else {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
}
} else {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(822107368);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 232, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (22024 - (ViewConfiguration.getEdgeSlop() >> 16)));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
aJ(b8, b9, (byte) (b9 | 43), 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) {
int i8 = $11 + 25;
$10 = i8 % 128;
int i9 = i8 % 2;
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) {
Class cls5 = (Class) xzZ.c(327 - (ViewConfiguration.getScrollBarSize() >> 8), 5 - Color.green(0), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1));
byte b10 = (byte) 0;
byte b11 = b10;
Object[] objArr11 = new Object[1];
aJ(b10, b11, (byte) (b11 | 41), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], 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, obj5);
}
int intValue = ((Integer) ((Method) obj5).invoke(null, objArr10)).intValue();
int i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i10];
} else if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i11 = (irs.a * charValue) + irs.f;
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i11];
cArr4[irs.e + 1] = cArr2[i12];
} else {
int i13 = (irs.a * charValue) + irs.j;
int i14 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i13];
cArr4[irs.e + 1] = cArr2[i14];
}
}
irs.e += 2;
}
}
int i15 = $11 + 65;
$10 = i15 % 128;
int i16 = i15 % 2;
for (int i17 = 0; i17 < i; i17++) {
int i18 = $11 + 59;
$10 = i18 % 128;
int i19 = i18 % 2;
cArr4[i17] = (char) (cArr4[i17] ^ 13722);
}
objArr[0] = new String(cArr4);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0072, code lost:
if (r1 > 99999) goto L6;
*/
@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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r20) {
/*
Method dump skipped, instructions count: 862
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8085dAn.attachBaseContext(android.content.Context):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 onStart() {
int i = 2 % 2;
int i2 = p + 17;
l = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 27 / 0;
}
int i5 = l + 121;
p = i5 % 128;
if (i5 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}