what-the-bank/sources/com/scb/phone/view/activity/hml/fatca/HmlNTBOnboardingFatcaQuesti...

640 lines
43 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml.fatca;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import 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 java.lang.reflect.Method;
import o.Nhs;
import o.dQY;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public final class HmlNTBOnboardingFatcaQuestionsActivity extends Hilt_HmlNTBOnboardingFatcaQuestionsActivity {
public static final RVV b;
private static long k;
private static int l;
private static char m;
/* renamed from: o, reason: collision with root package name */
private static char[] f7397o;
private static int p;
private static long s;
private static final byte[] $$p = {105, 77, -86, 73};
private static final int $$q = 222;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0029 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0021 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0029 -> B:4:0x002f). 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, int r7, byte r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 2
int r8 = r8 + 4
int r7 = r7 + 98
byte[] r0 = com.scb.phone.view.activity.hml.fatca.HmlNTBOnboardingFatcaQuestionsActivity.$$p
int r6 = r6 * 2
int r1 = 1 - r6
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
r3 = -1
if (r0 != 0) goto L17
r4 = r3
r3 = r8
goto L2f
L17:
r5 = r8
r8 = r7
r7 = r5
L1a:
int r3 = r3 + 1
byte r4 = (byte) r8
r1[r3] = r4
if (r3 != r6) goto L29
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L29:
r4 = r0[r7]
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2f:
int r7 = -r7
int r8 = r8 + r7
int r7 = r3 + 1
r3 = r4
goto L1a
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.fatca.HmlNTBOnboardingFatcaQuestionsActivity.aC(int, int, byte, java.lang.Object[]):void");
}
/* loaded from: classes4.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.investment.onboarding.FatcaActivity, o.InterfaceC12818fIA
public final void h() {
int i = 2 % 2;
startActivity(new Intent(this, (Class<?>) HmlNTBSelectAccountActivity.class));
int i2 = p + 41;
r = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
}
private static void aB(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(f7397o[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 307, 5 - View.resolveSizeAndState(0, 0, 0), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 32796));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aC(b2, b3, b3, 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((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 411, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i4] = ((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.getSize(0), 5 - ExpandableListView.getPackedPositionType(0L), (char) (KeyEvent.keyCodeFromString("") + 29234));
byte b6 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b6, (byte) (b6 | 8), b6, 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;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i5 = $10 + 119;
$11 = i5 % 128;
if (i5 % 2 == 0) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(407 - TextUtils.getOffsetBefore("", 0), 5 - View.getDefaultSize(0, 0), (char) (29233 - MotionEvent.axisFromString("")));
byte b7 = (byte) 0;
Object[] objArr9 = new Object[1];
aC(b7, (byte) (b7 | 8), b7, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
int i6 = 89 / 0;
} else {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr10 = {dqy, dqy};
Object obj5 = xzZ.y.get(1071125919);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 407, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (View.MeasureSpec.makeMeasureSpec(0, 0) + 29234));
byte b8 = (byte) 0;
Object[] objArr11 = new Object[1];
aC(b8, (byte) (b8 | 8), b8, objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj5);
}
((Method) obj5).invoke(null, objArr10);
}
}
String str = new String(cArr);
int i7 = $10 + 119;
$11 = i7 % 128;
int i8 = i7 % 2;
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.hml.fatca.Hilt_HmlNTBOnboardingFatcaQuestionsActivity, com.scb.phone.view.activity.investment.onboarding.FatcaActivity, o.dUA, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onCreate(Bundle bundle) {
int i = 2 % 2;
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.common_google_play_services_wear_update_text).substring(26, 27).codePointAt(0) + 11278), new char[]{14100, 43979, 23064, 8760, 34943, 22109, 25704, 25994, 38710, 942, 39449, 48013, 15818, 55517, 19109, 2995, 24798, 23852}, new char[]{15328, 12448, 11932, 49452}, new char[]{0, 0, 0, 0}, ((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];
aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 40477), new char[]{24821, 45302, 45646, 17675, 2156}, new char[]{63928, 41654, 16316, 45470}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 1130187114, 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) {
int i2 = r + 1;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) + 24746), new char[]{39080, 35421, 54699, 24678, 20191, 5723, 18549, 5303, 5496, 45824, 55717, 31043, 21365, 4259, 43463, 13703, 40377, 14088, 63547, 9159, 56075, 14496, 38586, 60982, 26337, 35835}, new char[]{24113, 36386, 6084, 43361}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deejung_installment_email_notification_message).substring(33, 34).codePointAt(0) - 14, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 41895), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = r + 97;
p = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = p + 43;
r = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 492, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).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.prepaid_conversion_review_remarks).substring(61, 62).codePointAt(0) - 34), new char[]{56032, 47992, 27386, 32956, 17660, 47247, 1088, 34599, 53040, 59507, 64152, 25704, 34567, 27053, 37654, 9507, 65501, 47987, 42719, 35514, 50003, 20111, 29307, 40797, 49000, 9020, 38291, 49938, 45463, 10175, 21179, 42454, 19002, 15859, 16189, 24799, 53872, 40390, 21009, 33301, 44581, 29630, 23896, 29407, 10205, 10152, 1836, 33228}, new char[]{34381, 15663, 33817, 31919}, new char[]{0, 0, 0, 0}, ((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];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.gift_about_part2_description).substring(18, 19).codePointAt(0) - 14, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 18, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_single_device_info1).substring(15, 16).length() + 46660), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 69, 64 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((ViewConfiguration.getFadingEdgeLength() >> 16) + CipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_robo_advisor_open_scbs_account_stop_3).substring(0, 1).length() + 73, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_robo_advisor_add_scbs_account_stop_3).substring(0, 1).codePointAt(0) + 37819), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deejung_direct_debit_description_normal).substring(42, 43).length() + 47228), new char[]{49297, 48154, 62005, 63550, 56847}, new char[]{23018, 64433, 32187, 13240}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_example_submit_date_time).substring(0, 21).codePointAt(2) - 1141132999, 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.landing_page_scb).substring(0, 3).length() - 3), new char[]{57314, 60884, 46847, 42402, 22116, 30847, 23904, 20981, 60773, 54062, 11875, 10644, 14849, 7726, 9030, 21229, 12752, 59753, 30457, 22734, 28208, 59541, 1045, 35840, 54706, 36747, 27716, 53801, 31397, 62509, 17105, 33866, 56316, 15285, 33315, 22508}, new char[]{23100, 38521, 3687, 45080}, new char[]{0, 0, 0, 0}, ((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(View.combineMeasuredStates(0, 0) + 487, (Process.myPid() >> 22) + 5, (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).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);
}
private static void aA(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2;
int i3 = 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;
while (nhs.a < length3) {
int i4 = $11 + 125;
$10 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - TextUtils.indexOf("", "", 0), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16))).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((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)) + 352, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (52128 - (Process.myTid() >> 22)));
byte b2 = (byte) 0;
Object[] objArr4 = new Object[1];
aC(b2, (byte) (b2 | 17), b2, 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(748 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 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) {
Class cls2 = (Class) xzZ.c(403 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), ExpandableListView.getPackedPositionType(0L) + 5, (char) (21608 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b3, (byte) (b3 | 16), b3, objArr7);
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]) ^ (k ^ 9051040786702654117L)) ^ ((int) (l ^ 9051040786702654117L))) ^ ((char) (m ^ 9051040786702654117L)));
nhs.a++;
i2 = 2;
} 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;
}
}
String str = new String(cArr6);
int i6 = $10 + 99;
$11 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.hml.fatca.Hilt_HmlNTBOnboardingFatcaQuestionsActivity, com.scb.phone.view.activity.investment.onboarding.FatcaActivity, o.dUA, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onResume() {
int i = 2 % 2;
int i2 = r + 17;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aA((char) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 24855), new char[]{39080, 35421, 54699, 24678, 20191, 5723, 18549, 5303, 5496, 45824, 55717, 31043, 21365, 4259, 43463, 13703, 40377, 14088, 63547, 9159, 56075, 14496, 38586, 60982, 26337, 35835}, new char[]{24113, 36386, 6084, 43361}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 115, 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.add_pay_account_disclaimer).substring(45, 46).codePointAt(0) - 32, 17 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_select_idp_success_clickable_description).substring(0, 2).length() + 41927), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = r + 53;
p = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = p + 35;
r = i5 % 128;
try {
if (i5 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.lastIndexOf("", '0', 0) + 6, (char) (TextUtils.lastIndexOf("", '0') + 1))).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(TextUtils.indexOf("", "") + 487, View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) (ImageFormat.getBitsPerPixel(0) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(493 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) TextUtils.indexOf("", "", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(487 - Color.alpha(0), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) View.MeasureSpec.getMode(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object a(Object[] objArr) {
HmlNTBOnboardingFatcaQuestionsActivity hmlNTBOnboardingFatcaQuestionsActivity = (HmlNTBOnboardingFatcaQuestionsActivity) objArr[0];
int i = 2 % 2;
int i2 = p + 109;
r = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
hmlNTBOnboardingFatcaQuestionsActivity.getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = hmlNTBOnboardingFatcaQuestionsActivity.getBaseContext();
if (baseContext == null) {
Object[] objArr2 = new Object[1];
aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_topup_mailing_remark).substring(0, 210).length() + 24645), new char[]{39080, 35421, 54699, 24678, 20191, 5723, 18549, 5303, 5496, 45824, 55717, 31043, 21365, 4259, 43463, 13703, 40377, 14088, 63547, 9159, 56075, 14496, 38586, 60982, 26337, 35835}, new char[]{24113, 36386, 6084, 43361}, new char[]{0, 0, 0, 0}, ExpandableListView.getPackedPositionType(0L), objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
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.remark_value).substring(0, 6).length() - 6, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_success_screenshot_filename).substring(0, 6).codePointAt(2) - 80, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_set_detail_amount_min_max_error).substring(36, 37).codePointAt(0) + 41897), objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = r + 53;
p = i3 % 128;
if (i3 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i4 = 40 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i5 = r + 115;
p = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.alpha(0) + 492, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) View.combineMeasuredStates(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(486 - TextUtils.indexOf((CharSequence) "", '0', 0), KeyEvent.getDeadChar(0, 0) + 5, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onPause();
return null;
}
@Override // com.scb.phone.view.activity.hml.fatca.Hilt_HmlNTBOnboardingFatcaQuestionsActivity, com.scb.phone.view.activity.investment.onboarding.FatcaActivity, o.dUA, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = p + 65;
r = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA((char) (Color.green(0) + 11310), new char[]{14100, 43979, 23064, 8760, 34943, 22109, 25704, 25994, 38710, 942, 39449, 48013, 15818, 55517, 19109, 2995, 24798, 23852}, new char[]{15328, 12448, 11932, 49452}, new char[]{0, 0, 0, 0}, ViewConfiguration.getLongPressTimeout() >> 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((char) (40511 - TextUtils.indexOf("", "", 0)), new char[]{24821, 45302, 45646, 17675, 2156}, new char[]{63928, 41654, 16316, 45470}, new char[]{0, 0, 0, 0}, KeyEvent.getDeadChar(0, 0) - 1130187015, 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) {
int i4 = r + 61;
p = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 492, 4 - Process.getGidForName(""), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA((char) ExpandableListView.getPackedPositionType(0L), new char[]{56032, 47992, 27386, 32956, 17660, 47247, 1088, 34599, 53040, 59507, 64152, 25704, 34567, 27053, 37654, 9507, 65501, 47987, 42719, 35514, 50003, 20111, 29307, 40797, 49000, 9020, 38291, 49938, 45463, 10175, 21179, 42454, 19002, 15859, 16189, 24799, 53872, 40390, 21009, 33301, 44581, 29630, 23896, 29407, 10205, 10152, 1836, 33228}, new char[]{34381, 15663, 33817, 31919}, new char[]{0, 0, 0, 0}, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(17 - TextUtils.lastIndexOf("", '0', 0, 0), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 64, (char) (46661 - Color.argb(0, 0, 0, 0)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(View.MeasureSpec.makeMeasureSpec(0, 0) + 82, 65 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(145 - TextUtils.lastIndexOf("", '0', 0), 73 - ImageFormat.getBitsPerPixel(0), (char) (37861 - ((Process.getThreadPriority(0) + 20) >> 6)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA((char) (View.combineMeasuredStates(0, 0) + 47229), new char[]{49297, 48154, 62005, 63550, 56847}, new char[]{23018, 64433, 32187, 13240}, new char[]{0, 0, 0, 0}, TextUtils.getOffsetAfter("", 0) - 1141132967, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA((char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new char[]{57314, 60884, 46847, 42402, 22116, 30847, 23904, 20981, 60773, 54062, 11875, 10644, 14849, 7726, 9030, 21229, 12752, 59753, 30457, 22734, 28208, 59541, 1045, 35840, 54706, 36747, 27716, 53801, 31397, 62509, 17105, 33866, 56316, 15285, 33315, 22508}, new char[]{23100, 38521, 3687, 45080}, new char[]{0, 0, 0, 0}, TextUtils.indexOf("", "", 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(487 - ((Process.getThreadPriority(0) + 20) >> 6), 5 - Color.blue(0), (char) (ViewConfiguration.getJumpTapTimeout() >> 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);
int i6 = p + 45;
r = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
static void n() {
k = 9051040786702654117L;
l = 452713125;
m = (char) 34934;
f7397o = new char[]{11384, 8493, 14063, 2976, 6514, 28218, 25597, 28815, 18035, 23344, 43241, 48531, 45916, 32797, 38341, 60063, 63556, 52486, 14834, 13494, 8999, 7739, 3245, 31674, 30257, 25979, 21482, 20217, 48443, 43072, 42625, 38342, 32778, 65355, 60817, 55504, 55056, 49756, 12488, 12254, 6708, 2214, 2028, 29226, 24937, 24549, 19185, 47417, 46205, 41650, 37312, 35843, 64324, 59871, 58574, 54016, 52743, 15552, 11225, 9806, 5384, 992, 32294, 28001, 23467, 22200, 17763, 45180, 44775, 40441, 34920, 34672, 62848, 57488, 57095, 51743, 14472, 14302, 8725, 4354, 4044, 31375, 36787, 33449, 38244, 43048, 47807, 52654, 49189, 54114, 58872, 63664, 2943, 7766, 4244, 9089, 13896, 18695, 23427, 28355, 24834, 29723, 34527, 39325, 44071, 48869, 45561, 50273, 55162, 59814, 64702, 3955, 561, 5291, 10118, 14867, 19797, 24526, 21131, 25935, 30737, 35542, 40351, 36953, 41753, 46496, 51248, 56182, 60910, 57594, 62240, 1636, 6390, 11187, 15992, 12596, 17344, 22225, 26954, 31832, 36506, 33218, 37971, 42781, 47499, 52376, 7263, 4352, 1733, 15246, 10568, 24130, 21386, 16589, 30300, 27397, 39112, 36283, 33648, 45119, 42480, 55991, 51298, 64822, 62178, 59303, 5482, 2596, 16279, 11603, 8721, 22487, 17623, 31314, 28427, 40146, 37256, 34635, 46115, 43511, 57008, 52333, 49455, 63158, 60322, 6519, 3630, 1022, 12461, 9733, 23490, 18565, 32348, 29448, 24770, 38346, 35650, 47105, 44486, 41671, 53364, 50466, 64246, 61427, 7536, 4648, 2020, 13477, 10878, 24382, 19672, 16962, 30531, 25745, 39326, 36686, 48128, 45516, 42651, 54367};
s = 8553487434321592977L;
}
@Override // com.scb.phone.view.activity.hml.fatca.Hilt_HmlNTBOnboardingFatcaQuestionsActivity, com.scb.phone.view.activity.investment.onboarding.FatcaActivity, o.dUA, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 567644167;
a(new Object[]{this});
}
@Override // com.scb.phone.view.activity.hml.fatca.Hilt_HmlNTBOnboardingFatcaQuestionsActivity, com.scb.phone.view.activity.investment.onboarding.FatcaActivity, o.dUA, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onStart() {
int i = 2 % 2;
int i2 = p + 29;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 14 / 0;
}
int i5 = r + 11;
p = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 39 / 0;
}
}
@Override // com.scb.phone.view.activity.investment.onboarding.FatcaActivity
public final int g() {
int i = 2 % 2;
int i2 = r + 47;
int i3 = i2 % 128;
p = i3;
int i4 = i2 % 2 != 0 ? 3 : 4;
int i5 = i3 + 95;
r = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 42 / 0;
}
return i4;
}
static {
p = 0;
n();
b = new RVV((byte) 0);
int i = r + 57;
p = i % 128;
int i2 = i % 2;
}
}