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

764 lines
39 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.graphics.Color;
import android.graphics.ImageFormat;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.viewpager.widget.ViewPager;
import butterknife.BindView;
import butterknife.ButterKnife;
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.R;
import com.scb.phone.view.activity.prepaid.PrepaidTravelCoachMarkActivity;
import com.scb.phone.view.adapter.creditcard.CoachMarkViewPagerAdapter;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C14881gav;
import o.C14957gcv;
import o.GuL;
import o.InterfaceC13391fZD;
import o.TVH;
import o.WYJ;
import o.aAL;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.PassportService;
/* loaded from: classes5.dex */
public final class PrepaidTravelCoachMarkActivity extends Hilt_PrepaidTravelCoachMarkActivity {
private static char[] k;
private static long l;
/* renamed from: o, reason: collision with root package name */
private static int f7771o;
@InterfaceC13391fZD
public aAL presenterPrepaid;
@BindView
public ViewPager viewPager;
private static final byte[] $$p = {94, -44, 14, -83};
private static final int $$q = 17;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> 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 r7, int r8, int r9, java.lang.Object[] r10) {
/*
int r9 = r9 * 2
int r9 = r9 + 71
int r7 = r7 * 4
int r7 = 4 - r7
byte[] r0 = com.scb.phone.view.activity.prepaid.PrepaidTravelCoachMarkActivity.$$p
int r8 = r8 * 2
int r8 = r8 + 1
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L17
r3 = r9
r5 = r2
r9 = r7
goto L2d
L17:
r3 = r2
L18:
byte r4 = (byte) r9
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r8) goto L27
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L27:
r3 = r0[r7]
r6 = r9
r9 = r7
r7 = r3
r3 = r6
L2d:
int r7 = -r7
int r7 = r7 + r3
int r9 = r9 + 1
r3 = r5
r6 = r9
r9 = r7
r7 = r6
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.PrepaidTravelCoachMarkActivity.aC(short, int, int, java.lang.Object[]):void");
}
/* loaded from: classes5.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
private static void aA(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(l ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (guL.a < a.length) {
int i3 = $10 + 113;
$11 = i3 % 128;
int i4 = i3 % 2;
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(l)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(208 - View.resolveSize(0, 0), KeyEvent.keyCodeFromString("") + 5, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + ISOFileInfo.AB));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 | Ascii.CAN), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 392, AndroidCharacter.getMirror('0') - '+', (char) View.getDefaultSize(0, 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 | Ascii.EM), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $10 + 89;
$11 = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelCoachMarkActivity, 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 onCreate(Bundle bundle) {
int i = 2 % 2;
ViewPager viewPager = null;
Object[] objArr = new Object[1];
aA(new char[]{13146, 43401, 6074, 22112, 13115, 38712, 27232, 60047, 51273, 37819, 28388, 61015, 50637, 39981, 25378, 58789, 49500, 39093, 26603, 63764, 57049, 34101}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.noti_bnpl_title).substring(0, 40).codePointAt(19) - 3635, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{49310, 56312, 48192, 36181, 49395, 58718, 49579, 12705, 15238}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, 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];
aA(new char[]{32255, 26122, 3457, 46447, 32158, 22715, 28763, 2432, 34540, 23608, 29919, 3416, 35686, 21421, 31047, 1748, 36810, 22330, 32199, 6679, 36985, 19116, 26203, 8091, 38087, 20009, 27353, 4867, 39286, 17833}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(new int[]{0, 18, CipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA, 13}, true, new byte[]{0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = m + 7;
f7771o = i2 % 128;
if (i2 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 4 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
int i4 = f7771o + 77;
m = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = f7771o + 123;
m = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 492, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new char[]{34312, 45194, 17134, 38008, 34361, 36450, 16228, 10375, 32071, 35506, 15282, 11264, 28818, 34148, 13930, 10124, 29775, 33211, 13039, 15185, 27546, 40054, 10610, 16077, 28503, 39157, 9637, 12872, 25222, 37755, 8235, 13768, 26127, 45040, 7336, 2376, 24025, 43520, 6984, 3124, 20786, 42708, 6038, 2019, 21730, 41225, 4673, 6968, 18495, 48513, 3737, 7869}, 1 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{18, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 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}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{21105, 39477, 25454, 34518, 21008, 42194, 7904, 14968, 43372, 41053, 6705, 16042, 42171, 45019, 6123, 13606, 41063, 43858, 4972, 10751, 49120, 46744, 2214, 11371, 47916, 45646, 1139, 8429, 46842, 47562, 430, 10038, 45613, 34112, 15733, 7091, 35237, 33000, 14993, 7838, 34072, 35900, 13893, 5406, 32924, 35762, 13261, 2448, 40003, 38757, 12106, 3138, 39875, 37631, 9426, 131, 38667, 40487, 8276, 1881, 37513, 26099, 23950, 64466, 60928, 24878, 22799, 65024}, 1 - TextUtils.getOffsetBefore("", 0), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{82, 74, 0, 4}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new char[]{54338, 51810, 57708, 40518, 54395, 62611, 40170, 8949, 12046}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new int[]{CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, 36, 0, 0}, false, new byte[]{1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0}, 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 - View.getDefaultSize(0, 0), ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (ImageFormat.getBitsPerPixel(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);
setContentView(R.layout.2131558483);
ButterKnife.Dg_(this);
aAL aal = this.presenterPrepaid;
if (aal == null) {
C14957gcv.a("");
aal = null;
}
List<Integer> d = aal.d();
aAL aal2 = this.presenterPrepaid;
if (aal2 == null) {
C14957gcv.a("");
aal2 = null;
}
aal2.a();
C14957gcv.c(d, "");
List<Integer> list = d;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
Iterator<T> it = list.iterator();
while (it.hasNext()) {
int i8 = f7771o + 67;
m = i8 % 128;
if (i8 % 2 == 0) {
arrayList.add(Integer.valueOf(((Integer) it.next()).intValue()));
throw null;
}
arrayList.add(Integer.valueOf(((Integer) it.next()).intValue()));
}
CoachMarkViewPagerAdapter coachMarkViewPagerAdapter = new CoachMarkViewPagerAdapter(this, C14881gav.a((Collection<Integer>) arrayList));
ViewPager viewPager2 = this.viewPager;
if (viewPager2 != null) {
viewPager = viewPager2;
} else {
C14957gcv.a("");
}
viewPager.setAdapter(coachMarkViewPagerAdapter);
coachMarkViewPagerAdapter.d = new CoachMarkViewPagerAdapter.IeS(this) { // from class: o.ehW
private PrepaidTravelCoachMarkActivity a;
@Override // com.scb.phone.view.adapter.creditcard.CoachMarkViewPagerAdapter.IeS
public final void a() {
Object[] objArr12 = {this.a};
PrepaidTravelCoachMarkActivity.a(objArr12);
}
{
this.a = this;
}
};
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = 2 % 2;
int i2 = m + 29;
f7771o = i2 % 128;
setResult(i2 % 2 != 0 ? 1 : 0);
finish();
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelCoachMarkActivity, 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 = f7771o + 101;
m = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new char[]{32255, 26122, 3457, 46447, 32158, 22715, 28763, 2432, 34540, 23608, 29919, 3416, 35686, 21421, 31047, 1748, 36810, 22330, 32199, 6679, 36985, 19116, 26203, 8091, 38087, 20009, 27353, 4867, 39286, 17833}, 1 - Color.blue(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{0, 18, CipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA, 13}, true, new byte[]{0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = m + 75;
f7771o = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = m + 5;
f7771o = i6 % 128;
if (i6 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - View.MeasureSpec.getSize(0), (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).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(487 - KeyEvent.getDeadChar(0, 0), View.MeasureSpec.getSize(0) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).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.prepaid.Hilt_PrepaidTravelCoachMarkActivity, 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;
int i2 = f7771o + 43;
m = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = f7771o + 29;
m = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
aA(new char[]{32255, 26122, 3457, 46447, 32158, 22715, 28763, 2432, 34540, 23608, 29919, 3416, 35686, 21421, 31047, 1748, 36810, 22330, 32199, 6679, 36985, 19116, 26203, 8091, 38087, 20009, 27353, 4867, 39286, 17833}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 12, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{0, 18, CipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA, 13}, true, new byte[]{0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = f7771o + 51;
m = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 492, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 486, 4 - Process.getGidForName(""), (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
int i7 = f7771o + 55;
m = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aB(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2;
int i3;
int i4 = 2;
int i5 = 2 % 2;
TVH tvh = new TVH();
int i6 = 0;
int i7 = iArr[0];
int i8 = iArr[1];
int i9 = iArr[2];
int i10 = iArr[3];
char[] cArr = k;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i11 = 0;
while (i11 < length) {
int i12 = $11 + 11;
$10 = i12 % 128;
if (i12 % i4 != 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i6] = Integer.valueOf(cArr[i11]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
i3 = length;
} else {
Class cls = (Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 222, 5 - KeyEvent.keyCodeFromString(""), (char) (41977 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)));
byte b = (byte) i6;
byte b2 = b;
i3 = length;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i11] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
i3 = length;
try {
Object[] objArr4 = {Integer.valueOf(cArr[i11])};
Object obj2 = xzZ.y.get(1645349359);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + PassportService.DEFAULT_MAX_BLOCKSIZE, 5 - TextUtils.getOffsetBefore("", 0), (char) (41977 - (ViewConfiguration.getDoubleTapTimeout() >> 16)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(1645349359, obj2);
}
cArr2[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i11++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
length = i3;
i4 = 2;
i6 = 0;
}
cArr = cArr2;
}
char[] cArr3 = new char[i8];
System.arraycopy(cArr, i7, cArr3, 0, i8);
if (bArr != null) {
int i13 = $10 + 67;
$11 = i13 % 128;
int i14 = i13 % 2;
char[] cArr4 = new char[i8];
tvh.c = 0;
char c = 0;
while (tvh.c < i8) {
if (bArr[tvh.c] == 1) {
int i15 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 502, TextUtils.getCapsMode("", 0, 0) + 5, (char) (MotionEvent.axisFromString("") + 55))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i15] = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
} else {
int i16 = tvh.c;
Object[] objArr7 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(14 - ((byte) KeyEvent.getModifierMetaStateMask()), View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) (58134 - View.resolveSize(0, 0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr4[i16] = ((Character) ((Method) obj4).invoke(null, objArr7)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr8 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 402, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 21608));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr9 = new Object[1];
aC(b5, b6, (byte) (b6 + 1), objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
int i17 = $11 + 59;
$10 = i17 % 128;
i = 2;
int i18 = i17 % 2;
cArr3 = cArr4;
} else {
i = 2;
}
if (i10 > 0) {
int i19 = $11 + 89;
$10 = i19 % 128;
if (i19 % i != 0) {
char[] cArr5 = new char[i8];
i2 = 0;
System.arraycopy(cArr3, 1, cArr5, 0, i8);
System.arraycopy(cArr5, 0, cArr3, i8 >>> i10, i10);
System.arraycopy(cArr5, i10, cArr3, 0, i8 * i10);
} else {
i2 = 0;
char[] cArr6 = new char[i8];
System.arraycopy(cArr3, 0, cArr6, 0, i8);
int i20 = i8 - i10;
System.arraycopy(cArr6, 0, cArr3, i20, i10);
System.arraycopy(cArr6, i10, cArr3, 0, i20);
}
} else {
i2 = 0;
}
if (z) {
char[] cArr7 = new char[i8];
while (true) {
tvh.c = i2;
if (tvh.c >= i8) {
break;
}
int i21 = $11 + 5;
$10 = i21 % 128;
int i22 = i21 % 2;
cArr7[tvh.c] = cArr3[(i8 - tvh.c) - 1];
i2 = tvh.c + 1;
}
cArr3 = cArr7;
}
if (i9 > 0) {
int i23 = 0;
while (true) {
tvh.c = i23;
if (tvh.c >= i8) {
break;
}
int i24 = $11 + 47;
$10 = i24 % 128;
if (i24 % 2 != 0) {
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[3]);
i23 = tvh.c;
} else {
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i23 = tvh.c + 1;
}
}
}
objArr[0] = new String(cArr3);
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelCoachMarkActivity, 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) {
Context context2;
int i = 2 % 2;
int i2 = m + 113;
f7771o = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{13146, 43401, 6074, 22112, 13115, 38712, 27232, 60047, 51273, 37819, 28388, 61015, 50637, 39981, 25378, 58789, 49500, 39093, 26603, 63764, 57049, 34101}, TextUtils.indexOf("", "", 0, 0) + 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{49310, 56312, 48192, 36181, 49395, 58718, 49579, 12705, 15238}, 1 - (ViewConfiguration.getJumpTapTimeout() >> 16), objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = m + 31;
f7771o = i4 % 128;
if (i4 % 2 != 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
context2 = context.getApplicationContext();
int i5 = m + 15;
f7771o = i5 % 128;
int i6 = i5 % 2;
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 493, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) KeyEvent.keyCodeFromString(""))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new char[]{34312, 45194, 17134, 38008, 34361, 36450, 16228, 10375, 32071, 35506, 15282, 11264, 28818, 34148, 13930, 10124, 29775, 33211, 13039, 15185, 27546, 40054, 10610, 16077, 28503, 39157, 9637, 12872, 25222, 37755, 8235, 13768, 26127, 45040, 7336, 2376, 24025, 43520, 6984, 3124, 20786, 42708, 6038, 2019, 21730, 41225, 4673, 6968, 18495, 48513, 3737, 7869}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new int[]{18, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 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}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new char[]{21105, 39477, 25454, 34518, 21008, 42194, 7904, 14968, 43372, 41053, 6705, 16042, 42171, 45019, 6123, 13606, 41063, 43858, 4972, 10751, 49120, 46744, 2214, 11371, 47916, 45646, 1139, 8429, 46842, 47562, 430, 10038, 45613, 34112, 15733, 7091, 35237, 33000, 14993, 7838, 34072, 35900, 13893, 5406, 32924, 35762, 13261, 2448, 40003, 38757, 12106, 3138, 39875, 37631, 9426, 131, 38667, 40487, 8276, 1881, 37513, 26099, 23950, 64466, 60928, 24878, 22799, 65024}, (KeyEvent.getMaxKeyCode() >> 16) + 1, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{82, 74, 0, 4}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{54338, 51810, 57708, 40518, 54395, 62611, 40170, 8949, 12046}, 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)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, 36, 0, 0}, false, new byte[]{1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0}, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getFadingEdgeLength() >> 16), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object a(Object[] objArr) {
PrepaidTravelCoachMarkActivity prepaidTravelCoachMarkActivity = (PrepaidTravelCoachMarkActivity) objArr[0];
int i = 2 % 2;
int i2 = m + 59;
f7771o = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
C14957gcv.e(prepaidTravelCoachMarkActivity, "");
if (i3 == 0) {
ViewPager viewPager = prepaidTravelCoachMarkActivity.viewPager;
if (viewPager != null) {
int i4 = f7771o + 19;
m = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
viewPager = null;
}
int currentItem = viewPager.getCurrentItem() + 1;
ViewPager viewPager2 = prepaidTravelCoachMarkActivity.viewPager;
if (viewPager2 == null) {
C14957gcv.a("");
viewPager2 = null;
}
WYJ adapter = viewPager2.getAdapter();
C14957gcv.e(adapter);
if (currentItem < adapter.getCount()) {
ViewPager viewPager3 = prepaidTravelCoachMarkActivity.viewPager;
if (viewPager3 != null) {
int i6 = f7771o + 37;
m = i6 % 128;
int i7 = i6 % 2;
} else {
C14957gcv.a("");
viewPager3 = null;
}
viewPager3.setCurrentItem(currentItem);
return null;
}
prepaidTravelCoachMarkActivity.setResult(-1);
prepaidTravelCoachMarkActivity.finish();
return null;
}
ViewPager viewPager4 = prepaidTravelCoachMarkActivity.viewPager;
obj.hashCode();
throw null;
}
static void f() {
l = 7651727827596535424L;
k = new char[]{40052, 40202, 40206, 40194, 40192, 40184, 40190, 40199, 40207, 40205, 40198, 40197, 40204, 40200, 40194, 40204, 40194, 40206, 39993, 40040, 40007, 40006, 40006, 40007, 40000, 39997, 40004, 40006, 39992, 39999, 39999, 39999, 39997, 39999, 39992, 39998, 39993, 39994, 40001, 40007, 40000, 40001, 39992, 39999, 39992, 40002, 40001, 39998, 39999, 39999, 39996, 39996, 39997, 40000, 40000, 39997, 40006, 40041, 40007, 40007, 40042, 40000, 39998, 39992, 39992, 40007, 40040, 40005, 40004, 40005, 40006, 40006, 39997, 40000, 40006, 40006, 40001, 39999, 39996, 40007, 40042, 40040, 39993, 40034, 40058, 40056, 40038, 40037, 40063, 40057, 40058, 40029, 39999, 39972, 40026, 40037, 40046, 40044, 40035, 40034, 40037, 40038, 40034, 40032, 40033, 40045, 40046, 40045, 40044, 40042, 40044, 40039, 40007, 40026, 40037, 40038, 40032, 40040, 40033, 40032, 40041, 40033, 40056, 40026, 40001, 40037, 40032, 40034, 40032, 40032, 40057, 40056, 40032, 40034, 40032, 40002, 40003, 40034, 40037, 40005, 40003, 40035, 40039, 40007, 40007, 40032, 40033, 40045, 40039, 40056, 40026, 40025, 40031, 39995, 40001, 40038, 39993, 40040, 40002, 39992, 40007, 40005, 39997, 39993, 39973, 39994, 39992, 40001, 40040, 40012, 39995, 39992, 39994, 39994, 39972, 40012, 40042, 40040, 40047, 40003, 39972, 40001, 40001, 40002, 40007, 40005, 40047, 40007, 39999, 39999, 39992, 40000};
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelCoachMarkActivity, 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 = f7771o + 35;
m = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = f7771o + 27;
m = i4 % 128;
int i5 = i4 % 2;
}
static {
f7771o = 0;
f();
new HBt((byte) 0);
int i = m + 105;
f7771o = i % 128;
int i2 = i % 2;
}
public static /* synthetic */ void d(PrepaidTravelCoachMarkActivity prepaidTravelCoachMarkActivity) {
a(new Object[]{prepaidTravelCoachMarkActivity});
}
}