what-the-bank/sources/com/scb/phone/view/activity/prepaid/request/PrepaidRequestReviewActivit...

937 lines
45 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.prepaid.request;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.prepaid.PrepaidOtpActivity;
import com.scb.phone.view.activity.prepaid.request.PrepaidRequestLandingActivity;
import com.scb.phone.view.activity.prepaid.request.PrepaidRequestSuccessActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC14961gcz;
import o.C1064Uv;
import o.C14957gcv;
import o.C7675csm;
import o.Dwh;
import o.ES;
import o.EW;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC13393fZL;
import o.InterfaceC14890gbN;
import o.InterfaceC9518dlJ;
import o.TVH;
import o.UD;
import o.ZI;
import o.fZZ;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public final class PrepaidRequestReviewActivity extends Hilt_PrepaidRequestReviewActivity implements InterfaceC9518dlJ.IeS {
public static final RVV b;
private static char[] m;
private static char[] p;
private static char r;
private static int t;
private UD k;
private final InterfaceC13393fZL l;
/* renamed from: o, reason: collision with root package name */
private C1064Uv f7800o;
@InterfaceC13391fZD
public C7675csm presenter;
private static final byte[] $$E = {104, ISO7816.INS_READ_BINARY2, -113, -112};
private static final int $$F = CipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> 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 aJ(int r6, int r7, int r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.prepaid.request.PrepaidRequestReviewActivity.$$E
int r6 = r6 * 2
int r6 = 1 - r6
int r7 = r7 + 71
int r8 = r8 * 2
int r8 = 4 - r8
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L15
r3 = r6
r7 = r8
r5 = r2
goto L27
L15:
r3 = r2
L16:
byte r4 = (byte) r7
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
r3 = r0[r8]
L27:
int r8 = r8 + 1
int r7 = r7 + r3
r3 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.request.PrepaidRequestReviewActivity.aJ(int, int, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i2;
int i5 = (i * 319) + (i2 * (-317)) + (((~((~i) | i3)) | i4) * (-318));
int i6 = ~(i4 | i3);
int i7 = ~i3;
return (i5 + ((i6 | (~((i7 | i) | i2))) * 318)) + (((~((i | i2) | i3)) | (~((i4 | i7) | i))) * 318) != 1 ? b(objArr) : d(objArr);
}
public PrepaidRequestReviewActivity() {
Sts sts = Sts.d;
C14957gcv.e(sts, "");
this.l = new fZZ(sts);
}
/* loaded from: classes5.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0097, code lost:
if (r3 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.prepaid.request.Hilt_PrepaidRequestReviewActivity, com.scb.phone.view.activity.ReviewCommonActivity, o.AbstractActivityC9792dqa, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onCreate(android.os.Bundle r20) {
/*
Method dump skipped, instructions count: 1088
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.request.PrepaidRequestReviewActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.ReviewCommonActivity
public final String j() {
int i = 2 % 2;
int i2 = q + 13;
t = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.c((Object) getString(R.string.prepaid_request_review_title), "");
throw null;
}
String string = getString(R.string.prepaid_request_review_title);
C14957gcv.c((Object) string, "");
int i3 = q + 43;
t = i3 % 128;
int i4 = i3 % 2;
return string;
}
private static /* synthetic */ Object d(Object[] objArr) {
final ES e;
PrepaidRequestReviewActivity prepaidRequestReviewActivity = (PrepaidRequestReviewActivity) objArr[0];
int i = 2 % 2;
C7675csm c7675csm = prepaidRequestReviewActivity.presenter;
if (c7675csm != null) {
int i2 = t + 121;
q = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 55 / 0;
}
} else {
C14957gcv.a("");
c7675csm = null;
}
final UD ud = prepaidRequestReviewActivity.k;
C1064Uv c1064Uv = prepaidRequestReviewActivity.f7800o;
if (ud != null && c1064Uv != null) {
e = c7675csm.e.e(ud, c1064Uv, true, false, false);
ZI.IeS ieS = new ZI.IeS(ud, e) { // from class: o.csq
private UD b;
private ES e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7675csm.c(this.b, this.e, (InterfaceC9518dlJ.IeS) obj);
}
{
this.b = ud;
this.e = e;
}
};
if (c7675csm.f != 0) {
int i4 = t + 71;
q = i4 % 128;
int i5 = i4 % 2;
ieS.e(c7675csm.f);
}
}
return null;
}
@Override // o.InterfaceC9518dlJ.IeS
public final void e(String str, ES es) {
int i = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(es, "");
((Dwh) this.l.e()).c(((BaseActivity) this).scbAnalytics, "planetscb_request_prepaid_review");
PrepaidOtpActivity.HBt hBt = PrepaidOtpActivity.b;
PrepaidRequestReviewActivity prepaidRequestReviewActivity = this;
C14957gcv.e(prepaidRequestReviewActivity, "");
C14957gcv.e(str, "");
C14957gcv.e(es, "");
Intent putExtra = new Intent(prepaidRequestReviewActivity, (Class<?>) PrepaidOtpActivity.class).putExtra("EXTRA_PREPAID_TRANSACTION_TOKEN", str).putExtra("EXTRA_PREPAID_REVIEW", es);
C14957gcv.c(putExtra, "");
startActivityForResult(putExtra, 1010);
int i2 = t + 35;
q = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9518dlJ.IeS
public final void c(EW ew) {
int i = 2 % 2;
C14957gcv.e(ew, "");
PrepaidRequestSuccessActivity.Sts sts = PrepaidRequestSuccessActivity.b;
PrepaidRequestReviewActivity prepaidRequestReviewActivity = this;
C14957gcv.e(prepaidRequestReviewActivity, "");
C14957gcv.e(ew, "");
Intent intent = new Intent(prepaidRequestReviewActivity, (Class<?>) PrepaidRequestSuccessActivity.class);
intent.putExtra("com.scb.phone.view.activity.prepaid.request.PrepaidRequestSuccessActivity.KEY_SUCCESS", ew);
startActivity(intent);
finish();
int i2 = q + 73;
t = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9518dlJ.IeS
public final void c() {
int i = 2 % 2;
PrepaidRequestLandingActivity.RVV rvv = PrepaidRequestLandingActivity.l;
PrepaidRequestReviewActivity prepaidRequestReviewActivity = this;
C14957gcv.e(prepaidRequestReviewActivity, "");
Intent intent = new Intent(prepaidRequestReviewActivity, (Class<?>) PrepaidRequestLandingActivity.class);
intent.addFlags(603979776);
startActivity(intent);
finish();
int i2 = q + 25;
t = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 25 / 0;
}
}
private static /* synthetic */ Object b(Object[] objArr) {
Bundle extras;
boolean z = false;
PrepaidRequestReviewActivity prepaidRequestReviewActivity = (PrepaidRequestReviewActivity) objArr[0];
int intValue = ((Number) objArr[1]).intValue();
int intValue2 = ((Number) objArr[2]).intValue();
Intent intent = (Intent) objArr[3];
int i = 2 % 2;
super.onActivityResult(intValue, intValue2, intent);
Object obj = null;
if (intValue == 1010) {
if (intValue2 == -1) {
if (intent != null) {
int i2 = t + 99;
q = i2 % 128;
if (i2 % 2 == 0) {
intent.getExtras();
obj.hashCode();
throw null;
}
intent.getExtras();
}
PrepaidOtpActivity.HBt hBt = PrepaidOtpActivity.b;
final EW ew = (intent == null || (extras = intent.getExtras()) == null) ? null : (EW) extras.getParcelable("EXTRA_PREPAID_SUCCESS");
C7675csm c7675csm = prepaidRequestReviewActivity.presenter;
if (c7675csm == null) {
C14957gcv.a("");
int i3 = q + 79;
t = i3 % 128;
int i4 = i3 % 2;
c7675csm = null;
}
if (ew != null) {
ZI.IeS ieS = new ZI.IeS(ew) { // from class: o.csk
private EW e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C7675csm.e(this.e, (InterfaceC9518dlJ.IeS) obj2);
}
{
this.e = ew;
}
};
if (c7675csm.f != 0) {
int i5 = t + 43;
q = i5 % 128;
if (i5 % 2 != 0) {
z = true;
}
}
if (!(!z)) {
ieS.e(c7675csm.f);
}
}
} else if (intValue2 == 0) {
C7675csm c7675csm2 = prepaidRequestReviewActivity.presenter;
if (c7675csm2 == null) {
C14957gcv.a("");
c7675csm2 = null;
}
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.csn
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9518dlJ.IeS) obj2).c();
}
};
if (c7675csm2.f != 0) {
int i6 = q + 59;
t = i6 % 128;
int i7 = i6 % 2;
ieS2.e(c7675csm2.f);
}
return null;
}
}
return null;
}
@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;
int i2 = q;
int i3 = i2 + 59;
t = i3 % 128;
int i4 = i3 % 2;
C7675csm c7675csm = this.presenter;
if (c7675csm != null) {
int i5 = i2 + 61;
t = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 41 / 0;
}
} else {
C14957gcv.a("");
c7675csm = null;
}
c7675csm.w_();
super.onDestroy();
int i7 = q + 73;
t = i7 % 128;
if (i7 % 2 != 0) {
throw null;
}
}
private static void aI(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
int i2 = 2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
byte b2 = 1;
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr2 = p;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i9 = 0;
while (i9 < length) {
int i10 = $10 + 61;
$11 = i10 % 128;
int i11 = i10 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr2[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), View.MeasureSpec.getSize(i4) + 5, (char) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 41977));
byte b3 = (byte) i4;
byte b4 = b3;
Object[] objArr3 = new Object[1];
aJ(b3, b4, b4, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
int i12 = $10 + 21;
$11 = i12 % 128;
if (i12 % 2 == 0) {
int i13 = 3 / 4;
}
i2 = 2;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i6];
char c = 0;
System.arraycopy(cArr2, i5, cArr4, 0, i6);
if (bArr != null) {
int i14 = $10 + 97;
$11 = i14 % 128;
if (i14 % 2 == 0) {
cArr = new char[i6];
tvh.c = 0;
} else {
cArr = new char[i6];
tvh.c = 0;
c = 0;
}
while (tvh.c < i6) {
if (bArr[tvh.c] == b2) {
int i15 = tvh.c;
char c2 = cArr4[tvh.c];
Object[] objArr4 = new Object[2];
objArr4[b2] = Integer.valueOf(c);
objArr4[0] = Integer.valueOf(c2);
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(501 - TextUtils.lastIndexOf("", '0', 0), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 55))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr[i15] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i16 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 16, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) (58134 - (ViewConfiguration.getEdgeSlop() >> 16)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr[i16] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr[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), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (21609 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 + 2);
Object[] objArr7 = new Object[1];
aJ(b5, b6, (byte) (b6 - 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
b2 = 1;
}
cArr4 = cArr;
}
if (i8 > 0) {
int i17 = $11 + 99;
$10 = i17 % 128;
if (i17 % 2 != 0) {
char[] cArr5 = new char[i6];
i = 0;
System.arraycopy(cArr4, 0, cArr5, 1, i6);
System.arraycopy(cArr5, 0, cArr4, i6 / i8, i8);
System.arraycopy(cArr5, i8, cArr4, 1, i6 % i8);
} else {
i = 0;
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);
}
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i6];
tvh.c = i;
while (tvh.c < i6) {
cArr7[tvh.c] = cArr4[(i6 - tvh.c) - 1];
tvh.c++;
}
cArr4 = cArr7;
}
if (i7 > 0) {
int i19 = 0;
while (true) {
tvh.c = i19;
if (tvh.c >= i6) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i19 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.prepaid.request.Hilt_PrepaidRequestReviewActivity, com.scb.phone.view.activity.ReviewCommonActivity, o.AbstractActivityC9792dqa, 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;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aI(new int[]{5, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{20, 17, 13907, 13907, 0, 21, '\n', 7, 13909, 13909, '\b', 16, 20, '\f', '\r', 17, '\n', 23}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.merchant_terminal_label).substring(0, 11).codePointAt(9) + 34), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.add_account_title_selector).substring(31, 32).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = t + 69;
q = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = q + 43;
t = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - ExpandableListView.getPackedPositionChild(0L), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.indexOf("", "") + 487, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - (ViewConfiguration.getTouchSlop() >> 8), 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) View.resolveSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(486 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), AndroidCharacter.getMirror('0') - '+', (char) Color.blue(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aG(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
Object obj;
char c;
int length;
char[] cArr2;
int i3;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr3 = m;
Object obj2 = null;
int i5 = 5;
if (cArr3 != null) {
int i6 = $11 + 69;
$10 = i6 % 128;
if (i6 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
i3 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i3 = 0;
}
while (i3 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i3])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 297, Gravity.getAbsoluteGravity(0, 0) + i5, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))));
byte b3 = (byte) 0;
Object[] objArr3 = new Object[1];
aJ(b3, (byte) (b3 | 46), b3, objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr2[i3] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i3++;
int i7 = $10 + 121;
$11 = i7 % 128;
int i8 = i7 % 2;
i5 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(r)};
Object obj4 = xzZ.y.get(-1987398494);
char c2 = '\b';
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(298 - (ViewConfiguration.getFadingEdgeLength() >> 16), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (Process.getGidForName("") + 1));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
aJ(b4, (byte) (b4 | 46), b4, objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i9 = $11 + 39;
$10 = i9 % 128;
int i10 = i9 % 2;
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
} else {
i2 = i;
}
if (i2 > 1) {
int i11 = $10 + 71;
$11 = i11 % 128;
int i12 = i11 % 2;
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i13 = $10 + 73;
$11 = i13 % 128;
int i14 = i13 % 2;
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
obj = obj2;
c = c2;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[c2] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[6] = irs;
objArr6[5] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 233, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (Color.argb(0, 0, 0, 0) + 22024));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
aJ(b5, (byte) (b5 | 49), b5, objArr7);
obj5 = 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, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
try {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 != null) {
c = '\b';
} else {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 326, TextUtils.getCapsMode("", 0, 0) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24));
byte b6 = (byte) 0;
Object[] objArr9 = new Object[1];
aJ(b6, (byte) (b6 | 47), b6, objArr9);
c = '\b';
obj6 = 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, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[intValue];
cArr4[irs.e + 1] = cArr3[i15];
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
obj = null;
c = '\b';
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i16 = (irs.a * charValue) + irs.f;
int i17 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[i16];
cArr4[irs.e + 1] = cArr3[i17];
} else {
int i18 = (irs.a * charValue) + irs.j;
int i19 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr3[i18];
cArr4[irs.e + 1] = cArr3[i19];
}
}
}
irs.e += 2;
obj2 = obj;
c2 = c;
}
}
for (int i20 = 0; i20 < i; i20++) {
cArr4[i20] = (char) (cArr4[i20] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.prepaid.request.Hilt_PrepaidRequestReviewActivity, com.scb.phone.view.activity.ReviewCommonActivity, o.AbstractActivityC9792dqa, 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];
aI(new int[]{5, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{20, 17, 13907, 13907, 0, 21, '\n', 7, 13909, 13909, '\b', 16, 20, '\f', '\r', 17, '\n', 23}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 61), (ViewConfiguration.getEdgeSlop() >> 16) + 18, 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 = q + 13;
t = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 492, 5 - TextUtils.getCapsMode("", 0, 0), (char) TextUtils.indexOf("", ""))).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(TextUtils.indexOf((CharSequence) "", '0', 0) + 488, 5 - View.getDefaultSize(0, 0), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = q + 7;
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 = q + 15;
t = i6 % 128;
int i7 = i6 % 2;
}
@Override // com.scb.phone.view.activity.prepaid.request.Hilt_PrepaidRequestReviewActivity, com.scb.phone.view.activity.ReviewCommonActivity, o.AbstractActivityC9792dqa, 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) {
Context context2;
int i = 2 % 2;
int i2 = q + 97;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(new char[]{15, 0, 18, '\t', 18, 23, 18, 24, '\f', 3, 24, '\b', '\r', 18, 21, 2, 13918, 13918}, (byte) (117 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))), 18 - Gravity.getAbsoluteGravity(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new int[]{0, 5, 0, 0}, true, new byte[]{0, 1, 0, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = q + 81;
t = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i6 = t + 113;
q = i6 % 128;
if (i6 % 2 == 0) {
context2 = context.getApplicationContext();
int i7 = 31 / 0;
} else {
context2 = context.getApplicationContext();
}
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) TextUtils.indexOf("", "", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aI(new int[]{31, 48, 75, 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];
aI(new int[]{79, 64, 153, 0}, true, new byte[]{0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 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}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new int[]{CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 64, 0, 21}, false, new byte[]{1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 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}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new int[]{207, 74, 129, 40}, true, new byte[]{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, 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}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(new char[]{'\r', 21, '\b', 3, 13752}, (byte) (14 - (ViewConfiguration.getPressedStateDuration() >> 16)), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new int[]{281, 36, CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384, 0}, false, new byte[]{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, 0, 0, 0, 0, 1, 1, 0, 0}, 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(TextUtils.getOffsetAfter("", 0) + 487, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (ViewConfiguration.getScrollDefaultDelay() >> 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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
/* loaded from: classes5.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14890gbN<Dwh> {
public static final Sts d = new Sts();
@Override // o.InterfaceC14890gbN
public final /* synthetic */ Dwh invoke() {
return new Dwh();
}
Sts() {
super(0);
}
}
static void k() {
m = new char[]{35368, 49110, 49088, 49035, 49027, 49138, 49119, 35372, 49089, 49123, 49106, 49034, 49095, 49116, 35373, 49094, 49091, 35371, 49114, 49111, 49117, 35370, 49104, 49053, 35375};
r = (char) 35372;
p = new char[]{39993, 40045, 40020, 40044, 40056, 39993, 40041, 40040, 40032, 40038, 40021, 40045, 40061, 40037, 40036, 40036, 40037, 40032, 40025, 39996, 40004, 40059, 40035, 40012, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 39988, 40092, 40082, 40083, 40092, 40073, 40074, 40053, 40094, 40102, 40101, 40123, 40093, 40052, 40074, 40053, 40055, 40094, 40082, 40082, 40092, 40092, 40092, 40082, 40081, 40083, 40094, 40053, 40075, 40075, 40054, 40094, 40083, 40075, 40094, 40094, 40094, 40095, 40075, 40083, 40103, 40101, 40100, 40093, 40094, 40093, 40075, 40052, 40052, 40183, 40177, 40174, 40155, 40134, 40168, 40173, 40173, 40175, 40132, 40173, 40173, 40172, 40163, 40172, 40183, 40174, 40135, 40135, 40133, 40175, 40177, 40174, 40174, 40176, 40173, 40132, 40175, 40175, 40132, 40155, 40155, 40134, 40134, 40133, 40168, 40169, 40135, 40134, 40135, 40168, 40175, 40174, 40168, 40129, 40128, 40133, 40135, 40134, 40132, 40134, 40134, 40134, 40135, 40173, 40163, 40132, 40175, 40174, 40173, 40173, 40174, 40183, 39954, 40007, 40047, 40007, 40006, 40040, 40040, 40000, 39998, 39996, 39996, 39999, 40000, 40000, 40003, 40040, 40040, 40000, 39997, 40006, 40006, 40007, 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, 40048, 40164, 40128, 40153, 40191, 40160, 40168, 40167, 40160, 40175, 40167, 40165, 40164, 40153, 40134, 40166, 40163, 40169, 40163, 40172, 40173, 40172, 40160, 40167, 40161, 40165, 40164, 40161, 40162, 40163, 40173, 40164, 40153, 40123, 40126, 40156, 40185, 40184, 40190, 40164, 40165, 40191, 40185, 40161, 40165, 40165, 40128, 40122, 40158, 40152, 40153, 40191, 40166, 40172, 40160, 40167, 40134, 40134, 40166, 40162, 40130, 40132, 40164, 40161, 40130, 40129, 40167, 40161, 40167, 40191, 40184, 40167, 40167, 40161, 40068, 40215, 40201, 40167, 40206, 40204, 40164, 40160, 40172, 40161, 40167, 40200, 40215, 40203, 40162, 40167, 40161, 40161, 40163, 40203, 40209, 40215, 40214, 40202, 40163, 40200, 40200, 40201, 40206, 40204, 40214, 40206, 40166, 40166, 40167, 40207};
}
@Override // com.scb.phone.view.activity.prepaid.request.Hilt_PrepaidRequestReviewActivity, com.scb.phone.view.activity.ReviewCommonActivity, o.AbstractActivityC9792dqa, 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 = q + 59;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public final void onActivityResult(int i, int i2, Intent intent) {
d(new Object[]{this, Integer.valueOf(i), Integer.valueOf(i2), intent}, 1069856904, -1069856904, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 965487558);
}
@Override // com.scb.phone.view.activity.ReviewCommonActivity
public final void g() {
d(new Object[]{this}, -866257499, 866257500, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) + 989254409);
}
static {
t = 0;
k();
b = new RVV((byte) 0);
int i = q + 113;
t = i % 128;
if (i % 2 != 0) {
throw null;
}
}
}