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

1047 lines
43 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.investment;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
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.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
import androidx.viewpager2.widget.ViewPager2;
import butterknife.BindView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.android.material.tabs.TabLayout;
import com.google.common.base.Ascii;
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 java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC8668dSQ;
import o.C0690Mh;
import o.C0693Mj;
import o.C12016eqJ;
import o.C12305evh;
import o.C15715hv;
import o.C2402adt;
import o.C3614bBe;
import o.C4403bZM;
import o.C5745byp;
import o.InterfaceC12822fIN;
import o.InterfaceC13391fZD;
import o.InterfaceC13752fgJ;
import o.InterfaceC13774fgf;
import o.InterfaceC6627cYe;
import o.MrX;
import o.mfY;
import o.nMh;
import o.xzZ;
/* loaded from: classes4.dex */
public class InvestmentDetailsActivity extends AbstractActivityC8668dSQ implements InterfaceC6627cYe.jbe, InterfaceC12822fIN {
@InterfaceC13391fZD
public C2402adt goInvestmentPresenter;
private C12016eqJ l;
private InterfaceC13752fgJ m;
/* renamed from: o, reason: collision with root package name */
private InterfaceC13774fgf f7432o;
@BindView
protected TabLayout tabLayout;
@BindView
protected ViewPager2 viewPager;
private static final byte[] $$p = {ISO7816.INS_PSO, ISOFileInfo.FCP_BYTE, 99, -29};
private static final int $$q = 22;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int x = 1;
private static char[] k = {15912, 15909, 15915, 15961, 15910, 15904, 16101, 15962, 15879, 15914, 15916, 15896, 15902, 15899, 15913, 15898, 15917, 15888, 15897, 15903, 15901, 15900, 16103, 15919, 15963, 15911, 15889, 16102, 15908, 15907, 15906, 15918, 15964, 15960, 15965, 16100};
private static int s = 1934311127;
private static boolean q = true;
private static boolean r = true;
private static int[] t = {1049469397, -287501636, 1427511771, 1007311314, -1108232054, 1692444057, -1701380626, 1476215749, 2055420977, -1454414057, 2025879887, 991530909, -2028029739, 1917593658, 317525537, -1636430841, 1199722392, -1290923024};
private static void aC(byte b, byte b2, int i, Object[] objArr) {
int i2 = b2 * 3;
int i3 = 122 - i;
int i4 = b + 4;
byte[] bArr = $$p;
byte[] bArr2 = new byte[i2 + 1];
int i5 = -1;
if (bArr == null) {
i3 = (-i3) + i2;
i5 = -1;
}
while (true) {
int i6 = i5 + 1;
i4++;
bArr2[i6] = (byte) i3;
if (i6 == i2) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i3 = (-bArr[i4]) + i3;
i5 = i6;
}
}
}
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 * (-575)) + (i2 * (-575)) + (((~(i5 | i3)) | i6) * 576) + (((~(i | (~i3) | i5)) | (~(i2 | i4))) * 576) + (i6 * 576);
return i7 != 1 ? i7 != 2 ? b(objArr) : a(objArr) : d(objArr);
}
public static Intent agP_(Context context) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) InvestmentDetailsActivity.class);
int i2 = x + 19;
p = i2 % 128;
int i3 = i2 % 2;
return intent;
}
public static Intent agQ_(Context context, boolean z, boolean z2, boolean z3, boolean z4) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) InvestmentDetailsActivity.class);
intent.putExtra("EXTRA_BYPASS_TERM_AND_CON", z);
intent.putExtra("EXTRA_GO_TO_DISCOVER_TAB", z2);
intent.putExtra("EXTRA_GO_TO_MY_ALERT_TAB", z3);
intent.putExtra("EXTRA_BACK_HOME", z4);
int i2 = p + 121;
x = i2 % 128;
int i3 = i2 % 2;
return intent;
}
public static Intent agO_(Context context) {
int i = 2 % 2;
int i2 = p + 31;
x = i2 % 128;
int i3 = i2 % 2;
Intent agQ_ = agQ_(context, false, true, false, false);
int i4 = x + 93;
p = i4 % 128;
int i5 = i4 % 2;
return agQ_;
}
public static Intent agR_(Context context) {
int i = 2 % 2;
int i2 = p + 79;
x = i2 % 128;
int i3 = i2 % 2;
Intent agQ_ = agQ_(context, false, false, true, false);
int i4 = x + 43;
p = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 55 / 0;
}
return agQ_;
}
private static void aB(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int i2 = 2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = t;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i7 = 0;
while (i7 < length) {
int i8 = $10 + 15;
$11 = i8 % 128;
int i9 = i8 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i6] = Integer.valueOf(iArr3[i7]);
Object obj = xzZ.y.get(Integer.valueOf(i4));
if (obj == null) {
Class cls = (Class) xzZ.c(Color.red(i6) + 15, KeyEvent.keyCodeFromString("") + 5, (char) (58134 - View.getDefaultSize(i6, i6)));
Class<?>[] clsArr = new Class[1];
clsArr[i6] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7++;
i2 = 2;
i4 = 729798706;
i6 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = t;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i10 = $10 + 7;
$11 = i10 % 128;
int i11 = i10 % 2;
int i12 = 0;
while (i12 < length3) {
try {
Object[] objArr3 = new Object[i5];
objArr3[0] = Integer.valueOf(iArr6[i12]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
} else {
obj2 = ((Class) xzZ.c(15 - View.combineMeasuredStates(0, 0), 5 - (Process.myPid() >> 22), (char) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 58134))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
xzZ.y.put(729798706, obj2);
}
iArr7[i12] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i12++;
iArr6 = iArr2;
i5 = 1;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr6 = iArr7;
}
char c = 0;
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
cArr[c] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i13 = 0;
for (int i14 = 16; i13 < i14; i14 = 16) {
int i15 = $10 + 45;
$11 = i15 % 128;
if (i15 % 2 == 0) {
c4403bZM.e ^= iArr5[i13];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 118, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) View.resolveSize(0, 0));
byte b = (byte) (-1);
byte b2 = (byte) (b + 1);
Object[] objArr5 = new Object[1];
aC(b, b2, (byte) (b2 | Ascii.DC2), objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i13 += 109;
} else {
c4403bZM.e ^= iArr5[i13];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(117 - MotionEvent.axisFromString(""), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr7 = new Object[1];
aC(b3, b4, (byte) (b4 | Ascii.DC2), objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i13++;
}
}
int i16 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i16;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i17 = c4403bZM.e;
int i18 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls4 = (Class) xzZ.c(98 - View.combineMeasuredStates(0, 0), 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) ('0' - AndroidCharacter.getMirror('0')));
byte b5 = (byte) (-1);
byte b6 = (byte) (b5 + 1);
Object[] objArr9 = new Object[1];
aC(b5, b6, (byte) (b6 | Ascii.DC4), objArr9);
obj5 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
c = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
private static void aA(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2;
char[] cArr2;
Object method;
int i3;
char[] cArr3;
int i4 = 2;
int i5 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr4 = k;
char c = '0';
int i6 = -1;
int i7 = 0;
if (cArr4 != null) {
int length = cArr4.length;
char[] cArr5 = new char[length];
int i8 = $11 + 101;
$10 = i8 % 128;
int i9 = i8 % 2;
int i10 = 0;
while (i10 < length) {
int i11 = $10 + 65;
$11 = i11 % 128;
int i12 = i11 % i4;
try {
Object[] objArr2 = new Object[1];
objArr2[i7] = Integer.valueOf(cArr4[i10]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (KeyEvent.getMaxKeyCode() >> 16), TextUtils.indexOf("", c, i7, i7) + 6, (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b = (byte) i6;
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 | 57), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr5[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
i4 = 2;
c = '0';
i6 = -1;
i7 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr4 = cArr5;
}
try {
Object[] objArr4 = {Integer.valueOf(s)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 283, TextUtils.indexOf("", "") + 5, (char) ((ViewConfiguration.getTouchSlop() >> 8) + 39813));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
aC(b3, b4, b4, 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 i13 = $11 + 69;
$10 = i13 % 128;
if (i13 % 2 != 0) {
c3614bBe.c = bArr.length;
cArr2 = new char[c3614bBe.c];
i2 = 0;
} else {
i2 = 0;
c3614bBe.c = bArr.length;
cArr2 = new char[c3614bBe.c];
}
c3614bBe.a = i2;
while (c3614bBe.a < c3614bBe.c) {
int i14 = $11 + 39;
$10 = i14 % 128;
if (i14 % 2 != 0) {
int i15 = c3614bBe.a;
int i16 = c3614bBe.c;
int i17 = c3614bBe.a;
cArr2[i15] = (char) (cArr4[bArr[0] >>> i] >> intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.getDefaultSize(0, 0) + 40, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) KeyEvent.keyCodeFromString(""))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
} else {
cArr2[c3614bBe.a] = (char) (cArr4[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 != null) {
method = obj4;
} else {
method = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 41, 5 - ExpandableListView.getPackedPositionType(0L), (char) View.resolveSize(0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, method);
}
((Method) method).invoke(null, objArr7);
}
}
objArr[0] = new String(cArr2);
return;
}
if (q) {
int i18 = $11 + 1;
$10 = i18 % 128;
if (i18 % 2 != 0) {
c3614bBe.c = cArr.length;
cArr3 = new char[c3614bBe.c];
i3 = 0;
} else {
i3 = 0;
c3614bBe.c = cArr.length;
cArr3 = new char[c3614bBe.c];
}
c3614bBe.a = i3;
while (c3614bBe.a < c3614bBe.c) {
int i19 = $10 + 105;
$11 = i19 % 128;
int i20 = i19 % 2;
cArr3[c3614bBe.a] = (char) (cArr4[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 40, 5 - Drawable.resolveOpacity(0, 0), (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("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
objArr[0] = new String(cArr3);
return;
}
int i21 = 0;
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i21;
if (c3614bBe.a >= c3614bBe.c) {
String str = new String(cArr6);
int i22 = $10 + 17;
$11 = i22 % 128;
int i23 = i22 % 2;
objArr[0] = str;
return;
}
cArr6[c3614bBe.a] = (char) (cArr4[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i21 = c3614bBe.a + 1;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x00b5, code lost:
if (r3 > 99999) goto L6;
*/
@Override // o.AbstractActivityC8668dSQ, 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 void onCreate(android.os.Bundle r18) {
/*
Method dump skipped, instructions count: 1192
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.InvestmentDetailsActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = p + 69;
x = i2 % 128;
if (i2 % 2 == 0) {
super.Z();
p(getString(R.string.investment_details_title));
ac();
int i3 = 90 / 0;
} else {
super.Z();
p(getString(R.string.investment_details_title));
ac();
}
int i4 = x + 113;
p = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 35 / 0;
}
}
private static /* synthetic */ Object b(Object[] objArr) {
InvestmentDetailsActivity investmentDetailsActivity = (InvestmentDetailsActivity) objArr[0];
boolean booleanValue = ((Boolean) objArr[1]).booleanValue();
boolean booleanValue2 = ((Boolean) objArr[2]).booleanValue();
boolean booleanValue3 = ((Boolean) objArr[3]).booleanValue();
boolean booleanValue4 = ((Boolean) objArr[4]).booleanValue();
boolean booleanValue5 = ((Boolean) objArr[5]).booleanValue();
int i = 2 % 2;
investmentDetailsActivity.y();
investmentDetailsActivity.viewPager.setAdapter(new C12305evh(investmentDetailsActivity, booleanValue, booleanValue2, booleanValue3, booleanValue4, booleanValue5));
investmentDetailsActivity.viewPager.setOffscreenPageLimit(2);
investmentDetailsActivity.viewPager.setUserInputEnabled(false);
TabLayout tabLayout = investmentDetailsActivity.tabLayout;
TabLayout.IeS ieS = new TabLayout.IeS(investmentDetailsActivity) { // from class: com.scb.phone.view.activity.investment.InvestmentDetailsActivity.3
private InvestmentDetailsActivity e;
@Override // com.google.android.material.tabs.TabLayout.Sts
public final void d(TabLayout.RVV rvv) {
}
{
this.e = investmentDetailsActivity;
}
@Override // com.google.android.material.tabs.TabLayout.Sts
public final void e(TabLayout.RVV rvv) {
this.e.goInvestmentPresenter.e(rvv.i);
}
@Override // com.google.android.material.tabs.TabLayout.Sts
public final void a(TabLayout.RVV rvv) {
if (rvv.i == 2) {
this.e.goInvestmentPresenter.c();
}
}
};
if (!tabLayout.d.contains(ieS)) {
int i2 = p + 81;
x = i2 % 128;
int i3 = i2 % 2;
tabLayout.d.add(ieS);
}
investmentDetailsActivity.l = new C12016eqJ(investmentDetailsActivity, new int[]{C15715hv.tOB.portfolio, C15715hv.tOB.wealth4u, C15715hv.tOB.my_alert}, Float.valueOf(r11.getItemCount()), true);
new MrX(investmentDetailsActivity.tabLayout, investmentDetailsActivity.viewPager, investmentDetailsActivity.l).b();
investmentDetailsActivity.goInvestmentPresenter.c();
int i4 = p + 17;
x = i4 % 128;
if (i4 % 2 != 0) {
return null;
}
throw null;
}
@Override // o.InterfaceC6627cYe.jbe
public final void d(boolean z) {
int i = 2 % 2;
int i2 = p + 105;
x = i2 % 128;
C5745byp c5745byp = null;
if (i2 % 2 == 0) {
throw null;
}
C12016eqJ c12016eqJ = this.l;
if (c12016eqJ != null) {
TabLayout.RVV rvv = c12016eqJ.e.get(2);
if (rvv != null) {
int i3 = p + 1;
x = i3 % 128;
int i4 = i3 % 2;
c5745byp = rvv.c();
int i5 = x + 31;
p = i5 % 128;
int i6 = i5 % 2;
}
if (c5745byp != null) {
c5745byp.d(z);
}
}
}
@Override // o.InterfaceC6627cYe.jbe
public final void c(boolean z, boolean z2) {
int i = 2 % 2;
int i2 = x + 31;
p = i2 % 128;
int i3 = i2 % 2;
MutualFundTermsAndConditionsActivity.c(this, z, z2);
finish();
int i4 = x + 5;
p = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC6627cYe.jbe
public final void c() {
int i = 2 % 2;
C0693Mj c0693Mj = new C0693Mj();
c0693Mj.c = getString(R.string.investment_term_error);
C0690Mh c0690Mh = new C0690Mh();
c0690Mh.e = C0690Mh.IeS.NAVIGATE_BACK;
c0690Mh.b = getString(R.string.ok);
c0693Mj.e = c0690Mh;
e(c0693Mj);
int i2 = p + 79;
x = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 16 / 0;
}
}
/* JADX WARN: Code restructure failed: missing block: B:10:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x001b, code lost:
r2.i();
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x001e, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:14: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:0x001f, code lost:
r2 = r4.f7432o;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0021, code lost:
if (r2 == null) goto L15;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x0023, code lost:
r1 = r1 + 3;
com.scb.phone.view.activity.investment.InvestmentDetailsActivity.p = r1 % 128;
r1 = r1 % 2;
r2.h();
r1 = com.scb.phone.view.activity.investment.InvestmentDetailsActivity.p + 15;
com.scb.phone.view.activity.investment.InvestmentDetailsActivity.x = r1 % 128;
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0036, code lost:
return;
*/
@Override // o.InterfaceC6627cYe.jbe
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void e() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.investment.InvestmentDetailsActivity.x
int r2 = r1 + 77
int r3 = r2 % 128
com.scb.phone.view.activity.investment.InvestmentDetailsActivity.p = r3
int r2 = r2 % r0
if (r2 == 0) goto L17
o.fgJ r2 = r4.m
r3 = 55
int r3 = r3 / 0
if (r2 == 0) goto L1f
goto L1b
L17:
o.fgJ r2 = r4.m
if (r2 == 0) goto L1f
L1b:
r2.i()
return
L1f:
o.fgf r2 = r4.f7432o
if (r2 == 0) goto L36
int r1 = r1 + 3
int r3 = r1 % 128
com.scb.phone.view.activity.investment.InvestmentDetailsActivity.p = r3
int r1 = r1 % r0
r2.h()
int r1 = com.scb.phone.view.activity.investment.InvestmentDetailsActivity.p
int r1 = r1 + 15
int r2 = r1 % 128
com.scb.phone.view.activity.investment.InvestmentDetailsActivity.x = r2
int r1 = r1 % r0
L36:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.InvestmentDetailsActivity.e():void");
}
@Override // o.InterfaceC6627cYe.jbe
public final void d() {
TabLayout.RVV a;
int i = 2 % 2;
int i2 = p + 117;
x = i2 % 128;
if (i2 % 2 != 0 ? (a = this.tabLayout.a(1)) == null : (a = this.tabLayout.a(0)) == null) {
int i3 = p + 45;
x = i3 % 128;
int i4 = i3 % 2;
return;
}
TabLayout tabLayout = a.h;
if (tabLayout == null) {
throw new IllegalArgumentException("Tab not attached to a TabLayout");
}
int i5 = x + 115;
p = i5 % 128;
int i6 = i5 % 2;
tabLayout.a(a, true);
}
private static /* synthetic */ Object d(Object[] objArr) {
int i = 2 % 2;
TabLayout.RVV a = ((InvestmentDetailsActivity) objArr[0]).tabLayout.a(2);
if (a == null) {
return null;
}
TabLayout tabLayout = a.h;
if (tabLayout == null) {
throw new IllegalArgumentException("Tab not attached to a TabLayout");
}
int i2 = p + 5;
x = i2 % 128;
int i3 = i2 % 2;
tabLayout.a(a, true);
int i4 = p + 37;
x = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 1 / 0;
}
return null;
}
private static /* synthetic */ Object a(Object[] objArr) {
InvestmentDetailsActivity investmentDetailsActivity = (InvestmentDetailsActivity) objArr[0];
mfY mfy = (mfY) objArr[1];
int i = 2 % 2;
int i2 = x + 113;
p = i2 % 128;
if (i2 % 2 != 0) {
investmentDetailsActivity.goInvestmentPresenter.b(mfy);
throw null;
}
investmentDetailsActivity.goInvestmentPresenter.b(mfy);
int i3 = p + 115;
x = i3 % 128;
if (i3 % 2 != 0) {
return null;
}
throw null;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = p + 113;
x = i2 % 128;
int i3 = i2 % 2;
this.f7432o.j();
int i4 = x + 109;
p = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC12822fIN
public final void e(final int i, final int i2) {
int i3 = 2 % 2;
runOnUiThread(new Runnable(this, i, i2) { // from class: o.dSN
private int a;
private InvestmentDetailsActivity c;
private int d;
@Override // java.lang.Runnable
public final void run() {
InvestmentDetailsActivity.c(this.c, this.a, this.d);
}
{
this.c = this;
this.a = i;
this.d = i2;
}
});
int i4 = p + 33;
x = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC12822fIN
public final void d(final int i) {
int i2 = 2 % 2;
runOnUiThread(new Runnable(this, i) { // from class: o.dSO
private InvestmentDetailsActivity b;
private int d;
@Override // java.lang.Runnable
public final void run() {
InvestmentDetailsActivity.c(this.b, this.d);
}
{
this.b = this;
this.d = i;
}
});
int i3 = p + 13;
x = i3 % 128;
if (i3 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC8668dSQ, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new int[]{1110926673, 488426013, -599077441, -1364734200, 219176095, -1990273902, 758335659, 2019366507, -1505655124, 419939883, 2131925266, -1254345963, -1863272492, 1961241379}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{-663214548, 632924439, -512566856, -307592885, 1704605944, -1101381688, -334200238, -1463123144, -254244992, -141522923}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = x + 35;
p = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 3 % 3;
}
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 492, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) View.MeasureSpec.getSize(0))).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(View.resolveSizeAndState(0, 0, 0) + 487, Color.green(0) + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).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();
int i4 = x + 13;
p = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.AbstractActivityC8668dSQ, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = x + 59;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new int[]{1110926673, 488426013, -599077441, -1364734200, 219176095, -1990273902, 758335659, 2019366507, -1505655124, 419939883, 2131925266, -1254345963, -1863272492, 1961241379}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.modify_quick_balance_next).substring(0, 1).codePointAt(0) - 36, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{-663214548, 632924439, -512566856, -307592885, 1704605944, -1101381688, -334200238, -1463123144, -254244992, -141522923}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_document_uploaded_files).substring(0, 3).codePointAt(2) - 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0, 0), Color.green(0) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 487, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = x + 49;
p = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x006d, code lost:
if (r2 > 99999) goto L6;
*/
@Override // o.AbstractActivityC8668dSQ, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r14) {
/*
Method dump skipped, instructions count: 728
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.InvestmentDetailsActivity.attachBaseContext(android.content.Context):void");
}
public static /* synthetic */ void c(InvestmentDetailsActivity investmentDetailsActivity, int i, int i2) {
int i3 = 2 % 2;
int i4 = p + 81;
x = i4 % 128;
if (i4 % 2 != 0) {
investmentDetailsActivity.mToolbar.setVisibility(i);
investmentDetailsActivity.getWindow().setStatusBarColor(nMh.getColor(investmentDetailsActivity, i2));
} else {
investmentDetailsActivity.mToolbar.setVisibility(i);
investmentDetailsActivity.getWindow().setStatusBarColor(nMh.getColor(investmentDetailsActivity, i2));
Object obj = null;
obj.hashCode();
throw null;
}
}
public static /* synthetic */ void c(InvestmentDetailsActivity investmentDetailsActivity, int i) {
int i2 = 2 % 2;
int i3 = x + 107;
p = i3 % 128;
int i4 = i3 % 2;
TabLayout tabLayout = investmentDetailsActivity.tabLayout;
if (i4 != 0) {
tabLayout.setVisibility(i);
int i5 = 77 / 0;
} else {
tabLayout.setVisibility(i);
}
}
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ void e(InvestmentDetailsActivity investmentDetailsActivity, Fragment fragment) {
int i = 2 % 2;
if (fragment instanceof InterfaceC13752fgJ) {
int i2 = p + 119;
x = i2 % 128;
if (i2 % 2 != 0) {
investmentDetailsActivity.m = (InterfaceC13752fgJ) fragment;
return;
} else {
investmentDetailsActivity.m = (InterfaceC13752fgJ) fragment;
throw null;
}
}
if (!(fragment instanceof InterfaceC13774fgf)) {
return;
}
int i3 = p + 11;
x = i3 % 128;
int i4 = i3 % 2;
investmentDetailsActivity.f7432o = (InterfaceC13774fgf) fragment;
}
@Override // o.AbstractActivityC8668dSQ, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = x + 85;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 111;
x = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC6627cYe.jbe
public final void b() {
d(new Object[]{this}, 623137387, -623137386, ((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) + 233412446);
}
@Override // o.InterfaceC6627cYe.jbe
public final void d(mfY mfy) {
d(new Object[]{this, mfy}, -650831374, 650831376, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 1611043849);
}
@Override // o.InterfaceC6627cYe.jbe
public final void b(boolean z, boolean z2, boolean z3, boolean z4, boolean z5) {
Object[] objArr = {this, Boolean.valueOf(z), Boolean.valueOf(z2), Boolean.valueOf(z3), Boolean.valueOf(z4), Boolean.valueOf(z5)};
d(objArr, 630256435, -630256435, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 706850391);
}
}