what-the-bank/sources/com/scb/phone/view/activity/investment/onboarding/FundOnboardingSuccessActivi...

917 lines
41 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.investment.onboarding;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.Button;
import android.widget.ExpandableListView;
import android.widget.TextView;
import android.widget.Toast;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import butterknife.Unbinder;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.HomeActivity;
import com.scb.phone.view.activity.investment.onboarding.FundOnboardingSuccessActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC13163fSk;
import o.C13417fZt;
import o.C3724bEr;
import o.EZ;
import o.EnumC8951daY;
import o.InterfaceC13391fZD;
import o.InterfaceC6669cZl;
import o.Nhs;
import o.PR;
import o.TVH;
import o.ZI;
import o.dUD;
import o.fKR;
import o.fKY;
import o.fRR;
import o.fSQ;
import o.pyT;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class FundOnboardingSuccessActivity extends dUD implements InterfaceC6669cZl.ZnX {
@InterfaceC13391fZD
public C3724bEr presenter;
@BindView
Button saveButton;
@BindView
TextView textDateTime;
@BindView
TextView tvMfosAccountNameValue;
@BindView
TextView tvMfosAccountNoValue;
@BindView
TextView tvMfosBranchValue;
@BindView
TextView tvMfosClientNoValue;
@BindView
TextView tvMfosNameValue;
private static final byte[] $$g = {41, -51, 119, -103};
private static final int $$h = CipherSuite.TLS_PSK_WITH_NULL_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int s = 1;
/* renamed from: o, reason: collision with root package name */
private static long f7474o = 9051040786702654117L;
private static int l = 452713125;
private static char m = 5623;
private static char[] k = {40033, 40145, 40151, 40149, 40168, 40148, 40146, 40119, 40113, 40144, 40168, 40137, 40097, 40142, 40149, 40170, 40169, 40169, 40170, 40162, 40146, 40154, 40171, 40149, 40157, 40158, 40014, 40104, 40110, 40111, 40104, 40069, 40070, 40065, 40106, 40114, 40113, 40119, 40105, 40064, 40070, 40065, 40067, 40106, 40110, 40110, 40104, 40104, 40104, 40110, 40109, 40111, 40106, 40065, 40071, 40071, 40066, 40106, 40111, 40071, 40106, 40106, 40106, 40107, 40071, 40111, 40115, 40113, 40112, 40105, 40106, 40105, 40071, 40064, 39981, 40004, 40004, 40004, 40026, 40004, 40005, 40027, 40006, 40007, 40046, 40044, 40045, 40046, 40005, 40004, 40005, 40047, 40046, 40027, 40004, 40004, 40025, 40025, 40026, 40045, 40045, 40026, 40035, 40054, 40044, 40044, 40055, 40045, 40027, 40005, 40005, 40044, 40053, 40034, 40033, 40034, 40035, 40035, 40026, 40045, 40035, 40035, 40046, 40004, 40025, 40044, 40055, 40053, 40075, 40053, 40044, 40035, 40035, 40044, 40045, 40026, 40033, 40035, 40056, 40166, 40184, 40186, 40187, 40158, 40120, 40101, 40155, 40166, 40175, 40173, 40172, 40163, 40166, 40167, 40163, 40161, 40162, 40174, 40175, 40174, 40173, 40171, 40173, 40160, 40128, 40155, 40166, 40167, 40161, 40169, 40162, 40161, 40170, 40162, 40185, 40155, 40130, 40166, 40161, 40163, 40161, 40161, 40186, 40185, 40161, 40163, 40161, 40131, 40140, 40163, 40166, 40134, 40140, 40172, 40160, 40128, 40128, 40161, 40162, 40174, 40160, 40185, 40155, 40154, 40152, 40100, 40130, 40167, 40167, 40163, 40187, 40185, 39959, 39999, 39972, 39992, 39992};
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(short r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 71
int r6 = r6 * 3
int r6 = 3 - r6
int r8 = r8 * 3
int r0 = r8 + 1
byte[] r1 = com.scb.phone.view.activity.investment.onboarding.FundOnboardingSuccessActivity.$$g
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r4 = r7
r3 = r2
r7 = r6
goto L2c
L15:
r3 = r2
L16:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r8) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L23:
int r6 = r6 + 1
int r3 = r3 + 1
r4 = r1[r6]
r5 = r7
r7 = r6
r6 = r5
L2c:
int r4 = -r4
int r6 = r6 + r4
r5 = r7
r7 = r6
r6 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.onboarding.FundOnboardingSuccessActivity.az(short, int, int, java.lang.Object[]):void");
}
/* loaded from: classes5.dex */
public class FundScreenshot_ViewBinding implements Unbinder {
private FundScreenshot b;
public FundScreenshot_ViewBinding(FundScreenshot fundScreenshot, View view) {
this.b = fundScreenshot;
fundScreenshot.textDateTime = (TextView) pyT.e(view, R.id.text_date_time, "field 'textDateTime'", TextView.class);
fundScreenshot.tvMfosNameValue = (TextView) pyT.e(view, R.id.tv_mfos_name_value, "field 'tvMfosNameValue'", TextView.class);
fundScreenshot.tvMfosClientNoValue = (TextView) pyT.e(view, R.id.tv_mfos_client_no_value, "field 'tvMfosClientNoValue'", TextView.class);
fundScreenshot.tvMfosBranchValue = (TextView) pyT.e(view, R.id.tv_mfos_branch_value, "field 'tvMfosBranchValue'", TextView.class);
fundScreenshot.tvMfosAccountNameValue = (TextView) pyT.e(view, R.id.tv_mfos_account_name_value, "field 'tvMfosAccountNameValue'", TextView.class);
fundScreenshot.tvMfosAccountNoValue = (TextView) pyT.e(view, R.id.tv_mfos_account_no_value, "field 'tvMfosAccountNoValue'", TextView.class);
}
@Override // butterknife.Unbinder
public final void a() {
FundScreenshot fundScreenshot = this.b;
if (fundScreenshot == null) {
throw new IllegalStateException("Bindings already cleared.");
}
this.b = null;
fundScreenshot.textDateTime = null;
fundScreenshot.tvMfosNameValue = null;
fundScreenshot.tvMfosClientNoValue = null;
fundScreenshot.tvMfosBranchValue = null;
fundScreenshot.tvMfosAccountNameValue = null;
fundScreenshot.tvMfosAccountNoValue = null;
}
}
public static Intent ahs_(Context context, PR pr) {
int i = 2 % 2;
Intent putExtra = new Intent(context, (Class<?>) FundOnboardingSuccessActivity.class).putExtra("EXTRA_FUND_OTP", pr);
int i2 = t + 111;
s = i2 % 128;
if (i2 % 2 != 0) {
return putExtra;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void ax(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
int i3 = $11 + 109;
$10 = i3 % 128;
int i4 = i3 % 2;
while (nhs.a < length3) {
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - TextUtils.indexOf("", ""), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
try {
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 352, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.lastIndexOf("", '0', 0) + 52129));
byte b = (byte) 0;
Object[] objArr4 = new Object[1];
az(b, (byte) (b | ISO7816.INS_UNBLOCK_CHV), b, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
try {
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.resolveSize(0, 0) + 748, 4 - ImageFormat.getBitsPerPixel(0), (char) ((-1) - Process.getGidForName("")))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
try {
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((-16776814) - Color.rgb(0, 0, 0), (Process.myTid() >> 22) + 5, (char) (21608 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b2, (byte) (b2 | 43), b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (f7474o ^ 9051040786702654117L)) ^ ((int) (l ^ 9051040786702654117L))) ^ ((char) (m ^ 9051040786702654117L)));
nhs.a++;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
String str = new String(cArr6);
int i5 = $10 + 25;
$11 = i5 % 128;
if (i5 % 2 != 0) {
objArr[0] = str;
} else {
Object obj5 = null;
obj5.hashCode();
throw null;
}
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0121, code lost:
if (r7 > 99999) goto L10;
*/
@Override // o.dUD, 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 r22) {
/*
Method dump skipped, instructions count: 1488
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.onboarding.FundOnboardingSuccessActivity.onCreate(android.os.Bundle):void");
}
@OnClick
public void onSaveButtonClicked() {
int i = 2 % 2;
C3724bEr c3724bEr = this.presenter;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bEz
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6669cZl.ZnX) obj).b(true);
}
};
if (c3724bEr.f != 0) {
int i2 = t + 109;
int i3 = i2 % 128;
s = i3;
int i4 = i2 % 2;
int i5 = i3 + 81;
t = i5 % 128;
int i6 = i5 % 2;
ieS.e(c3724bEr.f);
}
int i7 = t + 65;
s = i7 % 128;
int i8 = i7 % 2;
}
/* loaded from: classes5.dex */
public static class FundScreenshot extends EZ {
PR c;
@BindView
TextView textDateTime;
@BindView
TextView tvMfosAccountNameValue;
@BindView
TextView tvMfosAccountNoValue;
@BindView
TextView tvMfosBranchValue;
@BindView
TextView tvMfosClientNoValue;
@BindView
TextView tvMfosNameValue;
public FundScreenshot(String str, PR pr, boolean z) {
super(R.layout.2131560100, str, false, z);
this.c = pr;
}
}
@OnClick
public void onReturnButtonClicked() {
int i = 2 % 2;
C3724bEr c3724bEr = this.presenter;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bEv
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6669cZl.ZnX) obj).e();
}
};
if (c3724bEr.f != 0) {
int i2 = s + 43;
t = i2 % 128;
int i3 = i2 % 2;
ieS.e(c3724bEr.f);
int i4 = t + 39;
s = i4 % 128;
int i5 = i4 % 2;
}
}
@Override // o.InterfaceC6669cZl.ZnX
public final void c(boolean z) {
int i;
int i2 = 2 % 2;
Button button = this.saveButton;
if (z) {
int i3 = s;
int i4 = i3 + 31;
t = i4 % 128;
int i5 = i4 % 2;
int i6 = i3 + 99;
t = i6 % 128;
int i7 = i6 % 2;
i = 0;
} else {
i = 8;
}
button.setVisibility(i);
}
/* loaded from: classes5.dex */
public static class RVV extends fKR<FundScreenshot> {
@Override // o.fKR
public final /* synthetic */ void b(FundScreenshot fundScreenshot, View view) {
FundScreenshot fundScreenshot2 = fundScreenshot;
ButterKnife.c(fundScreenshot2, view);
fundScreenshot2.textDateTime.setText(fundScreenshot2.c.f);
fundScreenshot2.tvMfosNameValue.setText(fundScreenshot2.c.i);
fundScreenshot2.tvMfosClientNoValue.setText(fundScreenshot2.c.h);
fundScreenshot2.tvMfosBranchValue.setText(fundScreenshot2.c.a);
fundScreenshot2.tvMfosAccountNameValue.setText(fundScreenshot2.c.c);
fundScreenshot2.tvMfosAccountNoValue.setText(fundScreenshot2.c.b);
}
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object d(Object[] objArr) {
FundOnboardingSuccessActivity fundOnboardingSuccessActivity = (FundOnboardingSuccessActivity) objArr[0];
int i = 2 % 2;
int i2 = s + 27;
t = i2 % 128;
if (i2 % 2 != 0) {
fundOnboardingSuccessActivity.Xb_(fundOnboardingSuccessActivity, R.id.root_view, fundOnboardingSuccessActivity.getString(R.string.mf_onboarding_success_saved_slip_snack_label), EnumC8951daY.SUCCESS);
throw null;
}
fundOnboardingSuccessActivity.Xb_(fundOnboardingSuccessActivity, R.id.root_view, fundOnboardingSuccessActivity.getString(R.string.mf_onboarding_success_saved_slip_snack_label), EnumC8951daY.SUCCESS);
int i3 = t + 51;
s = i3 % 128;
int i4 = i3 % 2;
return null;
}
@Override // o.InterfaceC6669cZl.ZnX
public final void c() {
int i = 2 % 2;
int i2 = s + 37;
t = i2 % 128;
int i3 = i2 % 2;
Xb_(this, R.id.root_view, getString(R.string.mf_onboarding_success_auto_saved_slip_snack_label), EnumC8951daY.SUCCESS);
int i4 = s + 47;
t = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC6669cZl.ZnX
public final void e() {
int i = 2 % 2;
a(new BaseActivity.IeS(this) { // from class: o.dUs
private FundOnboardingSuccessActivity a;
@Override // com.scb.phone.view.activity.BaseActivity.IeS
public final void e() {
FundOnboardingSuccessActivity.c(this.a);
}
{
this.a = this;
}
});
int i2 = t + 45;
s = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC6669cZl.ZnX
public final void b(boolean z) {
int i = 2 % 2;
PR pr = (PR) getIntent().getParcelableExtra("EXTRA_FUND_OTP");
AbstractC13163fSk.fromCallable(new fKY(new RVV(), new FundScreenshot(String.format(getString(R.string.mf_onboarding_slip), pr.f), pr, z), this)).observeOn(fRR.e()).subscribeOn(C13417fZt.b()).subscribe(new fSQ(this) { // from class: o.dUt
private FundOnboardingSuccessActivity a;
@Override // o.fSQ
public final void c(Object obj) {
FundOnboardingSuccessActivity.d(this.a);
}
{
this.a = this;
}
}, new fSQ(this) { // from class: o.dUw
private FundOnboardingSuccessActivity c;
@Override // o.fSQ
public final void c(Object obj) {
FundOnboardingSuccessActivity.c(this.c, (Throwable) obj);
}
{
this.c = this;
}
});
int i2 = t + 13;
s = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void ay(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2 = 2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr = k;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i9 = 0;
while (i9 < length) {
int i10 = $11 + 87;
$10 = i10 % 128;
int i11 = i10 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.red(i4) + 223, Color.red(i4) + 5, (char) (41977 - Color.red(i4)));
byte b = (byte) i4;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
i2 = 2;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i6];
System.arraycopy(cArr, i5, cArr3, 0, i6);
if (bArr != null) {
char[] cArr4 = new char[i6];
tvh.c = 0;
char c = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i12 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - (ViewConfiguration.getScrollBarSize() >> 8), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) (View.combineMeasuredStates(0, 0) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i13 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 15, 5 - TextUtils.getTrimmedLength(""), (char) ((ViewConfiguration.getScrollDefaultDelay() >> 16) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i13] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(401 - TextUtils.lastIndexOf("", '0', 0, 0), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (ExpandableListView.getPackedPositionChild(0L) + 21609));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 2);
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 - 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i8 > 0) {
int i14 = $10 + 25;
$11 = i14 % 128;
if (i14 % 2 == 0) {
char[] cArr5 = new char[i6];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i6);
System.arraycopy(cArr5, 1, cArr3, i6 >>> i8, i8);
System.arraycopy(cArr5, i8, cArr3, 0, i6 / i8);
} else {
i = 0;
char[] cArr6 = new char[i6];
System.arraycopy(cArr3, 0, cArr6, 0, i6);
int i15 = i6 - i8;
System.arraycopy(cArr6, 0, cArr3, i15, i8);
System.arraycopy(cArr6, i8, cArr3, 0, i15);
}
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i6];
tvh.c = i;
int i16 = $11 + 123;
$10 = i16 % 128;
int i17 = i16 % 2;
while (tvh.c < i6) {
cArr7[tvh.c] = cArr3[(i6 - tvh.c) - 1];
tvh.c++;
}
cArr3 = cArr7;
}
if (i7 > 0) {
int i18 = 0;
while (true) {
tvh.c = i18;
if (tvh.c >= i6) {
break;
}
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i18 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@Override // o.dUD, 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) {
int i2 = s + 93;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new int[]{0, 26, 115, 0}, false, new byte[]{0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_biller_search_initial_state).substring(50, 51).codePointAt(0) + 50769), new char[]{49707, 6709, 55170, 2828, 51891, 35854, 46225, 13399, 44186, 23012, 17547, 15008, 39226, 24861, 33464, 60853, 938, 59365}, new char[]{53789, 39337, 29052, 5830}, new char[]{0, 0, 0, 0}, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = t + 53;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 492, View.MeasureSpec.getMode(0) + 5, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 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(487 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) View.resolveSizeAndState(0, 0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i6 = t + 101;
s = i6 % 128;
int i7 = i6 % 2;
}
@Override // o.dUD, 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) {
Object[] objArr = new Object[1];
ay(new int[]{0, 26, 115, 0}, false, new byte[]{0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 50767), new char[]{49707, 6709, 55170, 2828, 51891, 35854, 46225, 13399, 44186, 23012, 17547, 15008, 39226, 24861, 33464, 60853, 938, 59365}, new char[]{53789, 39337, 29052, 5830}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.myqr_setting_qr_confirm_message).substring(17, 18).codePointAt(0) - 32, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = s + 17;
t = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) View.combineMeasuredStates(0, 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(487 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) Color.red(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = s + 111;
t = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i6 = t + 11;
s = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
}
@Override // o.dUD, 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) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((char) (11851 - TextUtils.lastIndexOf("", '0')), new char[]{41980, 30852, 12715, 15602, 20728, 46590, 63832, 54555, 62390, 1621, 27943, 10557, 54841, 63164, 36873, 14724, 6999, 27648}, new char[]{17444, 64574, 19479, 64558}, new char[]{0, 0, 0, 0}, Color.red(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((char) (View.resolveSize(0, 0) + 49677), new char[]{47059, 36542, 24417, 50058, 5958}, new char[]{42967, 56618, 3488, 2754}, new char[]{0, 0, 0, 0}, (ViewConfiguration.getScrollBarSize() >> 8) - 1596118361, 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 + 31;
t = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i3 = t + 121;
s = i3 % 128;
int i4 = i3 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i5 = s + 101;
t = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.getCapsMode("", 0, 0), Color.red(0) + 5, (char) View.MeasureSpec.getMode(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{26, 48, 87, 0}, true, new byte[]{1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new int[]{74, 64, 27, 54}, false, new byte[]{1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax((char) (ViewConfiguration.getScrollDefaultDelay() >> 16), new char[]{43324, 23119, 9570, 12115, 56402, 15527, 16297, 64185, 33686, 19866, 53717, 22967, 34362, 63998, 59616, 8380, 29568, 20476, 29701, 55706, 24402, 25461, '1', 13502, 35794, 65148, 28024, 23207, 12441, 4086, 57959, 40046, 49453, 1757, 36259, 7582, 20807, 59229, 55010, 17039, 61159, 12056, 28094, 23829, 4131, 56469, 53731, 24856, 46035, 51063, 5365, 42538, 29175, 34740, 25931, 56123, 21053, 14118, 3138, 43461, 24228, 19568, 23556, 32033}, new char[]{3444, 14448, 54430, 65044}, new char[]{0, 0, 0, 0}, Color.argb(0, 0, 0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{CipherSuite.TLS_PSK_WITH_RC4_128_SHA, 74, 127, 0}, false, new byte[]{1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{212, 5, 0, 1}, true, new byte[]{1, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((char) (ViewConfiguration.getKeyRepeatDelay() >> 16), new char[]{6918, 44538, 63645, 46255, 17216, 55570, 3773, 15460, 43549, 34118, 49666, 2422, 60547, 21493, 32812, 20713, 53582, 29584, 14966, 7912, 35252, 58004, 34149, 6334, 56024, 3286, 4524, 15665, 50435, 14605, 22794, 41959, 4877, 47052, 20347, 58130}, new char[]{12142, 1755, 19692, 27761}, new char[]{0, 0, 0, 0}, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - TextUtils.getOffsetBefore("", 0), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) View.resolveSize(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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
public static /* synthetic */ void c(FundOnboardingSuccessActivity fundOnboardingSuccessActivity, Throwable th) {
String message;
int i;
int i2 = 2 % 2;
int i3 = t + 123;
s = i3 % 128;
if (i3 % 2 == 0) {
message = th.getMessage();
i = 1;
} else {
message = th.getMessage();
i = 0;
}
Toast.makeText(fundOnboardingSuccessActivity, message, i).show();
int i4 = t + 69;
s = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
public static /* synthetic */ void d(FundOnboardingSuccessActivity fundOnboardingSuccessActivity) {
boolean z;
int i = 2 % 2;
C3724bEr c3724bEr = fundOnboardingSuccessActivity.presenter;
if (c3724bEr.b.a.V()) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.bEw
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6669cZl.ZnX) obj).c();
}
};
if (c3724bEr.f != 0) {
int i2 = t + 15;
s = i2 % 128;
int i3 = i2 % 2;
z = true;
} else {
z = false;
}
if (!z) {
return;
}
int i4 = t + 99;
s = i4 % 128;
if (i4 % 2 != 0) {
ieS.e(c3724bEr.f);
return;
}
ieS.e(c3724bEr.f);
Object obj = null;
obj.hashCode();
throw null;
}
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bEF
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC6669cZl.ZnX) obj2).a();
}
};
if (c3724bEr.f != 0) {
ieS2.e(c3724bEr.f);
}
}
public static /* synthetic */ void c(FundOnboardingSuccessActivity fundOnboardingSuccessActivity) {
int i = 2 % 2;
int i2 = s + 27;
t = i2 % 128;
int i3 = i2 % 2;
HomeActivity.c((Context) fundOnboardingSuccessActivity, true);
int i4 = t + 69;
s = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.dUD, 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 = s + 33;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 107;
s = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC6669cZl.ZnX
public final void a() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1252111353;
d(new Object[]{this});
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = t + 31;
s = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
}
}