what-the-bank/sources/com/scb/phone/view/activity/demo/ntb/IntroductionActivity.java

720 lines
44 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.demo.ntb;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Build;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
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 android.widget.RelativeLayout;
import androidx.viewpager.widget.ViewPager;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
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.demo.ntb.IntroductionActivity;
import com.scb.phone.view.adapter.demontb.IntroductionViewPagerAdapter;
import java.lang.reflect.Method;
import java.util.ArrayList;
import me.relex.circleindicator.CircleIndicator;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC8289dGp;
import o.InterfaceC13391fZD;
import o.InterfaceC6656cZW;
import o.ZI;
import o.aLB;
import o.dQY;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public class IntroductionActivity extends AbstractActivityC8289dGp implements InterfaceC6656cZW.Sts {
private static short[] t;
@BindView
CircleIndicator indicator;
@BindView
RelativeLayout introductionContainer;
@InterfaceC13391fZD
public aLB introductionPresenter;
@BindView
ViewPager viewPager;
private static final byte[] $$p = {ISO7816.INS_DECREASE_STAMPED, 125, -39, -65};
private static final int $$q = 42;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int r = 1;
private static int m = 1284856114;
/* renamed from: o, reason: collision with root package name */
private static int f7011o = 1406017040;
private static int k = 1141595228;
private static byte[] l = {Ascii.NAK, Ascii.ESC, Ascii.ETB, -31, -24, 55, 55, -82, 17, 84, -33, -18, -17, -24, Ascii.ESC, -29, Ascii.CAN, -22, 19, ISO7816.INS_CREATE_FILE, 6, -21, -17, -24, -23, Ascii.NAK, 58, ISO7816.INS_LOAD_KEY_FILE, 19, 28, -26, Ascii.NAK, -24, 7, ISO7816.INS_PUT_DATA, 56, ISO7816.INS_GET_RESPONSE, 59, -23, 16, Ascii.ETB, -59, Ascii.NAK, -24, -22, 32, -20, Ascii.SYN, 17, Ascii.NAK, ISO7816.INS_LOAD_KEY_FILE, 62, -61, 59, -57, 56, -59, 56, -51, 56, Ascii.DC4, -18, 19, -22, -60, 63, 16, -60, 58, -57, 58, -20, ISO7816.INS_ENVELOPE, Ascii.DC4, -18, Ascii.SYN, 37, -60, 59, -24, 19, 17, -22, 57, -21, Ascii.DC2, -37, 62, -61, 56, -24, ISO7816.INS_GET_RESPONSE, 57, -60, 59, -63, Ascii.ETB, 57, 16, -23, -22, ISO7816.INS_GET_RESPONSE, -22, 57, -63, Ascii.NAK, 63, Ascii.SYN, -63, 57, -21, Ascii.NAK, -22, 29, ISO7816.INS_APPEND_RECORD, Ascii.DC2, ISO7816.INS_PUT_DATA, 38, -17, Ascii.SYN, -22, -58, 62, -58, ISO7816.INS_CHANGE_CHV, Ascii.DC4, -24, -21, 16, -17, Ascii.DC4, 17, -23, 17, -24, -59, 57, 16, -57, 57, -60, 58, -63, -24, -63, 62, Ascii.SYN, -63, -18, 16, ISO7816.INS_CHANGE_CHV, -33, 35, ISO7816.INS_APPEND_RECORD, Ascii.SYN, -21, 19, ISO7816.INS_LOAD_KEY_FILE, Ascii.SYN, -24, 58, -58, -24, 38, -21, 16, -18, 17, Ascii.NAK, -22, -24, Ascii.NAK, -63, -22, 59, -59, 62, Ascii.SYN, -21, -58, -22, 59, ISO7816.INS_GET_RESPONSE, ISO7816.INS_CHANGE_CHV, -18, Ascii.DC2, -22, Ascii.DC4, -33, 17, Ascii.DC4, 60, 29, -23, -57, -24, 39, -17, Ascii.DC2, ISO7816.INS_LOAD_KEY_FILE, Ascii.NAK, 39, -57, 59, Ascii.SYN, -19, ISO7816.INS_ENVELOPE, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private static char[] q = {8098, 2030, 12074, 22190, 32459, 41627, 47820, 37422, 60288, 50165, 56107, 12430, 2236, 24667, 31122, 20986, 43292, 34459, 40673, 63070, 53179, 9996, 16203, 5310, 27659, 17486, 23978, 46360, 36215, 60123, 49670, 36794, 38910, 48918, 50858, 61121, 63056, 7661, 9621, 19809, 21667, 31939, 33911, 43921, 46021, 56175, 58007, 2615, 4728, 14721, 16691, 26963, 28806, 38944, 41051, 51196, 61217, 63244, 7918, 9754, 20056, 21991, 32027, 33958, 44265, 46083, 56233, 58310, 2884, 4773, 15055, 17011, 27064, 29126, 39273, 41091, 51423, 53347, 63368, 7991, 10020, 20097, 22069, 32351, 34245, 44323, 46410, 56571, 58469, 3147, 5108, 15125, 17231, 27377, 29198, 39421, 41468, 51536, 53493, 63703, NistHelper.SEP_FS, 10151, 20436, 22374, 32441, 17751, 23832, 30182, 3144, 9278, 36791, 38891, 48976, 50926, 61142, 63059, 7670, 9610, 19775, 21756, 31890, 33919, 43920, 45959, 56118, 58056, 2659, 4667, 14799, 16699, 26960, 28815, 38945, 40983, 51104, 61225, 63248, 7931, 9797, 20047, 21985, 32079, 34022, 44223, 46163, 56255};
private static long s = 470973817259530122L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002c). 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(byte r6, byte r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.demo.ntb.IntroductionActivity.$$p
int r8 = r8 * 3
int r8 = 3 - r8
int r7 = r7 * 3
int r1 = r7 + 1
int r6 = 110 - r6
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L15
r4 = r7
r6 = r8
r3 = r2
goto L2c
L15:
r3 = r2
L16:
int r8 = r8 + 1
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r7) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
int r3 = r3 + 1
r4 = r0[r8]
r5 = r8
r8 = r6
r6 = r5
L2c:
int r4 = -r4
int r8 = r8 + r4
r5 = r8
r8 = r6
r6 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.demo.ntb.IntroductionActivity.aC(byte, byte, short, java.lang.Object[]):void");
}
private static void aB(int i, int i2, char c, Object[] objArr) {
int i3 = 2;
int i4 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i5 = $10 + 65;
$11 = i5 % 128;
if (i5 % i3 != 0) {
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(q[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(308 - TextUtils.getCapsMode("", 0, 0), 5 - ExpandableListView.getPackedPositionType(0L), (char) (32797 - (ViewConfiguration.getKeyRepeatDelay() >> 16)));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aC((byte) 12, b, b, 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(s), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(413 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) 11, b2, b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(407 - View.MeasureSpec.makeMeasureSpec(0, 0), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (29234 - Drawable.resolveOpacity(0, 0)));
byte length = (byte) $$p.length;
byte b3 = (byte) (length - 4);
Object[] objArr7 = new Object[1];
aC(length, b3, b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i7 = dqy.a;
try {
Object[] objArr8 = {Integer.valueOf(q[i + dqy.a])};
Object obj4 = xzZ.y.get(1095064095);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(308 - View.resolveSize(0, 0), 4 - TextUtils.lastIndexOf("", '0', 0), (char) (ExpandableListView.getPackedPositionChild(0L) + 32798));
byte b4 = (byte) 0;
Object[] objArr9 = new Object[1];
aC((byte) 12, b4, b4, 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(s), Integer.valueOf(c)};
Object obj5 = xzZ.y.get(-548438098);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(Process.getGidForName("") + 413, 5 - TextUtils.indexOf("", "", 0), (char) View.combineMeasuredStates(0, 0));
byte b5 = (byte) 0;
Object[] objArr11 = new Object[1];
aC((byte) 11, b5, b5, objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj5);
}
jArr[i7] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue();
try {
Object[] objArr12 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 == null) {
Class cls6 = (Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 407, View.combineMeasuredStates(0, 0) + 5, (char) (29235 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))));
byte length2 = (byte) $$p.length;
byte b6 = (byte) (length2 - 4);
Object[] objArr13 = new Object[1];
aC(length2, b6, b6, 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;
}
}
i3 = 2;
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr14 = {dqy, dqy};
Object obj7 = xzZ.y.get(1071125919);
if (obj7 == null) {
Class cls7 = (Class) xzZ.c(407 - Color.argb(0, 0, 0, 0), 5 - Gravity.getAbsoluteGravity(0, 0), (char) (Process.getGidForName("") + 29235));
byte length3 = (byte) $$p.length;
byte b7 = (byte) (length3 - 4);
Object[] objArr15 = new Object[1];
aC(length3, b7, b7, objArr15);
obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj7);
}
((Method) obj7).invoke(null, objArr14);
}
String str = new String(cArr);
int i8 = $10 + 13;
$11 = i8 % 128;
int i9 = i8 % 2;
objArr[0] = str;
}
@Override // o.AbstractActivityC8289dGp, 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];
aA((short) TextUtils.indexOf("", "", 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_card_success_desc).substring(58, 59).length() - 526075688, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 21, (-398803432) + View.resolveSizeAndState(0, 0, 0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.idp_selected_account_limit).substring(0, 4).codePointAt(3) - 36, (char) (View.MeasureSpec.getSize(0) + 36893), 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];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_coin_more_detail_description_1_1).substring(0, 61).codePointAt(52) - 27, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) - 75, (char) (MotionEvent.axisFromString("") + 11561), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA((short) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)), (-526075671) - Process.getGidForName(""), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 86, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 398803464, (byte) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = p + 47;
r = i2 % 128;
if (i2 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 6 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 492, 4 - MotionEvent.axisFromString(""), (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_mcmc_car_registration_no_title).substring(18, 19).codePointAt(0) - 3585), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 526075666, 43 - View.MeasureSpec.getMode(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.no_accounts_description).substring(34, 35).codePointAt(0) - 398803512, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.app_account_deletion_sub_title).substring(7, 8).length() - 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.successful_qr_code_bill_payment_header).substring(19, 20).length() - 526075607, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 25, 48716 - AndroidCharacter.getMirror('0'), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_topup_phone_number_header).substring(0, 21).length() - 21), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA((short) TextUtils.indexOf("", "", 0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.error_do_not_have_credit_card).substring(65, 66).codePointAt(0) - 526075575, 59 - KeyEvent.keyCodeFromString(""), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 398803466, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 111), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 3, 73 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.example_tg12123).substring(12, 13).codePointAt(0) - 65), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(105 - TextUtils.getOffsetAfter("", 0), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) ((ViewConfiguration.getEdgeSlop() >> 16) + 51900), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 97, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 62, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), 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(AndroidCharacter.getMirror('0') + 439, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) Color.red(0))).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);
if (Build.VERSION.SDK_INT != 26) {
int i4 = p + 81;
r = i4 % 128;
int i5 = i4 % 2;
setRequestedOrientation(1);
}
setContentView(R.layout.2131558626);
ButterKnife.Dg_(this);
this.introductionPresenter.e((aLB) this);
ArrayList parcelableArrayListExtra = getIntent().getParcelableArrayListExtra("INTRODUCTION_LIST");
if (parcelableArrayListExtra == null) {
this.introductionContainer.setVisibility(8);
finish();
} else {
this.viewPager.setAdapter(new IntroductionViewPagerAdapter(this, parcelableArrayListExtra, new IntroductionViewPagerAdapter.LWm(this) { // from class: o.dGx
private IntroductionActivity b;
@Override // com.scb.phone.view.adapter.demontb.IntroductionViewPagerAdapter.LWm
public final void b() {
IntroductionActivity.e(this.b);
}
{
this.b = this;
}
}));
this.indicator.setViewPager(this.viewPager);
this.introductionContainer.setVisibility(0);
}
}
@Override // o.InterfaceC6656cZW.Sts
public final void a(int i) {
int i2 = 2 % 2;
int i3 = p + 47;
r = i3 % 128;
if (i3 % 2 != 0) {
this.viewPager.setCurrentItem(i);
} else {
this.viewPager.setCurrentItem(i);
int i4 = 15 / 0;
}
}
@Override // o.InterfaceC6656cZW.Sts
@OnClick
public void closeIntroduction() {
RelativeLayout relativeLayout;
int i;
int i2 = 2 % 2;
int i3 = p + 47;
r = i3 % 128;
if (i3 % 2 == 0) {
relativeLayout = this.introductionContainer;
i = 63;
} else {
relativeLayout = this.introductionContainer;
i = 8;
}
relativeLayout.setVisibility(i);
finish();
int i4 = p + 91;
r = i4 % 128;
int i5 = i4 % 2;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = p + 27;
r = i2 % 128;
int i3 = i2 % 2;
this.introductionContainer.setVisibility(8);
finish();
int i4 = r + 115;
p = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public void onDestroy() {
int i = 2 % 2;
int i2 = p + 115;
r = i2 % 128;
if (i2 % 2 != 0) {
this.introductionPresenter.w_();
super.onDestroy();
int i3 = p + 11;
r = i3 % 128;
if (i3 % 2 == 0) {
throw null;
}
return;
}
this.introductionPresenter.w_();
super.onDestroy();
throw null;
}
@Override // o.AbstractActivityC8289dGp, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = r + 49;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fixed_transfer_deposit_interest_rate).substring(13, 17).length() + 11556), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_robo_advisor_landing_message).substring(20, 21).length() - 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 526075716, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cardless_invalid_divisible).substring(33, 34).codePointAt(0) - 35, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_document_description_mhmc).substring(65, 66).length() - 398803431, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_external_instruction_main_title).substring(21, 22).length() - 1), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 7;
r = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
int i5 = p + 33;
r = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 492, 5 - TextUtils.getCapsMode("", 0, 0), (char) (Process.myTid() >> 22))).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(TextUtils.getOffsetBefore("", 0) + 487, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) Color.green(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
/* JADX WARN: Code restructure failed: missing block: B:47:0x01d6, code lost:
if (r4 != false) goto L49;
*/
/* JADX WARN: Code restructure failed: missing block: B:48:0x01f3, code lost:
r4 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:80:0x01e9, code lost:
r7 = r7 + 31;
com.scb.phone.view.activity.demo.ntb.IntroductionActivity.$11 = r7 % 128;
r7 = r7 % 2;
r4 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:82:0x01e7, code lost:
if (r4 != false) goto L49;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aA(short r17, int r18, int r19, int r20, byte r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 808
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.demo.ntb.IntroductionActivity.aA(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC8289dGp, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = r + 7;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB(5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 11547), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.preregistration_pin_body_bulk).substring(43, 44).codePointAt(0) - 115), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 526075779, TextUtils.indexOf("", "") + 13, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.btn_text_return_to_pointx).substring(9, 17).length() - 398803438, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = r + 89;
p = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.getOffsetAfter("", 0), Gravity.getAbsoluteGravity(0, 0) + 5, (char) Color.alpha(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(AndroidCharacter.getMirror('0') + 439, AndroidCharacter.getMirror('0') - '+', (char) Gravity.getAbsoluteGravity(0, 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();
int i6 = p + 97;
r = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 95 / 0;
}
}
@Override // o.AbstractActivityC8289dGp, 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 = p + 71;
r = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA((short) (ViewConfiguration.getJumpTapTimeout() >> 16), (-526075687) - (ViewConfiguration.getJumpTapTimeout() >> 16), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 12, (-398803433) + (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (byte) Color.blue(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(ViewConfiguration.getWindowTouchSlop() >> 8, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 36894), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = p + 71;
r = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 62 / 0;
if (intValue <= 99999) {
return;
}
} else if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i6 = r + 45;
p = i6 % 128;
int i7 = i6 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i8 = r + 109;
p = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.blue(0) + 492, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA((short) ExpandableListView.getPackedPositionType(0L), Color.rgb(0, 0, 0) - 509298437, (Process.myPid() >> 22) + 43, (-398803480) - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA((short) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1), (-526075607) - TextUtils.indexOf((CharSequence) "", '0'), 59 - KeyEvent.getDeadChar(0, 0), (-398803428) - TextUtils.indexOf("", "", 0, 0), (byte) (TextUtils.lastIndexOf("", '0', 0) + 1), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA((short) View.getDefaultSize(0, 0), (-526075543) - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 59, (ViewConfiguration.getMaximumFlingVelocity() >> 16) - 398803432, (byte) TextUtils.getOffsetAfter("", 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(31 - (ViewConfiguration.getJumpTapTimeout() >> 16), Color.blue(0) + 74, (char) TextUtils.getTrimmedLength(""), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((ViewConfiguration.getDoubleTapTimeout() >> 16) + 105, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (51900 - (ViewConfiguration.getTouchSlop() >> 8)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((ViewConfiguration.getLongPressTimeout() >> 16) + 110, 36 - Color.argb(0, 0, 0, 0), (char) Color.argb(0, 0, 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(488 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 5 - View.getDefaultSize(0, 0), (char) (ViewConfiguration.getLongPressTimeout() >> 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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
public static /* synthetic */ void e(IntroductionActivity introductionActivity) {
int i = 2 % 2;
aLB alb = introductionActivity.introductionPresenter;
int currentItem = introductionActivity.viewPager.getCurrentItem();
int count = introductionActivity.viewPager.getAdapter().getCount();
final int i2 = currentItem + 1;
if (alb.f != 0) {
if (i2 < count) {
ZI.IeS ieS = new ZI.IeS(i2) { // from class: o.aLH
private int c;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6656cZW.Sts) obj).a(this.c);
}
{
this.c = i2;
}
};
if (alb.f != 0) {
int i3 = r + 55;
p = i3 % 128;
if (i3 % 2 == 0) {
ieS.e(alb.f);
return;
} else {
ieS.e(alb.f);
int i4 = 18 / 0;
return;
}
}
return;
}
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.aLG
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6656cZW.Sts) obj).closeIntroduction();
}
};
if (alb.f != 0) {
int i5 = p;
int i6 = i5 + 7;
r = i6 % 128;
if (i6 % 2 == 0) {
return;
}
int i7 = i5 + 43;
r = i7 % 128;
if (i7 % 2 != 0) {
ieS2.e(alb.f);
} else {
ieS2.e(alb.f);
throw null;
}
}
}
}
@Override // o.AbstractActivityC8289dGp, 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 + 105;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 23;
r = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
}