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

786 lines
41 KiB
Java
Raw 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.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.Button;
import android.widget.ExpandableListView;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import java.lang.reflect.Method;
import o.AbstractActivityC8295dGv;
import o.C0267CrQ;
import o.C14957gcv;
import o.C1756aNh;
import o.HTL;
import o.InterfaceC13391fZD;
import o.InterfaceC9227dfj;
import o.Nhs;
import o.OIe;
import o.ZI;
import o.cXH;
import o.rxl;
import o.xzZ;
import o.zMZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public class WelcomeAboardActivity extends AbstractActivityC8295dGv implements InterfaceC9227dfj {
@BindView
Button buttonLoan;
private C0267CrQ k = new C0267CrQ();
@InterfaceC13391fZD
public C1756aNh presenter;
private static final byte[] $$p = {63, -72, 116, -100};
private static final int $$q = 66;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int q = 1;
/* renamed from: o, reason: collision with root package name */
private static long f7017o = -7505199787421542704L;
private static int l = 452713125;
private static char m = 55973;
private static int r = 2015661741;
/* 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:0x0027). 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(int r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 4
int r6 = r6 + 4
byte[] r0 = com.scb.phone.view.activity.demo.ntb.WelcomeAboardActivity.$$p
int r7 = r7 * 3
int r7 = 1 - r7
int r8 = r8 + 69
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r5 = r2
r8 = r7
goto L27
L15:
r3 = r2
L16:
byte r4 = (byte) r8
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r7) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
r3 = r0[r6]
L27:
int r6 = r6 + 1
int r8 = r8 + r3
r3 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.demo.ntb.WelcomeAboardActivity.aC(int, byte, short, java.lang.Object[]):void");
}
public static Intent adU_(Context context, String str) {
int i = 2 % 2;
Intent putExtra = new Intent(context, (Class<?>) WelcomeAboardActivity.class).putExtra("WELCOME_ABOARD_PAGE_LANDED", str);
int i2 = t + 43;
q = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 53 / 0;
}
return putExtra;
}
@Override // o.AbstractActivityC8295dGv, 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((char) (View.MeasureSpec.makeMeasureSpec(0, 0) + 36767), new char[]{40812, 43181, 46779, 54304, 31390, 15744, 2710, 32463, 55340, 29705, 64852, 63106, 36402, 16711, 18531, 50960, 2975, 34898}, new char[]{50002, 47160, 40937, 34703}, new char[]{3189, 42141, 60714, 59971}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) - 99, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((char) (ExpandableListView.getPackedPositionType(0L) + 50610), new char[]{64463, 1355, 6828, 42545, 503}, new char[]{64988, 11507, 45705, 29893}, new char[]{3189, 42141, 60714, 59971}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1993542693, 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((char) ((ViewConfiguration.getEdgeSlop() >> 16) + 28932), new char[]{65087, 41205, 55673, 47525, 40470, 14653, 15217, 8518, 39126, 40906, 60772, 21598, 3542, 14785, 51395, 8014, 20183, 63834, 21123, 31292, 36941, 55098, 44051, 64574, 22232, 22027}, new char[]{11927, 4684, 1129, 28017}, new char[]{3189, 42141, 60714, 59971}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_travel_thb_currency).substring(0, 3).codePointAt(2) - 66, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(17 - ((byte) KeyEvent.getModifierMetaStateMask()), new char[]{65527, '\n', 65535, 5, 4, 65529, 11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6, 2, 65535, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 231, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = t + 75;
q = i2 % 128;
if (i2 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.getDefaultSize(0, 0) + 492, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_success_register_scb).substring(12, 13).codePointAt(0) - 32), new char[]{7116, 19151, 25206, 31052, 63117, 12305, 65051, 13441, 4902, 48182, 41306, 64705, 61632, 6722, 19194, 36382, 43743, 56556, 21575, 61390, 58446, 17266, 58943, 17018, 44346, 40986, 1052, 50971, 24483, 52936, 36826, 22583, 50334, 8624, 32898, 26426, 17451, 42548, 16874, 17277, 17364, 33746, 62894, 20403, 59530, 55835, 43059, 17451}, new char[]{63330, 1114, 15956, 15360}, new char[]{3189, 42141, 60714, 59971}, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.modify_quick_balance_next).substring(0, 1).length() + 63, new char[]{65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518, 65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30, 65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!', 65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518}, Color.rgb(0, 0, 0) + 16777422, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 38, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.check_eligibility_header).substring(29, 30).codePointAt(0) - 32), new char[]{30048, 59380, 32545, 64490, 1412, 57587, 40365, 27730, 14910, 23250, 54544, 19522, 31847, 6310, 46867, 41614, 39289, 62155, 45963, 62608, 961, 13013, 60831, 54059, 28480, 55066, 59326, 14238, 35395, 4916, 58828, 34251, 33907, 4247, 27623, 4749, 52812, 42538, 38356, 41513, 38763, 41775, 5792, 51197, 26599, 5940, 32384, 8632, 10889, 35082, 13761, 52731, 22121, 65438, 49625, 41364, 14126, 26405, 26605, 25982, 4308, 14261, 57209, 41732}, new char[]{9866, 59327, 15390, 30424}, new char[]{3189, 42141, 60714, 59971}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.verify_identity_1).substring(0, 3).codePointAt(2) - 32, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(((byte) KeyEvent.getModifierMetaStateMask()) + 75, new char[]{'\r', 11, 65485, 65535, 14, 7, 65485, 7, '\f', 5, 3, 17, 18, 65485, 20, 65488, 65485, 3, 20, 3, '\f', 18, 17, 6, 18, 18, 14, 17, 65496, 65485, 65485, 17, 7, 65535, 11, 1, '\r', 11, 11, 3, 16, 1, 7, 65535, '\n', 0, 65535, '\f', '\t', 65484, 18, 6, 16, 3, 65535, 18, 1, 65535, 17, 18, 65484, 5, 19, 65535, 16, 2, 17, 15, 19, 65535, 16, 3, 65484, 1}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 202, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 11, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, new char[]{65532, 65534, 7, 65532, 6}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_review_loan_amount).substring(0, 5).codePointAt(3) + 73, false, 2 - ((Process.getThreadPriority(0) + 20) >> 6), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.material_hour_24h_suffix).substring(0, 5).length() - 5), new char[]{9295, 33232, 1071, 50531, 54042, 30789, 28365, 28451, 30926, 28022, 3559, 43531, 59867, 58680, 40559, 40438, 16116, 8956, 50421, 30717, 19464, 51107, 44475, 29308, 22239, 20710, 3555, 49237, 19005, 53267, 9147, 54132, 22395, 26485, 18778, 30740}, new char[]{17567, 12069, 37204, 22282}, new char[]{3189, 42141, 60714, 59971}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 112, 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(View.MeasureSpec.getMode(0) + 487, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) TextUtils.getCapsMode("", 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 i3 = q + 17;
t = i3 % 128;
int i4 = i3 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558832);
ButterKnife.Dg_(this);
this.presenter.e((C1756aNh) this);
final C1756aNh c1756aNh = this.presenter;
rxl rxlVar = c1756aNh.b;
OIe oIe = OIe.NTB_WELCOME_ABOARD;
C14957gcv.e(oIe, "");
rxlVar.e.b(oIe);
ZI.IeS ieS = new ZI.IeS(c1756aNh) { // from class: o.aNf
private C1756aNh a;
@Override // o.ZI.IeS
public final void e(Object obj3) {
C1756aNh.e(this.a, (InterfaceC9227dfj) obj3);
}
{
this.a = c1756aNh;
}
};
if (c1756aNh.f != 0) {
ieS.e(c1756aNh.f);
int i5 = q + 79;
t = i5 % 128;
int i6 = i5 % 2;
}
if (getIntent().hasExtra("WELCOME_ABOARD_PAGE_LANDED")) {
int i7 = q + 115;
t = i7 % 128;
int i8 = i7 % 2;
String stringExtra = getIntent().getStringExtra("WELCOME_ABOARD_PAGE_LANDED");
stringExtra.hashCode();
if (stringExtra.equals("registration_personalinfo")) {
this.k.d("source", "registration_personalinfo");
} else if (stringExtra.equals("registration_welcome")) {
this.k.d("source", "registration_welcome");
} else {
this.k.c(((BaseActivity) this).scbAnalytics, "ntb_welcome");
}
this.k.c(((BaseActivity) this).scbAnalytics, "ntb_welcome");
}
}
private static void aA(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
int i5 = $11 + 3;
$10 = i5 % 128;
int i6 = i5 % 2;
while (nhs.a < length3) {
int i7 = $11 + 51;
$10 = i7 % 128;
int i8 = i7 % i3;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - View.resolveSize(0, 0), 5 - TextUtils.indexOf("", "", 0), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
try {
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 352, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (52128 - Color.red(0)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr4 = new Object[1];
aC(b, b2, (byte) (b2 | 46), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
try {
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((-16776468) - Color.rgb(0, 0, 0), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
try {
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 != null) {
i2 = 2;
} else {
Class cls2 = (Class) xzZ.c(401 - TextUtils.lastIndexOf("", '0', 0, 0), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 21609));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aC(b3, b4, (byte) (b4 | 45), objArr7);
i2 = 2;
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (f7017o ^ 9051040786702654117L)) ^ ((int) (l ^ 9051040786702654117L))) ^ ((char) (m ^ 9051040786702654117L)));
nhs.a++;
i3 = i2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} 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;
}
}
objArr[0] = new String(cArr6);
}
private static void aB(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(r)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, TextUtils.lastIndexOf("", '0') + 8, (char) TextUtils.getCapsMode("", 0, 0));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - (ViewConfiguration.getTouchSlop() >> 8), 5 - View.MeasureSpec.getSize(0), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 | 7), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i3 > 0) {
int i6 = $10 + 5;
$11 = i6 % 128;
int i7 = i6 % 2;
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i8 = $10 + 27;
$11 = i8 % 128;
if (i8 % 2 == 0) {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777558, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 | 7), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
} else {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr8 = {zui, zui};
Object obj4 = xzZ.y.get(1294990079);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(342 - Color.green(0), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
aC(b7, b8, (byte) (b8 | 7), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
cArr2 = cArr4;
}
String str = new String(cArr2);
int i9 = $10 + 51;
$11 = i9 % 128;
if (i9 % 2 != 0) {
objArr[0] = str;
} else {
Object obj5 = null;
obj5.hashCode();
throw null;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
@OnClick
public void onNavigateBack() {
int i = 2 % 2;
C1756aNh c1756aNh = this.presenter;
ZI.IeS ieS = new ZI.IeS() { // from class: o.aNd
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9227dfj) obj).b();
}
};
if (c1756aNh.f != 0) {
int i2 = t + 39;
q = i2 % 128;
int i3 = i2 % 2;
ieS.e(c1756aNh.f);
}
int i4 = t + 13;
q = i4 % 128;
int i5 = i4 % 2;
}
/* JADX INFO: Access modifiers changed from: package-private */
@OnClick
public void clickExplore() {
int i = 2 % 2;
C1756aNh c1756aNh = this.presenter;
ZI.IeS ieS = new ZI.IeS() { // from class: o.aNg
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9227dfj) obj).e();
}
};
if (c1756aNh.f != 0) {
int i2 = t;
int i3 = i2 + 99;
q = i3 % 128;
if (i3 % 2 == 0) {
return;
}
int i4 = i2 + 63;
q = i4 % 128;
if (i4 % 2 != 0) {
ieS.e(c1756aNh.f);
} else {
ieS.e(c1756aNh.f);
throw null;
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
@OnClick
public void clickOpenAccount() {
int i = 2 % 2;
C1756aNh c1756aNh = this.presenter;
ZI.IeS ieS = new ZI.IeS() { // from class: o.aNn
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9227dfj) obj).a();
}
};
if (c1756aNh.f != 0) {
int i2 = q + 25;
int i3 = i2 % 128;
t = i3;
int i4 = i2 % 2;
int i5 = i3 + 101;
q = i5 % 128;
if (i5 % 2 == 0) {
ieS.e(c1756aNh.f);
int i6 = 91 / 0;
} else {
ieS.e(c1756aNh.f);
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
@OnClick
public void clickLoan() {
boolean z;
int i = 2 % 2;
C1756aNh c1756aNh = this.presenter;
ZI.IeS ieS = new ZI.IeS() { // from class: o.aNe
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9227dfj) obj).c();
}
};
if (c1756aNh.f != 0) {
int i2 = q;
int i3 = i2 + 99;
t = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 103;
t = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 5 / 2;
}
z = true;
} else {
z = false;
}
if (z) {
int i7 = t + 65;
q = i7 % 128;
int i8 = i7 % 2;
ieS.e(c1756aNh.f);
}
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object d(Object[] objArr) {
int i = 0;
WelcomeAboardActivity welcomeAboardActivity = (WelcomeAboardActivity) objArr[0];
boolean booleanValue = ((Boolean) objArr[1]).booleanValue();
int i2 = 2 % 2;
int i3 = q;
int i4 = i3 + 89;
t = i4 % 128;
Object obj = null;
if (i4 % 2 != 0) {
Button button = welcomeAboardActivity.buttonLoan;
obj.hashCode();
throw null;
}
Button button2 = welcomeAboardActivity.buttonLoan;
if (!booleanValue) {
int i5 = i3 + 9;
t = i5 % 128;
int i6 = i5 % 2;
i = 8;
}
button2.setVisibility(i);
int i7 = t + 123;
q = i7 % 128;
if (i7 % 2 != 0) {
return null;
}
throw null;
}
@Override // o.InterfaceC9227dfj
public final void b() {
int i = 2 % 2;
int i2 = q + 101;
t = i2 % 128;
int i3 = i2 % 2;
finish();
if (i3 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9227dfj
public final void a() {
int i = 2 % 2;
int i2 = q + 85;
t = i2 % 128;
int i3 = i2 % 2;
zMZ zmz = this.presenter.e;
String name = HTL.NTB_WELCOME_ABOARD.name();
C14957gcv.e(name, "");
zmz.d.e(name);
NtbUserInfoActivity.a(this, cXH.HBt.RVV.OPEN_ACCOUNT);
int i4 = q + 47;
t = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC9227dfj
public final void c() {
int i = 2 % 2;
int i2 = t + 89;
q = i2 % 128;
int i3 = i2 % 2;
NtbUserInfoActivity.a(this, cXH.HBt.RVV.APPLY_FOR_LOAN);
int i4 = t + 75;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9227dfj
public final void e() {
int i = 2 % 2;
int i2 = q + 25;
t = i2 % 128;
int i3 = i2 % 2;
NtbUserInfoActivity.a(this, cXH.HBt.RVV.DEMO);
int i4 = q + 121;
t = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.AbstractActivityC8295dGv, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = q + 103;
t = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 28898), new char[]{65087, 41205, 55673, 47525, 40470, 14653, 15217, 8518, 39126, 40906, 60772, 21598, 3542, 14785, 51395, 8014, 20183, 63834, 21123, 31292, 36941, 55098, 44051, 64574, 22232, 22027}, new char[]{11927, 4684, 1129, 28017}, new char[]{3189, 42141, 60714, 59971}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, 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().getResources().getString(R.string.auto_debit_card_pinlock_description).substring(11, 23).codePointAt(6) - 37, new char[]{65527, '\n', 65535, 5, 4, 65529, 11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6, 2, 65535, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.terminal_id).substring(0, 9).codePointAt(5) - 32, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = t + 121;
q = i3 % 128;
if (i3 % 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((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 491, Color.alpha(0) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).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 - ((Process.getThreadPriority(0) + 20) >> 6), 4 - MotionEvent.axisFromString(""), (char) KeyEvent.keyCodeFromString(""))).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 // o.AbstractActivityC8295dGv, 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) {
Object[] objArr = new Object[1];
aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_title_answer_fatca).substring(11, 12).codePointAt(0) + 28867), new char[]{65087, 41205, 55673, 47525, 40470, 14653, 15217, 8518, 39126, 40906, 60772, 21598, 3542, 14785, 51395, 8014, 20183, 63834, 21123, 31292, 36941, 55098, 44051, 64574, 22232, 22027}, new char[]{11927, 4684, 1129, 28017}, new char[]{3189, 42141, 60714, 59971}, ExpandableListView.getPackedPositionType(0L), 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().getApplicationInfo().targetSdkVersion - 16, new char[]{65527, '\n', 65535, 5, 4, 65529, 11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6, 2, 65535, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mask_description_format).substring(0, 5).length() + 239, false, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, 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(KeyEvent.normalizeMetaState(0) + 492, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) View.MeasureSpec.getMode(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(Color.blue(0) + 487, 5 - TextUtils.indexOf("", "", 0, 0), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i2 = q + 3;
t = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 4 % 2;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i4 = t + 91;
q = i4 % 128;
int i5 = i4 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0095, code lost:
if (r4 > 99999) goto L10;
*/
@Override // o.AbstractActivityC8295dGv, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r20) {
/*
Method dump skipped, instructions count: 1072
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.demo.ntb.WelcomeAboardActivity.attachBaseContext(android.content.Context):void");
}
@Override // o.AbstractActivityC8295dGv, 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 = t + 5;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 47;
q = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC9227dfj
public final void a(boolean z) {
Object[] objArr = {this, Boolean.valueOf(z)};
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1761558496;
d(objArr);
}
}