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

953 lines
46 KiB
Java
Raw Permalink 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.ImageFormat;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.Button;
import android.widget.ExpandableListView;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C14957gcv;
import o.C3576bAQ;
import o.C3614bBe;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC6626cYd;
import o.ON;
import o.OY;
import o.ZI;
import o.bAJ;
import o.bAN;
import o.xzZ;
/* loaded from: classes4.dex */
public final class AssessmentPopupActivity extends Hilt_AssessmentPopupActivity implements InterfaceC6626cYd.LWm {
public static final LWm b;
private static char[] k;
private static boolean m;
/* renamed from: o, reason: collision with root package name */
private static int f7436o;
private static char[] p;
private static char q;
private static boolean r;
private static int t;
@BindView
public Button btNegative;
@BindView
public Button btPositive;
@InterfaceC13391fZD
public bAJ presenter;
@BindView
public TextView tvDialogTitle;
@BindView
public TextView tvFirstText;
@BindView
public TextView tvFirstTitle;
@BindView
public TextView tvSecondText;
@BindView
public TextView tvSecondTitle;
private static final byte[] $$g = {30, 115, ISOFileInfo.A1, -33};
private static final int $$h = 88;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> 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 az(byte r5, byte r6, int r7, java.lang.Object[] r8) {
/*
byte[] r0 = com.scb.phone.view.activity.investment.assessment.AssessmentPopupActivity.$$g
int r5 = r5 * 4
int r1 = 1 - r5
int r6 = r6 * 2
int r6 = r6 + 4
int r7 = r7 + 65
byte[] r1 = new byte[r1]
r2 = 0
int r5 = 0 - r5
if (r0 != 0) goto L17
r7 = r5
r3 = r6
r4 = r2
goto L29
L17:
r3 = r2
L18:
byte r4 = (byte) r7
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r5) goto L27
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L27:
r3 = r0[r6]
L29:
int r6 = r6 + 1
int r7 = r7 + r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.assessment.AssessmentPopupActivity.az(byte, byte, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * (-623)) + (i2 * (-623));
int i5 = ~i;
return ((i4 + (i5 * (-624))) + ((i5 | i2) * 624)) + ((i | i2) * 624) != 1 ? e(objArr) : b(objArr);
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
/* JADX WARN: Removed duplicated region for block: B:104:0x0540 */
/* JADX WARN: Removed duplicated region for block: B:107:0x054b */
/* JADX WARN: Removed duplicated region for block: B:116:0x0533 */
/* JADX WARN: Removed duplicated region for block: B:11:0x036a */
/* JADX WARN: Removed duplicated region for block: B:126:0x048f */
/* JADX WARN: Removed duplicated region for block: B:129:0x0494 */
/* JADX WARN: Removed duplicated region for block: B:139:0x0444 */
/* JADX WARN: Removed duplicated region for block: B:143:0x040d */
/* JADX WARN: Removed duplicated region for block: B:14:0x038d */
/* JADX WARN: Removed duplicated region for block: B:157:0x0548 */
/* JADX WARN: Removed duplicated region for block: B:158:0x0375 */
/* JADX WARN: Removed duplicated region for block: B:32:0x03f5 */
/* JADX WARN: Removed duplicated region for block: B:43:0x0418 */
/* JADX WARN: Removed duplicated region for block: B:56:0x044f */
/* JADX WARN: Removed duplicated region for block: B:60:0x045e */
/* JADX WARN: Removed duplicated region for block: B:63:0x046c */
/* JADX WARN: Removed duplicated region for block: B:69:0x04a3 */
/* JADX WARN: Removed duplicated region for block: B:79:0x04c2 */
/* JADX WARN: Removed duplicated region for block: B:8:0x035c */
/* JADX WARN: Removed duplicated region for block: B:91:0x0510 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static /* synthetic */ java.lang.Object e(java.lang.Object[] r27) {
/*
Method dump skipped, instructions count: 1648
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.assessment.AssessmentPopupActivity.e(java.lang.Object[]):java.lang.Object");
}
@OnClick
public final void onCloseClicked() {
int i = 2 % 2;
int i2 = s + 41;
t = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
onBackPressed();
if (i3 == 0) {
obj.hashCode();
throw null;
}
int i4 = s + 91;
t = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@OnClick
public final void onPositiveClicked() {
int i = 2 % 2;
int i2 = s + 75;
t = i2 % 128;
int i3 = i2 % 2;
bAJ baj = this.presenter;
Object obj = null;
if (baj == null) {
C14957gcv.a("");
baj = null;
}
int i4 = baj.a;
if (i4 != 0) {
if (i4 != 1) {
int i5 = s + 53;
int i6 = i5 % 128;
t = i6;
if (i5 % 2 != 0 ? i4 == 2 : i4 == 2) {
baj.a(false);
} else if (i4 != 3) {
int i7 = i6 + 101;
s = i7 % 128;
if (i7 % 2 == 0 ? i4 == 4 : i4 == 4) {
C3576bAQ c3576bAQ = new C3576bAQ(false);
if (baj.f != 0) {
int i8 = t + 65;
s = i8 % 128;
if (i8 % 2 != 0) {
c3576bAQ.e(baj.f);
obj.hashCode();
throw null;
}
c3576bAQ.e(baj.f);
}
}
}
}
C3576bAQ c3576bAQ2 = new C3576bAQ(true);
if (baj.f != 0) {
int i9 = s + 71;
t = i9 % 128;
int i10 = i9 % 2;
c3576bAQ2.e(baj.f);
}
} else {
baj.a(true);
}
String str = baj.d;
if (str != null) {
bAN ban = new bAN(str);
if (baj.f != 0) {
ban.e(baj.f);
}
}
}
@OnClick
public final void onNegativeClicked() {
int i = 2 % 2;
final bAJ baj = this.presenter;
if (baj != null) {
int i2 = t + 87;
s = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
int i4 = t + 65;
s = i4 % 128;
int i5 = i4 % 2;
baj = null;
}
ZI.IeS ieS = new ZI.IeS(baj) { // from class: o.bAG
private bAJ a;
@Override // o.ZI.IeS
public final void e(Object obj) {
bAJ.d(this.a, (InterfaceC6626cYd.LWm) obj);
}
{
this.a = baj;
}
};
if (baj.f == 0) {
int i6 = s + 105;
t = i6 % 128;
int i7 = i6 % 2;
return;
}
ieS.e(baj.f);
}
private static void ax(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int length;
char[] cArr2;
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = k;
if (cArr3 != null) {
int i3 = $10 + 123;
$11 = i3 % 128;
if (i3 % 2 == 0) {
length = cArr3.length;
cArr2 = new char[length];
} else {
length = cArr3.length;
cArr2 = new char[length];
}
for (int i4 = 0; i4 < length; i4++) {
int i5 = $10 + 41;
$11 = i5 % 128;
int i6 = i5 % 2;
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i4])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(338 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) View.MeasureSpec.makeMeasureSpec(0, 0));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
az(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr2[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(f7436o)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 284, 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) (39813 - (Process.myTid() >> 22)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
az(b4, b5, (byte) (b5 | 57), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (r) {
int i7 = $10 + 19;
$11 = i7 % 128;
int i8 = i7 % 2;
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(39 - Process.getGidForName(""), 5 - Color.red(0), (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
if (!m) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i9 = $11 + 75;
$10 = i9 % 128;
int i10 = i9 % 2;
cArr5[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr6[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0) + 40, 5 - View.MeasureSpec.getMode(0), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr6);
}
@Override // o.InterfaceC6626cYd.LWm
public final void b(OY oy) {
int i = 2 % 2;
int i2 = t + 23;
s = i2 % 128;
Button button = null;
if (i2 % 2 != 0) {
C14957gcv.e(oy, "");
button.hashCode();
throw null;
}
C14957gcv.e(oy, "");
TextView textView = this.tvDialogTitle;
if (textView == null) {
C14957gcv.a("");
textView = null;
}
textView.setText(oy.c);
TextView textView2 = this.tvFirstTitle;
if (textView2 == null) {
C14957gcv.a("");
textView2 = null;
}
textView2.setText(oy.i);
TextView textView3 = this.tvFirstText;
if (textView3 != null) {
int i3 = s + 105;
t = i3 % 128;
if (i3 % 2 == 0) {
throw null;
}
} else {
C14957gcv.a("");
textView3 = null;
}
textView3.setText(oy.e);
TextView textView4 = this.tvSecondTitle;
if (textView4 == null) {
C14957gcv.a("");
textView4 = null;
}
textView4.setText(oy.f);
TextView textView5 = this.tvSecondText;
if (textView5 == null) {
C14957gcv.a("");
int i4 = t + 109;
s = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 2 / 4;
}
textView5 = null;
}
textView5.setText(oy.j);
Button button2 = this.btPositive;
if (button2 != null) {
int i6 = s + 123;
t = i6 % 128;
int i7 = i6 % 2;
} else {
C14957gcv.a("");
button2 = null;
}
button2.setText(oy.d);
Button button3 = this.btNegative;
if (button3 != null) {
button = button3;
} else {
C14957gcv.a("");
}
button.setText(oy.a);
int i8 = t + 21;
s = i8 % 128;
int i9 = i8 % 2;
}
@Override // o.InterfaceC6626cYd.LWm
public final void c() {
int i = 2 % 2;
setResult(0, new Intent());
finish();
int i2 = s + 37;
t = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC6626cYd.LWm
public final void b(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
Intent intent = new Intent();
intent.putExtra("riskPopupResult", str);
setResult(-1, intent);
finish();
int i2 = s + 9;
t = i2 % 128;
int i3 = i2 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0019, code lost:
if (r2 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if (r2 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0023, code lost:
o.C14957gcv.a("");
r2 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x001b, code lost:
r1 = r1 + 113;
com.scb.phone.view.activity.investment.assessment.AssessmentPopupActivity.t = r1 % 128;
r1 = r1 % 2;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onDestroy() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.investment.assessment.AssessmentPopupActivity.s
int r2 = r1 + 49
int r3 = r2 % 128
com.scb.phone.view.activity.investment.assessment.AssessmentPopupActivity.t = r3
int r2 = r2 % r0
if (r2 != 0) goto L17
o.bAJ r2 = r4.presenter
r3 = 74
int r3 = r3 / 0
if (r2 == 0) goto L23
goto L1b
L17:
o.bAJ r2 = r4.presenter
if (r2 == 0) goto L23
L1b:
int r1 = r1 + 113
int r3 = r1 % 128
com.scb.phone.view.activity.investment.assessment.AssessmentPopupActivity.t = r3
int r1 = r1 % r0
goto L29
L23:
java.lang.String r0 = ""
o.C14957gcv.a(r0)
r2 = 0
L29:
r2.w_()
super.onDestroy()
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.assessment.AssessmentPopupActivity.onDestroy():void");
}
/* JADX WARN: Code restructure failed: missing block: B:33:0x0024, code lost:
r8 = (java.lang.Object[]) null;
r10 = new java.lang.Object[1];
ax(null, null, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.scbs_data_sharing_confirm_decline_tc_description).substring(54, 55).codePointAt(0) + 95, new byte[]{net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, net.sf.scuba.smartcards.ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -112, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, -113, -113, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -122, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, -124, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -126, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2}, r10);
r7 = java.lang.Class.forName((java.lang.String) r10[0]);
r9 = new java.lang.Object[1];
ax(null, null, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 81, new byte[]{-126, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, -122, -111, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -122, -106, -113, -113, -112, -111, -126, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, -107, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE}, r9);
r2 = (android.content.Context) r7.getMethod((java.lang.String) r9[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x0022, code lost:
if (r2 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001b, code lost:
if (r2 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.investment.assessment.Hilt_AssessmentPopupActivity, 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 onResume() {
/*
Method dump skipped, instructions count: 393
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.assessment.AssessmentPopupActivity.onResume():void");
}
private static void ay(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
Object obj;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = p;
Object obj2 = null;
if (cArr2 != null) {
int i5 = $11 + 69;
$10 = i5 % 128;
int i6 = i5 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i7 = 0;
while (i7 < length) {
int i8 = $11 + 67;
$10 = i8 % 128;
if (i8 % i3 != 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(298 - KeyEvent.getDeadChar(0, 0), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) ExpandableListView.getPackedPositionType(0L));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr3 = new Object[1];
az(b3, b4, (byte) (b4 | ISO7816.INS_DECREASE_STAMPED), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i7] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
try {
Object[] objArr4 = {Integer.valueOf(cArr2[i7])};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 297, (-16777211) - Color.rgb(0, 0, 0), (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr5 = new Object[1];
az(b5, b6, (byte) (b6 | ISO7816.INS_DECREASE_STAMPED), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
cArr3[i7] = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
i7++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
i3 = 2;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(q)};
Object obj5 = xzZ.y.get(-1987398494);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(View.resolveSize(0, 0) + 298, Color.red(0) + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr7 = new Object[1];
az(b7, b8, (byte) (b8 | ISO7816.INS_DECREASE_STAMPED), objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj5);
}
char charValue = ((Character) ((Method) obj5).invoke(null, objArr6)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
} else {
i2 = i;
}
if (i2 > 1) {
int i9 = $11 + 111;
$10 = i9 % 128;
int i10 = i9 % 2;
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i11 = $11 + 91;
$10 = i11 % 128;
if (i11 % 2 != 0) {
cArr4[irs.e] = (char) (irs.b + b2);
cArr4[irs.e + 1] = (char) (irs.c * b2);
} else {
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
}
obj = obj2;
} else {
try {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(822107368);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 233, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (22024 - (Process.myPid() >> 22)));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr9 = new Object[1];
az(b9, b10, (byte) (b10 | 55), objArr9);
obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj6);
}
if (((Integer) ((Method) obj6).invoke(null, objArr8)).intValue() == irs.j) {
Object[] objArr10 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj7 = xzZ.y.get(-1152873385);
if (obj7 == null) {
Class cls5 = (Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 327, 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) (TextUtils.indexOf((CharSequence) "", '0') + 1));
byte b11 = (byte) 0;
byte b12 = b11;
Object[] objArr11 = new Object[1];
az(b11, b12, (byte) (b12 | 53), objArr11);
obj7 = cls5.getMethod((String) objArr11[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj7);
}
obj = null;
int intValue = ((Integer) ((Method) obj7).invoke(null, objArr10)).intValue();
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i12];
} else {
obj = null;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i13 = (irs.a * charValue) + irs.f;
int i14 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i13];
cArr4[irs.e + 1] = cArr2[i14];
int i15 = $10 + 77;
$11 = i15 % 128;
int i16 = i15 % 2;
} else {
int i17 = (irs.a * charValue) + irs.j;
int i18 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i17];
cArr4[irs.e + 1] = cArr2[i18];
}
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
irs.e += 2;
obj2 = obj;
}
}
for (int i19 = 0; i19 < i; i19++) {
cArr4[i19] = (char) (cArr4[i19] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.investment.assessment.Hilt_AssessmentPopupActivity, 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 = 2 % 2;
int i2 = t + 21;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) + 28, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, ISOFileInfo.LCS_BYTE, -112, ISOFileInfo.FCI_EXT, -113, -113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(null, null, 126 - Process.getGidForName(""), new byte[]{-126, ISOFileInfo.PROP_INFO, -122, -111, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -106, -113, -113, -112, -111, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, -107, ISOFileInfo.LCS_BYTE}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = s + 99;
t = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 492, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - Color.argb(0, 0, 0, 0), KeyEvent.normalizeMetaState(0) + 5, (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Color.rgb(0, 0, 0) + 16777708, TextUtils.indexOf("", "", 0) + 5, (char) (Process.myTid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(487 - TextUtils.getCapsMode("", 0, 0), 5 - Gravity.getAbsoluteGravity(0, 0), (char) View.MeasureSpec.getMode(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i5 = s + 75;
t = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.investment.assessment.Hilt_AssessmentPopupActivity, 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];
ax(null, null, 127 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(null, null, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 127, new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = t + 1;
s = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
context2 = context.getApplicationContext();
int i4 = s + 53;
t = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i6 = t + 97;
s = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 492, View.resolveSizeAndState(0, 0, 0) + 5, (char) Color.argb(0, 0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(null, null, 126 - ImageFormat.getBitsPerPixel(0), new byte[]{-103, ISOFileInfo.SECURITY_ATTR_EXP, -97, ISOFileInfo.LCS_BYTE, ISOFileInfo.A1, -99, -103, -98, -102, -102, ISOFileInfo.SECURITY_ATTR_EXP, -100, -105, -97, ISOFileInfo.A1, -105, -105, ISOFileInfo.FILE_IDENTIFIER, -99, ISOFileInfo.LCS_BYTE, ISOFileInfo.A1, ISOFileInfo.LCS_BYTE, ISOFileInfo.A0, -100, -99, ISOFileInfo.DATA_BYTES2, -103, -101, -97, -98, -101, -102, -97, -101, -102, -101, ISOFileInfo.DATA_BYTES2, -98, -99, -102, ISOFileInfo.DATA_BYTES2, -100, ISOFileInfo.LCS_BYTE, -101, -102, -103, -104, -105}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{'\n', '\t', 14, '\n', '\n', '\b', '\b', 16, 11, 19, 3, 14, 3, 14, 5, 15, 11, '\b', 14, 0, 23, 14, 21, 7, '\r', 18, 14, 21, 3, 19, '\f', '\r', 13766, 13766, 17, 21, 17, 11, 13841, 13841, '\n', '\b', 23, '\f', 15, 11, '\n', '\b', 22, '\r', 3, 1, 22, 14, 15, 6, 14, 22, 11, '\r', '\n', '\b', 24, '\f'}, (byte) (TextUtils.getOffsetBefore("", 0) + 25), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(null, null, 128 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new byte[]{-104, ISOFileInfo.LCS_BYTE, -97, ISOFileInfo.A1, ISOFileInfo.DATA_BYTES2, -100, ISOFileInfo.DATA_BYTES2, -94, -100, -94, -99, ISOFileInfo.A0, -97, -98, ISOFileInfo.SECURITY_ATTR_EXP, -102, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A0, ISOFileInfo.LCS_BYTE, -100, -101, ISOFileInfo.A1, -94, ISOFileInfo.A1, -105, -105, -98, ISOFileInfo.A1, ISOFileInfo.A1, ISOFileInfo.DATA_BYTES2, -102, -103, ISOFileInfo.FILE_IDENTIFIER, -99, ISOFileInfo.A0, -97, ISOFileInfo.SECURITY_ATTR_EXP, -100, -97, ISOFileInfo.LCS_BYTE, -98, -104, -94, -105, -94, -100, -102, ISOFileInfo.DATA_BYTES2, -97, -94, -103, -102, ISOFileInfo.SECURITY_ATTR_EXP, -101, -99, -98, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -101, ISOFileInfo.DATA_BYTES2, -101, -94, -97, ISOFileInfo.DATA_BYTES2}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(null, null, 175 - AndroidCharacter.getMirror('0'), new byte[]{-120, -111, -126, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.SECURITY_ATTR_EXP, -92, -98, -110, -92, -111, -120, ISOFileInfo.SECURITY_ATTR_EXP, -90, -126, -122, -92, -122, -113, ISOFileInfo.DATA_BYTES2, -92, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -124, ISOFileInfo.DATA_BYTES2, -107, -89, -120, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.DATA_BYTES2, -107, -90, ISOFileInfo.FCI_EXT, -111, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -111, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -111, ISOFileInfo.FCI_EXT, ISOFileInfo.A5, -126, ISOFileInfo.DATA_BYTES2, -102, -106, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.LCS_BYTE, -124, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, -122, -120, -92, -92, -93, -120, -113, -111, -111, -108}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{15, 23, '\n', 22, 13764}, (byte) (26 - (ViewConfiguration.getEdgeSlop() >> 16)), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{'\f', 24, 1, '\t', 3, 23, 11, 16, 23, 11, '\f', '\n', 6, 20, '\t', 1, 13754, 13754, 22, 23, '\t', '\n', 20, 22, '\t', 4, 2, 24, 4, '\n', 21, 19, 11, 21, 11, '\n'}, (byte) (15 - Drawable.resolveOpacity(0, 0)), 36 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 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(Gravity.getAbsoluteGravity(0, 0) + 487, TextUtils.lastIndexOf("", '0', 0) + 6, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
private static /* synthetic */ Object b(Object[] objArr) {
Context context = (Context) objArr[0];
ON on = (ON) objArr[1];
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) AssessmentPopupActivity.class);
intent.putExtra("profileExtra", on);
int i2 = s + 5;
t = i2 % 128;
int i3 = i2 % 2;
return intent;
}
static void h() {
k = new char[]{15926, 15907, 15913, 15911, 15908, 15918, 16099, 15960, 15877, 15912, 15914, 15906, 15966, 15930, 15909, 15894, 15961, 15963, 15929, 15917, 15962, 15905, 16102, 15900, 15897, 15927, 15896, 15915, 15902, 16103, 15901, 15899, 15898, 16101, 15903, 16100, 15904, 15916, 15910};
f7436o = 1934311125;
m = true;
r = true;
p = new char[]{49028, 49052, 49109, 49051, 49025, 49105, 49031, 49041, 49024, 49048, 49026, 49027, 49035, 49029, 49110, 49055, 49030, 49049, 49034, 49050, 49053, 49054, 49106, 49111, 49104};
q = (char) 35372;
}
@Override // com.scb.phone.view.activity.investment.assessment.Hilt_AssessmentPopupActivity, 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 = t + 81;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = t + 97;
s = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.investment.assessment.Hilt_AssessmentPopupActivity, 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) {
e(new Object[]{this, bundle}, -876211492, 876211492, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 609734359);
}
public static final Intent ahc_(Context context, ON on) {
return (Intent) e(new Object[]{context, on}, 480974176, -480974175, (int) System.currentTimeMillis());
}
static {
t = 1;
h();
b = new LWm((byte) 0);
int i = s + 101;
t = i % 128;
if (i % 2 == 0) {
throw null;
}
}
}