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

574 lines
38 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.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.telephony.cdma.CdmaCellLocation;
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.AddAccountOtpActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import okhttp3.internal.http2.Http2Connection;
/* renamed from: o.dAm, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8084dAm extends BaseOtpActivity {
private boolean b = false;
private static final byte[] $$E = {33, -82, ISO7816.INS_UNBLOCK_CHV, 67};
private static final int $$F = 249;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f8681o = 0;
private static int q = 1;
private static long k = 6448942077245308277L;
private static char[] l = {36787, 56166, 9730, 28974, 56533, 10233, 29354, 56842, 10595, 29704, 57126, 10914, 30123, 49315, 11338, 30589, 49668, 11713, 30962, 50053, 11918, 31320, 50460, 4129, 31683, 50940, 36835, 56127, 9810, 28990, 56457, 10227, 29352, 56901, 10592, 29761, 57188, 10989, 30169, 49314, 11277, 30508, 49680, 11675, 30900, 50116, 12009, 31236, 50447, 4221, 31684, 50862, 4501, 32025, 51305, 4953, 32314, 51589, 5283, 32765, 51998, 5677, 24860, 52277, 6124, 25222, 52720, 6412, 25647, 53113, 6857, 26040, 45211, 7136, 36843, 56102, 9822, 29042, 56458, 35851, 55509, 9704, 29396, 57186, 9237, 28998, 56744, 10899, 30706, 56538, 10581, 30260, 50001, 12214, 29850, 49663, 11813, 31511, 49185, 11524, 31209, 50865, 5077, 30764, 50503, 4728, 32497, 52097, 4281, 32129, 51773, 5914, 31809, 51371, 5573};
private static long m = -5372182643499345144L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0029). 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 aJ(short r7, short r8, int r9, java.lang.Object[] r10) {
/*
byte[] r0 = o.AbstractActivityC8084dAm.$$E
int r8 = r8 + 4
int r9 = r9 * 4
int r9 = 1 - r9
int r7 = 106 - r7
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L12
r3 = r8
r5 = r2
goto L29
L12:
r3 = r2
L13:
byte r4 = (byte) r7
int r8 = r8 + 1
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r9) goto L24
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L24:
r3 = r0[r8]
r6 = r3
r3 = r8
r8 = r6
L29:
int r7 = r7 + r8
r8 = r3
r3 = r5
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8084dAm.aJ(short, short, int, java.lang.Object[]):void");
}
public AbstractActivityC8084dAm() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dAm.5
private AbstractActivityC8084dAm e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.e.l();
}
});
}
@Override // o.AbstractActivityC9736dpX
public final void l() {
int i = 2 % 2;
int i2 = f8681o + 21;
int i3 = i2 % 128;
q = i3;
int i4 = i2 % 2;
if (!this.b) {
int i5 = i3 + 51;
f8681o = i5 % 128;
int i6 = i5 % 2;
this.b = true;
((InterfaceC10267dzZ) y_()).b((AddAccountOtpActivity) this);
}
}
private static void aG(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;
int i3 = $10 + 97;
$11 = i3 % 128;
int i4 = i3 % 2;
while (c4593bdB.e < cArr.length) {
int i5 = 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(Color.green(0) + 402, 5 - TextUtils.getOffsetAfter("", 0), (char) (21608 - (ViewConfiguration.getTapTimeout() >> 16)));
byte b = (byte) (-1);
Object[] objArr3 = new Object[1];
aJ((byte) 29, b, (byte) (b + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (k ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - Color.green(0), 5 - Drawable.resolveOpacity(0, 0), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1));
byte b2 = (byte) (-1);
Object[] objArr5 = new Object[1];
aJ((byte) 28, b2, (byte) (b2 + 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;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $10 + 101;
$11 = i6 % 128;
int i7 = i6 % 2;
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 238, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) View.getDefaultSize(0, 0));
byte b3 = (byte) (-1);
Object[] objArr7 = new Object[1];
aJ((byte) 28, b3, (byte) (b3 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2);
}
private static void aI(int i, int i2, char c, Object[] objArr) {
int i3;
int i4 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
int i5 = 0;
dqy.a = 0;
int i6 = $11 + 29;
$10 = i6 % 128;
int i7 = i6 % 2;
while (dqy.a < i2) {
int i8 = $10 + 35;
$11 = i8 % 128;
if (i8 % 2 == 0) {
int i9 = dqy.a;
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(l[i + dqy.a]);
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(i5) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(i5) == 0L ? 0 : -1)) + 308, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) ((ViewConfiguration.getEdgeSlop() >> 16) + 32797));
byte b = (byte) (-1);
Object[] objArr3 = new Object[1];
aJ((byte) ($$F & 14), b, (byte) (b + 1), objArr3);
String str = (String) objArr3[i5];
Class<?>[] clsArr = new Class[1];
clsArr[i5] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(m), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 412, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())));
byte b2 = (byte) (-1);
Object[] objArr5 = new Object[1];
aJ((byte) 7, b2, (byte) (b2 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i9] = ((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(407 - ((Process.getThreadPriority(0) + 20) >> 6), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (29233 - TextUtils.lastIndexOf("", '0', 0, 0)));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr7 = new Object[1];
aJ(b3, b4, (byte) (b4 + 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 i10 = dqy.a;
Object[] objArr8 = {Integer.valueOf(l[i + dqy.a])};
Object obj4 = xzZ.y.get(1095064095);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(308 - KeyEvent.getDeadChar(0, 0), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (32797 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)));
byte b5 = (byte) (-1);
Object[] objArr9 = new Object[1];
aJ((byte) ($$F & 14), b5, (byte) (b5 + 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(m), Integer.valueOf(c)};
Object obj5 = xzZ.y.get(-548438098);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(MotionEvent.axisFromString("") + 413, 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) (Process.getGidForName("") + 1));
byte b6 = (byte) (-1);
Object[] objArr11 = new Object[1];
aJ((byte) 7, b6, (byte) (b6 + 1), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj5);
}
jArr[i10] = ((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(TextUtils.indexOf("", "") + 407, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 29234));
byte b7 = (byte) 0;
byte b8 = (byte) (b7 - 1);
Object[] objArr13 = new Object[1];
aJ(b7, b8, (byte) (b8 + 1), objArr13);
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr12);
}
i5 = 0;
}
char[] cArr = new char[i2];
dqy.a = 0;
int i11 = $11 + 57;
$10 = i11 % 128;
int i12 = 2;
int i13 = i11 % 2;
while (dqy.a < i2) {
int i14 = $11 + 101;
$10 = i14 % 128;
int i15 = i14 % i12;
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr14 = {dqy, dqy};
Object obj7 = xzZ.y.get(1071125919);
if (obj7 != null) {
i3 = 2;
} else {
Class cls7 = (Class) xzZ.c(407 - (Process.myPid() >> 22), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (29233 - ImageFormat.getBitsPerPixel(0)));
byte b9 = (byte) 0;
byte b10 = (byte) (b9 - 1);
Object[] objArr15 = new Object[1];
aJ(b9, b10, (byte) (b10 + 1), objArr15);
i3 = 2;
obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj7);
}
((Method) obj7).invoke(null, objArr14);
i12 = i3;
}
objArr[0] = new String(cArr);
}
@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) {
int i = 2 % 2;
int i2 = q + 111;
f8681o = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(new char[]{44754, 6888, 50877, 45662, 32264, 11219, 38889, 17390, 3956, 64285, 42127, 4260, 56509, 34925, 29750, 8653, 60816, 22853}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) + 46035, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{44766, 32331, 4068, 57177, 60627}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.max_select_billing_cycles_err).substring(29, 30).length() + 53376, 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(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.abc_menu_alt_shortcut_label).substring(0, 4).codePointAt(1) - 108, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aG(new char[]{44752, 34081, 63759, 11636, 330, 30046, 43437, 40355, 61947, 9692, 6617, 19511, 40964, 37993, 51301, 15443, 4268, 17546}, View.resolveSizeAndState(0, 0, 0) + 11239, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = f8681o + 19;
q = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), KeyEvent.keyCodeFromString("") + 5, (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aI(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.total_vat_label).substring(0, 3).length() + 45, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new char[]{44758, 3810, 61155, 20047, 11849, 36398, 28597, 53231, 44878, 3917, 61311, 19636, 11493, 35858, 27726, 52351, 44469, 3556, 60692, 19784, 11564, 35498, 27312, 51730, 43592, 2686, 60333, 19377, 11029, 35661, 27513, 51366, 43236, 2071, 59456, 18475, 10666, 35284, 26947, 51476, 43389, 1786, 59020, 17940, 9794, 34421, 26543, 51084, 42823, 1864, 59171, 17581, 9356, 33796, 25668, 50212, 42403, 1419, 58636, 17738, 9585, 33526, 25224, 49755}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 40998, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(new char[]{44754, 2576, 59317, 17233, 15550, 39303, 30068, 12011, 35417, 26617, 49294, 48255, 6549, 62808, 44793, 2974, 59234, 16538, 15411, 39170, 29342, 11828, 35798, 26476, 49240, 48552, 6507, 62095, 44671, 2826, 58528, 16402, 15847, 39210, 29252, 12215, 35658, 25830, 49536, 48415, 5822, 62032, 45032, 2185, 58481, 16879, 15711, 38563, 29633, 12157, 35015, 25706, 49657, 47773, 5681, 62360, 44907, 2129, 58827, 16747, 15058, 38500, 29530, 11425}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 42126, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new char[]{44763, 3988, 60513, 19770, 11148, 34838, 26990, 51161, 42072, 1329, 58348, 16463, 8500, 40939, 31828, 56579, 48102, 6210, 63750, 22515, 13486, 38160, 29683, 53415, 45333, 28611, 52467, 44294, 3023, 59558, 18796, 10207, 33959, 25955, 50132, 41113, 363, 65122, 23686, 15715, 39466, 30858, 55625, 46641, 5254, 62801, 21048, 12540, 37190, 20094, 11494, 36181, 27138, 51379, 43344, 1558, 58610, 17895, 8724, 33020, 24992, 56849, 48346, 7594, 64092, 22742, 14823, 38437, 29914, 54682, 45668, 4312, 61855, 44651}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 41265, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aI(75 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 93, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_suitability_assessment_questionnaire_section_2_3_sub_title).substring(0, 1).codePointAt(0) - 40), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aI(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 45, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.registration_facial_recognition_button_return_label).substring(14, 15).codePointAt(0) + 4, (char) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 956), 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.getScrollDefaultDelay() >> 16), Color.green(0) + 5, (char) ExpandableListView.getPackedPositionGroup(0L))).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 = q + 79;
f8681o = i6 % 128;
int i7 = i6 % 2;
}
@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;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = q + 35;
f8681o = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aI(ExpandableListView.getPackedPositionType(0L), Color.green(0) + 26, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.new_deejung_transfer_email_notification_message).substring(33, 34).codePointAt(0) - 32), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{44752, 34081, 63759, 11636, 330, 30046, 43437, 40355, 61947, 9692, 6617, 19511, 40964, 37993, 51301, 15443, 4268, 17546}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ntb_scb_customer_tile).substring(16, 20).codePointAt(1) + 11156, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 43;
f8681o = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = q + 97;
f8681o = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "") + 492, 5 - TextUtils.indexOf("", "", 0, 0), (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 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(487 - ((Process.getThreadPriority(0) + 20) >> 6), 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // 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) {
Object[] objArr = new Object[1];
aI(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mw_qualification_second_note).substring(0, 2).codePointAt(0) - 42, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.abc_menu_enter_shortcut_label).substring(1, 5).length() + 22, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_mailing_address_unit_format).substring(4, 10).length() - 6), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{44752, 34081, 63759, 11636, 330, 30046, 43437, 40355, 61947, 9692, 6617, 19511, 40964, 37993, 51301, 15443, 4268, 17546}, 11239 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = q + 15;
f8681o = i2 % 128;
if (i2 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 8 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i4 = q + 47;
f8681o = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.red(0) + 492, View.getDefaultSize(0, 0) + 5, (char) (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)))).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(ExpandableListView.getPackedPositionChild(0L) + 488, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = f8681o + 79;
q = i6 % 128;
int i7 = i6 % 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) {
int i = 2 % 2;
int i2 = f8681o + 15;
q = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(new char[]{44754, 6888, 50877, 45662, 32264, 11219, 38889, 17390, 3956, 64285, 42127, 4260, 56509, 34925, 29750, 8653, 60816, 22853}, TextUtils.lastIndexOf("", '0', 0) + 46134, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{44766, 32331, 4068, 57177, 60627}, (Process.myPid() >> 22) + 53377, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = q + 109;
f8681o = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.resolveSizeAndState(0, 0, 0), 4 - ImageFormat.getBitsPerPixel(0), (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aI(26 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 47 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aG(new char[]{44758, 3810, 61155, 20047, 11849, 36398, 28597, 53231, 44878, 3917, 61311, 19636, 11493, 35858, 27726, 52351, 44469, 3556, 60692, 19784, 11564, 35498, 27312, 51730, 43592, 2686, 60333, 19377, 11029, 35661, 27513, 51366, 43236, 2071, 59456, 18475, 10666, 35284, 26947, 51476, 43389, 1786, 59020, 17940, 9794, 34421, 26543, 51084, 42823, 1864, 59171, 17581, 9356, 33796, 25668, 50212, 42403, 1419, 58636, 17738, 9585, 33526, 25224, 49755}, Color.rgb(0, 0, 0) + 16818227, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aG(new char[]{44754, 2576, 59317, 17233, 15550, 39303, 30068, 12011, 35417, 26617, 49294, 48255, 6549, 62808, 44793, 2974, 59234, 16538, 15411, 39170, 29342, 11828, 35798, 26476, 49240, 48552, 6507, 62095, 44671, 2826, 58528, 16402, 15847, 39210, 29252, 12215, 35658, 25830, 49536, 48415, 5822, 62032, 45032, 2185, 58481, 16879, 15711, 38563, 29633, 12157, 35015, 25706, 49657, 47773, 5681, 62360, 44907, 2129, 58827, 16747, 15058, 38500, 29530, 11425}, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 42139, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new char[]{44763, 3988, 60513, 19770, 11148, 34838, 26990, 51161, 42072, 1329, 58348, 16463, 8500, 40939, 31828, 56579, 48102, 6210, 63750, 22515, 13486, 38160, 29683, 53415, 45333, 28611, 52467, 44294, 3023, 59558, 18796, 10207, 33959, 25955, 50132, 41113, 363, 65122, 23686, 15715, 39466, 30858, 55625, 46641, 5254, 62801, 21048, 12540, 37190, 20094, 11494, 36181, 27138, 51379, 43344, 1558, 58610, 17895, 8724, 33020, 24992, 56849, 48346, 7594, 64092, 22742, 14823, 38437, 29914, 54682, 45668, 4312, 61855, 44651}, (ViewConfiguration.getTouchSlop() >> 8) + 41299, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(75 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(79 - (ViewConfiguration.getPressedStateDuration() >> 16), (Process.myPid() >> 22) + 36, (char) (TextUtils.indexOf("", "", 0) + 956), objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getEdgeSlop() >> 16), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (Process.getGidForName("") + 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;
}
}
}
}
@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 = f8681o + 81;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = f8681o + 25;
q = i4 % 128;
int i5 = i4 % 2;
}
}