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

844 lines
40 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.tc;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.investment.InvestmentDetailsActivity;
import com.scb.phone.view.activity.tc.MutualFundTermsAndConditionsActivity;
import com.scb.phone.view.custom.common.CustomDialog;
import com.scb.phone.view.fragment.TermsAndConditionsFragment;
import java.lang.reflect.Method;
import o.AbstractC13482fbE;
import o.C0371Fd;
import o.C14957gcv;
import o.C6191cLh;
import o.EnumC13954fk;
import o.EnumC8951daY;
import o.InterfaceC12853fJD;
import o.InterfaceC13391fZD;
import o.InterfaceC9657dnt;
import o.jTb;
import o.xFb;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public final class MutualFundTermsAndConditionsActivity extends Hilt_MutualFundTermsAndConditionsActivity implements InterfaceC9657dnt.IeS, InterfaceC12853fJD {
public static final IeS k;
private static char l;
private static char[] m;
/* renamed from: o, reason: collision with root package name */
private static char f7957o;
private static char p;
private static int q;
private static char r;
private static char t;
@InterfaceC13391fZD
public C6191cLh mPresenter;
private static final byte[] $$y = {85, -17, 4, -90};
private static final int $$z = 96;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0026). 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(short r5, int r6, int r7, java.lang.Object[] r8) {
/*
int r6 = 120 - r6
int r7 = r7 * 3
int r7 = r7 + 4
int r5 = r5 * 3
int r0 = r5 + 1
byte[] r1 = com.scb.phone.view.activity.tc.MutualFundTermsAndConditionsActivity.$$y
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L14
r4 = r5
r3 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r5) goto L22
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L22:
int r3 = r3 + 1
r4 = r1[r7]
L26:
int r7 = r7 + 1
int r6 = r6 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.tc.MutualFundTermsAndConditionsActivity.aF(short, int, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i2;
int i6 = i4 | i5;
int i7 = (i * (-496)) + (i2 * (-496)) + ((~i6) * 497);
int i8 = ~(i6 | i3);
int i9 = ~i3;
int i10 = i7 + ((i8 | (~(i5 | i9 | i))) * 497) + (((~(i | i5 | i3)) | (~(i2 | i4)) | (~(i4 | i9))) * 497);
if (i10 == 1) {
return b(objArr);
}
if (i10 == 2) {
return c(objArr);
}
MutualFundTermsAndConditionsActivity mutualFundTermsAndConditionsActivity = (MutualFundTermsAndConditionsActivity) objArr[0];
int i11 = 2 % 2;
int i12 = s + 89;
q = i12 % 128;
int i13 = i12 % 2;
Context baseContext = mutualFundTermsAndConditionsActivity.getBaseContext();
if (baseContext == null) {
int i14 = s + 47;
q = i14 % 128;
int i15 = i14 % 2;
Object[] objArr2 = new Object[1];
aD(new char[]{20, '\"', 6, 19, 21, 18, '\r', 25, 19, NistHelper.SEP_FS, 31, 25, '\"', 11, '#', 22, '#', 21, ' ', '\n', 15, 7, 24, 30, 19, '\n'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 12), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 85, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aE(new char[]{14365, 10351, 14309, 59446, 29253, 65064, 24473, 48393, 11847, 35555, 29960, 47142, 52108, 34318, 22697, 51468, 24135, 4904}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_management_product_type).substring(10, 11).codePointAt(0) - 14, objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i16 = q + 91;
s = i16 % 128;
int i17 = i16 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i18 = s + 1;
q = i18 % 128;
int i19 = i18 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.getSize(0), View.MeasureSpec.getMode(0) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 487, TextUtils.getTrimmedLength("") + 5, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onResume();
return null;
}
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public static void d(Context context, boolean z, boolean z2) {
C14957gcv.e(context, "");
Intent intent = new Intent(context, (Class<?>) MutualFundTermsAndConditionsActivity.class);
intent.putExtra("EXTRA_GO_TO_DISCOVER_TAB", z);
intent.putExtra("EXTRA_GO_TO_MY_ALERT_TAB", z2);
context.startActivity(intent);
}
public /* synthetic */ IeS(byte b) {
this();
}
}
private static void aE(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
int i4 = $10 + 123;
$11 = i4 % 128;
int i5 = i4 % 2;
while (jtb.b < cArr.length) {
int i6 = $11 + 117;
$10 = i6 % 128;
int i7 = i6 % 2;
cArr3[i3] = cArr[jtb.b];
int i8 = 1;
cArr3[1] = cArr[jtb.b + 1];
int i9 = $10 + 109;
$11 = i9 % 128;
int i10 = i9 % 2;
int i11 = 58224;
int i12 = i3;
while (i12 < 16) {
char c = cArr3[i8];
char c2 = cArr3[i3];
char[] cArr4 = cArr3;
int i13 = (c2 + i11) ^ ((c2 << 4) + ((char) (r ^ 41718355337583039L)));
int i14 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(t);
objArr2[2] = Integer.valueOf(i14);
objArr2[i8] = Integer.valueOf(i13);
objArr2[0] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(413 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) View.combineMeasuredStates(0, 0));
byte b = (byte) 0;
Object[] objArr3 = new Object[i8];
aF(b, (byte) (b | 54), b, objArr3);
String str = (String) objArr3[0];
Class<?>[] clsArr = new Class[4];
clsArr[0] = Integer.TYPE;
clsArr[i8] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr4[i8] = charValue;
int i15 = i12;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i11) ^ ((charValue << 4) + ((char) (l ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(p)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - TextUtils.getCapsMode("", 0, 0), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aF(b2, (byte) (b2 | 54), b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i11 -= 40503;
i12 = i15 + 1;
cArr3 = cArr4;
i3 = 0;
i8 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777314, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) View.getDefaultSize(0, 0));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aF(b3, (byte) (b3 | 53), b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i3 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX WARN: Code restructure failed: missing block: B:26:0x00bd, code lost:
if (r3 > 99999) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x00b7, code lost:
if (r3 > 99999) goto L13;
*/
/* JADX WARN: Removed duplicated region for block: B:10:0x0341 */
/* JADX WARN: Removed duplicated region for block: B:13:0x035a */
/* JADX WARN: Removed duplicated region for block: B:19:0x039a */
/* JADX WARN: Removed duplicated region for block: B:22:? A[RETURN, SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:23:0x036b */
/* JADX WARN: Removed duplicated region for block: B:24:0x034c */
@Override // com.scb.phone.view.activity.tc.Hilt_MutualFundTermsAndConditionsActivity, 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 onCreate(android.os.Bundle r23) {
/*
Method dump skipped, instructions count: 1346
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.tc.MutualFundTermsAndConditionsActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = s + 91;
q = i2 % 128;
int i3 = i2 % 2;
String string = getString(R.string.data_sharing_tc_action_bar_title);
C14957gcv.c((Object) string, "");
int i4 = q + 27;
s = i4 % 128;
if (i4 % 2 == 0) {
return string;
}
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
Fragment fragment = new Fragment();
int i2 = s + 55;
q = i2 % 128;
int i3 = i2 % 2;
return fragment;
}
@Override // o.InterfaceC9657dnt.IeS
public final void b(String str) {
int i = 2 % 2;
int i2 = q + 111;
s = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
if ((!aq()) || TextUtils.isEmpty(str)) {
return;
}
Xb_(this, R.id.root_activity, str, EnumC8951daY.ERROR);
int i4 = q + 117;
s = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9652dno
public final void A() {
int i = 2 % 2;
int i2 = q + 59;
s = i2 % 128;
int i3 = i2 % 2;
startActivity(InvestmentDetailsActivity.agQ_(this, true, getIntent().getBooleanExtra("EXTRA_GO_TO_DISCOVER_TAB", false), getIntent().getBooleanExtra("EXTRA_GO_TO_MY_ALERT_TAB", false), getIntent().getBooleanExtra("EXTRA_BACK_HOME", false)));
finish();
int i4 = q + 103;
s = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 87 / 0;
}
}
@Override // o.InterfaceC9652dno
public final void a(C0371Fd c0371Fd) {
int i = 2 % 2;
int i2 = s + 53;
q = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(c0371Fd, "");
TermsAndConditionsFragment.HBt hBt = TermsAndConditionsFragment.c;
TermsAndConditionsFragment c = TermsAndConditionsFragment.HBt.c(c0371Fd);
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, c, null, 2);
a.b();
int i4 = s + 25;
q = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 21 / 0;
}
}
@Override // o.InterfaceC12853fJD
public final void d(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(this).c(R.string.tc_agree_dialog_title).d(R.string.tc_agree_dialog_message), Integer.valueOf(R.string.tc_agree_dialog_negative_button), new DialogInterface.OnClickListener() { // from class: o.eoi
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i2) {
MutualFundTermsAndConditionsActivity.amf_(dialogInterface);
}
}})).aoT_(R.string.tc_agree_dialog_positive_button, new DialogInterface.OnClickListener(this) { // from class: o.eof
private MutualFundTermsAndConditionsActivity a;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i2) {
MutualFundTermsAndConditionsActivity.amh_(this.a, dialogInterface);
}
{
this.a = this;
}
}).show();
int i2 = q + 81;
s = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 91 / 0;
}
}
@Override // o.InterfaceC12853fJD
public final void e(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(this).c(R.string.tc_investment_decline_dialog_title).d(R.string.tc_investment_decline_dialog_message), Integer.valueOf(R.string.tc_investment_decline_dialog_negative_button), new DialogInterface.OnClickListener() { // from class: o.eog
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i2) {
MutualFundTermsAndConditionsActivity.amg_(dialogInterface);
}
}})).aoT_(R.string.tc_investment_decline_dialog_positive_button, new DialogInterface.OnClickListener(this) { // from class: o.eoh
private MutualFundTermsAndConditionsActivity d;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i2) {
MutualFundTermsAndConditionsActivity.ame_(this.d, dialogInterface);
}
{
this.d = this;
}
}).show();
int i2 = s + 29;
q = i2 % 128;
int i3 = i2 % 2;
}
private static /* synthetic */ Object c(Object[] objArr) {
MutualFundTermsAndConditionsActivity mutualFundTermsAndConditionsActivity = (MutualFundTermsAndConditionsActivity) objArr[0];
int i = 2 % 2;
int i2 = q + 47;
s = i2 % 128;
int i3 = i2 % 2;
mutualFundTermsAndConditionsActivity.finish();
if (i3 == 0) {
return null;
}
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:44:0x014a, code lost:
if (r2.b == r2.c) goto L42;
*/
/* JADX WARN: Code restructure failed: missing block: B:46:0x017c, code lost:
r12 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2};
r4 = o.xzZ.y.get(822107368);
*/
/* JADX WARN: Code restructure failed: missing block: B:47:0x01cb, code lost:
if (r4 == null) goto L47;
*/
/* JADX WARN: Code restructure failed: missing block: B:51:0x0252, code lost:
if (((java.lang.Integer) ((java.lang.reflect.Method) r4).invoke(null, r12)).intValue() != r2.j) goto L58;
*/
/* JADX WARN: Code restructure failed: missing block: B:53:0x0256, code lost:
r7 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, java.lang.Integer.valueOf(r1), r2};
r4 = o.xzZ.y.get(-1152873385);
*/
/* JADX WARN: Code restructure failed: missing block: B:54:0x0294, code lost:
if (r4 == null) goto L55;
*/
/* JADX WARN: Code restructure failed: missing block: B:55:0x0296, code lost:
r11 = r4;
r4 = '0';
*/
/* JADX WARN: Code restructure failed: missing block: B:56:0x030f, code lost:
r12 = null;
r7 = ((java.lang.Integer) ((java.lang.reflect.Method) r11).invoke(null, r7)).intValue();
*/
/* JADX WARN: Code restructure failed: missing block: B:57:0x031c, code lost:
r11 = (r2.d * r1) + r2.j;
r5[r2.e] = r3[r7];
r5[r2.e + 1] = r3[r11];
*/
/* JADX WARN: Code restructure failed: missing block: B:59:0x0387, code lost:
r2.e += 2;
r7 = r4;
r4 = r12;
*/
/* JADX WARN: Code restructure failed: missing block: B:60:0x029d, code lost:
r4 = '0';
r11 = (java.lang.Class) o.xzZ.c(android.text.TextUtils.indexOf((java.lang.CharSequence) "", '0', 0, 0) + 328, 5 - android.view.View.getDefaultSize(0, 0), (char) (android.view.ViewConfiguration.getScrollDefaultDelay() >> 16));
r12 = (byte) 0;
r13 = (byte) (r12 + 2);
r15 = new java.lang.Object[1];
aF(r12, r13, (byte) (r13 - 2), r15);
r11 = r11.getMethod((java.lang.String) r15[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(-1152873385, r11);
*/
/* JADX WARN: Code restructure failed: missing block: B:61:0x0330, code lost:
r4 = '0';
r12 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:62:0x033a, code lost:
if (r2.a != r2.d) goto L61;
*/
/* JADX WARN: Code restructure failed: missing block: B:63:0x033c, code lost:
r7 = com.scb.phone.view.activity.tc.MutualFundTermsAndConditionsActivity.$10 + 85;
com.scb.phone.view.activity.tc.MutualFundTermsAndConditionsActivity.$11 = r7 % 128;
r7 = r7 % 2;
r2.f = ((r2.f + r1) - 1) % r1;
r2.j = ((r2.j + r1) - 1) % r1;
r7 = (r2.a * r1) + r2.f;
r11 = (r2.d * r1) + r2.j;
r5[r2.e] = r3[r7];
r5[r2.e + 1] = r3[r11];
*/
/* JADX WARN: Code restructure failed: missing block: B:65:0x036e, code lost:
r7 = (r2.a * r1) + r2.j;
r11 = (r2.d * r1) + r2.f;
r5[r2.e] = r3[r7];
r5[r2.e + 1] = r3[r11];
*/
/* JADX WARN: Code restructure failed: missing block: B:67:0x01ce, code lost:
r4 = (java.lang.Class) o.xzZ.c((android.os.Process.myPid() >> 22) + 233, 4 - android.text.TextUtils.indexOf("", r7, 0), (char) (22024 - android.view.KeyEvent.getDeadChar(0, 0)));
r7 = (byte) 0;
r13 = r7;
r14 = new java.lang.Object[1];
aF(r7, r13, r13, r14);
r4 = r4.getMethod((java.lang.String) r14[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(822107368, r4);
*/
/* JADX WARN: Code restructure failed: missing block: B:69:0x0160, code lost:
r5[r2.e] = (char) (r2.b - r27);
r5[r2.e + 1] = (char) (r2.c - r27);
r12 = r4;
r4 = r7;
*/
/* JADX WARN: Code restructure failed: missing block: B:72:0x015e, code lost:
if (r2.b == r2.c) goto L42;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aD(char[] r26, byte r27, int r28, java.lang.Object[] r29) {
/*
Method dump skipped, instructions count: 953
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.tc.MutualFundTermsAndConditionsActivity.aD(char[], byte, int, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.tc.Hilt_MutualFundTermsAndConditionsActivity, 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 onPause() {
int i = 2 % 2;
int i2 = q + 25;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new char[]{20, '\"', 6, 19, 21, 18, '\r', 25, 19, NistHelper.SEP_FS, 31, 25, '\"', 11, '#', 22, '#', 21, ' ', '\n', 15, 7, 24, 30, 19, '\n'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 12), 26 - ExpandableListView.getPackedPositionGroup(0L), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{14365, 10351, 14309, 59446, 29253, 65064, 24473, 48393, 11847, 35555, 29960, 47142, 52108, 34318, 22697, 51468, 24135, 4904}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = q + 11;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = q + 101;
s = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i8 = q + 59;
s = i8 % 128;
try {
if (i8 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getEdgeSlop() >> 16), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (ImageFormat.getBitsPerPixel(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(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')))).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(View.getDefaultSize(0, 0) + 492, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).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((ViewConfiguration.getTapTimeout() >> 16) + 487, ImageFormat.getBitsPerPixel(0) + 6, (char) (KeyEvent.getMaxKeyCode() >> 16))).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();
}
@Override // com.scb.phone.view.activity.tc.Hilt_MutualFundTermsAndConditionsActivity, 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) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new char[]{20, '\"', 6, 19, 21, 18, '\r', 25, 18, 2, 20, '\r', 19, 21, 6, NistHelper.SEP_FS, 13886, 13886}, (byte) (85 - (KeyEvent.getMaxKeyCode() >> 16)), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{48459, 16467, 49891, 19392, 64178, 18073}, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = s + 45;
q = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = q + 125;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((Process.myTid() >> 22) + 492, 5 - TextUtils.getCapsMode("", 0, 0), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE(new char[]{62103, 62200, 61323, 35678, 49543, 47298, 37209, 38343, 37071, 3947, 47126, 19760, 39111, 40669, 19547, 16121, 34636, 27597, 51757, 28803, 37560, 27293, 47728, 42076, 15079, 20361, 59700, 24027, 46729, 61799, 18910, 47534, 32790, 38904, 33420, 13177, 32049, 28860, 39303, 503, 29605, 38403, 20314, 20335, 13455, 29929, 48859, 11578}, 48 - (ViewConfiguration.getKeyRepeatDelay() >> 16), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD(new char[]{29, 6, NistHelper.SEP_FS, 25, 29, '\t', 3, 23, 27, 0, 21, '!', 21, '!', 0, '\b', 29, 3, '\t', '\f', '\t', NistHelper.SEP_FS, 23, 4, 15, NistHelper.SEP_FS, 16, 11, 21, 27, 23, '#', 13797, 13797, 4, 21, 5, 27, 13872, 13872, 29, '\t', 21, NistHelper.SEP_FS, 0, '\t', 29, '\t', 11, 25, ' ', '\b', 11, NistHelper.SEP_FS, 5, '\t', NistHelper.SEP_FS, 11, 11, 24, 29, '\t', 18, NistHelper.SEP_FS}, (byte) (56 - (KeyEvent.getMaxKeyCode() >> 16)), 64 - (ViewConfiguration.getTapTimeout() >> 16), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new char[]{23, NistHelper.SEP_FS, '\f', 17, NistHelper.SEP_FS, 22, 13832, 13832, 21, 27, '\f', NistHelper.SEP_FS, 17, 11, 23, '#', 23, '\n', 29, 14, 11, '\f', 3, 14, 11, NistHelper.SEP_FS, 27, 25, 24, NistHelper.SEP_FS, 19, '\t', 11, 17, 21, 4, '\t', 21, 13748, 13748, 5, 15, 4, 15, NistHelper.SEP_FS, '\b', NistHelper.SEP_FS, 25, 6, 29, 17, 27, '!', 27, 14, 29, 16, 23, NistHelper.SEP_FS, 20, 5, 27, '\b', 4}, (byte) (((Process.getThreadPriority(0) + 20) >> 6) + 9), TextUtils.getOffsetBefore("", 0) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{54443, 48046, 32822, 32345, 18538, 35098, 37327, 12554, 49929, 25879, 54060, 52307, 22336, 42915, 3412, 62598, 60844, 50944, 5991, 63499, 46935, 63162, 56177, 7068, 8683, 8185, 55499, 18774, 17314, 5468, 39427, 26917, 47876, 34993, 51450, 49325, 15675, 42139, 25660, 19728, 50377, 41790, 29245, 60615, 20309, 60211, 50377, 41790, 33124, 54112, 22336, 42915, 53749, 28415, 11867, 31342, 18427, 40665, 18603, 20888, 49183, 29746, 8560, 46859, 16824, 17400, 14844, 38701, 13915, 19714, 29253, 65064, 40736, 5720}, TextUtils.getCapsMode("", 0, 0) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new char[]{22, 20, 25, 23, 13849}, (byte) (111 - Drawable.resolveOpacity(0, 0)), ExpandableListView.getPackedPositionChild(0L) + 6, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{39427, 26917, 29605, 38403, 27104, 36706, 6437, 1740, 44263, 65144, 4994, 23722, 51115, 33143, 61700, 11013, 26790, 13776, 2672, 47805, 54374, 43825, 62249, 34908, 38848, 598, 47126, 19760, 28789, 34533, 59700, 24027, 24037, 3215, 34911, 32821}, ExpandableListView.getPackedPositionGroup(0L) + 36, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 487, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (MotionEvent.axisFromString("") + 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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
public static /* synthetic */ void ame_(MutualFundTermsAndConditionsActivity mutualFundTermsAndConditionsActivity, DialogInterface dialogInterface) {
int i = 2 % 2;
int i2 = q + 13;
s = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(mutualFundTermsAndConditionsActivity, "");
if (i3 != 0) {
dialogInterface.dismiss();
mutualFundTermsAndConditionsActivity.finish();
int i4 = 65 / 0;
} else {
dialogInterface.dismiss();
mutualFundTermsAndConditionsActivity.finish();
}
}
public static /* synthetic */ void amf_(DialogInterface dialogInterface) {
int i = 2 % 2;
int i2 = q + 55;
s = i2 % 128;
int i3 = i2 % 2;
dialogInterface.dismiss();
int i4 = s + 63;
q = i4 % 128;
int i5 = i4 % 2;
}
public static /* synthetic */ void amg_(DialogInterface dialogInterface) {
int i = 2 % 2;
int i2 = s + 107;
q = i2 % 128;
int i3 = i2 % 2;
dialogInterface.dismiss();
int i4 = q + 83;
s = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 9 / 0;
}
}
public static /* synthetic */ void amh_(MutualFundTermsAndConditionsActivity mutualFundTermsAndConditionsActivity, DialogInterface dialogInterface) {
int i = 2 % 2;
C14957gcv.e(mutualFundTermsAndConditionsActivity, "");
dialogInterface.dismiss();
C6191cLh c6191cLh = mutualFundTermsAndConditionsActivity.mPresenter;
if (c6191cLh != null) {
int i2 = s;
int i3 = i2 + 37;
q = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 107;
q = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
c6191cLh = null;
}
if (c6191cLh.f != 0) {
c6191cLh.f.y();
} else {
int i7 = q + 115;
s = i7 % 128;
int i8 = i7 % 2;
}
c6191cLh.b.e(EnumC13954fk.MUTUALFUND.name());
xFb xfb = c6191cLh.b;
xfb.d(xfb.i, new C6191cLh.Sts(c6191cLh));
}
public static final void d(Context context) {
int i = 2 % 2;
C14957gcv.e(context, "");
context.startActivity(new Intent(context, (Class<?>) MutualFundTermsAndConditionsActivity.class));
int i2 = q + 35;
s = i2 % 128;
int i3 = i2 % 2;
}
private static /* synthetic */ Object b(Object[] objArr) {
MutualFundTermsAndConditionsActivity mutualFundTermsAndConditionsActivity = (MutualFundTermsAndConditionsActivity) objArr[0];
int i = 2 % 2;
int i2 = s + 99;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 35;
q = i4 % 128;
int i5 = i4 % 2;
return null;
}
static void f() {
m = new char[]{49088, 49094, 49028, 49030, 49112, 49031, 49026, 49111, 49098, 49115, 49104, 49105, 49090, 49127, 49123, 49025, 49024, 49027, 49089, 49053, 49116, 49034, 49106, 49114, 49110, 49091, 49109, 49029, 49092, 49035, 49113, 49119, 49117, 49093, 49095, 49138};
f7957o = (char) 35375;
l = (char) 34373;
p = (char) 319;
r = (char) 17851;
t = (char) 18334;
}
@Override // com.scb.phone.view.activity.tc.Hilt_MutualFundTermsAndConditionsActivity, 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() {
d(new Object[]{this}, -1764787574, 1764787574, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 102658154);
}
@Override // com.scb.phone.view.activity.tc.Hilt_MutualFundTermsAndConditionsActivity, 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() {
d(new Object[]{this}, -1787439130, 1787439131, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 1674916495);
}
@Override // o.InterfaceC12828fIc
public final void h() {
d(new Object[]{this}, 1149536084, -1149536082, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 915556506);
}
public static final void c(Context context, boolean z, boolean z2) {
int i = 2 % 2;
int i2 = s + 63;
q = i2 % 128;
int i3 = i2 % 2;
IeS.d(context, z, z2);
if (i3 == 0) {
throw null;
}
}
static {
q = 1;
f();
k = new IeS((byte) 0);
int i = s + 59;
q = i % 128;
int i2 = i % 2;
}
}