what-the-bank/sources/com/scb/phone/view/activity/investment/assessment/QuestionnaireActivity.java

649 lines
41 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.investment.assessment;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
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.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.huawei.hms.support.api.entity.common.CommonConstant;
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.fragment.ErrorFragment;
import com.scb.phone.view.fragment.investment.assessment.RegalQuestionnaireFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C14957gcv;
import o.C4593bdB;
import o.EV;
import o.Nhs;
import o.OD;
import o.xzZ;
/* loaded from: classes4.dex */
public final class QuestionnaireActivity extends Hilt_QuestionnaireActivity {
private static long k;
private static long l;
public static final RVV m;
/* renamed from: o, reason: collision with root package name */
private static int f7441o;
private static int s;
private static char t;
private static final byte[] $$y = {54, -11, ISOFileInfo.SECURITY_ATTR_COMPACT, 41};
private static final int $$z = 30;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 1;
/* 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:0x0029). 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 aF(byte r5, byte r6, byte r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 2
int r0 = 1 - r5
byte[] r1 = com.scb.phone.view.activity.investment.assessment.QuestionnaireActivity.$$y
int r6 = r6 + 77
int r7 = r7 + 4
byte[] r0 = new byte[r0]
r2 = 0
int r5 = 0 - r5
if (r1 != 0) goto L15
r4 = r6
r3 = r2
r6 = r5
goto L29
L15:
r3 = r2
L16:
int r7 = r7 + 1
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r5) goto L25
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L25:
int r3 = r3 + 1
r4 = r1[r7]
L29:
int r6 = r6 + r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.assessment.QuestionnaireActivity.aF(byte, byte, byte, java.lang.Object[]):void");
}
/* loaded from: classes4.dex */
public static final class RVV {
private RVV() {
}
public static Intent ahe_(Context context, String str, OD od, String str2) {
C14957gcv.e(context, "");
C14957gcv.e(str, "");
C14957gcv.e(od, "");
C14957gcv.e(str2, "");
Intent intent = new Intent(context, (Class<?>) QuestionnaireActivity.class);
intent.putExtra("NAME_TAG", str);
intent.putExtra("DISPLAY_TAG", od);
intent.putExtra("EXTRA_EVENT_NAME", str2);
return intent;
}
public /* synthetic */ RVV(byte b) {
this();
}
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object a(Object[] objArr) {
Bundle extras;
QuestionnaireActivity questionnaireActivity = (QuestionnaireActivity) objArr[0];
int i = 2 % 2;
int i2 = p + 11;
s = i2 % 128;
int i3 = i2 % 2;
Intent intent = questionnaireActivity.getIntent();
if (intent != null && (extras = intent.getExtras()) != null) {
int i4 = p + 113;
s = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
OD od = (OD) extras.getParcelable("DISPLAY_TAG");
if (od != null) {
String string = extras.getString("NAME_TAG", "");
String string2 = extras.getString("EXTRA_EVENT_NAME", "");
RegalQuestionnaireFragment.IeS ieS = RegalQuestionnaireFragment.d;
C14957gcv.c((Object) string, "");
C14957gcv.c(od, "");
C14957gcv.c((Object) string2, "");
C14957gcv.e(string, "");
C14957gcv.e(od, "");
C14957gcv.e(string2, "");
RegalQuestionnaireFragment regalQuestionnaireFragment = new RegalQuestionnaireFragment();
Bundle bundle = new Bundle();
bundle.putParcelable(CommonConstant.ReqAccessTokenParam.DISPLAY_LABEL, od);
bundle.putString("name", string);
bundle.putString("EXTRA_EVENT_NAME", string2);
regalQuestionnaireFragment.setArguments(bundle);
RegalQuestionnaireFragment regalQuestionnaireFragment2 = regalQuestionnaireFragment;
int i5 = s + 87;
p = i5 % 128;
int i6 = i5 % 2;
return regalQuestionnaireFragment2;
}
}
ErrorFragment a = ErrorFragment.a(new EV(EV.a(), (byte) 0));
C14957gcv.c(a, "");
ErrorFragment errorFragment = a;
int i7 = s + 19;
p = i7 % 128;
if (i7 % 2 == 0) {
int i8 = 53 / 0;
}
return errorFragment;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = p + 17;
s = i2 % 128;
int i3 = i2 % 2;
String string = getString(R.string.regal_investment_exprience_title);
C14957gcv.c((Object) string, "");
int i4 = p + 31;
s = i4 % 128;
if (i4 % 2 == 0) {
return string;
}
throw null;
}
private static void aD(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = $11 + 87;
$10 = i3 % 128;
if (i3 % 2 != 0) {
int i4 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 401, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) (21608 - ExpandableListView.getPackedPositionType(0L)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, (byte) (b2 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i4] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (l * (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777454, View.resolveSizeAndState(0, 0, 0) + 5, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
aF(b3, b4, (byte) (-b4), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i5 = c4593bdB.e;
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(403 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 4 - Process.getGidForName(""), (char) (21608 - (ViewConfiguration.getFadingEdgeLength() >> 16)));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aF(b5, b6, (byte) (b6 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i5] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (l ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(238 - TextUtils.indexOf("", "", 0), 5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) Drawable.resolveOpacity(0, 0));
byte b7 = (byte) 0;
byte b8 = (byte) (b7 + 1);
Object[] objArr9 = new Object[1];
aF(b7, b8, (byte) (-b8), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
int i6 = $11 + 113;
$10 = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 5 % 2;
}
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr10 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 238, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) View.resolveSizeAndState(0, 0, 0));
byte b9 = (byte) 0;
byte b10 = (byte) (b9 + 1);
Object[] objArr11 = new Object[1];
aF(b9, b10, (byte) (-b10), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2);
}
@Override // com.scb.phone.view.activity.investment.assessment.Hilt_QuestionnaireActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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];
aD(new char[]{26301, 8969, 60878, 47007, 28767, 14866, 50394, 36591, 19307, 5436, 57276, 39301, 8810, 60620, 46725, 29516, 15647, 51140}, (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 17851, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{26289, 40212, 37355, 38310, 34940}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 64420, 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 = s + 45;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aD(new char[]{26301, 5333, 33398, 12699, 44847, 23222, 51410, 17955, 62853, 25395, 7850, 35999, 14921, 43396, 9994, 53948, 16602, 65122, 28054, 6912, 38532, 1223, 45684, 8696, 57109, 19127}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_mailing_address_soi_format).substring(3, 9).length() + 29281, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new char[]{26303, 38740, 34132, 45913, 41293, 57155, 52550, 64374, 59716, 59209, 5458, 874, 12643, 12132, 23934, 19302, 31075, 30591}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_open_accounts_remark_2).substring(75, 76).length() + 61948, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 25;
p = i4 % 128;
if (i4 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 90 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
int i6 = s + 83;
p = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = s + 103;
p = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) Color.argb(0, 0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(new char[]{26349, 9818, 59274, 42157, 25643, 9674, 58012, 41578, 25398, 8412, 57348, 41254, 28323, 11843, 61249, 44219, 28078, 11566, 60060, 43975, 27451, 10349, 59787, 43266, 30242, 14243, 63301, 46146, 30179, 13032, 61958, 45954, 28877, 12344, 61798, 48862, 32350, 16172, 64760, 48201, 32070, 15025, 64495, 47954, 30931, 14841, 63863, 34455}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 16548, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), new char[]{52109, 18977, 55587, 25046, 53530, 41899, 57706, 43473, 29831, 34107, 20220, 6917, 57087, 56774, 17504, 21105, 48939, 24812, 8999, 52555, 11914, 45784, 49505, 56006, 47585, 41303, 909, 61983, 43192, 49921, 60720, 47981, 57714, 7203, 49097, 869, 45853, 25740, 44066, 28319, 1039, 28181, 33694, 46154, 44005, 8264, 18578, 55534, 20052, 49560, 12530, 55699, 43866, 42436, 6856, 17534, 18390, 28019, 44848, 37232, 54079, 60626, 2795, 31985}, new char[]{17651, 60271, 42435, 6356}, new char[]{19458, 24021, 23796, 31614}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_create_qr_daily_limit_link).substring(54, 55).length() - 1, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new char[]{26301, 45597, 53022, 6148, 13657, 20018, 39791, 46198, 49446, 6692, 14165, 16394, 40210, 46669, 50034, 7283, 10541, 16951, 40760, 43159, 50585, 7809, 11149, 17585, 37351, 43701, 51184, 4346, 11736, 18143, 37835, 44191, 63944, 4775, 12207, 30946, 38381, 41235, 64027, 5890, 8193, 32013, 38451, 41788, 64630, 2426, 8788, 32526, 34830, 42256, 65100, 2943, 9342, 29032, 35434, 42949, 61588, 3532, 9936, 29662, 36021, 55729, 62193, 4012}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_banking_action).substring(18, 19).codePointAt(0) + 54489, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), new char[]{21990, 38424, 42239, 4279, 48288, 55854, 45263, 12114, 25730, 56893, 49583, 24403, 43407, 58638, 56479, 40311, 33971, 8246, 43557, 16220, 13478, 37278, 8885, 54437, 798, 623, 43082, 38604, 31335, 45491, 38837, 12827, 38843, 54743, 17927, 8449, 51746, 10056, 28645, 18351, 16084, 10681, 42800, 12081, 39684, 64385, 19901, 1953, 54079, 17161, 32446, 32038, 62529, 46409, 46055, 12334, 37886, 49046, 15563, 34938, 53595, 58622, 49974, 40168, 1026, 22110, 45382, 40526, 5477, 28147, 37541, 1274, 8478, 21939}, new char[]{57278, 39669, 23206, 41495}, new char[]{19458, 24021, 23796, 31614}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.onboarding_select_account_consent).substring(46, 47).length() - 1, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new char[]{26341, 30677, 17578, 21895, 8816}, ExpandableListView.getPackedPositionGroup(0L) + 4391, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(new char[]{26297, 33824, 41940, 49471, 60620, 3060, 10566, 21671, 29209, 37231, 48334, 55814, 63970, 59144, 638, 8669, 20285, 27264, 35323, 46874, 54010, 61528, 8129, 15082, 22614, 18410, 25884, 32818, 44999, 52592, 59609, 6122, 13640, 20692, 32311, 40398}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 57979, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - View.getDefaultSize(0, 0), (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) KeyEvent.normalizeMetaState(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void aE(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 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 i3 = $11 + 31;
$10 = i3 % 128;
int i4 = i3 % 2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 44, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(352 - (Process.myTid() >> 22), View.getDefaultSize(0, 0) + 5, (char) (52128 - TextUtils.indexOf("", "")));
byte b = (byte) 0;
Object[] objArr4 = new Object[1];
aF(b, (byte) (b | 38), (byte) (-1), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
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 - ExpandableListView.getPackedPositionType(0L), 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
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((ViewConfiguration.getTapTimeout() >> 16) + 402, (Process.myTid() >> 22) + 5, (char) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 21608));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aF(b2, (byte) (b2 | 37), (byte) (-1), 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) (f7441o ^ 9051040786702654117L))) ^ ((char) (t ^ 9051040786702654117L)));
nhs.a++;
int i5 = $10 + 95;
$11 = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
@Override // com.scb.phone.view.activity.investment.assessment.Hilt_QuestionnaireActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = s + 49;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = p + 51;
s = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aD(new char[]{26301, 5333, 33398, 12699, 44847, 23222, 51410, 17955, 62853, 25395, 7850, 35999, 14921, 43396, 9994, 53948, 16602, 65122, 28054, 6912, 38532, 1223, 45684, 8696, 57109, 19127}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) + 29176, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{26303, 38740, 34132, 45913, 41293, 57155, 52550, 64374, 59716, 59209, 5458, 874, 12643, 12132, 23934, 19302, 31075, 30591}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.transaction_failed).substring(22, 23).codePointAt(0) + 61917, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = s + 89;
p = i6 % 128;
if (i6 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = s + 31;
p = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionGroup(0L), 5 - Color.argb(0, 0, 0, 0), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 4 - ExpandableListView.getPackedPositionChild(0L), (char) TextUtils.getOffsetBefore("", 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
/* JADX WARN: Code restructure failed: missing block: B:28:0x0021, code lost:
r1 = com.scb.phone.view.activity.investment.assessment.QuestionnaireActivity.p + 9;
com.scb.phone.view.activity.investment.assessment.QuestionnaireActivity.s = r1 % 128;
r1 = r1 % 2;
r6 = new java.lang.Object[1];
aD(new char[]{26301, 5333, 33398, 12699, 44847, 23222, 51410, 17955, 62853, 25395, 7850, 35999, 14921, 43396, 9994, 53948, 16602, 65122, 28054, 6912, 38532, 1223, 45684, 8696, 57109, 19127}, android.view.View.getDefaultSize(0, 0) + 29287, r6);
r1 = java.lang.Class.forName((java.lang.String) r6[0]);
r7 = (java.lang.Object[]) null;
r7 = new java.lang.Object[1];
aD(new char[]{26303, 38740, 34132, 45913, 41293, 57155, 52550, 64374, 59716, 59209, 5458, 874, 12643, 12132, 23934, 19302, 31075, 30591}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 61903, r7);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.investment.assessment.Hilt_QuestionnaireActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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 final void onPause() {
/*
Method dump skipped, instructions count: 358
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.assessment.QuestionnaireActivity.onPause():void");
}
@Override // com.scb.phone.view.activity.investment.assessment.Hilt_QuestionnaireActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new char[]{26301, 8969, 60878, 47007, 28767, 14866, 50394, 36591, 19307, 5436, 57276, 39301, 8810, 60620, 46725, 29516, 15647, 51140}, 17851 - (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)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{26289, 40212, 37355, 38310, 34940}, 64433 - (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)), 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 i2 = s + 101;
p = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i4 = p + 91;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Color.alpha(0), 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(new char[]{26349, 9818, 59274, 42157, 25643, 9674, 58012, 41578, 25398, 8412, 57348, 41254, 28323, 11843, 61249, 44219, 28078, 11566, 60060, 43975, 27451, 10349, 59787, 43266, 30242, 14243, 63301, 46146, 30179, 13032, 61958, 45954, 28877, 12344, 61798, 48862, 32350, 16172, 64760, 48201, 32070, 15025, 64495, 47954, 30931, 14841, 63863, 34455}, 16561 - (ViewConfiguration.getJumpTapTimeout() >> 16), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE((char) TextUtils.getOffsetAfter("", 0), new char[]{52109, 18977, 55587, 25046, 53530, 41899, 57706, 43473, 29831, 34107, 20220, 6917, 57087, 56774, 17504, 21105, 48939, 24812, 8999, 52555, 11914, 45784, 49505, 56006, 47585, 41303, 909, 61983, 43192, 49921, 60720, 47981, 57714, 7203, 49097, 869, 45853, 25740, 44066, 28319, 1039, 28181, 33694, 46154, 44005, 8264, 18578, 55534, 20052, 49560, 12530, 55699, 43866, 42436, 6856, 17534, 18390, 28019, 44848, 37232, 54079, 60626, 2795, 31985}, new char[]{17651, 60271, 42435, 6356}, new char[]{19458, 24021, 23796, 31614}, ViewConfiguration.getScrollBarFadeDuration() >> 16, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new char[]{26301, 45597, 53022, 6148, 13657, 20018, 39791, 46198, 49446, 6692, 14165, 16394, 40210, 46669, 50034, 7283, 10541, 16951, 40760, 43159, 50585, 7809, 11149, 17585, 37351, 43701, 51184, 4346, 11736, 18143, 37835, 44191, 63944, 4775, 12207, 30946, 38381, 41235, 64027, 5890, 8193, 32013, 38451, 41788, 64630, 2426, 8788, 32526, 34830, 42256, 65100, 2943, 9342, 29032, 35434, 42949, 61588, 3532, 9936, 29662, 36021, 55729, 62193, 4012}, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 54521, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE((char) View.MeasureSpec.getSize(0), new char[]{21990, 38424, 42239, 4279, 48288, 55854, 45263, 12114, 25730, 56893, 49583, 24403, 43407, 58638, 56479, 40311, 33971, 8246, 43557, 16220, 13478, 37278, 8885, 54437, 798, 623, 43082, 38604, 31335, 45491, 38837, 12827, 38843, 54743, 17927, 8449, 51746, 10056, 28645, 18351, 16084, 10681, 42800, 12081, 39684, 64385, 19901, 1953, 54079, 17161, 32446, 32038, 62529, 46409, 46055, 12334, 37886, 49046, 15563, 34938, 53595, 58622, 49974, 40168, 1026, 22110, 45382, 40526, 5477, 28147, 37541, 1274, 8478, 21939}, new char[]{57278, 39669, 23206, 41495}, new char[]{19458, 24021, 23796, 31614}, ViewConfiguration.getMinimumFlingVelocity() >> 16, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new char[]{26341, 30677, 17578, 21895, 8816}, TextUtils.lastIndexOf("", '0', 0) + 4392, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new char[]{26297, 33824, 41940, 49471, 60620, 3060, 10566, 21671, 29209, 37231, 48334, 55814, 63970, 59144, 638, 8669, 20285, 27264, 35323, 46874, 54010, 61528, 8129, 15082, 22614, 18410, 25884, 32818, 44999, 52592, 59609, 6122, 13640, 20692, 32311, 40398}, 58013 - (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)), 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 - ExpandableListView.getPackedPositionGroup(0L), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i6 = s + 101;
p = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
static void j() {
l = 4973799861548971290L;
k = 496976302011487911L;
f7441o = 452713125;
t = (char) 55973;
}
@Override // com.scb.phone.view.activity.investment.assessment.Hilt_QuestionnaireActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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 + 33;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 97;
p = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 293250934;
return (Fragment) a(new Object[]{this});
}
public static final Intent ahd_(Context context, String str, OD od, String str2) {
int i = 2 % 2;
int i2 = s + 35;
p = i2 % 128;
int i3 = i2 % 2;
Intent ahe_ = RVV.ahe_(context, str, od, str2);
int i4 = s + 21;
p = i4 % 128;
int i5 = i4 % 2;
return ahe_;
}
static {
s = 0;
j();
m = new RVV((byte) 0);
int i = p + 57;
s = i % 128;
if (i % 2 != 0) {
int i2 = 52 / 0;
}
}
}