what-the-bank/sources/com/scb/phone/view/activity/prepaid/PrepaidTravelGettingStarted...

731 lines
40 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.prepaid;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.Button;
import android.widget.ExpandableListView;
import butterknife.BindView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C14957gcv;
import o.C4593bdB;
import o.TVH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public final class PrepaidTravelGettingStartedActivity extends Hilt_PrepaidTravelGettingStartedActivity {
@BindView
public Button mGettingStarted;
private static final byte[] $$p = {53, ISOFileInfo.FMD_BYTE, ISO7816.INS_READ_BINARY_STAMPED, -81};
private static final int $$q = CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f7775o = 0;
private static int k = 1;
private static char[] l = {40000, 40092, 40091, 40067, 40070, 40095, 40078, 40040, 40063, 40094, 40057, 40038, 40065, 40091, 40095, 40068, 40070, 40064, 40005, 40104, 40092, 40068, 40093, 39985, 40063, 40057, 40063, 40059, 40035, 40039, 40059, 40063, 40061, 40021, 40043, 40060, 40036, 40058, 40051, 40050, 40057, 40055, 40176, 40223, 40217, 40179, 40178, 40178, 40178, 40176, 40178, 40179, 40177, 40188, 40189, 40196, 40218, 40219, 40196, 40179, 40178, 40179, 40197, 40196, 40177, 40178, 40178, 40183, 40183, 40176, 40219, 40219, 40176, 40217, 40236, 40218, 40218, 40237, 40219, 40177, 40179, 40179, 40218, 40227, 40216, 40223, 40216, 40217, 40217, 40176, 40219, 40217, 40217, 40196, 40178, 40183, 40218, 40237, 40227, 40225, 40227, 40218, 40217, 40217, 40218, 40004, 40111, 40111, 40107, 40110};
private static long m = 744658999944614372L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002d). 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 aC(short r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 2
int r0 = 1 - r7
int r8 = r8 * 4
int r8 = 3 - r8
byte[] r1 = com.scb.phone.view.activity.prepaid.PrepaidTravelGettingStartedActivity.$$p
int r6 = 78 - r6
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L16
r3 = r8
r4 = r2
goto L2d
L16:
r3 = r2
L17:
byte r4 = (byte) r6
r0[r3] = r4
int r8 = r8 + 1
int r4 = r3 + 1
if (r3 != r7) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L28:
r3 = r1[r8]
r5 = r3
r3 = r8
r8 = r5
L2d:
int r8 = -r8
int r6 = r6 + r8
r8 = r3
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.PrepaidTravelGettingStartedActivity.aC(short, byte, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
PrepaidTravelGettingStartedActivity prepaidTravelGettingStartedActivity = (PrepaidTravelGettingStartedActivity) objArr[0];
Context context = (Context) objArr[1];
int i4 = 2 % 2;
int i5 = k + 81;
f7775o = i5 % 128;
int i6 = i5 % 2;
super.attachBaseContext(context);
Object[] objArr2 = new Object[1];
aA(new int[]{0, 18, 36, 0}, true, new byte[]{1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aA(new int[]{18, 5, 48, 0}, false, new byte[]{1, 0, 0, 0, 1}, objArr3);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr3[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
context = context.getApplicationContext();
}
if (context != null) {
int i7 = k + 73;
f7775o = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = new Object[1];
aB(new char[]{531, 47022, 26976, 9073, 54525, 36582, 16422, 64094, 44952, 24968, 7006, 52554, 34517, 14399, 61995, 42991, 23024, 4986, 50486, 32507, 12429, 59969, 40017, 20950, 3020, 48471, 30399, 10414, 57909, 37940, 18860, 950, 46451, 28428, 8396, 55938, 35848, 17984, 64386, 44349, 26408, 6373, 53941, 33918, 15973, 62405, 42461, 24387}, ExpandableListView.getPackedPositionType(0L) + 46523, objArr4);
String str = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new int[]{41, 64, CipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256, 58}, false, new byte[]{1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0}, objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{579, 39443, 12800, 51722, 25191, 64060, 37489, 10872, 49752, 23114, 62027, 35364, 8748, 47715, 21100, 60061, 33491, 6873, 45798, 19129, 58023, 31407, 4819, 43743, 17049, 56059, 29358, 2740, 41702, 15121, 54037, 27473, 822, 39785, 13169, 52012, 25427, 64349, 37701, 11084, 50047, 23395, 62317, 35730, 9160, 48084, 21386, 60384, 33776, 7166, 46034, 19409, 58304, 31686, 5108, 43947, 17386, 55362, 28750, 2128, 40971, 14399, 53359, 26658}, 38921 - Color.alpha(0), objArr6);
String str3 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{586, 59643, 55052, 49749, 43237, 38777, 33283, 26806, 22329, 16990, 10369, 5920, 605, 59524, 55097, 49772, 43159, 38701, 33387, 26780, 22471, 17023, 10398, 6088, 628, 59564, 55198, 49769, 43174, 38857, 33281, 26800, 22518, 16908, 10425, 6134, 514, 59661, 55275, 49676, 43339, 38885, 33316, 26974, 22511, 16958, 10581, 6035, 567, 59665, 55179, 49722, 43371, 38876, 33341, 27001, 22419, 17032, 10617, 6035, 713, 59774, 55223, 49861, 43341, 38841, 33418, 26954, 22451, 17141, 10505, 6071, 766, 59652}, 60077 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr7);
String str4 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{105, 5, 113, 4}, false, new byte[]{1, 0, 0, 0, 1}, objArr8);
String str5 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new char[]{583, 31664, 61942, 28623, 58762, 25508, 55716, 22455, 52631, 19359, 49516, 16182, 46372, 13144, 43356, 10029, 40227, 6960, 37145, 3914, 33980, 680, 30883, 63194, 27864, 60154, 24766, 57058, 21633, 53952, 18491, 50810, 15478, 47684, 12373, 44670}, 31219 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), objArr9);
Object[] objArr10 = {context, str, str2, str3, str4, true, str5, (String) objArr9[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (Process.myPid() >> 22), 5 - View.getDefaultSize(0, 0), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).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, objArr10);
return null;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
}
return null;
}
private static void aB(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 = $11 + 67;
$10 = 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(402 - TextUtils.getTrimmedLength(""), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 21608));
byte b = (byte) 1;
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
aC(b, b2, b2, 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() ^ (m ^ (-6958928035870403642L));
try {
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - Gravity.getAbsoluteGravity(0, 0), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, b4, 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;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $11 + 5;
$10 = i6 % 128;
int i7 = i6 % 2;
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(238 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - (Process.myTid() >> 22), (char) KeyEvent.getDeadChar(0, 0));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aC(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i8 = $11 + 57;
$10 = i8 % 128;
int i9 = i8 % 2;
}
String str = new String(cArr2);
int i10 = $11 + 45;
$10 = i10 % 128;
int i11 = i10 % 2;
objArr[0] = str;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x011e, code lost:
if (r2 == null) goto L35;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0120, code lost:
r4 = com.scb.phone.view.activity.prepaid.PrepaidTravelGettingStartedActivity.k + 97;
com.scb.phone.view.activity.prepaid.PrepaidTravelGettingStartedActivity.f7775o = r4 % 128;
r4 = r4 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0129, code lost:
r4 = o.xzZ.y.get(125943855);
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0137, code lost:
if (r4 == null) goto L21;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x0164, code lost:
r0 = ((java.lang.reflect.Method) r4).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x016a, code lost:
r7 = (java.lang.Object[]) null;
r7 = new java.lang.Object[1];
aB(new char[]{531, 47022, 26976, 9073, 54525, 36582, 16422, 64094, 44952, 24968, 7006, 52554, 34517, 14399, 61995, 42991, 23024, 4986, 50486, 32507, 12429, 59969, 40017, 20950, 3020, 48471, 30399, 10414, 57909, 37940, 18860, 950, 46451, 28428, 8396, 55938, 35848, 17984, 64386, 44349, 26408, 6373, 53941, 33918, 15973, 62405, 42461, 24387}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.friend_get_friends_regis_successful_success_cc_activation_register).substring(17, 18).length() + 46522, r7);
r4 = (java.lang.String) r7[0];
r8 = new java.lang.Object[1];
aA(new int[]{41, 64, org.bouncycastle.crypto.tls.CipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256, 58}, false, new byte[]{1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0}, r8);
r6 = (java.lang.String) r8[0];
r15 = new java.lang.Object[1];
aB(new char[]{579, 39443, 12800, 51722, 25191, 64060, 37489, 10872, 49752, 23114, 62027, 35364, 8748, 47715, 21100, 60061, 33491, 6873, 45798, 19129, 58023, 31407, 4819, 43743, 17049, 56059, 29358, 2740, 41702, 15121, 54037, 27473, 822, 39785, 13169, 52012, 25427, 64349, 37701, 11084, 50047, 23395, 62317, 35730, 9160, 48084, 21386, 60384, 33776, 7166, 46034, 19409, 58304, 31686, 5108, 43947, 17386, 55362, 28750, 2128, 40971, 14399, 53359, 26658}, 38921 - android.text.TextUtils.getOffsetAfter("", 0), r15);
r7 = (java.lang.String) r15[0];
r10 = new java.lang.Object[1];
aB(new char[]{586, 59643, 55052, 49749, 43237, 38777, 33283, 26806, 22329, 16990, 10369, 5920, 605, 59524, 55097, 49772, 43159, 38701, 33387, 26780, 22471, 17023, 10398, 6088, 628, 59564, 55198, 49769, 43174, 38857, 33281, 26800, 22518, 16908, 10425, 6134, 514, 59661, 55275, 49676, 43339, 38885, 33316, 26974, 22511, 16958, 10581, 6035, 567, 59665, 55179, 49722, 43371, 38876, 33341, 27001, 22419, 17032, 10617, 6035, 713, 59774, 55223, 49861, 43341, 38841, 33418, 26954, 22451, 17141, 10505, 6071, 766, 59652}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.manage_promptpay_pay_alert_message).substring(43, 44).length() + 60076, r10);
r3 = (java.lang.String) r10[0];
r15 = new java.lang.Object[1];
aA(new int[]{105, 5, 113, 4}, false, new byte[]{1, 0, 0, 0, 1}, r15);
r8 = (java.lang.String) r15[0];
r14 = new java.lang.Object[1];
aB(new char[]{583, 31664, 61942, 28623, 58762, 25508, 55716, 22455, 52631, 19359, 49516, 16182, 46372, 13144, 43356, 10029, 40227, 6960, 37145, 3914, 33980, 680, 30883, 63194, 27864, 60154, 24766, 57058, 21633, 53952, 18491, 50810, 15478, 47684, 12373, 44670}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 31185, r14);
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x025d, code lost:
r14 = new java.lang.Object[]{r2, r4, r6, r7, r3, true, r8, (java.lang.String) r14[0]};
r2 = o.xzZ.y.get(1656189573);
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0285, code lost:
if (r2 == null) goto L27;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x02e1, code lost:
((java.lang.reflect.Method) r2).invoke(r0, r14);
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x0288, code lost:
r2 = ((java.lang.Class) o.xzZ.c(487 - (android.view.ViewConfiguration.getDoubleTapTimeout() >> 16), 5 - (android.util.TypedValue.complexToFraction(0, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.util.TypedValue.complexToFraction(0, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((-1) - android.os.Process.getGidForName("")))).getMethod("e", android.content.Context.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.Boolean.TYPE, java.lang.String.class, java.lang.String.class);
o.xzZ.y.put(1656189573, r2);
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x013a, code lost:
r4 = ((java.lang.Class) o.xzZ.c(android.graphics.Color.argb(0, 0, 0, 0) + 492, (android.util.TypedValue.complexToFraction(0, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.util.TypedValue.complexToFraction(0, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (android.view.ViewConfiguration.getScrollBarSize() >> 8))).getMethod("a", null);
o.xzZ.y.put(125943855, r4);
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x02e7, code lost:
r0 = move-exception;
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x02e8, code lost:
r2 = r0.getCause();
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x02ec, code lost:
if (r2 != null) goto L33;
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x02ee, code lost:
throw r2;
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x02ef, code lost:
throw r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x02f0, code lost:
super.onCreate(r18);
setContentView(com.scb.phone.R.layout.2131558635);
butterknife.ButterKnife.Dg_(r17);
Z();
setTitle(com.scb.phone.R.string.prepaid_travel_welcome_title);
ac();
r0 = r17.mGettingStarted;
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x030d, code lost:
if (r0 == null) goto L42;
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x030f, code lost:
r2 = com.scb.phone.view.activity.prepaid.PrepaidTravelGettingStartedActivity.k + 111;
com.scb.phone.view.activity.prepaid.PrepaidTravelGettingStartedActivity.f7775o = r2 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x0319, code lost:
if ((r2 % 2) != 0) goto L40;
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x031c, code lost:
r0 = null;
r0.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:36:0x0320, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:37:0x0325, code lost:
r0.setOnClickListener(new o.ViewOnClickListenerC11617eii(r17));
*/
/* JADX WARN: Code restructure failed: missing block: B:38:0x032e, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:39:0x0321, code lost:
r0 = null;
o.C14957gcv.a("");
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x00a0, code lost:
if (r2 <= 99999) goto L35;
*/
/* JADX WARN: Code restructure failed: missing block: B:43:0x009b, code lost:
if (r2 >= 99000) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x005d, code lost:
if (r2 >= 99000) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x00a2, code lost:
r2 = getBaseContext();
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x00ad, code lost:
if (r2 != null) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x00af, code lost:
r2 = com.scb.phone.view.activity.prepaid.PrepaidTravelGettingStartedActivity.f7775o + 27;
com.scb.phone.view.activity.prepaid.PrepaidTravelGettingStartedActivity.k = r2 % 128;
r2 = r2 % 2;
r15 = (java.lang.Object[]) null;
r15 = new java.lang.Object[1];
aB(new char[]{579, 5057, 8540, 14071, 17529, 21898, 27400, 30935, 36395, 40871, 44496, 49923, 53503, 58984, 63456, 1288, 6788, 10262, 14780, 20268, 23922, 29403, 32846, 37356, 42875, 46211}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.e_coupon_review_time_warning).substring(6, 8).length() + 4491, r15);
r2 = java.lang.Class.forName((java.lang.String) r15[0]);
r4 = new java.lang.Object[1];
aA(new int[]{23, 18, 6, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, r4);
r2 = (android.content.Context) r2.getMethod((java.lang.String) r4[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0118, code lost:
if (r2 == null) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x011a, code lost:
r2 = r2.getApplicationContext();
*/
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelGettingStartedActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onCreate(android.os.Bundle r18) {
/*
Method dump skipped, instructions count: 1186
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.PrepaidTravelGettingStartedActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelGettingStartedActivity, 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 final void onResume() {
int i = 2 % 2;
int i2 = f7775o + 47;
k = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = f7775o + 51;
k = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
aB(new char[]{579, 5057, 8540, 14071, 17529, 21898, 27400, 30935, 36395, 40871, 44496, 49923, 53503, 58984, 63456, 1288, 6788, 10262, 14780, 20268, 23922, 29403, 32846, 37356, 42875, 46211}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 4459, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{23, 18, 6, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i5 = f7775o + 89;
k = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
int i7 = f7775o + 39;
k = i7 % 128;
try {
if (i7 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 493, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) Color.green(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 487, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) KeyEvent.normalizeMetaState(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
int i8 = 98 / 0;
} else {
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - Gravity.getAbsoluteGravity(0, 0), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 487, Gravity.getAbsoluteGravity(0, 0) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelGettingStartedActivity, 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 final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = f7775o + 107;
k = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB(new char[]{579, 5057, 8540, 14071, 17529, 21898, 27400, 30935, 36395, 40871, 44496, 49923, 53503, 58984, 63456, 1288, 6788, 10262, 14780, 20268, 23922, 29403, 32846, 37356, 42875, 46211}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.submit_ekyc_title_breadcrumb_en).substring(0, 16).codePointAt(9) + 4394, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{23, 18, 6, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = k + 5;
f7775o = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = f7775o + 31;
k = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Color.green(0), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')))).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(486 - TextUtils.indexOf((CharSequence) "", '0'), 5 - KeyEvent.normalizeMetaState(0), (char) Color.green(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aA(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2;
char[] cArr;
char[] cArr2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr3 = l;
if (cArr3 != null) {
int length = cArr3.length;
char[] cArr4 = new char[length];
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr3[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr2 = cArr3;
} else {
Class cls = (Class) xzZ.c(Color.blue(i4) + 223, MotionEvent.axisFromString("") + 6, (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 41976));
byte b = (byte) i4;
cArr2 = cArr3;
Object[] objArr3 = new Object[1];
aC((byte) 7, b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr4[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
cArr3 = cArr2;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
char[] cArr5 = new char[i6];
System.arraycopy(cArr3, i5, cArr5, 0, i6);
int i10 = 5;
if (bArr != null) {
char[] cArr6 = new char[i6];
tvh.c = 0;
char c = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i11 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 454, 5 - Color.argb(0, 0, 0, 0), (char) (View.resolveSize(0, 0) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr6[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i12 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - View.MeasureSpec.getMode(0), View.MeasureSpec.makeMeasureSpec(0, 0) + i10, (char) (View.resolveSizeAndState(0, 0, 0) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr6[i12] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
int i13 = $11 + 87;
$10 = i13 % 128;
int i14 = i13 % 2;
}
c = cArr6[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 402, MotionEvent.axisFromString("") + 6, (char) (21608 - ExpandableListView.getPackedPositionType(0L)));
byte b2 = (byte) i10;
byte b3 = (byte) (b2 - 5);
Object[] objArr7 = new Object[1];
aC(b2, b3, b3, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
i10 = 5;
}
cArr5 = cArr6;
}
if (i8 > 0) {
char[] cArr7 = new char[i6];
System.arraycopy(cArr5, 0, cArr7, 0, i6);
int i15 = i6 - i8;
System.arraycopy(cArr7, 0, cArr5, i15, i8);
System.arraycopy(cArr7, i8, cArr5, 0, i15);
int i16 = $11 + 19;
$10 = i16 % 128;
i = 2;
int i17 = i16 % 2;
} else {
i = 2;
}
if (z) {
int i18 = $10 + 103;
$11 = i18 % 128;
if (i18 % i == 0) {
cArr = new char[i6];
i2 = 0;
} else {
i2 = 0;
cArr = new char[i6];
}
while (true) {
tvh.c = i2;
if (tvh.c >= i6) {
break;
}
cArr[tvh.c] = cArr5[(i6 - tvh.c) - 1];
i2 = tvh.c + 1;
}
cArr5 = cArr;
}
if (i7 > 0) {
tvh.c = 0;
while (tvh.c < i6) {
int i19 = $11 + 111;
$10 = i19 % 128;
int i20 = i19 % 2;
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
tvh.c++;
int i21 = $11 + 51;
$10 = i21 % 128;
if (i21 % 2 != 0) {
int i22 = 2 / 5;
}
}
}
objArr[0] = new String(cArr5);
}
public static /* synthetic */ void d(PrepaidTravelGettingStartedActivity prepaidTravelGettingStartedActivity) {
int i = 2 % 2;
C14957gcv.e(prepaidTravelGettingStartedActivity, "");
prepaidTravelGettingStartedActivity.startActivity(new Intent(prepaidTravelGettingStartedActivity, (Class<?>) PrepaidTravelCoachMarkActivity.class));
prepaidTravelGettingStartedActivity.setResult(-1);
prepaidTravelGettingStartedActivity.finish();
int i2 = f7775o + 5;
k = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelGettingStartedActivity, 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 final void attachBaseContext(Context context) {
d(new Object[]{this, context}, 1742045063, -1742045063, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelGettingStartedActivity, 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 final void onStart() {
int i = 2 % 2;
int i2 = k + 53;
f7775o = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = f7775o + 53;
k = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
}