what-the-bank/sources/com/scb/phone/view/activity/ccrredemption/ecoupon/ECouponSuccessfulActivity.java

659 lines
40 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ccrredemption.ecoupon;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
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.scb.phone.R;
import com.scb.phone.view.fragment.ccrredemption.ecoupon.ECouponSaveSlipFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC13482fbE;
import o.C0463Hc;
import o.C14957gcv;
import o.C3614bBe;
import o.C4403bZM;
import o.xzZ;
import org.bouncycastle.crypto.signers.PSSSigner;
/* loaded from: classes4.dex */
public final class ECouponSuccessfulActivity extends Hilt_ECouponSuccessfulActivity {
public static final LWm b;
private static int[] k;
private static boolean l;
private static int m;
/* renamed from: o, reason: collision with root package name */
private static char[] f6677o;
private static boolean p;
private static int t;
private static final byte[] $$y = {38, -26, Ascii.ESC, PSSSigner.TRAILER_IMPLICIT};
private static final int $$z = 77;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x0029). 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 aF(short r5, int r6, int r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 4
int r0 = 1 - r7
int r6 = 122 - r6
int r5 = r5 * 3
int r5 = 4 - r5
byte[] r1 = com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponSuccessfulActivity.$$y
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L17
r3 = r6
r6 = r7
r4 = r2
goto L29
L17:
r3 = r2
L18:
byte r4 = (byte) r6
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r7) goto L27
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L27:
r3 = r1[r5]
L29:
int r5 = r5 + 1
int r6 = r6 + r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponSuccessfulActivity.aF(short, int, int, java.lang.Object[]):void");
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.ReviewSuccessfulActivity
public final void j() {
boolean z;
int i = 2 % 2;
Bundle extras = getIntent().getExtras();
if (extras != null) {
int i2 = t + 51;
r = i2 % 128;
int i3 = i2 % 2;
C0463Hc c0463Hc = (C0463Hc) extras.getParcelable("EXTRA_PRODUCT_DISPLAY_MODEL_KEY");
if (c0463Hc != null) {
AbstractC13482fbE a = getSupportFragmentManager().a();
ECouponSaveSlipFragment.IeS ieS = ECouponSaveSlipFragment.d;
String string = extras.getString("EXTRA_CARD_REF_NO_KEY");
if (string == null) {
string = "";
}
String string2 = extras.getString("EXTRA_REF_ID_KEY");
if (string2 == null) {
string2 = "";
}
String str = c0463Hc.f8197o;
C14957gcv.c((Object) str, "");
Integer num = c0463Hc.t;
C14957gcv.c(num, "");
int intValue = num.intValue();
String string3 = extras.getString("EXTRA_SLIP_REF_ID_KEY");
if (string3 == null) {
string3 = "";
}
if (c0463Hc.e != null) {
z = true;
} else {
int i4 = r + 23;
t = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 4 / 2;
}
z = false;
}
C14957gcv.e(string, "");
C14957gcv.e(string2, "");
C14957gcv.e(str, "");
C14957gcv.e(string3, "");
ECouponSaveSlipFragment eCouponSaveSlipFragment = new ECouponSaveSlipFragment();
Bundle bundle = new Bundle();
bundle.putString("EXTRA_CARD_REF_NO_KEY", string);
bundle.putString("EXTRA_REF_ID_KEY", string2);
bundle.putString("EXTRA_ITEM_CODE_KEY", str);
bundle.putString("EXTRA_SLIP_REF_ID_KEY", string3);
bundle.putBoolean("EXTRA_IS_COUPON_SENSITIVE_TIME_KEY", z);
bundle.putInt("EXTRA_RELATION_ID_KEY", intValue);
eCouponSaveSlipFragment.setArguments(bundle);
a.b(R.id.frame_container, eCouponSaveSlipFragment, null, 2);
a.b();
}
}
}
@Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_ECouponSuccessfulActivity, 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];
aD(new int[]{-1154099996, 1170700712, 1737523557, 46511712, 2058301302, 987192028, 1533578500, -1568580916, -983308873, 330073225}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 92, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, 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) {
int i2 = r + 93;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aD(new int[]{-1154099996, 1170700712, 1737523557, 46511712, 306316546, 1526743361, 1484854715, 770769288, 1840193051, 572297969, 287411460, -1921885430, -258871797, -257887617}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new int[]{-2119540291, -926027743, -1885000607, 1891734771, -1848320281, 1744224128, 1191255898, 1479974523, 1134201684, -1345145155}, 18 - View.MeasureSpec.makeMeasureSpec(0, 0), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = t + 43;
r = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.getCapsMode("", 0, 0), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(new int[]{1486171919, 2039589463, -1009988635, 870982496, 783169992, -2095602612, -1847115534, -1454083515, -183359091, 1124903640, 1265988171, 199183172, 2097865799, 390523400, 2074370984, 1356753349, 834934278, -117839551, -745778472, 210033836, -1701388072, 1471213760, -1255821509, 1218412068}, (ViewConfiguration.getScrollBarSize() >> 8) + 48, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) + 12, new byte[]{-122, -112, ISOFileInfo.FCI_EXT, -120, -109, ISOFileInfo.CHANNEL_SECURITY, -113, -109, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -109, -113, ISOFileInfo.ENV_TEMP_EF, -108, -109, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_EXP, -120, -112, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.FCI_EXT, ISOFileInfo.FCI_EXT, -109, ISOFileInfo.SECURITY_ATTR_EXP, -112, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, -109, -110, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, -113, -110, -120, -111, -119, -112, -120, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, -119, -120, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -122, -120, ISOFileInfo.FCI_EXT, -122}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(null, null, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 126, new byte[]{ISOFileInfo.ENV_TEMP_EF, -113, -109, ISOFileInfo.SECURITY_ATTR_EXP, -112, -108, -112, -110, -108, -110, ISOFileInfo.LCS_BYTE, -120, -109, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.FCI_EXT, -122, -120, -113, -108, -111, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -112, ISOFileInfo.FCI_EXT, -119, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, -120, -109, -122, -108, -109, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.ENV_TEMP_EF, -110, ISOFileInfo.CHANNEL_SECURITY, -110, -108, ISOFileInfo.FCI_EXT, -112, -109, -110, -119, ISOFileInfo.FCI_EXT, -122, -111, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, -122, -111, -112, -111, -110, -109, -112}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-104, -106, -98, -122, -92, -122, -102, ISOFileInfo.SECURITY_ATTR_COMPACT, -92, -102, -106, -104, -122, ISOFileInfo.A1, -98, -124, -102, -124, -105, -112, -102, ISOFileInfo.DATA_BYTES2, -101, -113, ISOFileInfo.A0, -122, -100, -112, -94, -93, -104, ISOFileInfo.PROP_INFO, -100, -112, -94, ISOFileInfo.A1, ISOFileInfo.A0, -106, -104, -112, -113, -106, -112, -122, -100, -107, -106, ISOFileInfo.A0, -97, -98, -112, ISOFileInfo.FCI_EXT, -99, -112, -124, -113, -100, -122, ISOFileInfo.DATA_BYTES2, ISOFileInfo.DATA_BYTES2, -101, -113, ISOFileInfo.DATA_BYTES2, -112, -124, -104, -102, -102, -103, -104, -105, -106, -106, -107}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.change_statement_not_verify_email_desc).substring(58, 59).length() + 126, new byte[]{-110, ISOFileInfo.A0, -109, ISOFileInfo.A0, ISOFileInfo.LCS_BYTE}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(new int[]{1489565947, -406706537, 453896986, 624805758, -2129970661, -2117348661, -2055032518, -58468320, -918826621, 729408443, 1198964304, -2014701057, 1382271741, 1659287297, 1038715793, 1271564044, 16264608, -197810301}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 75, 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(486 - ((byte) KeyEvent.getModifierMetaStateMask()), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i6 = t + 43;
r = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
}
private static void aD(int[] iArr, int i, Object[] objArr) {
String str;
char c;
String str2 = "";
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = k;
int i3 = 1;
int i4 = 0;
if (iArr2 != null) {
int length = iArr2.length;
int[] iArr3 = new int[length];
int i5 = 0;
while (i5 < length) {
try {
Object[] objArr2 = new Object[i3];
objArr2[0] = Integer.valueOf(iArr2[i5]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - Color.blue(0), (Process.myPid() >> 22) + 5, (char) (58134 - (ViewConfiguration.getScrollDefaultDelay() >> 16)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i5] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i5++;
i3 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr2 = iArr3;
}
int length2 = iArr2.length;
int[] iArr4 = new int[length2];
int[] iArr5 = k;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i6 = 0;
while (i6 < length3) {
int i7 = $10 + 67;
$11 = i7 % 128;
int i8 = i7 % 2;
Object[] objArr3 = new Object[1];
objArr3[i4] = Integer.valueOf(iArr5[i6]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
str = str2;
c = 55346;
} else {
str = str2;
Method method = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 15, 5 - View.getDefaultSize(0, 0), (char) (58134 - TextUtils.indexOf(str2, str2, 0)))).getMethod("i", Integer.TYPE);
c = 55346;
xzZ.y.put(729798706, method);
obj2 = method;
}
iArr6[i6] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i6++;
str2 = str;
i4 = 0;
}
iArr5 = iArr6;
}
int i9 = i4;
System.arraycopy(iArr5, i9, iArr4, i9, length2);
c4403bZM.b = i9;
while (c4403bZM.b < iArr.length) {
int i10 = $10 + 47;
$11 = i10 % 128;
int i11 = i10 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr4);
int i12 = 0;
for (int i13 = 16; i12 < i13; i13 = 16) {
int i14 = $10 + 33;
$11 = i14 % 128;
int i15 = i14 % 2;
c4403bZM.e ^= iArr4[i12];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 118, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aF(b2, (byte) (b2 | Ascii.DC2), b2, objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i12++;
}
int i16 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i16;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i17 = c4403bZM.e;
int i18 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr4);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 98, 5 - (Process.myTid() >> 22), (char) (Process.myPid() >> 22));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aF(b3, (byte) (b3 | Ascii.DC4), b3, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
String str3 = new String(cArr2, 0, i);
int i19 = $11 + 7;
$10 = i19 % 128;
int i20 = i19 % 2;
objArr[0] = str3;
}
private static void aE(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int length;
char[] cArr2;
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = f6677o;
if (cArr3 != null) {
int i3 = $11 + 125;
$10 = i3 % 128;
if (i3 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
} else {
length = cArr3.length;
cArr2 = new char[length];
}
for (int i4 = 0; i4 < length; i4++) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i4])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.alpha(0) + 337, ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aF(b2, (byte) (b2 | 57), b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr2[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(m)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(283 - (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)), 5 - TextUtils.getCapsMode("", 0, 0), (char) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 39813));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aF(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (p) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(40 - ((Process.getThreadPriority(0) + 20) >> 6), 5 - Drawable.resolveOpacity(0, 0), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
if (l) {
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 41, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i5 = $11 + 39;
$10 = i5 % 128;
if (i5 % 2 != 0) {
cArr6[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c / 0) / c3614bBe.a] + i] % intValue);
} else {
cArr6[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
}
c3614bBe.a++;
}
String str = new String(cArr6);
int i6 = $10 + 111;
$11 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
/* JADX WARN: Code restructure failed: missing block: B:30:0x0020, code lost:
r6 = new java.lang.Object[1];
aD(new int[]{-1154099996, 1170700712, 1737523557, 46511712, 306316546, 1526743361, 1484854715, 770769288, 1840193051, 572297969, 287411460, -1921885430, -258871797, -257887617}, 26 - (android.view.ViewConfiguration.getMaximumDrawingCacheSize() >> 24), r6);
r1 = java.lang.Class.forName((java.lang.String) r6[0]);
r7 = (java.lang.Object[]) null;
r7 = new java.lang.Object[1];
aD(new int[]{-2119540291, -926027743, -1885000607, 1891734771, -1848320281, 1744224128, 1191255898, 1479974523, 1134201684, -1345145155}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.add_account_empty).substring(90, 91).length() + 17, r7);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
r5 = com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponSuccessfulActivity.r + 77;
com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponSuccessfulActivity.t = r5 % 128;
r5 = r5 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x001e, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0017, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_ECouponSuccessfulActivity, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onResume() {
/*
Method dump skipped, instructions count: 396
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponSuccessfulActivity.onResume():void");
}
/* JADX INFO: Access modifiers changed from: private */
/* JADX WARN: Code restructure failed: missing block: B:31:0x0025, code lost:
r6 = new java.lang.Object[1];
aD(new int[]{-1154099996, 1170700712, 1737523557, 46511712, 306316546, 1526743361, 1484854715, 770769288, 1840193051, 572297969, 287411460, -1921885430, -258871797, -257887617}, 26 - android.graphics.Color.alpha(0), r6);
r2 = java.lang.Class.forName((java.lang.String) r6[0]);
r7 = (java.lang.Object[]) null;
r7 = new java.lang.Object[1];
aD(new int[]{-2119540291, -926027743, -1885000607, 1891734771, -1848320281, 1744224128, 1191255898, 1479974523, 1134201684, -1345145155}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, r7);
r2 = (android.content.Context) r2.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x0023, code lost:
if (r2 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001c, code lost:
if (r2 == null) goto L9;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ java.lang.Object a(java.lang.Object[] r11) {
/*
Method dump skipped, instructions count: 384
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponSuccessfulActivity.a(java.lang.Object[]):java.lang.Object");
}
@Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_ECouponSuccessfulActivity, 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) {
int i = 2 % 2;
int i2 = r + 9;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{-1154099996, 1170700712, 1737523557, 46511712, 2058301302, 987192028, 1533578500, -1568580916, -983308873, 330073225}, View.getDefaultSize(0, 0) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
Object obj = null;
aE(null, null, 127 - (ViewConfiguration.getLongPressTimeout() >> 16), new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = t + 77;
r = i4 % 128;
if (i4 % 2 != 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
context = context.getApplicationContext();
}
if (context != null) {
int i5 = r + 65;
t = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - View.getDefaultSize(0, 0), 5 - View.MeasureSpec.getSize(0), (char) View.getDefaultSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(new int[]{1486171919, 2039589463, -1009988635, 870982496, 783169992, -2095602612, -1847115534, -1454083515, -183359091, 1124903640, 1265988171, 199183172, 2097865799, 390523400, 2074370984, 1356753349, 834934278, -117839551, -745778472, 210033836, -1701388072, 1471213760, -1255821509, 1218412068}, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(null, null, 126 - TextUtils.lastIndexOf("", '0'), new byte[]{-122, -112, ISOFileInfo.FCI_EXT, -120, -109, ISOFileInfo.CHANNEL_SECURITY, -113, -109, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -109, -113, ISOFileInfo.ENV_TEMP_EF, -108, -109, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_EXP, -120, -112, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.FCI_EXT, ISOFileInfo.FCI_EXT, -109, ISOFileInfo.SECURITY_ATTR_EXP, -112, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, -109, -110, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, -113, -110, -120, -111, -119, -112, -120, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, -119, -120, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -122, -120, ISOFileInfo.FCI_EXT, -122}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(null, null, 126 - TextUtils.lastIndexOf("", '0', 0, 0), new byte[]{ISOFileInfo.ENV_TEMP_EF, -113, -109, ISOFileInfo.SECURITY_ATTR_EXP, -112, -108, -112, -110, -108, -110, ISOFileInfo.LCS_BYTE, -120, -109, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.FCI_EXT, -122, -120, -113, -108, -111, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -112, ISOFileInfo.FCI_EXT, -119, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, -120, -109, -122, -108, -109, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.ENV_TEMP_EF, -110, ISOFileInfo.CHANNEL_SECURITY, -110, -108, ISOFileInfo.FCI_EXT, -112, -109, -110, -119, ISOFileInfo.FCI_EXT, -122, -111, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, -122, -111, -112, -111, -110, -109, -112}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(null, null, 127 - View.resolveSizeAndState(0, 0, 0), new byte[]{-104, -106, -98, -122, -92, -122, -102, ISOFileInfo.SECURITY_ATTR_COMPACT, -92, -102, -106, -104, -122, ISOFileInfo.A1, -98, -124, -102, -124, -105, -112, -102, ISOFileInfo.DATA_BYTES2, -101, -113, ISOFileInfo.A0, -122, -100, -112, -94, -93, -104, ISOFileInfo.PROP_INFO, -100, -112, -94, ISOFileInfo.A1, ISOFileInfo.A0, -106, -104, -112, -113, -106, -112, -122, -100, -107, -106, ISOFileInfo.A0, -97, -98, -112, ISOFileInfo.FCI_EXT, -99, -112, -124, -113, -100, -122, ISOFileInfo.DATA_BYTES2, ISOFileInfo.DATA_BYTES2, -101, -113, ISOFileInfo.DATA_BYTES2, -112, -124, -104, -102, -102, -103, -104, -105, -106, -106, -107}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(null, null, (Process.myTid() >> 22) + 127, new byte[]{-110, ISOFileInfo.A0, -109, ISOFileInfo.A0, ISOFileInfo.LCS_BYTE}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{1489565947, -406706537, 453896986, 624805758, -2129970661, -2117348661, -2055032518, -58468320, -918826621, 729408443, 1198964304, -2014701057, 1382271741, 1659287297, 1038715793, 1271564044, 16264608, -197810301}, 36 - Color.argb(0, 0, 0, 0), objArr8);
Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 486, 4 - ImageFormat.getBitsPerPixel(0), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
static void g() {
k = new int[]{-1554947444, 1012025220, 839936366, -193235750, 2055548121, -422396639, -1059290830, 190382185, -916602626, 1593222710, -1684659229, 962962073, -1062989053, -534238339, 472729024, 990970511, -1773924766, -208023695};
f6677o = new char[]{15991, 15971, 15951, 15987, 15998, 15999, 15996, 15904, 15918, 15907, 15919, 15916, 15905, 15915, 15997, 15995, 15917, 15914, 15906, 15984, 15986, 15982, 15978, 15981, 15908, 15913, 15977, 15980, 15990, 15976, 15989, 15912, 15985, 15983, 15979, 15968};
m = 1934310938;
l = true;
p = true;
}
@Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_ECouponSuccessfulActivity, 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 = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1318768919;
a(new Object[]{this});
}
@Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_ECouponSuccessfulActivity, 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 = t + 125;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = r + 103;
t = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
static {
t = 1;
g();
b = new LWm((byte) 0);
int i = r + 33;
t = i % 128;
if (i % 2 == 0) {
int i2 = 4 / 0;
}
}
}