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

654 lines
37 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
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.kofax.kmc.kut.utilities.IpLibUtil;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.CCRBaseActivity;
import com.scb.phone.view.activity.cardmanagement.TempLimitConfirmationActivity;
import java.lang.reflect.Method;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.dvx, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC10080dvx extends CCRBaseActivity {
private boolean b = false;
private static final byte[] $$y = {82, -108, -39, 86};
private static final int $$z = CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
private static int t = 1;
private static char[] k = {36787, 22935, 9184, 3361, 55057, 41324, 35508, 21713, 16101, 2082, 53842, 48219, 34212, 28562, 14827, 818, 60689, 46970, 24524, 35297, 62367, 56606, 1890, 29001, 23193, 33969, 61127, 55367, 609, 27717, 21962, 49072, 59796, 54080, 15663, 26389, 20681, 47860, 58514, 52814, 14382, 25113, 19347, 46584, 40896, 51521, 13098, 7451, 18067, 45305, 39596, 50243, 11891, 6189, 16791, 43951, 38397, 65298, 10615, 4906, 31946, 42737, 37114, 64074, 9250, 3628, 57325, 2522, 29607, 23924, 34650, 61800, 55976, 1159, 28334, 22639, 33354, 60465, 54754, 16325, 27058, 21357, 48464, 59180, 53472, 15069, 25784, 20078, 47189, 57913, 52195, 13789, 8181, 18808, 45913, 40232, 50922, 12497, 6801, 17517, 44626, 38935, 49661, 11164, 5504, 32637, 43356, 37652, 64751, 9935, 4240, 31359, 42078, 36370, 63472, 8592, 2944, 30075, 24404, 35149, 62198, 56520, 1668, 28729, 23122, 33794, 60918, 55263, 412, 27492, 21866, 48920, 59553, 53995, 15500, 26212, 20514, 47622, 58345, 52661, 36843, 22999, 9148, 3453, 55118, 18532, 40523, 58469, 51892, 4297, 26351, 19767, 37660, 63860, 53172, 5535, 31677, 16999, 43011, 65135, 50358, 10880, 28907, 18218, 44369, 62271, 55779, 12240, 30193, 23611, 41553, 34925, 57065, 9346, 2747, 20840, 42753, 36181, 54207, 14726, 3973};
/* renamed from: o, reason: collision with root package name */
private static long f8913o = -7788944515197609479L;
private static char[] l = {40090, 40219, 40195, 40196, 40218, 40077, 40193, 40192, 40216, 40222, 40205, 40197, 40213, 40221, 40220, 40220, 40221, 40216, 40177, 40148, 40188, 40211, 40219, 40164, 40186, 40197, 40223, 40211, 40216, 40218, 40196, 39996, 40037, 40035, 40039, 40056, 40057, 40032, 40034, 40058, 40017, 40019, 40059, 40037, 40033, 40045, 40041, 40033, 40037, 40034, 40114, 40107, 40106, 40111, 40105, 40104, 40110, 40104, 40104, 40104, 40105, 40119, 40117, 40110, 40113, 40112, 40119, 40119, 40112, 40153, 40159, 40153, 40155, 40112, 40109, 40104, 40114, 40119, 40119, 40113, 40110, 40119, 40119, 40118, 40117, 40118, 40153, 40112, 40105, 40105, 40111, 40113, 40155, 40112, 40112, 40154, 40119, 40110, 40113, 40113, 40110, 40109, 40109, 40104, 40104, 40111, 40114, 40115, 40105, 40104, 40105, 40114, 40113, 39995, 40007, 39999, 39994, 40001, 40001, 40007, 40046, 40000, 39998, 39997, 40007, 40040, 40000, 39993, 39999, 40007, 40042, 40047, 40000, 39995, 39995, 39992, 39999, 40001, 40006, 40004, 40046, 40005, 39996, 39996, 40005, 40007, 40000, 40042, 40000, 39998, 39992, 39994, 39994, 39992, 39993, 39993, 39999, 40007, 40047, 40007, 40006, 40040, 40040, 40000, 39998, 39996, 39996, 39999, 40000, 40000, 40003, 40040, 40040, 40000, 39997, 40006, 40006};
/* 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:0x002b). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aF(byte r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 3
int r0 = r6 + 1
byte[] r1 = o.AbstractActivityC10080dvx.$$y
int r7 = r7 + 71
int r8 = r8 + 4
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L13
r7 = r6
r3 = r8
r4 = r2
goto L2b
L13:
r3 = r2
L14:
byte r4 = (byte) r7
r0[r3] = r4
int r8 = r8 + 1
if (r3 != r6) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L23:
r4 = r1[r8]
int r3 = r3 + 1
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L2b:
int r8 = -r8
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10080dvx.aF(byte, byte, byte, java.lang.Object[]):void");
}
public AbstractActivityC10080dvx() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dvx.3
private AbstractActivityC10080dvx a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.a.g();
}
});
}
@Override // o.AbstractActivityC9738dpZ
public final void g() {
int i = 2 % 2;
int i2 = m + 79;
t = i2 % 128;
int i3 = i2 % 2;
if (!this.b) {
this.b = true;
((InterfaceC10047dvQ) y_()).c((TempLimitConfirmationActivity) this);
}
int i4 = t + 41;
m = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void aD(int i, int i2, char c, Object[] objArr) {
Object method;
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 + 13;
$10 = i5 % 128;
if (i5 % i3 != 0) {
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((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 308, TextUtils.getOffsetBefore("", 0) + 5, (char) (Color.red(0) + 32797));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aF(b, (byte) (b | Ascii.ESC), (byte) (-1), 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(f8913o), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - Drawable.resolveOpacity(0, 0), Color.red(0) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aF(b2, (byte) (b2 | 28), (byte) (-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();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(408 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 5 - TextUtils.getOffsetBefore("", 0), (char) (View.MeasureSpec.getSize(0) + 29234));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aF(b3, (byte) (b3 | 35), (byte) (-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;
}
} else {
int i7 = dqy.a;
Object[] objArr8 = {Integer.valueOf(k[i + dqy.a])};
Object obj4 = xzZ.y.get(1095064095);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(308 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (TextUtils.lastIndexOf("", '0') + 32798));
byte b4 = (byte) 0;
Object[] objArr9 = new Object[1];
aF(b4, (byte) (b4 | Ascii.ESC), (byte) (-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(f8913o), Integer.valueOf(c)};
Object obj5 = xzZ.y.get(-548438098);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 412, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b5 = (byte) 0;
Object[] objArr11 = new Object[1];
aF(b5, (byte) (b5 | 28), (byte) (-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((ViewConfiguration.getPressedStateDuration() >> 16) + 407, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (29233 - TextUtils.indexOf((CharSequence) "", '0', 0)));
byte b6 = (byte) 0;
Object[] objArr13 = new Object[1];
aF(b6, (byte) (b6 | 35), (byte) (-1), objArr13);
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr12);
}
i3 = 2;
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i8 = $10 + 65;
$11 = i8 % 128;
if (i8 % 2 == 0) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr14 = {dqy, dqy};
Object obj7 = xzZ.y.get(1071125919);
if (obj7 != null) {
method = obj7;
} else {
Class cls7 = (Class) xzZ.c(406 - TextUtils.indexOf((CharSequence) "", '0'), 5 - View.combineMeasuredStates(0, 0), (char) (KeyEvent.keyCodeFromString("") + 29234));
byte b7 = (byte) 0;
Object[] objArr15 = new Object[1];
aF(b7, (byte) (b7 | 35), (byte) (-1), objArr15);
method = cls7.getMethod((String) objArr15[0], Object.class, Object.class);
xzZ.y.put(1071125919, method);
}
((Method) method).invoke(null, objArr14);
int i9 = 55 / 0;
} else {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr16 = {dqy, dqy};
Object obj8 = xzZ.y.get(1071125919);
if (obj8 == null) {
Class cls8 = (Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 407, Color.green(0) + 5, (char) (29234 - (ViewConfiguration.getFadingEdgeLength() >> 16)));
byte b8 = (byte) 0;
Object[] objArr17 = new Object[1];
aF(b8, (byte) (b8 | 35), (byte) (-1), objArr17);
obj8 = cls8.getMethod((String) objArr17[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj8);
}
((Method) obj8).invoke(null, objArr16);
}
}
objArr[0] = new String(cArr);
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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) {
int i = 2 % 2;
int i2 = m + 79;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ntb_success_title).substring(20, 21).codePointAt(0) - 32, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{0, 5, CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384, 4}, false, new byte[]{0, 0, 0, 1, 1}, 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];
aE(new int[]{5, 26, CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE(new int[]{31, 18, 0, 2}, false, new byte[]{1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = t + 9;
m = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 493, 5 - (Process.myTid() >> 22), (char) ('0' - AndroidCharacter.getMirror('0')))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 14, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_ntb_ekyc_landing_activity_description).substring(87, 88).length() + 53294), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{49, 64, 111, 21}, true, new byte[]{0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 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}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{113, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 45, 73 - ExpandableListView.getPackedPositionChild(0L), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 20533), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 106, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) + IpLibUtil.KIPP_BARCODE_DRIVER_FAIL, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(Color.red(0) + CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA, 36 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_scbone_occupation_display_year).substring(0, 3).codePointAt(1) + 51040), 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(View.combineMeasuredStates(0, 0) + 487, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i6 = t + 123;
m = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 23 / 0;
}
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = m + 113;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aE(new int[]{5, 26, CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{31, 18, 0, 2}, false, new byte[]{1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.makeMeasureSpec(0, 0), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 487, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) ((-1) - TextUtils.lastIndexOf("", '0')))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i4 = m + 11;
t = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = t + 35;
m = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aE(new int[]{5, 26, CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{31, 18, 0, 2}, false, new byte[]{1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i3 = t + 115;
m = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
int i5 = t + 81;
m = i5 % 128;
try {
if (i5 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.resolveSize(0, 0) + 492, (Process.myPid() >> 22) + 5, (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 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(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 486, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) ExpandableListView.getPackedPositionGroup(0L))).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((ViewConfiguration.getFadingEdgeLength() >> 16) + 492, 4 - MotionEvent.axisFromString(""), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).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 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (Process.getGidForName("") + 1))).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();
}
private static void aE(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int length;
char[] cArr;
int i2;
int i3 = 2;
int i4 = 2 % 2;
TVH tvh = new TVH();
int i5 = 0;
int i6 = iArr[0];
int i7 = 1;
int i8 = iArr[1];
int i9 = iArr[2];
int i10 = iArr[3];
char[] cArr2 = l;
long j = 0;
if (cArr2 != null) {
int i11 = $11 + 87;
$10 = i11 % 128;
if (i11 % 2 != 0) {
length = cArr2.length;
cArr = new char[length];
i2 = 1;
} else {
length = cArr2.length;
cArr = new char[length];
i2 = 0;
}
while (i2 < length) {
int i12 = $11 + 103;
$10 = i12 % 128;
if (i12 % i3 != 0) {
try {
Object[] objArr2 = new Object[i7];
objArr2[i5] = Integer.valueOf(cArr2[i2]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - (Process.myPid() >> 22), 4 - ExpandableListView.getPackedPositionChild(j), (char) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 41977));
byte b = (byte) i5;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, (byte) (b2 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr[i2] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
try {
Object[] objArr4 = {Integer.valueOf(cArr2[i2])};
Object obj2 = xzZ.y.get(1645349359);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(223 - (ViewConfiguration.getPressedStateDuration() >> 16), (Process.myTid() >> 22) + 5, (char) (41976 - ExpandableListView.getPackedPositionChild(0L)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aF(b3, b4, (byte) (b4 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(1645349359, obj2);
}
cArr[i2] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i2++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i13 = $11 + 53;
$10 = i13 % 128;
int i14 = i13 % 2;
i3 = 2;
i5 = 0;
i7 = 1;
j = 0;
}
cArr2 = cArr;
}
char[] cArr3 = new char[i8];
System.arraycopy(cArr2, i6, cArr3, 0, i8);
if (bArr != null) {
char[] cArr4 = new char[i8];
tvh.c = 0;
char c = 0;
while (tvh.c < i8) {
if (bArr[tvh.c] == 1) {
int i15 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 502, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) ((ViewConfiguration.getTapTimeout() >> 16) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i15] = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
} else {
int i16 = tvh.c;
Object[] objArr7 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(16 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - KeyEvent.normalizeMetaState(0), (char) (58135 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr4[i16] = ((Character) ((Method) obj4).invoke(null, objArr7)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr8 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(402 - TextUtils.getCapsMode("", 0, 0), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (21607 - TextUtils.lastIndexOf("", '0')));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 + 2);
Object[] objArr9 = new Object[1];
aF(b5, b6, (byte) (b6 - 3), objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
cArr3 = cArr4;
}
if (i10 > 0) {
char[] cArr5 = new char[i8];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i8);
int i17 = i8 - i10;
System.arraycopy(cArr5, 0, cArr3, i17, i10);
System.arraycopy(cArr5, i10, cArr3, 0, i17);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i8];
while (true) {
tvh.c = i;
if (tvh.c >= i8) {
break;
}
cArr6[tvh.c] = cArr3[(i8 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i9 > 0) {
int i18 = $10 + 107;
$11 = i18 % 128;
int i19 = i18 % 2;
int i20 = 0;
while (true) {
tvh.c = i20;
if (tvh.c >= i8) {
break;
}
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i20 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
/* JADX WARN: Code restructure failed: missing block: B:13:0x006f, code lost:
if (r1 > 99999) goto L10;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x006c, code lost:
if (r1 > 99999) goto L10;
*/
/* JADX WARN: Removed duplicated region for block: B:11:0x0215 */
/* JADX WARN: Removed duplicated region for block: B:9:0x0214 A[RETURN] */
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 r21) {
/*
Method dump skipped, instructions count: 618
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10080dvx.attachBaseContext(android.content.Context):void");
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = m + 99;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
int i4 = t + 29;
m = i4 % 128;
int i5 = i4 % 2;
}
}