what-the-bank/sources/com/scb/phone/view/activity/partner/nsip/NsipPartnerPaymentSuccessAc...

693 lines
38 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.partner.nsip;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.parntner.nsip.NsipPartnerPaymentSuccessFragment;
import java.lang.reflect.Method;
import java.util.ArrayList;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC13482fbE;
import o.C14957gcv;
import o.C17437wka;
import o.EW;
import o.GuL;
import o.TVH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public final class NsipPartnerPaymentSuccessActivity extends Hilt_NsipPartnerPaymentSuccessActivity {
public static final RVV b;
private static int l;
private static long m;
/* renamed from: o, reason: collision with root package name */
private static char[] f7702o;
private static final byte[] $$E = {80, 41, ISO7816.INS_UPDATE_RECORD, 94};
private static final int $$F = 71;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x0031). 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(short r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 2
int r0 = 1 - r6
int r7 = r7 * 2
int r7 = 121 - r7
int r8 = r8 * 4
int r8 = 3 - r8
byte[] r1 = com.scb.phone.view.activity.partner.nsip.NsipPartnerPaymentSuccessActivity.$$E
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L18
r3 = r8
r4 = r2
goto L31
L18:
r3 = r2
L19:
int r8 = r8 + 1
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r6) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L28:
int r3 = r3 + 1
r4 = r1[r8]
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L31:
int r7 = -r7
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.partner.nsip.NsipPartnerPaymentSuccessActivity.aJ(short, short, int, java.lang.Object[]):void");
}
/* loaded from: classes5.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.ReviewSuccessfulActivity
public final void j() {
int i = 2 % 2;
int i2 = k + 61;
l = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
super.j();
Intent intent = getIntent();
EW ew = intent != null ? (EW) intent.getParcelableExtra("EXTRA_NSIP_SUCCESS") : null;
Intent intent2 = getIntent();
ArrayList parcelableArrayListExtra = intent2 != null ? intent2.getParcelableArrayListExtra("EXTRA_NSIP_DEEPLINK_BUTTON") : null;
if (ew != null) {
int i3 = l + 41;
k = i3 % 128;
if (i3 % 2 == 0) {
Bundle extras = getIntent().getExtras();
String string = extras != null ? extras.getString("NSIP_TRACKER_FROM", C17437wka.b.d) : null;
NsipPartnerPaymentSuccessFragment.HBt hBt = NsipPartnerPaymentSuccessFragment.d;
ArrayList arrayList = parcelableArrayListExtra;
C14957gcv.e(ew, "");
NsipPartnerPaymentSuccessFragment nsipPartnerPaymentSuccessFragment = new NsipPartnerPaymentSuccessFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("EXTRA_NSIP_SUCCESS", ew);
bundle.putString("NSIP_TRACKER_FROM", string);
if (arrayList != null) {
bundle.putParcelableArrayList("EXTRA_NSIP_DEEPLINK_BUTTON", new ArrayList<>(arrayList));
}
nsipPartnerPaymentSuccessFragment.setArguments(bundle);
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.frame_container, nsipPartnerPaymentSuccessFragment, null, 2);
a.b();
return;
}
getIntent().getExtras();
obj.hashCode();
throw null;
}
return;
}
super.j();
getIntent();
throw null;
}
private static void aI(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(m ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
int i4 = $10 + 13;
$11 = i4 % 128;
int i5 = i4 % 2;
while (guL.a < a.length) {
int i6 = $11 + 5;
$10 = i6 % 128;
int i7 = i6 % 2;
guL.c = guL.a - i3;
int i8 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(m)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 208, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (1705 - ((byte) KeyEvent.getModifierMetaStateMask())));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
aJ(b2, b3, (byte) (b3 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 392, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aJ(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
i3 = 4;
} 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;
}
}
String str = new String(a, 4, a.length - 4);
int i9 = $11 + 61;
$10 = i9 % 128;
if (i9 % 2 != 0) {
throw null;
}
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.partner.nsip.Hilt_NsipPartnerPaymentSuccessActivity, com.scb.phone.view.activity.ReviewSuccessfulActivity, o.AbstractActivityC9796dqe, 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;
Object[] objArr = new Object[1];
aG(new int[]{0, 18, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new int[]{18, 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 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aG(new int[]{23, 26, 59, 9}, false, new byte[]{0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aI(new char[]{26062, 26029, 35058, 5556, 5322, 54959, 9286, 19524, 31725, 16566, 4859, 44029, 950, 14079, 62370, 32473, 31905, 57834, 16062, 3549, 43441, 23801}, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = l + 19;
k = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) ('0' - AndroidCharacter.getMirror('0')))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aG(new int[]{49, 48, 36, 20}, true, new byte[]{0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 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}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new char[]{20711, 20610, 10973, 65535, 59299, 58325, 34430, 42571, 55769, 43769, 57733, 22779, 13962, 38018, 6643, 36344, 18905, 17285, 54514, 65275, 40129, 65179, 33768, 13284, 12176, 44445, 32444, 25830, 25292, 22673, 11745, 55741, 46537, 6042, 39141, 2786, 51440, 49832, 22492, 32647, 7158, 29091, 655, 45184, 44793, 11509, 61824, 58840, 57854, 56226, 44243, 22152, 13491, 38583, 7071, 35777, 18352, 17843, 54984, 64656, 39655, 61668, 34240, 12742, 11757, 45025, 28820, 25247}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{1539, 1634, 10231, 7028, 62117, 46438, 35598, 17094, 54520, 20005, 62677, 19959, 24633, 39422, 64895, 39163, 8045, 20215, 12408, 60322, 51826, 62397, 26418, 9910, 31014, 41195, 39527, 29104, 13432, 21999, 51514, 52459, 58151, 6885, 31841, 8174, 40471, 53133, 45829, 27267, 19730, 31961, 58961, 42371, 63518, 8663, 5465, 61581, 46921, 54912, 18526, 17375, 25169, 39834, 65350, 40606, 4353, 18626, 12864, 59844, 52235, 64918, 24858, 9423, 31498, 41675, 37915, 30621}, -ImageFormat.getBitsPerPixel(0), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new int[]{97, 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];
aI(new char[]{1085, 1028, 6134, 57093, 42225, 46857, 47897, 34495, 41628}, View.MeasureSpec.getSize(0) + 1, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aG(new int[]{CipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384, 36, 87, 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}, 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 - (Process.myPid() >> 22), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) View.combineMeasuredStates(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, objArr11);
int i4 = l + 9;
k = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object b(Object[] objArr) {
Method method;
NsipPartnerPaymentSuccessActivity nsipPartnerPaymentSuccessActivity = (NsipPartnerPaymentSuccessActivity) objArr[0];
int i = 2 % 2;
Context baseContext = nsipPartnerPaymentSuccessActivity.getBaseContext();
if (baseContext == null) {
int i2 = k + 105;
l = i2 % 128;
if (i2 % 2 == 0) {
Object[] objArr2 = new Object[1];
aG(new int[]{23, 26, 59, 9}, true, new byte[]{0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1}, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aI(new char[]{26062, 26029, 35058, 5556, 5322, 54959, 9286, 19524, 31725, 16566, 4859, 44029, 950, 14079, 62370, 32473, 31905, 57834, 16062, 3549, 43441, 23801}, 1 >>> TextUtils.getCapsMode("", 0, 1), objArr3);
method = cls.getMethod((String) objArr3[0], new Class[1]);
} else {
Object[] objArr4 = new Object[1];
aG(new int[]{23, 26, 59, 9}, false, new byte[]{0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1}, objArr4);
Class<?> cls2 = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
aI(new char[]{26062, 26029, 35058, 5556, 5322, 54959, 9286, 19524, 31725, 16566, 4859, 44029, 950, 14079, 62370, 32473, 31905, 57834, 16062, 3549, 43441, 23801}, TextUtils.getCapsMode("", 0, 0) + 1, objArr5);
method = cls2.getMethod((String) objArr5[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
int i3 = k + 73;
l = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = k + 19;
l = i5 % 128;
try {
if (i5 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 492, 5 - TextUtils.getTrimmedLength(""), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr6 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), Color.red(0) + 5, (char) ('0' - AndroidCharacter.getMirror('0')))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr6);
int i6 = 63 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.indexOf("", "") + 492, 5 - Color.alpha(0), (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr7 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((-16776729) - Color.rgb(0, 0, 0), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr7);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onResume();
int i7 = k + 3;
l = i7 % 128;
if (i7 % 2 == 0) {
int i8 = 41 / 0;
}
return null;
}
@Override // com.scb.phone.view.activity.partner.nsip.Hilt_NsipPartnerPaymentSuccessActivity, com.scb.phone.view.activity.ReviewSuccessfulActivity, o.AbstractActivityC9796dqe, 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;
int i2 = l + 17;
k = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aG(new int[]{23, 26, 59, 9}, false, new byte[]{0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{26062, 26029, 35058, 5556, 5322, 54959, 9286, 19524, 31725, 16566, 4859, 44029, 950, 14079, 62370, 32473, 31905, 57834, 16062, 3549, 43441, 23801}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = k + 37;
l = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = l + 115;
k = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollDefaultDelay() >> 16), Color.blue(0) + 5, (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - Process.getGidForName(""), TextUtils.getOffsetBefore("", 0) + 5, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aG(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int length;
char[] cArr;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr2 = f7702o;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr2 != null) {
int i8 = $11 + 27;
$10 = i8 % 128;
if (i8 % 2 != 0) {
length = cArr2.length;
cArr = new char[length];
} else {
length = cArr2.length;
cArr = new char[length];
}
int i9 = 0;
while (i9 < length) {
int i10 = $10 + 103;
$11 = i10 % 128;
int i11 = i10 % 2;
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - TextUtils.getOffsetBefore("", i3), 4 - MotionEvent.axisFromString(""), (char) (41977 - (TypedValue.complexToFloat(i3) > f ? 1 : (TypedValue.complexToFloat(i3) == f ? 0 : -1))));
byte b2 = (byte) i3;
Object[] objArr3 = new Object[1];
aJ(b2, (byte) (b2 | Ascii.EM), b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
int i12 = $11 + 67;
$10 = i12 % 128;
int i13 = i12 % 2;
i3 = 0;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr;
}
char[] cArr3 = new char[i5];
System.arraycopy(cArr2, i4, cArr3, 0, i5);
if (bArr != null) {
int i14 = $11 + 25;
$10 = i14 % 128;
int i15 = i14 % 2;
char[] cArr4 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i16 = tvh.c;
try {
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 502, 5 - Drawable.resolveOpacity(0, 0), (char) (54 - ExpandableListView.getPackedPositionGroup(0L)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i16] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i17 = 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((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 15, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (58134 - (ViewConfiguration.getWindowTouchSlop() >> 8)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i17] = ((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 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (View.MeasureSpec.getMode(0) + 21608));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aJ(b3, (byte) (b3 | Ascii.CAN), b3, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i7 > 0) {
char[] cArr5 = new char[i5];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i5);
int i18 = i5 - i7;
System.arraycopy(cArr5, 0, cArr3, i18, i7);
System.arraycopy(cArr5, i7, cArr3, 0, i18);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
int i19 = $10 + 27;
$11 = i19 % 128;
int i20 = i19 % 2;
cArr3 = cArr6;
}
if (i6 > 0) {
int i21 = 0;
while (true) {
tvh.c = i21;
if (tvh.c >= i5) {
break;
}
int i22 = $11 + 5;
$10 = i22 % 128;
int i23 = i22 % 2;
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i21 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@Override // com.scb.phone.view.activity.partner.nsip.Hilt_NsipPartnerPaymentSuccessActivity, com.scb.phone.view.activity.ReviewSuccessfulActivity, o.AbstractActivityC9796dqe, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(new int[]{0, 18, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new int[]{18, 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 i2 = l + 121;
k = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i4 = k + 85;
l = i4 % 128;
if (i4 % 2 == 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i5 = k + 7;
l = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 492, AndroidCharacter.getMirror('0') - '+', (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aG(new int[]{49, 48, 36, 20}, true, new byte[]{0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 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}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aI(new char[]{20711, 20610, 10973, 65535, 59299, 58325, 34430, 42571, 55769, 43769, 57733, 22779, 13962, 38018, 6643, 36344, 18905, 17285, 54514, 65275, 40129, 65179, 33768, 13284, 12176, 44445, 32444, 25830, 25292, 22673, 11745, 55741, 46537, 6042, 39141, 2786, 51440, 49832, 22492, 32647, 7158, 29091, 655, 45184, 44793, 11509, 61824, 58840, 57854, 56226, 44243, 22152, 13491, 38583, 7071, 35777, 18352, 17843, 54984, 64656, 39655, 61668, 34240, 12742, 11757, 45025, 28820, 25247}, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 1, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new char[]{1539, 1634, 10231, 7028, 62117, 46438, 35598, 17094, 54520, 20005, 62677, 19959, 24633, 39422, 64895, 39163, 8045, 20215, 12408, 60322, 51826, 62397, 26418, 9910, 31014, 41195, 39527, 29104, 13432, 21999, 51514, 52459, 58151, 6885, 31841, 8174, 40471, 53133, 45829, 27267, 19730, 31961, 58961, 42371, 63518, 8663, 5465, 61581, 46921, 54912, 18526, 17375, 25169, 39834, 65350, 40606, 4353, 18626, 12864, 59844, 52235, 64918, 24858, 9423, 31498, 41675, 37915, 30621}, -TextUtils.lastIndexOf("", '0', 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new int[]{97, 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}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{1085, 1028, 6134, 57093, 42225, 46857, 47897, 34495, 41628}, View.MeasureSpec.makeMeasureSpec(0, 0) + 1, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new int[]{CipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384, 36, 87, 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(487 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).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;
}
}
}
static void g() {
f7702o = new char[]{39995, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40005, 40058, 40027, 39988, 40042, 40059, 40034, 40047, 40039, 40056, 39993, 40045, 40020, 40044, 40056, 40025, 40098, 40122, 40106, 40082, 40099, 40109, 40085, 40086, 40086, 40105, 40111, 40109, 40096, 40108, 40106, 40079, 40073, 40104, 40096, 40065, 40057, 40070, 40109, 40098, 40097, 39973, 40018, 40029, 40037, 40058, 40018, 40037, 40037, 40037, 40038, 40018, 40058, 40078, 40076, 40067, 40036, 40037, 40036, 40018, 40019, 40029, 40059, 40057, 40058, 40059, 40016, 40017, 40028, 40037, 40077, 40076, 40066, 40036, 40019, 40017, 40028, 40030, 40037, 40057, 40057, 40059, 40059, 40059, 40057, 40056, 40058, 40037, 40028, 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, 40021, 40113, 40107, 40065, 40104, 40110, 40070, 40066, 40078, 40067, 40065, 40106, 40113, 40085, 40076, 40065, 40067, 40067, 40077, 40085, 40115, 40113, 40112, 40084, 40077, 40106, 40106, 40107, 40104, 40110, 40112, 40104, 40064, 40064, 40065, 40105};
m = -845234776927144802L;
}
@Override // com.scb.phone.view.activity.partner.nsip.Hilt_NsipPartnerPaymentSuccessActivity, com.scb.phone.view.activity.ReviewSuccessfulActivity, o.AbstractActivityC9796dqe, 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 = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1817674612;
b(new Object[]{this});
}
@Override // com.scb.phone.view.activity.partner.nsip.Hilt_NsipPartnerPaymentSuccessActivity, com.scb.phone.view.activity.ReviewSuccessfulActivity, o.AbstractActivityC9796dqe, 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 = k + 25;
l = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = l + 25;
k = i4 % 128;
int i5 = i4 % 2;
}
static {
l = 1;
g();
b = new RVV((byte) 0);
int i = k + 9;
l = i % 128;
if (i % 2 == 0) {
int i2 = 20 / 0;
}
}
}