what-the-bank/sources/com/scb/phone/view/activity/ndid/IdpSharingTransferRequestAc...

850 lines
42 KiB
Java

package com.scb.phone.view.activity.ndid;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.Button;
import android.widget.ExpandableListView;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
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.ndid.IdpSharingTransferReviewActivity;
import com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment;
import java.lang.reflect.Method;
import java.util.ArrayList;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC13482fbE;
import o.C1171Xc;
import o.C14957gcv;
import o.C15849jC;
import o.C3929bL;
import o.C6583cXR;
import o.CVR;
import o.ES;
import o.InterfaceC13391fZD;
import o.InterfaceC9420djR;
import o.Nhs;
import o.TVH;
import o.WW;
import o.YE;
import o.bXI;
import o.cXH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public final class IdpSharingTransferRequestActivity extends Hilt_IdpSharingTransferRequestActivity implements InterfaceC9420djR.LWm, AccountSourceSelectFragment.Sts {
public static final HBt m;
private static char[] p;
private static int q;
private static char r;
private static long t;
private static int x;
@BindView
public Button btReview;
private String k;
private WW l;
/* renamed from: o, reason: collision with root package name */
private double f7612o;
@InterfaceC13391fZD
public bXI presenter;
private ArrayList<String> s = new ArrayList<>();
@BindView
public TextView tvFeeAmount;
private static final byte[] $$p = {101, -49, 33, 116};
private static final int $$q = 208;
private static int $10 = 0;
private static int $11 = 1;
private static int v = 1;
/* 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:0x0027). 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 r5, short r6, short r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 4
int r5 = r5 + 1
byte[] r0 = com.scb.phone.view.activity.ndid.IdpSharingTransferRequestActivity.$$p
int r6 = r6 + 4
int r7 = 115 - r7
byte[] r1 = new byte[r5]
r2 = 0
if (r0 != 0) goto L13
r4 = r7
r3 = r2
r7 = r5
goto L27
L13:
r3 = r2
L14:
byte r4 = (byte) r7
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r5) goto L23
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L23:
int r6 = r6 + 1
r4 = r0[r6]
L27:
int r7 = r7 + r4
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndid.IdpSharingTransferRequestActivity.aC(short, short, short, java.lang.Object[]):void");
}
/* loaded from: classes5.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
@OnClick
public final void onReviewClicked() {
String str;
int i = 2 % 2;
bXI bxi = this.presenter;
WW ww = null;
if (bxi != null) {
int i2 = v + 39;
x = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
bxi = null;
}
String str2 = this.k;
if (str2 == null) {
int i4 = v + 119;
x = i4 % 128;
if (i4 % 2 != 0) {
C14957gcv.a("");
int i5 = 88 / 0;
} else {
C14957gcv.a("");
}
str = null;
} else {
str = str2;
}
ArrayList<String> arrayList = this.s;
WW ww2 = this.l;
if (ww2 == null) {
int i6 = x + 95;
v = i6 % 128;
if (i6 % 2 == 0) {
C14957gcv.a("");
throw null;
}
C14957gcv.a("");
} else {
ww = ww2;
}
String str3 = ww.s;
C14957gcv.c((Object) str3, "");
double d = this.f7612o;
C14957gcv.e(str, "");
C14957gcv.e(arrayList, "");
C14957gcv.e(str3, "");
if (bxi.f != 0) {
int i7 = x + 111;
v = i7 % 128;
int i8 = i7 % 2;
bxi.f.y();
}
C15849jC c15849jC = bxi.a;
bXI.HBt hBt = new bXI.HBt(bxi);
bXI.Sts sts = new bXI.Sts(bxi);
C3929bL c3929bL = new C3929bL(str, cXH.HBt.Sts.COMPLETED.toString(), arrayList, str3, d);
C14957gcv.e(hBt, "");
C14957gcv.e(sts, "");
C14957gcv.e(c3929bL, "");
c15849jC.b(c15849jC.b, hBt, sts, new CVR.RVV(c3929bL));
}
private static void aA(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2;
int i3 = 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;
while (nhs.a < length3) {
int i4 = $10 + 9;
$11 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - KeyEvent.keyCodeFromString(""), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) View.resolveSizeAndState(0, 0, 0))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 351, 5 - TextUtils.getOffsetBefore("", 0), (char) (52128 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)));
byte b = (byte) 0;
byte b2 = (byte) (b - 1);
Object[] objArr4 = new Object[1];
aC(b, b2, (byte) (b2 + 1), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
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(748 - ExpandableListView.getPackedPositionType(0L), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
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(KeyEvent.normalizeMetaState(0) + 402, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (21608 - Color.red(0)));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr7 = new Object[1];
aC(b3, b4, (byte) (-b4), 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]) ^ (t ^ 9051040786702654117L)) ^ ((int) (q ^ 9051040786702654117L))) ^ ((char) (r ^ 9051040786702654117L)));
nhs.a++;
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i6 = $11 + 9;
$10 = i6 % 128;
if (i6 % 2 == 0) {
objArr[0] = str;
} else {
int i7 = 10 / 0;
objArr[0] = str;
}
}
@Override // com.scb.phone.view.activity.ndid.Hilt_IdpSharingTransferRequestActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = x + 119;
v = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.slip_qr_code_bill_payment_header).substring(32, 33).codePointAt(0) + 31812), new char[]{49170, 18102, 8278, 15628, 59805, 47028, 65277, 38587, 35317, 16789, 22474, 26477, 14317, 63380, 64528, 24592, 30601, 31410}, new char[]{10255, 8161, 25634, 43900}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 112, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.to_other_scb_accounts).substring(15, 16).length() + 50446), new char[]{40575, 39835, 20958, 24095, 63979}, new char[]{36270, 1022, 3845, 30917}, 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.auto_p2p_introduction_your_choice_flexible_point).substring(0, 2).codePointAt(1) + 84147821, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aB(new int[]{0, 26, 0, 15}, false, new byte[]{0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(new int[]{26, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = v + 111;
x = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = x + 13;
v = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.getOffsetAfter("", 0), 4 - TextUtils.lastIndexOf("", '0'), (char) (ImageFormat.getBitsPerPixel(0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new int[]{44, 48, 0, 7}, true, new byte[]{0, 1, 0, 1, 0, 1, 0, 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}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{92, 64, 0, 51}, true, new byte[]{0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{220, 74, 0, 0}, true, new byte[]{1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA((char) (View.MeasureSpec.getSize(0) + 64804), new char[]{59543, 59241, 47631, 45370, 19555}, new char[]{12009, 65402, 9362, 57597}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 1828750913, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new int[]{294, 36, 55, 8}, false, new byte[]{0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1}, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - Color.green(0), 4 - TextUtils.lastIndexOf("", '0'), (char) TextUtils.indexOf("", "", 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558623);
ButterKnife.Dg_(this);
super.Z();
ac();
p(getString(R.string.idp_payment_request_fee_title));
Intent intent = getIntent();
if (intent != null) {
ArrayList<String> stringArrayListExtra = intent.getStringArrayListExtra("EXTRA_STATEMENT_ACCOUNT_LIST");
C14957gcv.d(stringArrayListExtra, "");
this.s = stringArrayListExtra;
this.f7612o = intent.getDoubleExtra("EXTRA_FEE", 0.0d);
String stringExtra = intent.getStringExtra("com.scb.phone.EXTRA_REQUEST_ID");
if (stringExtra == null) {
int i8 = v + 45;
int i9 = i8 % 128;
x = i9;
if (i8 % 2 != 0) {
int i10 = 33 / 0;
}
int i11 = i9 + 1;
v = i11 % 128;
int i12 = i11 % 2;
stringExtra = "";
}
this.k = stringExtra;
TextView textView = this.tvFeeAmount;
if (textView != null) {
int i13 = x + 39;
v = i13 % 128;
int i14 = i13 % 2;
} else {
C14957gcv.a("");
textView = null;
}
textView.setText((String) C6583cXR.c(new Object[]{Double.valueOf(this.f7612o)}, -150997759, 150997764, (int) System.currentTimeMillis()));
int i15 = x + 33;
v = i15 % 128;
if (i15 % 2 == 0) {
int i16 = 2 / 4;
}
}
bXI bxi = this.presenter;
if (bxi == null) {
C14957gcv.a("");
bxi = null;
}
bxi.e((bXI) this);
C1171Xc.IeS ieS = new C1171Xc.IeS(YE.TRANSFER_FUNCTION);
C1171Xc c1171Xc = ieS.c;
c1171Xc.a = false;
c1171Xc.b = true;
c1171Xc.j = true;
c1171Xc.g = true;
ieS.c.b = false;
ieS.c.j = false;
C1171Xc c1171Xc2 = ieS.c;
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.layout_account_selector, AccountSourceSelectFragment.a(c1171Xc2, ""), null, 2);
a.a();
}
@Override // com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment.Sts
public final void a(WW ww) {
int i = 2 % 2;
int i2 = x + 81;
v = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(ww, "");
this.l = ww;
Button button = this.btReview;
if (button != null) {
int i4 = v + 71;
x = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
} else {
C14957gcv.a("");
int i5 = v + 13;
x = i5 % 128;
int i6 = i5 % 2;
button = null;
}
button.setEnabled(true);
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = x + 25;
v = i2 % 128;
int i3 = i2 % 2;
super.Z();
ac();
p(getString(R.string.idp_payment_request_fee_title));
int i4 = x + 47;
v = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9420djR.LWm
public final void a(ES es, String str) {
int i = 2 % 2;
C14957gcv.e(es, "");
C14957gcv.e(str, "");
IdpSharingTransferReviewActivity.RVV rvv = IdpSharingTransferReviewActivity.b;
IdpSharingTransferRequestActivity idpSharingTransferRequestActivity = this;
C14957gcv.e(idpSharingTransferRequestActivity, "");
C14957gcv.e(es, "");
C14957gcv.e(str, "");
Intent intent = new Intent(idpSharingTransferRequestActivity, (Class<?>) IdpSharingTransferReviewActivity.class);
intent.putExtra("EXTRA_SHARING_TRANSFER_REVIEW", es);
intent.putExtra("EXTRA_SHARING_TRANSFER_TOKEN_ID", str);
startActivity(intent);
int i2 = v + 15;
x = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public final void onDestroy() {
int i = 2 % 2;
bXI bxi = this.presenter;
Object obj = null;
if (bxi == null) {
C14957gcv.a("");
int i2 = v + 53;
x = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 4 % 3;
}
bxi = null;
}
bxi.w_();
super.onDestroy();
int i4 = v + 81;
x = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
private static void aB(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = 1;
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr2 = p;
char c = '0';
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr2 != null) {
int i9 = $10 + 97;
$11 = i9 % 128;
int i10 = i9 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i11 = 0;
while (i11 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[i3] = Integer.valueOf(cArr2[i11]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c(223 - (AudioTrack.getMinVolume() > f ? 1 : (AudioTrack.getMinVolume() == f ? 0 : -1)), TextUtils.lastIndexOf("", c, i3, i3) + 6, (char) (41977 - View.MeasureSpec.getMode(i3)));
byte b = (byte) i3;
byte b2 = (byte) (b - 1);
cArr = cArr2;
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 & ISO7816.INS_UNBLOCK_CHV), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i11] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i11++;
cArr2 = cArr;
i3 = 0;
i5 = 1;
c = '0';
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i6];
System.arraycopy(cArr2, i4, cArr4, 0, i6);
if (bArr != null) {
char[] cArr5 = new char[i6];
tvh.c = 0;
char c2 = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i12 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 502, (-16777211) - Color.rgb(0, 0, 0), (char) (54 - (ViewConfiguration.getScrollDefaultDelay() >> 16)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i13 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.indexOf("", "") + 15, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (58134 - Gravity.getAbsoluteGravity(0, 0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i13] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c2 = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 403, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (Gravity.getAbsoluteGravity(0, 0) + 21608));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr7 = new Object[1];
aC(b3, b4, (byte) (b4 & ISO7816.INS_PSO), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
int i14 = $11 + 91;
$10 = i14 % 128;
i = 2;
int i15 = i14 % 2;
cArr4 = cArr5;
} else {
i = 2;
}
if (i8 > 0) {
int i16 = $11 + 69;
$10 = i16 % 128;
int i17 = i16 % i;
char[] cArr6 = new char[i6];
System.arraycopy(cArr4, 0, cArr6, 0, i6);
int i18 = i6 - i8;
System.arraycopy(cArr6, 0, cArr4, i18, i8);
System.arraycopy(cArr6, i8, cArr4, 0, i18);
}
if (z) {
int i19 = $10 + 95;
$11 = i19 % 128;
int i20 = i19 % 2;
char[] cArr7 = new char[i6];
int i21 = 0;
while (true) {
tvh.c = i21;
if (tvh.c >= i6) {
break;
}
cArr7[tvh.c] = cArr4[(i6 - tvh.c) - 1];
i21 = tvh.c + 1;
}
cArr4 = cArr7;
}
if (i7 > 0) {
int i22 = $11 + 101;
$10 = i22 % 128;
int i23 = i22 % 2 != 0 ? 1 : 0;
while (true) {
tvh.c = i23;
if (tvh.c >= i6) {
break;
}
int i24 = $10 + 61;
$11 = i24 % 128;
int i25 = i24 % 2;
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i23 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.ndid.Hilt_IdpSharingTransferRequestActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onResume() {
int i = 2 % 2;
int i2 = v + 15;
x = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new int[]{0, 26, 0, 15}, false, new byte[]{0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{26, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = x + 9;
v = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) Color.blue(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 486, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
int i5 = v + 15;
x = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 5 % 2;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
return;
}
getBaseContext();
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.ndid.Hilt_IdpSharingTransferRequestActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new int[]{0, 26, 0, 15}, false, new byte[]{0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{26, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i2 = v + 101;
x = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 2 / 2;
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.combineMeasuredStates(0, 0), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (Process.myTid() >> 22))).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 - (ViewConfiguration.getPressedStateDuration() >> 16), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) TextUtils.getCapsMode("", 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = x + 25;
v = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object e(Object[] objArr) {
IdpSharingTransferRequestActivity idpSharingTransferRequestActivity = (IdpSharingTransferRequestActivity) objArr[0];
Context context = (Context) objArr[1];
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr2 = new Object[1];
aA((char) (View.combineMeasuredStates(0, 0) + 31844), new char[]{49170, 18102, 8278, 15628, 59805, 47028, 65277, 38587, 35317, 16789, 22474, 26477, 14317, 63380, 64528, 24592, 30601, 31410}, new char[]{10255, 8161, 25634, 43900}, new char[]{0, 0, 0, 0}, ViewConfiguration.getWindowTouchSlop() >> 8, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aA((char) (View.getDefaultSize(0, 0) + 50447), new char[]{40575, 39835, 20958, 24095, 63979}, new char[]{36270, 1022, 3845, 30917}, new char[]{0, 0, 0, 0}, 84147853 - TextUtils.indexOf("", "", 0), objArr3);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr3[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
context = context.getApplicationContext();
int i2 = v + 91;
x = i2 % 128;
int i3 = i2 % 2;
}
if (context != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - KeyEvent.getDeadChar(0, 0), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = new Object[1];
aB(new int[]{44, 48, 0, 7}, true, new byte[]{0, 1, 0, 1, 0, 1, 0, 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}, objArr4);
String str = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new int[]{92, 64, 0, 51}, true, new byte[]{0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0}, objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0}, objArr6);
String str3 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{220, 74, 0, 0}, true, new byte[]{1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0}, objArr7);
String str4 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA((char) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 64804), new char[]{59543, 59241, 47631, 45370, 19555}, new char[]{12009, 65402, 9362, 57597}, new char[]{0, 0, 0, 0}, (-1828750801) - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), objArr8);
String str5 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new int[]{294, 36, 55, 8}, false, new byte[]{0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1}, objArr9);
Object[] objArr10 = {context, str, str2, str3, str4, true, str5, (String) objArr9[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr10);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
}
int i4 = v + 45;
x = i4 % 128;
if (i4 % 2 == 0) {
return null;
}
throw null;
}
static void j() {
t = 9051040786702654117L;
q = 452713125;
r = (char) 14313;
p = new char[]{39964, 39996, 40025, 40032, 40037, 40036, 40036, 40037, 40061, 40045, 40021, 40038, 40032, 40040, 40041, 40041, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40012, 40035, 40059, 39994, 40039, 40056, 40057, 40032, 40034, 40058, 40017, 40019, 40059, 40037, 40033, 40045, 40041, 40033, 40037, 40039, 40037, 39992, 40047, 40000, 40001, 40000, 39998, 39999, 39993, 40007, 40005, 40006, 40007, 39996, 39997, 39992, 40001, 40041, 40040, 40046, 40000, 39999, 39997, 39992, 39994, 40001, 40005, 40005, 40007, 40007, 40007, 40005, 40004, 40006, 40001, 39992, 39998, 39998, 39993, 40001, 40006, 39998, 40001, 40001, 40001, 40002, 39998, 40006, 40042, 39992, 40004, 40005, 40040, 40007, 39992, 39992, 39998, 40000, 40042, 40007, 40007, 40041, 40006, 39997, 40000, 40000, 39997, 39996, 39996, 39999, 39999, 39998, 40001, 40002, 39992, 39999, 39992, 40001, 40000, 40007, 40001, 39994, 39993, 39998, 39992, 39999, 39997, 39999, 39999, 39999, 39992, 40006, 40004, 39997, 40000, 40007, 40006, 40006, 40007, 40040, 40046, 40040, 40042, 40007, 39996, 39999, 40001, 40006, 40006, 40000, 39997, 40006, 40006, 39995, 40007, 39999, 39994, 40001, 40001, 40007, 40046, 40000, 39998, 39997, 40007, 40040, 40000, 39993, 39999, 40007, 40042, 40047, 40000, 39995, 39995, 39992, 39999, 40001, 40006, 40004, 40046, 40005, 39996, 39996, 40005, 40007, 40000, 40042, 40000, 39998, 39992, 39994, 39994, 39992, 39993, 39993, 39999, 40007, 40047, 40007, 40006, 40040, 40040, 40000, 39998, 39996, 39996, 39999, 40000, 40000, 40003, 40040, 40040, 40000, 39997, 40006, 40006, 39986, 40056, 40058, 40034, 40038, 40038, 40001, 39995, 40031, 40025, 40026, 40056, 40039, 40045, 40033, 40032, 40007, 40007, 40039, 40035, 40003, 40005, 40037, 40034, 40003, 40002, 40032, 40034, 40032, 40056, 40057, 40032, 40032, 40034, 40032, 40037, 40001, 40026, 40056, 40033, 40041, 40032, 40033, 40040, 40032, 40038, 40037, 40026, 40007, 40039, 40044, 40042, 40044, 40045, 40046, 40045, 40033, 40032, 40034, 40038, 40037, 40034, 40035, 40044, 40046, 40037, 40026, 39972, 39999, 40029, 40058, 40057, 40063, 40037, 39996, 40078, 40080, 40072, 40032, 40032, 40033, 40073, 40087, 40081, 40075, 40033, 40072, 40078, 40038, 40034, 40046, 40035, 40033, 40074, 40081, 40053, 40044, 40033, 40035, 40035, 40045, 40053, 40083, 40081, 40080, 40052, 40045, 40074, 40074, 40075};
}
@Override // com.scb.phone.view.activity.ndid.Hilt_IdpSharingTransferRequestActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public final void attachBaseContext(Context context) {
System.identityHashCode(this);
e(new Object[]{this, context});
}
@Override // com.scb.phone.view.activity.ndid.Hilt_IdpSharingTransferRequestActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onStart() {
int i = 2 % 2;
int i2 = x + 103;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 19 / 0;
}
}
static {
x = 0;
j();
m = new HBt((byte) 0);
int i = v + 101;
x = i % 128;
int i2 = i % 2;
}
}