what-the-bank/sources/com/scb/phone/view/activity/cardmanagement/BaseAmortizationActivity.java

888 lines
48 KiB
Java

package com.scb.phone.view.activity.cardmanagement;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.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.view.ViewGroup;
import android.widget.ExpandableListView;
import android.widget.LinearLayout;
import android.widget.Spinner;
import androidx.appcompat.widget.AppCompatButton;
import androidx.appcompat.widget.AppCompatImageButton;
import androidx.appcompat.widget.AppCompatTextView;
import androidx.core.widget.NestedScrollView;
import androidx.fragment.app.Fragment;
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.BaseActivity;
import com.scb.phone.view.activity.cardmanagement.BaseAmortizationActivity;
import com.scb.phone.view.custom.common.RealWrapContentViewPager;
import com.scb.phone.view.fragment.cardmanagement.AmortizationBreakdownAmountTabFragment;
import com.scb.phone.view.fragment.cardmanagement.AmortizationTotalAmountTabFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC14961gcz;
import o.C14957gcv;
import o.C16420oGW;
import o.DFY;
import o.GJ;
import o.IRS;
import o.InterfaceC13393fZL;
import o.InterfaceC14890gbN;
import o.InterfaceC8998dbS;
import o.MoT;
import o.RunnableC9992duO;
import o.TeF;
import o.fZZ;
import o.qeC;
import o.xzZ;
import o.yRS;
import org.bouncycastle.crypto.signers.PSSSigner;
/* loaded from: classes4.dex */
public abstract class BaseAmortizationActivity extends BaseActivity implements InterfaceC8998dbS {
private static int k;
private static int l;
/* renamed from: o */
private static int f6618o;
private static int p;
private static byte[] q;
private static short[] r;
private static char[] s;
private static char t;
private final InterfaceC13393fZL b;
private C16420oGW m;
private static final byte[] $$p = {46, -23, 1, -23};
private static final int $$q = 119;
private static int $10 = 0;
private static int $11 = 1;
private static int w = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x0028). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(short r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 3
int r7 = 1 - r7
byte[] r0 = com.scb.phone.view.activity.cardmanagement.BaseAmortizationActivity.$$p
int r8 = r8 * 2
int r8 = 3 - r8
int r6 = r6 + 108
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L14
r3 = r7
r5 = r2
goto L28
L14:
r3 = r2
L15:
byte r4 = (byte) r6
int r5 = r3 + 1
r1[r3] = r4
int r8 = r8 + 1
if (r5 != r7) goto L26
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L26:
r3 = r0[r8]
L28:
int r6 = r6 + r3
r3 = r5
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.BaseAmortizationActivity.aC(short, short, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
BaseAmortizationActivity baseAmortizationActivity = (BaseAmortizationActivity) objArr[0];
GJ gj = (GJ) objArr[1];
int i4 = 2 % 2;
C14957gcv.e(gj, "");
TeF teF = (TeF) baseAmortizationActivity.b.e();
teF.i.setAdapter(new HBt(gj, baseAmortizationActivity, baseAmortizationActivity.getSupportFragmentManager()));
TeF teF2 = (TeF) baseAmortizationActivity.b.e();
teF2.d.post(new RunnableC9992duO(0, teF2));
teF.j.setupWithViewPager(teF.i);
int i5 = p + 17;
w = i5 % 128;
int i6 = i5 % 2;
return null;
}
public BaseAmortizationActivity() {
IeS ieS = new IeS(this);
C14957gcv.e(ieS, "");
this.b = new fZZ(ieS);
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14890gbN<TeF> {
private BaseAmortizationActivity e;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ TeF invoke() {
View inflate = this.e.getLayoutInflater().inflate(R.layout.2131558499, (ViewGroup) null, false);
int i = R.id.btnNext;
AppCompatButton appCompatButton = (AppCompatButton) qeC.e(inflate, R.id.btnNext);
if (appCompatButton != null) {
i = R.id.btnScrollDown;
AppCompatImageButton appCompatImageButton = (AppCompatImageButton) qeC.e(inflate, R.id.btnScrollDown);
if (appCompatImageButton != null) {
i = R.id.layoutFilterOptions;
LinearLayout linearLayout = (LinearLayout) qeC.e(inflate, R.id.layoutFilterOptions);
if (linearLayout != null) {
i = R.id.nsvRoot;
NestedScrollView nestedScrollView = (NestedScrollView) qeC.e(inflate, R.id.nsvRoot);
if (nestedScrollView != null) {
i = R.id.spFilterOptions;
Spinner spinner = (Spinner) qeC.e(inflate, R.id.spFilterOptions);
if (spinner != null) {
i = R.id.tabAmortization;
TabLayout tabLayout = (TabLayout) qeC.e(inflate, R.id.tabAmortization);
if (tabLayout != null) {
i = R.id.tvMessageBottom;
AppCompatTextView appCompatTextView = (AppCompatTextView) qeC.e(inflate, R.id.tvMessageBottom);
if (appCompatTextView != null) {
i = R.id.tvMessageTop;
AppCompatTextView appCompatTextView2 = (AppCompatTextView) qeC.e(inflate, R.id.tvMessageTop);
if (appCompatTextView2 != null) {
i = R.id.vpAmortization;
RealWrapContentViewPager realWrapContentViewPager = (RealWrapContentViewPager) qeC.e(inflate, R.id.vpAmortization);
if (realWrapContentViewPager != null) {
return new TeF((LinearLayout) inflate, appCompatButton, appCompatImageButton, linearLayout, nestedScrollView, spinner, tabLayout, appCompatTextView, appCompatTextView2, realWrapContentViewPager);
}
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(BaseAmortizationActivity baseAmortizationActivity) {
super(0);
this.e = baseAmortizationActivity;
}
}
public final TeF h() {
int i = 2 % 2;
int i2 = w + 41;
p = i2 % 128;
int i3 = i2 % 2;
TeF teF = (TeF) this.b.e();
int i4 = w + 35;
p = i4 % 128;
if (i4 % 2 == 0) {
return teF;
}
throw null;
}
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
/* loaded from: classes4.dex */
public static final class HBt extends MoT {
private GJ b;
private BaseAmortizationActivity d;
@Override // o.WYJ
public final int getCount() {
return 2;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(GJ gj, BaseAmortizationActivity baseAmortizationActivity, yRS yrs) {
super(yrs);
this.b = gj;
this.d = baseAmortizationActivity;
}
@Override // o.MoT
public final Fragment b(int i) {
if (i == 0) {
AmortizationTotalAmountTabFragment.LWm lWm = AmortizationTotalAmountTabFragment.d;
GJ gj = this.b;
AmortizationTotalAmountTabFragment amortizationTotalAmountTabFragment = new AmortizationTotalAmountTabFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("EXTRA_SUMMARY_DISPLAY", gj);
amortizationTotalAmountTabFragment.setArguments(bundle);
return amortizationTotalAmountTabFragment;
}
AmortizationBreakdownAmountTabFragment.IeS ieS = AmortizationBreakdownAmountTabFragment.d;
GJ gj2 = this.b;
AmortizationBreakdownAmountTabFragment amortizationBreakdownAmountTabFragment = new AmortizationBreakdownAmountTabFragment();
Bundle bundle2 = new Bundle();
bundle2.putParcelable("EXTRA_SUMMARY_DISPLAY", gj2);
amortizationBreakdownAmountTabFragment.setArguments(bundle2);
return amortizationBreakdownAmountTabFragment;
}
@Override // o.WYJ
public final CharSequence getPageTitle(int i) {
if (i == 0) {
String string = this.d.getString(R.string.deejung_amortization_total_amount_tab);
C14957gcv.c((Object) string, "");
return string;
}
String string2 = this.d.getString(R.string.deejung_amortization_breakdown_amount_tab);
C14957gcv.c((Object) string2, "");
return string2;
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x015b, code lost:
if (r3 > 99999) goto L47;
*/
/* JADX WARN: Removed duplicated region for block: B:12:0x077e */
/* JADX WARN: Removed duplicated region for block: B:8:0x076f */
@Override // 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 r32) {
/*
Method dump skipped, instructions count: 2003
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.BaseAmortizationActivity.onCreate(android.os.Bundle):void");
}
private static void aA(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
int i4;
int i5;
int i6;
int i7 = 2;
int i8 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
int i9 = 1;
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(f6618o)};
Object obj = xzZ.y.get(-2092856797);
long j = 0;
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 338, KeyEvent.normalizeMetaState(0) + 5, (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))));
byte b2 = (byte) ($$q & 10);
byte b3 = (byte) (b2 - 2);
Object[] objArr3 = new Object[1];
aC(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
if (intValue == -1) {
int i10 = $11 + 17;
$10 = i10 % 128;
int i11 = i10 % 2;
i4 = 1;
} else {
i4 = 0;
}
int i12 = 4;
if (i4 != 0) {
byte[] bArr = q;
if (bArr != null) {
int length = bArr.length;
byte[] bArr2 = new byte[length];
int i13 = 0;
while (i13 < length) {
int i14 = $11 + 31;
$10 = i14 % 128;
if (i14 % i7 != 0) {
Object[] objArr4 = new Object[i9];
objArr4[0] = Integer.valueOf(bArr[i13]);
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 60, (SystemClock.uptimeMillis() > j ? 1 : (SystemClock.uptimeMillis() == j ? 0 : -1)) + i12, (char) ((-1) - ImageFormat.getBitsPerPixel(0)));
byte b4 = (byte) ($$p[2] - 1);
byte b5 = b4;
Object[] objArr5 = new Object[1];
aC(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr2[i13] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
} else {
Object[] objArr6 = {Integer.valueOf(bArr[i13])};
Object obj3 = xzZ.y.get(-1648115392);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(59 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - View.combineMeasuredStates(0, 0), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b6 = (byte) ($$p[2] - 1);
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj3);
}
bArr2[i13] = ((Byte) ((Method) obj3).invoke(null, objArr6)).byteValue();
i13++;
}
i7 = 2;
i9 = 1;
j = 0;
i12 = 4;
}
bArr = bArr2;
}
if (bArr != null) {
int i15 = $10 + 3;
$11 = i15 % 128;
int i16 = i15 % 2;
byte[] bArr3 = q;
Object[] objArr8 = {Integer.valueOf(i), Integer.valueOf(k)};
Object obj4 = xzZ.y.get(-2092856797);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(337 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) Color.green(0));
byte b8 = (byte) ($$q & 10);
byte b9 = (byte) (b8 - 2);
Object[] objArr9 = new Object[1];
aC(b8, b9, b9, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj4);
}
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj4).invoke(null, objArr8)).intValue()] ^ (-7303220121662775787L))) + ((int) (f6618o ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (r[i + ((int) (k ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (f6618o ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
dfy.c = ((i + intValue) - 2) + ((int) (k ^ (-7303220121662775787L))) + i4;
Object[] objArr10 = {dfy, Integer.valueOf(i3), Integer.valueOf(l), sb};
Object obj5 = xzZ.y.get(1546973421);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 749, ExpandableListView.getPackedPositionChild(0L) + 6, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj5);
}
((StringBuilder) ((Method) obj5).invoke(null, objArr10)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr4 = q;
if (bArr4 != null) {
int length2 = bArr4.length;
byte[] bArr5 = new byte[length2];
int i17 = $11 + 1;
$10 = i17 % 128;
int i18 = 2;
int i19 = i17 % 2;
int i20 = 0;
while (i20 < length2) {
int i21 = $11 + 5;
$10 = i21 % 128;
int i22 = i21 % i18;
bArr5[i20] = (byte) (bArr4[i20] ^ (-7303220121662775787L));
i20++;
i18 = 2;
}
bArr4 = bArr5;
}
if (bArr4 != null) {
int i23 = $10 + 43;
$11 = i23 % 128;
int i24 = i23 % 2;
i6 = 1;
i5 = 1;
} else {
i5 = 0;
i6 = 1;
}
dfy.d = i6;
while (dfy.d < intValue) {
if (i5 != i6) {
short[] sArr = r;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r4] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
byte[] bArr6 = q;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r4] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
i6 = 1;
}
}
objArr[0] = sb.toString();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
@Override // 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 char[]{18, 2, 18, 6, 22, 6, 18, 21, 19, 22, 20, 24, '\n', 3, '\f', 6, 2, '\t', 14, 16, '\n', 7, '\r', 23, 18, 17}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.marker_phone).substring(0, 25).codePointAt(1) - 85), (ViewConfiguration.getScrollBarSize() >> 8) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 9), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_success_subtitle_successfull_request_credit_card).substring(27, 31).length() + 138172963, (-76) - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1601288529, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_decline_ncb_result_title).substring(0, 24).length() + 57), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = p + 35;
w = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 3 / 2;
}
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = p + 27;
w = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), ((Process.getThreadPriority(0) + 20) >> 6) + 5, (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("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((ViewConfiguration.getFadingEdgeLength() >> 16) + 487, (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)) + 5, (char) Color.red(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 4 - Process.getGidForName(""), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 487, 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) ExpandableListView.getPackedPositionType(0L))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aB(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
int length;
char[] cArr2;
char c = 2;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr3 = s;
int i4 = 4;
int i5 = 9;
char c2 = 0;
if (cArr3 != null) {
int i6 = $11 + 125;
$10 = i6 % 128;
if (i6 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
} else {
length = cArr3.length;
cArr2 = new char[length];
}
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[c2] = Integer.valueOf(cArr3[i7]);
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 298, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + i4, (char) KeyEvent.keyCodeFromString(""));
byte b2 = (byte) ($$p[c] - 1);
Object[] objArr3 = new Object[1];
aC((byte) i5, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
c = 2;
i4 = 4;
i5 = 9;
c2 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(t)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 297, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte b3 = (byte) ($$p[2] - 1);
Object[] objArr5 = new Object[1];
aC((byte) 9, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
int i8 = $11 + 123;
$10 = i8 % 128;
int i9 = i8 % 2;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 233, 5 - KeyEvent.getDeadChar(0, 0), (char) (Color.alpha(0) + 22024));
byte b4 = (byte) ($$p[2] - 1);
Object[] objArr7 = new Object[1];
aC((byte) 12, b4, b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[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, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 327, 5 - ExpandableListView.getPackedPositionType(0L), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
byte b5 = (byte) ($$p[2] - 1);
Object[] objArr9 = new Object[1];
aC((byte) 10, b5, b5, objArr9);
obj4 = cls4.getMethod((String) objArr9[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, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[intValue];
cArr4[irs.e + 1] = cArr3[i10];
} else if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i11 = (irs.a * charValue) + irs.f;
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[i11];
cArr4[irs.e + 1] = cArr3[i12];
int i13 = $11 + 33;
$10 = i13 % 128;
int i14 = i13 % 2;
} else {
int i15 = (irs.a * charValue) + irs.j;
int i16 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr3[i15];
cArr4[irs.e + 1] = cArr3[i16];
}
}
irs.e += 2;
}
}
for (int i17 = 0; i17 < i; i17++) {
int i18 = $11 + 115;
$10 = i18 % 128;
int i19 = i18 % 2;
cArr4[i17] = (char) (cArr4[i17] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = w + 101;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB(new char[]{18, 2, 18, 6, 22, 6, 18, 21, 19, 22, 20, 24, '\n', 3, '\f', 6, 2, '\t', 14, 16, '\n', 7, '\r', 23, 18, 17}, (byte) (26 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))), 26 - View.resolveSize(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 9), 138172967 - (ViewConfiguration.getTapTimeout() >> 16), (-77) - Process.getGidForName(""), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.tesg_tab).substring(0, 7).length() + 1601288556, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_management_scbs_label).substring(11, 12).codePointAt(0) - 29), 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 = w + 21;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Gravity.getAbsoluteGravity(0, 0), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) Color.green(0))).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(486 - TextUtils.lastIndexOf("", '0'), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // 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 void attachBaseContext(Context context) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA((short) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 6), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 138172951, (-76) - (ViewConfiguration.getPressedStateDuration() >> 16), ((Process.getThreadPriority(0) + 20) >> 6) + 1601288561, (byte) (65 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{4, 16, 2, '\f', 13885}, (byte) (View.resolveSizeAndState(0, 0, 0) + 63), ImageFormat.getBitsPerPixel(0) + 6, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = p + 17;
w = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i3 = p + 3;
w = i3 % 128;
int i4 = i3 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 492, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA((short) (19 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)), 138172984 - View.MeasureSpec.getMode(0), (-16777262) - Color.rgb(0, 0, 0), KeyEvent.getDeadChar(0, 0) + 1601288513, (byte) (AndroidCharacter.getMirror('0') + '\''), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA((short) ((-69) - (Process.myPid() >> 22)), 138173032 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), Color.blue(0) - 30, 1601288565 - (ViewConfiguration.getWindowTouchSlop() >> 8), (byte) ((Process.myPid() >> 22) - 4), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA((short) (120 - (ViewConfiguration.getWindowTouchSlop() >> 8)), Color.blue(0) + 138173094, (-30) - ExpandableListView.getPackedPositionType(0L), 1601288561 - ExpandableListView.getPackedPositionType(0L), (byte) ((-76) - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA((short) ((-120) - ImageFormat.getBitsPerPixel(0)), (ViewConfiguration.getWindowTouchSlop() >> 8) + 138173157, Color.rgb(0, 0, 0) + 16777196, 1601288568 - (ViewConfiguration.getEdgeSlop() >> 16), (byte) ((-120) - TextUtils.lastIndexOf("", '0', 0, 0)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{'\r', 24, 21, 24, 13824}, (byte) (85 - ((byte) KeyEvent.getModifierMetaStateMask())), View.getDefaultSize(0, 0) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA((short) (Process.getGidForName("") - 52), TextUtils.indexOf("", "", 0) + 138173230, (-58) - TextUtils.indexOf("", "", 0, 0), Gravity.getAbsoluteGravity(0, 0) + 1601288565, (byte) (86 - View.combineMeasuredStates(0, 0)), 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(488 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i5 = w + 93;
p = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
public static /* synthetic */ void d(NestedScrollView nestedScrollView) {
int i = 2 % 2;
int i2 = p + 103;
w = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(nestedScrollView, "");
int measuredHeight = nestedScrollView.getChildAt(0).getMeasuredHeight();
int measuredHeight2 = nestedScrollView.getMeasuredHeight();
nestedScrollView.e(0);
nestedScrollView.e(0 - nestedScrollView.getScrollX(), (measuredHeight - measuredHeight2) - nestedScrollView.getScrollY(), false);
int i4 = p + 83;
w = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
public static /* synthetic */ void a(BaseAmortizationActivity baseAmortizationActivity) {
int i = 2 % 2;
C14957gcv.e(baseAmortizationActivity, "");
NestedScrollView nestedScrollView = ((TeF) baseAmortizationActivity.b.e()).d;
nestedScrollView.post(new Runnable(nestedScrollView) { // from class: o.duM
private NestedScrollView e;
@Override // java.lang.Runnable
public final void run() {
BaseAmortizationActivity.d(this.e);
}
{
this.e = nestedScrollView;
}
});
int i2 = w + 95;
p = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
}
public static /* synthetic */ void b(BaseAmortizationActivity baseAmortizationActivity, NestedScrollView nestedScrollView, int i) {
int i2 = 2 % 2;
C14957gcv.e(baseAmortizationActivity, "");
C14957gcv.e(nestedScrollView, "");
TeF teF = (TeF) baseAmortizationActivity.b.e();
teF.d.post(new RunnableC9992duO(i, teF));
int i3 = p + 17;
w = i3 % 128;
if (i3 % 2 == 0) {
throw null;
}
}
public static /* synthetic */ void e(int i, TeF teF) {
int i2 = 2 % 2;
int i3 = w + 113;
p = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(teF, "");
if (i4 == 0 ? i == teF.d.getChildAt(0).getMeasuredHeight() - teF.d.getMeasuredHeight() : i == (teF.d.getChildAt(1).getMeasuredHeight() >>> teF.d.getMeasuredHeight())) {
AppCompatImageButton appCompatImageButton = teF.c;
C14957gcv.c(appCompatImageButton, "");
AppCompatImageButton appCompatImageButton2 = appCompatImageButton;
C14957gcv.e(appCompatImageButton2, "");
appCompatImageButton2.setVisibility(8);
return;
}
AppCompatImageButton appCompatImageButton3 = teF.c;
C14957gcv.c(appCompatImageButton3, "");
AppCompatImageButton appCompatImageButton4 = appCompatImageButton3;
C14957gcv.e(appCompatImageButton4, "");
appCompatImageButton4.setVisibility(0);
int i5 = p + 109;
w = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
}
static void j() {
k = -1542603777;
f6618o = 1406017099;
l = -213886747;
q = new byte[]{46, 80, ISO7816.INS_UNBLOCK_CHV, -70, -83, 76, 76, -25, ISO7816.INS_PSO, -23, -108, -89, -92, -83, 80, -72, 93, -106, 57, 108, 2, -111, -107, -108, -105, 51, 70, ISOFileInfo.FMD_BYTE, 57, 56, ISOFileInfo.FCP_BYTE, 51, -108, 13, -112, 114, 122, 115, ISOFileInfo.ENV_TEMP_EF, ISO7816.INS_PSO, 87, 97, 81, -126, Byte.MIN_VALUE, 90, ISOFileInfo.CHANNEL_SECURITY, 84, 85, 81, -110, 124, 123, 115, 103, 114, 97, 114, 105, 114, 86, ISOFileInfo.SECURITY_ATTR_COMPACT, 43, Byte.MIN_VALUE, 102, Ascii.DEL, ISO7816.INS_PSO, 102, ISO7816.INS_MANAGE_CHANNEL, 103, ISO7816.INS_MANAGE_CHANNEL, ISOFileInfo.CHANNEL_SECURITY, 120, 86, ISOFileInfo.SECURITY_ATTR_COMPACT, 84, 65, 102, 115, -126, 43, 40, 93, 0, 82, 85, ISOFileInfo.FCP_BYTE, 9, 122, 3, 83, 123, 0, 103, 2, 120, 86, 0, 43, 80, 93, 123, 93, 0, 120, 84, 14, 81, 120, 0, 82, 84, 93, ISO7816.INS_UNBLOCK_CHV, 69, 85, 109, 1, 94, 81, 93, 97, 9, 97, 7, 87, 83, 82, 43, 94, 87, 40, 80, 40, 83, ISOFileInfo.FMD_BYTE, 0, 43, 102, 0, 103, 13, 120, 83, -6, 53, 45, -6, -59, 43, Ascii.US, Ascii.DC4, Ascii.CAN, -39, 45, ISO7816.INS_GET_RESPONSE, 40, 19, 45, -61, 49, -3, -61, 29, ISO7816.INS_GET_RESPONSE, 43, -59, ISO7816.INS_PSO, 46, -63, -61, 46, -6, -63, ISO7816.INS_DECREASE, -2, 53, 45, ISO7816.INS_GET_RESPONSE, -3, -63, ISO7816.INS_DECREASE, -5, Ascii.US, -59, 41, -63, 47, Ascii.DC4, ISO7816.INS_PSO, 47, 55, 86, ISO7816.INS_ENVELOPE, -4, -61, 28, -60, 41, 19, 46, 28, -4, ISO7816.INS_DECREASE, 45, -58, -7, -8, 19, ISO7816.INS_APPEND_RECORD, -56, Ascii.SUB, 35, -2, -71, 80, PSSSigner.TRAILER_IMPLICIT, -22, -21, -5, -14, Ascii.SYN, 63, -45, -14, -24, 39, -41, -5, -23, 38, -94, ISO7816.INS_DELETE_FILE, Ascii.SUB, -55, 17, -5, -24, -25, Ascii.SUB, -55, -21, ISO7816.INS_INCREASE, -65, -22, 7, -5, -56, 4, -7, ISO7816.INS_DELETE_FILE, -17, -31, 83, -44, -2, -18, -8, -29, -20, -3, 19, -6, -18, -3, Ascii.NAK, -5, -23, -29, -23, -3, -29, 81, Ascii.NAK, -26, ISO7816.INS_WRITE_BINARY, Ascii.DC4, -7, Ascii.NAK, -23, -126, ISO7816.INS_GET_DATA, -103, -53, -84, -56, -72, ISOFileInfo.A0, -69, -37, -119, -99, -60, -56, -97, -103, -126, ISO7816.INS_GET_DATA, -98, -53, -56, -109, -57, -11, ISOFileInfo.ENV_TEMP_EF, -12, ISOFileInfo.DATA_BYTES2, -11, ISO7816.INS_GET_DATA, -9, -83, ISOFileInfo.CHANNEL_SECURITY, -100, -87, ISO7816.INS_GET_DATA, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
s = new char[]{49104, 49118, 49109, 49117, 49093, 49115, 49107, 49114, 49089, 49108, 48169, 49095, 49127, 49138, 49034, 49027, 49111, 49106, 49110, 49098, 49035, 49116, 49126, 49053, 49091};
t = (char) 35372;
}
@Override // 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 = w + 57;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 39;
w = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC8998dbS
public final void b(GJ gj) {
d(new Object[]{this, gj}, 1967214255, -1967214255, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1087008793);
}
static {
p = 0;
j();
new Sts((byte) 0);
int i = w + 13;
p = i % 128;
if (i % 2 != 0) {
throw null;
}
}
}