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

610 lines
40 KiB
Java

package com.scb.phone.view.activity;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import android.widget.ImageView;
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.scb.phone.R;
import com.scb.phone.view.adapter.OnBoardingTutorialViewPagerAdapter;
import java.lang.reflect.Method;
import me.relex.circleindicator.CircleIndicator;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC9794dqc;
import o.C0930Rt;
import o.InterfaceC6638cYp;
import o.jTb;
import o.xzZ;
/* loaded from: classes4.dex */
public class OnBoardingTutorialActivity extends AbstractActivityC9794dqc implements OnBoardingTutorialViewPagerAdapter.RVV, ViewPager.ojQ, InterfaceC6638cYp {
private static short[] s;
@BindView
ImageView mNextTutorialImageView;
@BindView
CircleIndicator mOnBoardingTutorialIndicator;
@BindView
ViewPager mOnBoardingTutorialViewPager;
@BindView
ImageView mPreviousTutorialImageView;
@BindView
RelativeLayout mRootLayout;
@BindView
ImageView mSkipImageView;
private static final byte[] $$p = {Ascii.ESC, 74, ISO7816.INS_UPDATE_RECORD, 124};
private static final int $$q = 8;
private static int $10 = 0;
private static int $11 = 1;
private static int u = 0;
private static int w = 1;
private static char k = 22552;
private static char m = 63161;
private static char l = 17424;
/* renamed from: o, reason: collision with root package name */
private static char f6537o = 51934;
private static int q = 494962586;
private static int t = 1406017064;
private static int r = 1285337210;
private static byte[] p = {60, -45, Ascii.ESC, -53, -55, 54, 57, ISO7816.INS_GET_RESPONSE, -34, 17, -49, -63, 57, -57, 63, -37, -24, -39, 116, ISO7816.INS_GET_DATA, -59, -7, 0, 49, ISO7816.INS_DECREASE, 55, -60, 60, -57, 2, -5, 8, -18, 3, 7, 0, 1, -3, ISO7816.INS_WRITE_RECORD, ISO7816.INS_DECREASE, -5, -12, 14, -3, 0, -17, 86, -83, 126, -84, 85, -100, 121, -124, Ascii.DEL, -81, ISOFileInfo.FCI_EXT, 126, ISOFileInfo.FILE_IDENTIFIER, 124, -122, 80, 126, 87, -82, -83, ISOFileInfo.FCI_EXT, -83, 126, -122, 82, 120, 81, -122, 126, -84, 82, -83, 90, ISOFileInfo.A5, 85, -99, 97, -88, 81, -83, ISOFileInfo.DATA_BYTES2, 121, ISOFileInfo.DATA_BYTES2, 99, 83, -81, -84, 87, -88, 83, 86, -82, 86, -81, -126, 126, 87, Byte.MIN_VALUE, 126, ISOFileInfo.FILE_IDENTIFIER, 125, -122, -81, 93, -87, 85, -86, 59, -13, 14, -16, -35, -15, 33, -39, 32, ISO7816.INS_GET_RESPONSE, 62, 10, -59, -15, 12, 14, 59, -13, 15, -16, -15, 8, -60, -14, 58, -11, 6, -14, -13, -12, ISO7816.INS_PUT_DATA, 63, 13, -34, -13, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x0028). 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 r5, short r6, byte r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 3
int r0 = 1 - r5
byte[] r1 = com.scb.phone.view.activity.OnBoardingTutorialActivity.$$p
int r7 = r7 + 66
int r6 = r6 * 4
int r6 = r6 + 4
byte[] r0 = new byte[r0]
r2 = 0
int r5 = 0 - r5
if (r1 != 0) goto L16
r3 = r5
r4 = r2
goto L28
L16:
r3 = r2
L17:
byte r4 = (byte) r7
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r5) goto L26
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L26:
r3 = r1[r6]
L28:
int r3 = -r3
int r7 = r7 + r3
int r6 = r6 + 1
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.OnBoardingTutorialActivity.aC(byte, short, byte, java.lang.Object[]):void");
}
private static void aA(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i4 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i5 = $11 + 91;
$10 = i5 % 128;
if (i5 % 2 != 0) {
cArr3[i4] = cArr[jtb.b];
cArr3[i4] = cArr[jtb.b];
i2 = 1;
} else {
cArr3[i4] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
i2 = i4;
}
int i6 = 58224;
while (i2 < 16) {
int i7 = $11 + 41;
$10 = i7 % 128;
int i8 = i7 % 2;
char c = cArr3[1];
char c2 = cArr3[i4];
int i9 = (c2 + i6) ^ ((c2 << 4) + ((char) (l ^ 41718355337583039L)));
int i10 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(f6537o);
objArr2[2] = Integer.valueOf(i10);
objArr2[1] = Integer.valueOf(i9);
objArr2[i4] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.rgb(i4, i4, i4) + 16777628, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b = (byte) i4;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
String str = (String) objArr3[i4];
Class<?>[] clsArr = new Class[4];
clsArr[i4] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i4]), Integer.valueOf((charValue + i6) ^ ((charValue << 4) + ((char) (k ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(m)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(411 - TextUtils.lastIndexOf("", '0'), View.resolveSizeAndState(0, 0, 0) + 5, (char) TextUtils.getCapsMode("", 0, 0));
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, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i6 -= 40503;
i2++;
cArr3 = cArr4;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(98 - TextUtils.indexOf("", "", 0), 5 - (Process.myTid() >> 22), (char) View.resolveSizeAndState(0, 0, 0));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i11 = $11 + 3;
$10 = i11 % 128;
int i12 = i11 % 2;
cArr3 = cArr5;
i4 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.AbstractActivityC9794dqc, 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;
int i2 = 2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{64451, 54900, 18967, 3962, 39078, 591, 61042, 51769, 51136, 37767, 29248, 26175, 34724, 786, 57332, 44453, 11767, 50431}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hms_bindfaildlg_message).substring(0, 5).codePointAt(3) - 115), (-1313773980) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length(), (-56) - (ViewConfiguration.getWindowTouchSlop() >> 8), (-525512226) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_mf_and_om_description).substring(4, 9).codePointAt(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_condition_scbs_header).substring(31, 32).length() - 47), 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((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), Drawable.resolveOpacity(0, 0) - 1313773963, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.input_income_remarks).substring(31, 32).length() - 36, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.scbs_onboarding_slip).substring(0, 22).length() - 525512228, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_user_info_mobile_number_placeholder).substring(24, 25).length() - 34), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1313773939, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cardless_successful_request_tag).substring(0, 30).codePointAt(6) - 158, ((Process.getThreadPriority(0) + 20) >> 6) - 525512204, (byte) (ExpandableListView.getPackedPositionGroup(0L) - 24), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i3 = u + 3;
w = i3 % 128;
i = 2;
int i4 = i3 % 2;
} else {
i = 2;
}
if (baseContext != null) {
int i5 = w + 97;
u = i5 % 128;
int i6 = i5 % i;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 492, '5' - AndroidCharacter.getMirror('0'), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new char[]{6998, 56495, 20106, 14774, 35613, 10893, 40887, 62183, 53281, 58720, 12208, 42096, 19639, 44416, 13925, 12054, 45598, 44442, 15635, 22732, 62742, 46373, 15062, 57379, 702, 45945, 57643, 62032, 42566, 16333, 65000, 10052, 45664, 61526, 29126, 51660, 50250, 61876, 655, 26206, 38490, 46022, 38869, 33957, 57826, 11977, 7922, 39478}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_url_delete_string_popup_description).substring(28, 29).codePointAt(0) + 16, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), (-1313773922) - TextUtils.lastIndexOf("", '0'), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 31, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 525512236, (byte) (Color.blue(0) + 71), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{17247, 60667, 31130, 31387, 23470, 11387, 16333, 30406, 57037, 21398, 5991, 27421, 34048, 23455, 58793, 34908, 55870, 11621, 16076, 16753, 8022, 32876, 15325, 30201, 57826, 11977, 50250, 61876, 28448, 61661, 27010, 26383, 20106, 14774, 49203, 24243, 55695, 65531, 23817, 30484, 35752, 7706, 14758, 11923, 52063, 59597, 53082, 62873, 17080, 25893, 15635, 22732, 37674, 49132, 25952, 51681, 46161, 7337, 40887, 62183, 21317, 20628, 32100, 15906}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_activation_card_number_error).substring(38, 39).length() + 63, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{1154, 53618, 18786, 28814, 43174, 51034, 20778, 20380, 37514, 13590, 53929, 43052, 5652, 55114, 32394, 9523, 21240, 43232, 57760, 406, 2561, 3551, 52541, 7826, 58477, 47993, 37999, 56074, 47229, 7414, 36407, 18817, 26055, 23484, 21007, 26273, 9530, 54070, 57387, 54251, 63372, 40868, 45141, 16620, 58735, 15305, 63372, 40868, 3573, 25431, 5652, 55114, 40510, 40565, 58717, 21807, 31055, 58750, 32119, 22881, 9892, 63905, 9431, 1349, 2270, 6628, 3359, 38994, 28999, 53040, 19211, 22501, 30119, 17489}, View.getDefaultSize(0, 0) + 74, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) - 99), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.merchant_terminal_label).substring(0, 11).length() - 1313773869, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 90, (-525512246) - Color.alpha(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 40), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.occupation_inline_error_character).substring(0, 1).codePointAt(0) - 42), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_promptpay_verification_snackbar_max_attemp).substring(56, 59).codePointAt(0) - 1313773886, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cardless_review_tag).substring(0, 19).length() - 44, (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 525512202, (byte) (26 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), 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 - ExpandableListView.getPackedPositionType(0L), KeyEvent.normalizeMetaState(0) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 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);
int i7 = u + 11;
w = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558705);
ButterKnife.Dg_(this);
PreLoadCheckActivity.f(new Object[]{this, (C0930Rt) getIntent().getParcelableExtra("com.scb.phone.EXTRA_WHITE_TUTORIAL")}, -818006808, 818006819, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.material_minute_suffix).substring(0, 5).codePointAt(2) - 1429242458);
OnBoardingTutorialViewPagerAdapter onBoardingTutorialViewPagerAdapter = new OnBoardingTutorialViewPagerAdapter(this);
onBoardingTutorialViewPagerAdapter.c = this;
this.mOnBoardingTutorialViewPager.setAdapter(onBoardingTutorialViewPagerAdapter);
this.mOnBoardingTutorialIndicator.setViewPager(this.mOnBoardingTutorialViewPager);
this.mOnBoardingTutorialViewPager.addOnPageChangeListener(this);
this.mSkipImageView.bringToFront();
}
/* JADX INFO: Access modifiers changed from: package-private */
@OnClick
public void closeTutorial() {
int i = 2 % 2;
int i2 = w + 67;
u = i2 % 128;
int i3 = i2 % 2;
this.mRootLayout.removeView(this.mOnBoardingTutorialViewPager);
this.mRootLayout.removeView(this.mNextTutorialImageView);
this.mRootLayout.removeView(this.mPreviousTutorialImageView);
this.mRootLayout.removeView(this.mSkipImageView);
this.mRootLayout.removeView(this.mOnBoardingTutorialIndicator);
PreLoadCheckActivity.f(new Object[]{this}, 1078443435, -1078443421, System.identityHashCode(this));
int i4 = w + 91;
u = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public void onPageSelected(int i) {
int i2 = 2 % 2;
int i3 = w + 75;
u = i3 % 128;
if (i3 % 2 == 0) {
int currentItem = this.mOnBoardingTutorialViewPager.getCurrentItem();
if (i == 0) {
this.mNextTutorialImageView.setVisibility(0);
this.mPreviousTutorialImageView.setVisibility(8);
return;
} else {
if (currentItem == this.mOnBoardingTutorialViewPager.getAdapter().getCount() - 1) {
this.mNextTutorialImageView.setVisibility(8);
this.mPreviousTutorialImageView.setVisibility(0);
return;
}
this.mNextTutorialImageView.setVisibility(0);
this.mPreviousTutorialImageView.setVisibility(0);
int i4 = w + 31;
u = i4 % 128;
int i5 = i4 % 2;
return;
}
}
this.mOnBoardingTutorialViewPager.getCurrentItem();
throw null;
}
@Override // com.scb.phone.view.adapter.OnBoardingTutorialViewPagerAdapter.RVV
public void onPageClick(View view) {
int i = 2 % 2;
int i2 = w + 109;
u = i2 % 128;
int i3 = i2 % 2;
j();
int i4 = u + 37;
w = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 55 / 0;
}
}
@OnClick
public void onNextTutorialButtonClick() {
int i = 2 % 2;
int i2 = u + 25;
w = i2 % 128;
int i3 = i2 % 2;
j();
if (i3 == 0) {
throw null;
}
}
@OnClick
public void onPreviousTutorialButtonClick() {
int i = 2 % 2;
int i2 = w + 35;
u = i2 % 128;
int i3 = i2 % 2;
this.mOnBoardingTutorialViewPager.setCurrentItem(this.mOnBoardingTutorialViewPager.getCurrentItem() - 1);
int i4 = w + 31;
u = i4 % 128;
int i5 = i4 % 2;
}
private void j() {
int i = 2 % 2;
int i2 = w + 81;
u = i2 % 128;
int i3 = i2 % 2;
int currentItem = this.mOnBoardingTutorialViewPager.getCurrentItem() + 1;
if (currentItem < this.mOnBoardingTutorialViewPager.getAdapter().getCount()) {
this.mOnBoardingTutorialViewPager.setCurrentItem(currentItem);
return;
}
closeTutorial();
int i4 = u + 31;
w = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 10 / 0;
}
}
/* JADX WARN: Removed duplicated region for block: B:36:0x01c7 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aB(short r17, int r18, int r19, int r20, byte r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 744
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.OnBoardingTutorialActivity.aB(short, int, int, int, byte, java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:28:0x0026, code lost:
r11 = (java.lang.Object[]) null;
r14 = new java.lang.Object[1];
aB((short) (android.os.Process.myPid() >> 22), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 1313773976, ((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_quantity_total_points_calculate).substring(0, 11).length() - 46, (-525512207) - ((byte) android.view.KeyEvent.getModifierMetaStateMask()), (byte) ((-33) - android.text.TextUtils.getTrimmedLength("")), r14);
r9 = java.lang.Class.forName((java.lang.String) r14[0]);
r11 = new java.lang.Object[1];
aB((short) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 46), (android.media.AudioTrack.getMaxVolume() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.media.AudioTrack.getMaxVolume() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1313773939, ((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.cardless_new_badge).substring(0, 3).length() - 46, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 525512217, (byte) ((android.view.ViewConfiguration.getZoomControlsTimeout() > 0 ? 1 : (android.view.ViewConfiguration.getZoomControlsTimeout() == 0 ? 0 : -1)) - 25), r11);
r1 = (android.content.Context) r9.getMethod((java.lang.String) r11[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x0024, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001d, code lost:
if (r1 == null) goto L9;
*/
@Override // o.AbstractActivityC9794dqc, 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 void onResume() {
/*
Method dump skipped, instructions count: 483
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.OnBoardingTutorialActivity.onResume():void");
}
@Override // o.AbstractActivityC9794dqc, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = u + 117;
w = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = u + 19;
w = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), Color.red(0) - 1313773963, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_review_mf_account).substring(17, 18).codePointAt(0) - 67, (-525512206) - (ViewConfiguration.getFadingEdgeLength() >> 16), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 67), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), (-1313773970) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deejung_installment_about).substring(25, 26).codePointAt(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.successful_qr_code_transfer_header).substring(19, 20).codePointAt(0) - 75, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.error_ekyc_passport_1002_text).substring(76, 77).codePointAt(0) - 525512236, (byte) ((-24) - Color.red(0)), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Process.getGidForName("") + 493, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) ((-16777216) - Color.rgb(0, 0, 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(TextUtils.indexOf("", "") + 487, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) TextUtils.getCapsMode("", 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();
}
@Override // o.AbstractActivityC9794dqc, 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 = w + 105;
u = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{64451, 54900, 18967, 3962, 39078, 591, 61042, 51769, 51136, 37767, 29248, 26175, 34724, 786, 57332, 44453, 11767, 50431}, 19 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((short) TextUtils.getCapsMode("", 0, 0), TextUtils.lastIndexOf("", '0', 0) - 1313773966, (ViewConfiguration.getKeyRepeatTimeout() >> 16) - 56, (-525512194) + (ViewConfiguration.getPressedStateDuration() >> 16), (byte) ((-46) - Drawable.resolveOpacity(0, 0)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
context2 = context.getApplicationContext();
int i4 = u + 81;
w = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.indexOf("", ""), (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) Color.alpha(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new char[]{6998, 56495, 20106, 14774, 35613, 10893, 40887, 62183, 53281, 58720, 12208, 42096, 19639, 44416, 13925, 12054, 45598, 44442, 15635, 22732, 62742, 46373, 15062, 57379, 702, 45945, 57643, 62032, 42566, 16333, 65000, 10052, 45664, 61526, 29126, 51660, 50250, 61876, 655, 26206, 38490, 46022, 38869, 33957, 57826, 11977, 7922, 39478}, 47 - ((byte) KeyEvent.getModifierMetaStateMask()), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB((short) Drawable.resolveOpacity(0, 0), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) - 1313773920, View.resolveSize(0, 0) + 3, (-525512203) - MotionEvent.axisFromString(""), (byte) (71 - TextUtils.getOffsetBefore("", 0)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new char[]{17247, 60667, 31130, 31387, 23470, 11387, 16333, 30406, 57037, 21398, 5991, 27421, 34048, 23455, 58793, 34908, 55870, 11621, 16076, 16753, 8022, 32876, 15325, 30201, 57826, 11977, 50250, 61876, 28448, 61661, 27010, 26383, 20106, 14774, 49203, 24243, 55695, 65531, 23817, 30484, 35752, 7706, 14758, 11923, 52063, 59597, 53082, 62873, 17080, 25893, 15635, 22732, 37674, 49132, 25952, 51681, 46161, 7337, 40887, 62183, 21317, 20628, 32100, 15906}, 64 - (ViewConfiguration.getJumpTapTimeout() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{1154, 53618, 18786, 28814, 43174, 51034, 20778, 20380, 37514, 13590, 53929, 43052, 5652, 55114, 32394, 9523, 21240, 43232, 57760, 406, 2561, 3551, 52541, 7826, 58477, 47993, 37999, 56074, 47229, 7414, 36407, 18817, 26055, 23484, 21007, 26273, 9530, 54070, 57387, 54251, 63372, 40868, 45141, 16620, 58735, 15305, 63372, 40868, 3573, 25431, 5652, 55114, 40510, 40565, 58717, 21807, 31055, 58750, 32119, 22881, 9892, 63905, 9431, 1349, 2270, 6628, 3359, 38994, 28999, 53040, 19211, 22501, 30119, 17489}, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 73, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((short) ('0' - AndroidCharacter.getMirror('0')), (-1313773857) - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (Process.myTid() >> 22) - 56, (-525512246) - KeyEvent.keyCodeFromString(""), (byte) (74 - Color.red(0)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((short) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getWindowTouchSlop() >> 8) - 1313773854, (-25) - Color.argb(0, 0, 0, 0), (-525512202) - Drawable.resolveOpacity(0, 0), (byte) (26 - (ViewConfiguration.getTouchSlop() >> 8)), 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(487 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) KeyEvent.getDeadChar(0, 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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.AbstractActivityC9794dqc, 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 = w + 107;
u = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 28 / 0;
}
int i5 = w + 49;
u = i5 % 128;
int i6 = i5 % 2;
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public void onPageScrolled(int i, float f, int i2) {
int i3 = 2 % 2;
int i4 = u + 31;
w = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public void onPageScrollStateChanged(int i) {
int i2 = 2 % 2;
int i3 = u + 41;
w = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 77 / 0;
}
}
}