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

666 lines
41 KiB
Java
Raw Permalink 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.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.easycash.introduction.EasycashBaseIntroductionActivity;
import com.scb.phone.view.activity.easycash.introduction.EasycashSpeedyLoanIntroductionActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import okhttp3.internal.http2.Http2Connection;
import org.jnbis.internal.NistHelper;
/* renamed from: o.dLa, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8442dLa extends EasycashBaseIntroductionActivity {
private boolean b = false;
private static final byte[] $$y = {Ascii.NAK, Ascii.DC2, ISO7816.INS_DELETE_FILE, -22};
private static final int $$z = 18;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int r = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f8754o = {49029, 49127, 49035, 49115, 49106, 49126, 49109, 49054, 49110, 49104, 49098, 49027, 49088, 49028, 49138, 49089, 49091, 49114, 49111, 49030, 49123, 49117, 49053, 49049, 49026, 49095, 49119, 49024, 49034, 49025, 49031, 49118, 49093, 49116, 49094, 49105};
private static char k = 35375;
private static char[] m = {36835, 19826, 2760, 51317, 34237, 17218, UrlTreeKt.configurablePathSegmentSuffixChar, 56722, 39688, 22692, 5638, 54222, 37109, 28187, 11171, 59699, 42688, 25574, 8574, 65247, 48173, 31109, 14153, 62586, 45468, 36699, 19687, 2570, 50997, 34032, 16900, 8106, 56579, 39568, 22500, 5446, 53896, 36964, 28122, 10929, 59512, 42441, 25389, 8378, 65093, 47969, 30869, 13919, 3737, 52233, 35812, 18780, 1174, 49773, 33090, 23780, 6689, 55686, 38696, 21175, 4570, 61281, 43657, 26644, 10170, 58063, 41043, 32763, 15699, 63657, 46695, 30041, 12519, 3701, 52634, 35698, 17994, 1502, 50046, 40589, 23595, 7100, 54983, 37944, 21493, 4375, 60660, 43935, 26962, 9393, 57947, 41367, 32573, 14918, 63976, 46887, 29384, 12323, 4068, 51934, 34867, 18311, 1299, 49391, 40908, 23808, 6395, 54793, 38318, 21349, 11791, 60848, 32444, 48183, 64398, 14689, 29947, 45597, 61809, 11482, 27167, 43506, 59219, 8900, 24995, 40720, 56059, 6240, 22465, 37537, 53289, 3976, 19833, 35035, 50764, 1316, 16530, 32256, 48556, 64333, 13880, 30141, 45827, 61180, 11328, 27584, 42683, 58370, 9116, 24873, 40153, 56224, 6445, 21641, 37494, 53754, 3921, 18986, 35223, 50975, 737, 16413, 32713, 47790, 63509, 14264, 30063, 45269, 61365, 11620, 26763, 42615, 58839, 9034, 24117, 40329, 56123, 5877, 21512, 37758, 52909, 3089, 19451, 35163, 50392, 936};
private static long l = -8367288564658647739L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> 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(short r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
int r8 = r8 + 4
byte[] r0 = o.AbstractActivityC8442dLa.$$y
int r6 = r6 + 98
int r7 = r7 * 2
int r1 = 1 - r7
byte[] r1 = new byte[r1]
r2 = 0
int r7 = 0 - r7
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L2b
L14:
r3 = r2
L15:
int r8 = r8 + 1
byte r4 = (byte) r6
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r7) goto L26
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L26:
r3 = r0[r8]
r5 = r3
r3 = r8
r8 = r5
L2b:
int r8 = -r8
int r6 = r6 + r8
r8 = r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8442dLa.aF(short, byte, byte, java.lang.Object[]):void");
}
public AbstractActivityC8442dLa() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dLa.5
private AbstractActivityC8442dLa e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.e.r();
}
});
}
@Override // o.AbstractActivityC8407dKV
protected final void r() {
int i = 2 % 2;
int i2 = s + 69;
int i3 = i2 % 128;
r = i3;
if (i2 % 2 == 0) {
int i4 = 81 / 0;
if (this.b) {
return;
}
} else if (this.b) {
return;
}
int i5 = i3 + 83;
s = i5 % 128;
int i6 = i5 % 2;
this.b = true;
((InterfaceC8405dKQ) y_()).a((EasycashSpeedyLoanIntroductionActivity) this);
}
private static void aE(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = $11 + 83;
$10 = i4 % 128;
if (i4 % 2 == 0) {
int i5 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(m[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(307 - TextUtils.lastIndexOf("", '0', 0, 0), ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (TextUtils.getTrimmedLength("") + 32797));
byte b = (byte) 0;
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(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(l), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 411, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16));
byte b3 = (byte) 1;
byte b4 = (byte) (b3 - 1);
Object[] objArr5 = new Object[1];
aF(b3, b4, (byte) (b4 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i5] = ((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 - (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)), (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, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 29235));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
aF((byte) 8, b5, (byte) (b5 - 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 i6 = dqy.a;
try {
Object[] objArr8 = {Integer.valueOf(m[i >>> dqy.a])};
Object obj4 = xzZ.y.get(1095064095);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 308, 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 32797));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr9 = new Object[1];
aF(b6, b7, (byte) (b7 - 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE);
xzZ.y.put(1095064095, obj4);
}
try {
Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(l), Integer.valueOf(c)};
Object obj5 = xzZ.y.get(-548438098);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(413 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - Color.red(0), (char) (MotionEvent.axisFromString("") + 1));
byte b8 = (byte) 1;
byte b9 = (byte) (b8 - 1);
Object[] objArr11 = new Object[1];
aF(b8, b9, (byte) (b9 - 1), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj5);
}
jArr[i6] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue();
try {
Object[] objArr12 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 == null) {
Class cls6 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 408, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (29233 - TextUtils.lastIndexOf("", '0')));
byte b10 = (byte) 0;
Object[] objArr13 = new Object[1];
aF((byte) 8, b10, (byte) (b10 - 1), objArr13);
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr12);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
cArr[dqy.a] = (char) jArr[dqy.a];
try {
Object[] objArr14 = {dqy, dqy};
Object obj7 = xzZ.y.get(1071125919);
if (obj7 == null) {
Class cls7 = (Class) xzZ.c(407 - TextUtils.indexOf("", "", 0, 0), Color.rgb(0, 0, 0) + 16777221, (char) (29234 - Drawable.resolveOpacity(0, 0)));
byte b11 = (byte) 0;
Object[] objArr15 = new Object[1];
aF((byte) 8, b11, (byte) (b11 - 1), objArr15);
obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj7);
}
((Method) obj7).invoke(null, objArr14);
} catch (Throwable th5) {
Throwable cause5 = th5.getCause();
if (cause5 == null) {
throw th5;
}
throw cause5;
}
}
String str = new String(cArr);
int i7 = $11 + 5;
$10 = i7 % 128;
if (i7 % 2 == 0) {
objArr[0] = str;
} else {
int i8 = 0 / 0;
objArr[0] = str;
}
}
@Override // com.scb.phone.view.activity.easycash.introduction.EasycashBaseIntroductionActivity, o.AbstractActivityC8407dKV, 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;
Object[] objArr = new Object[1];
aD(new char[]{3, 22, 21, '\f', '#', 15, 19, 23, 30, 15, 23, 21, 21, 3, '\n', '\t', 13816, 13816}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 96), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{'\"', 7, 11, 23, 13916}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 81), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.deny_consent_dialog_description).substring(21, 22).codePointAt(0) - 27, 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) {
int i2 = r + 69;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aD(new char[]{3, 22, 21, '\f', '#', 15, 19, 23, '\n', 22, 22, NistHelper.SEP_FS, 15, '\b', 29, '\r', '#', 14, NistHelper.SEP_FS, 7, 2, 4, 14, '\t', 0, 22}, (byte) (TextUtils.indexOf("", "", 0, 0) + 52), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.point_2_pay).substring(0, 9).length() + 17, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new char[]{'\n', '!', 13912, 13912, '\t', 20, 26, '\r', 13914, 13914, 29, 14, '\n', 3, 29, '\r', 3, 27}, (byte) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 111), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = r + 105;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = r + 89;
s = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (Process.myPid() >> 22), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) View.getDefaultSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, 49 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) Color.green(0), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(48 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.membership_expiry_message).substring(30, 31).codePointAt(0) - 48, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 33057), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new char[]{5, 3, '\t', 29, 3, NistHelper.SEP_FS, 13922, 13922, 24, 29, 26, '\t', 30, 31, '\b', 5, 5, '\"', 7, 6, 29, 6, 17, 25, '\b', 3, 7, '\t', 3, 1, 24, 22, 31, 30, 1, 22, 23, 25, 13838, 13838, 23, 7, 21, 25, 7, '\n', 2, 6, ' ', 11, 26, 5, 4, 24, 6, 7, '\n', 5, '\n', 0, 20, 1, 7, 15}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 86), 63 - TextUtils.lastIndexOf("", '0', 0), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(112 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 74 - (ViewConfiguration.getTapTimeout() >> 16), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 61668), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new char[]{'\"', NistHelper.SEP_FS, 4, 20, 13858}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) + 11), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.transaction_successful).substring(22, 23).codePointAt(0) - 27, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(new char[]{'\n', 2, 24, '#', 22, 24, '#', 6, 6, 1, 6, '\t', 31, 11, '#', 24, 13770, 13770, '\n', 1, ' ', 11, '\n', '\b', 27, 11, NistHelper.SEP_FS, 5, 14, 7, 7, 21, 31, 18, 26, 6}, (byte) (31 - TextUtils.indexOf("", "", 0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 23, 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((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 486, KeyEvent.keyCodeFromString("") + 5, (char) (TextUtils.lastIndexOf("", '0', 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 i8 = s + 45;
r = i8 % 128;
int i9 = i8 % 2;
}
@Override // com.scb.phone.view.activity.easycash.introduction.EasycashBaseIntroductionActivity, o.AbstractActivityC8407dKV, 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 = r + 71;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = r + 35;
s = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aD(new char[]{3, 22, 21, '\f', '#', 15, 19, 23, '\n', 22, 22, NistHelper.SEP_FS, 15, '\b', 29, '\r', '#', 14, NistHelper.SEP_FS, 7, 2, 4, 14, '\t', 0, 22}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.paynow_landing_description_2).substring(59, 60).length() + 51), 27 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{'\n', '!', 13912, 13912, '\t', 20, 26, '\r', 13914, 13914, 29, 14, '\n', 3, 29, '\r', 3, 27}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ndid_national_id_input_date_of_birth_placeholder).substring(0, 10).codePointAt(1) + 44), TextUtils.indexOf("", "", 0) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = s + 75;
r = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0', 0), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).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 - TextUtils.getTrimmedLength(""), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) View.getDefaultSize(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i8 = r + 125;
s = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.easycash.introduction.EasycashBaseIntroductionActivity, o.AbstractActivityC8407dKV, 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 = s + 117;
r = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = s + 27;
r = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aD(new char[]{3, 22, 21, '\f', '#', 15, 19, 23, '\n', 22, 22, NistHelper.SEP_FS, 15, '\b', 29, '\r', '#', 14, NistHelper.SEP_FS, 7, 2, 4, 14, '\t', 0, 22}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 18), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ssf_or_tesg).substring(0, 8).codePointAt(4) - 58, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{'\n', '!', 13912, 13912, '\t', 20, 26, '\r', 13914, 13914, 29, 14, '\n', 3, 29, '\r', 3, 27}, (byte) (TextUtils.indexOf((CharSequence) "", '0') + 113), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.registration_eng).substring(0, 3).codePointAt(0) - 51, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i6 = s + 115;
r = i6 % 128;
int i7 = i6 % 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 - KeyEvent.normalizeMetaState(0), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).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(ImageFormat.getBitsPerPixel(0) + 488, TextUtils.lastIndexOf("", '0') + 6, (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("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i8 = s + 87;
r = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
/* JADX WARN: Code restructure failed: missing block: B:37:0x0132, code lost:
if (r2.b == r2.c) goto L36;
*/
/* JADX WARN: Code restructure failed: missing block: B:38:0x0161, code lost:
r7 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2};
r9 = o.xzZ.y.get(822107368);
*/
/* JADX WARN: Code restructure failed: missing block: B:39:0x01af, code lost:
if (r9 == null) goto L40;
*/
/* JADX WARN: Code restructure failed: missing block: B:43:0x0247, code lost:
if (((java.lang.Integer) ((java.lang.reflect.Method) r9).invoke(null, r7)).intValue() != r2.j) goto L51;
*/
/* JADX WARN: Code restructure failed: missing block: B:45:0x024b, code lost:
r8 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, java.lang.Integer.valueOf(r1), r2};
r7 = o.xzZ.y.get(-1152873385);
*/
/* JADX WARN: Code restructure failed: missing block: B:46:0x028d, code lost:
if (r7 == null) goto L48;
*/
/* JADX WARN: Code restructure failed: missing block: B:48:0x0306, code lost:
r7 = ((java.lang.Integer) ((java.lang.reflect.Method) r7).invoke(null, r8)).intValue();
*/
/* JADX WARN: Code restructure failed: missing block: B:49:0x0313, code lost:
r8 = (r2.d * r1) + r2.j;
r4[r2.e] = r3[r7];
r4[r2.e + 1] = r3[r8];
*/
/* JADX WARN: Code restructure failed: missing block: B:51:0x037c, code lost:
r2.e += 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:52:0x0293, code lost:
r7 = (java.lang.Class) o.xzZ.c(327 - android.text.TextUtils.getOffsetBefore("", 0), 5 - android.graphics.Color.green(0), (char) android.graphics.drawable.Drawable.resolveOpacity(0, 0));
r12 = (byte) 0;
r14 = new java.lang.Object[1];
aF((byte) (o.AbstractActivityC8442dLa.$$z + 2), r12, (byte) (r12 - 1), r14);
r7 = r7.getMethod((java.lang.String) r14[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(-1152873385, r7);
*/
/* JADX WARN: Code restructure failed: missing block: B:54:0x032f, code lost:
if (r2.a != r2.d) goto L54;
*/
/* JADX WARN: Code restructure failed: missing block: B:55:0x0331, code lost:
r7 = o.AbstractActivityC8442dLa.$11 + 35;
o.AbstractActivityC8442dLa.$10 = r7 % 128;
r7 = r7 % 2;
r2.f = ((r2.f + r1) - 1) % r1;
r2.j = ((r2.j + r1) - 1) % r1;
r7 = (r2.a * r1) + r2.f;
r8 = (r2.d * r1) + r2.j;
r4[r2.e] = r3[r7];
r4[r2.e + 1] = r3[r8];
*/
/* JADX WARN: Code restructure failed: missing block: B:57:0x0363, code lost:
r7 = (r2.a * r1) + r2.j;
r8 = (r2.d * r1) + r2.f;
r4[r2.e] = r3[r7];
r4[r2.e + 1] = r3[r8];
*/
/* JADX WARN: Code restructure failed: missing block: B:59:0x01b3, code lost:
r9 = (java.lang.Class) o.xzZ.c(233 - (android.view.ViewConfiguration.getKeyRepeatTimeout() >> 16), 5 - (android.view.ViewConfiguration.getDoubleTapTimeout() >> 16), (char) ((-16755192) - android.graphics.Color.rgb(0, 0, 0)));
r13 = (byte) 0;
r15 = new java.lang.Object[1];
aF((byte) (-o.AbstractActivityC8442dLa.$$y[3]), r13, (byte) (r13 - 1), r15);
r9 = r9.getMethod((java.lang.String) r15[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(822107368, r9);
*/
/* JADX WARN: Code restructure failed: missing block: B:61:0x0148, code lost:
r4[r2.e] = (char) (r2.b - r27);
r4[r2.e + 1] = (char) (r2.c - r27);
*/
/* JADX WARN: Code restructure failed: missing block: B:64:0x0146, code lost:
if (r2.b == r2.c) goto L36;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aD(char[] r26, byte r27, int r28, java.lang.Object[] r29) {
/*
Method dump skipped, instructions count: 960
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8442dLa.aD(char[], byte, int, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.easycash.introduction.EasycashBaseIntroductionActivity, o.AbstractActivityC8407dKV, 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 = r + 47;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new char[]{3, 22, 21, '\f', '#', 15, 19, 23, 30, 15, 23, 21, 21, 3, '\n', '\t', 13816, 13816}, (byte) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 15), (ViewConfiguration.getTouchSlop() >> 8) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{'\"', 7, 11, 23, 13916}, (byte) (94 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)), 4 - TextUtils.lastIndexOf("", '0', 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 = r + 105;
s = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i6 = s + 7;
r = i6 % 128;
if (i6 % 2 == 0) {
context2 = context.getApplicationContext();
int i7 = 36 / 0;
} else {
context2 = context.getApplicationContext();
}
} else {
context2 = context;
}
if (context2 != null) {
int i8 = r + 125;
s = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Gravity.getAbsoluteGravity(0, 0), 5 - Color.alpha(0), (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE((-1) - MotionEvent.axisFromString(""), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 47, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(ImageFormat.getBitsPerPixel(0) + 49, (ViewConfiguration.getTouchSlop() >> 8) + 64, (char) (33070 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new char[]{5, 3, '\t', 29, 3, NistHelper.SEP_FS, 13922, 13922, 24, 29, 26, '\t', 30, 31, '\b', 5, 5, '\"', 7, 6, 29, 6, 17, 25, '\b', 3, 7, '\t', 3, 1, 24, 22, 31, 30, 1, 22, 23, 25, 13838, 13838, 23, 7, 21, 25, 7, '\n', 2, 6, ' ', 11, 26, 5, 4, 24, 6, 7, '\n', 5, '\n', 0, 20, 1, 7, 15}, (byte) (99 - View.MeasureSpec.getSize(0)), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 65, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(Color.blue(0) + 112, TextUtils.getOffsetBefore("", 0) + 74, (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 61701), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new char[]{'\"', NistHelper.SEP_FS, 4, 20, 13858}, (byte) (Color.argb(0, 0, 0, 0) + 120), 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new char[]{'\n', 2, 24, '#', 22, 24, '#', 6, 6, 1, 6, '\t', 31, 11, '#', 24, 13770, 13770, '\n', 1, ' ', 11, '\n', '\b', 27, 11, NistHelper.SEP_FS, 5, 14, 7, 7, 21, 31, 18, 26, 6}, (byte) (ImageFormat.getBitsPerPixel(0) + 32), 36 - TextUtils.getCapsMode("", 0, 0), 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(KeyEvent.normalizeMetaState(0) + 487, (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // com.scb.phone.view.activity.easycash.introduction.EasycashBaseIntroductionActivity, o.AbstractActivityC8407dKV, 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 = r + 37;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = s + 57;
r = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 60 / 0;
}
}
}