what-the-bank/sources/com/scb/phone/view/activity/ccrredemption/mileage/MileageReviewRedemptionActi...

663 lines
44 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ccrredemption.mileage;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import butterknife.ButterKnife;
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 java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC10165dxd;
import o.C0469Hf;
import o.C3614bBe;
import o.IRS;
import o.nMh;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public class MileageReviewRedemptionActivity extends AbstractActivityC10165dxd {
private C0469Hf b;
private static final byte[] $$E = {4, 8, Ascii.DC4, -35};
private static final int $$F = 31;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int r = 1;
private static char[] m = {16315, 16296, 16318, 16300, 16297, 16307, 15976, 16301, 16266, 16317, 16319, 16298, 16283, 16302, 16288, 16291, 16270, 16306, 16303, 16310, 16316, 15968, 15982, 15971, 15983, 15980, 15969, 15979, 15981, 15978, 15970, 16304, 15991};
private static int l = 1934311002;
private static boolean k = true;
/* renamed from: o, reason: collision with root package name */
private static boolean f6688o = true;
private static char[] p = {49114, 49093, 49028, 49033, 49031, 49035, 49110, 49118, 49029, 49105, 49112, 49098, 49117, 49111, 49024, 49025, 49106, 49091, 49053, 49088, 49119, 49026, 49095, 49115, 49094, 49089, 49108, 49034, 49109, 49104, 49027, 49030, 49052, 49090, 49116, 49126};
private static char t = 35375;
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0028). 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(byte r5, int r6, int r7, java.lang.Object[] r8) {
/*
int r7 = r7 + 65
int r5 = r5 + 4
byte[] r0 = com.scb.phone.view.activity.ccrredemption.mileage.MileageReviewRedemptionActivity.$$E
int r6 = r6 * 2
int r1 = 1 - r6
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L14
r4 = r6
r3 = r2
goto L28
L14:
r3 = r2
L15:
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r6) goto L22
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L22:
int r5 = r5 + 1
r4 = r0[r5]
int r3 = r3 + 1
L28:
int r7 = r7 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.mileage.MileageReviewRedemptionActivity.aJ(byte, int, int, java.lang.Object[]):void");
}
public static Intent ZR_(Context context, C0469Hf c0469Hf) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) MileageReviewRedemptionActivity.class);
intent.putExtra("com.scb.phone.presentation.view.activity.ccr_redemption.mileage.MileageReviewRedemptionActivity.KEY_MILEAGE_REDEMPTION_DTO", c0469Hf);
int i2 = q + 27;
r = i2 % 128;
int i3 = i2 % 2;
return intent;
}
@Override // o.AbstractActivityC10165dxd, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = q + 123;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.product_points_and_points_plus_cash).substring(0, 5).length() + 122, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{'\b', 6, 30, 5, 13928}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 72), 5 - ExpandableListView.getPackedPositionGroup(0L), 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(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.abc_menu_alt_shortcut_label).substring(0, 4).length() + 123, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_coin_more_detail_header_1).substring(0, 20).length() + 107, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -108, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.CHANNEL_SECURITY, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, -109, ISOFileInfo.LCS_BYTE}, 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 = r + 47;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarSize() >> 8), 5 - Gravity.getAbsoluteGravity(0, 0), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aI(new char[]{20, 3, 3, '\n', 17, 26, '\"', 22, 15, '!', 16, 17, 15, '\b', 17, 2, '\b', 15, 17, 3, 16, 2, 15, NistHelper.SEP_FS, 26, '\n', 25, '#', 24, NistHelper.SEP_FS, 15, 19, 19, '!', 3, 23, 24, '\n', 13819, 13819, 16, 3, 25, '!', '#', 11, '\n', 0}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_facial_verification_locked_no_card_button_return_label).substring(14, 15).length() + 2), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 48, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 114, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -107, -106, -97, -100, ISOFileInfo.LCS_BYTE, -97, -107, -103, -97, ISOFileInfo.LCS_BYTE, -101, ISOFileInfo.A0, -97, ISOFileInfo.FILE_IDENTIFIER, -107, -106, -100, -103, -106, ISOFileInfo.DATA_BYTES2, -107, -106, -107, -107, -97, -103, ISOFileInfo.DATA_BYTES2, -103, -101, -101, -97, -98, -104, -102, ISOFileInfo.LCS_BYTE, -98, -106, -99, -105, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.LCS_BYTE, -102, -100, -105, -106, -100, -101, -106, -102, -106, -102, -103, ISOFileInfo.SECURITY_ATTR_EXP, -104, -105, -107, -106, ISOFileInfo.SECURITY_ATTR_EXP, -106, -107, ISOFileInfo.SECURITY_ATTR_EXP}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{17, 4, ' ', '\f', 17, 15, 13840, 13840, 21, '!', '\f', '\b', '\n', 3, '#', 0, 15, '\n', 24, '\"', 18, '!', 3, 14, '#', 11, 24, '\n', 2, 11, 25, 15, 3, '\n', '\r', '\"', '!', '\r', 13756, 13756, ' ', 31, ' ', '\r', 29, 24, '\t', 7, '\n', 7, 17, 3, '\t', 26, '\"', 24, '\"', '\f', '\"', 22, '#', 1, 26, 5}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.promptpay_qr_prompt_pay_is_required_detail).substring(20, 21).length() + 16), View.MeasureSpec.makeMeasureSpec(0, 0) + 64, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new char[]{18, 23, 23, 16, 21, 1, 13796, 13796, 18, 1, '\r', '\n', NistHelper.SEP_FS, '#', 13862, 13862, 7, 24, 24, 5, 14, 22, '\n', 15, 16, 6, 19, 23, 19, 29, '\n', '\f', 23, NistHelper.SEP_FS, '\r', 22, 23, 19, 27, 25, '\r', NistHelper.SEP_FS, 19, 25, 30, 27, '\r', NistHelper.SEP_FS, '\f', 24, NistHelper.SEP_FS, '#', '\b', 31, 17, '\f', 2, 30, 6, 18, 24, '\b', 20, 23, 31, 2, 14, '!', 7, 0, '\f', 18, 23, 20}, (byte) (46 - ImageFormat.getBitsPerPixel(0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_success_remark_ntb).substring(71, 72).length() + 73, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aI(new char[]{24, 21, 0, 23, 13824}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_insurance_request_e_policy_success_description).substring(51, 52).length() + 85), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_facial_locked_warning_message).substring(63, 64).codePointAt(0) - 27, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aG(null, null, 127 - View.MeasureSpec.getSize(0), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -100, -103, -105, -103, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -101, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -102, ISOFileInfo.A1, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -107, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A1, -100, -100, -102, -105, ISOFileInfo.A1, -107, ISOFileInfo.SECURITY_ATTR_EXP, -98, -106, ISOFileInfo.A1, -98, -105, -104, ISOFileInfo.FILE_IDENTIFIER, -105, -102, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, 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((ViewConfiguration.getLongPressTimeout() >> 16) + 487, TextUtils.lastIndexOf("", '0') + 6, (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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558661);
ButterKnife.Dg_(this);
this.mToolbar.setBackgroundResource(R.color.f14042131100912);
this.mActionBarTitle.setTextColor(nMh.getColor(this, R.color.f2112131099717));
super.Z();
p(getString(R.string.review));
ac();
getSupportActionBar().o();
C0469Hf c0469Hf = (C0469Hf) getIntent().getParcelableExtra("com.scb.phone.presentation.view.activity.ccr_redemption.mileage.MileageReviewRedemptionActivity.KEY_MILEAGE_REDEMPTION_DTO");
this.b = c0469Hf;
if (c0469Hf.c) {
d_("rewards_1point_mileage_review");
} else {
d_("rewards_mileage_review");
}
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = r + 69;
q = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
this.mToolbar.setBackgroundResource(R.color.f14042131100912);
this.mActionBarTitle.setTextColor(nMh.getColor(this, R.color.f2112131099717));
super.Z();
p(getString(R.string.review));
ac();
getSupportActionBar().o();
int i3 = r + 91;
q = i3 % 128;
if (i3 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
this.mToolbar.setBackgroundResource(R.color.f14042131100912);
this.mActionBarTitle.setTextColor(nMh.getColor(this, R.color.f2112131099717));
super.Z();
p(getString(R.string.review));
ac();
getSupportActionBar().o();
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC10165dxd, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = q + 67;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(null, null, 128 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -108, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.CHANNEL_SECURITY, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, -109, ISOFileInfo.LCS_BYTE}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = q + 65;
r = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) TextUtils.getTrimmedLength(""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (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 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aG(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2;
char[] cArr2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = m;
int i4 = -1;
int i5 = 0;
if (cArr3 != null) {
int length = cArr3.length;
char[] cArr4 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(cArr3[i6]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (ViewConfiguration.getWindowTouchSlop() >> 8), TextUtils.indexOf((CharSequence) "", '0', i5) + 6, (char) TextUtils.indexOf("", "", i5));
byte b = (byte) i4;
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
aJ(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr4[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
i4 = -1;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
Object[] objArr4 = {Integer.valueOf(l)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((-16776933) - Color.rgb(0, 0, 0), 5 - Color.argb(0, 0, 0, 0), (char) (39813 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
aJ(b3, b4, (byte) (b4 | 57), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (f6688o) {
c3614bBe.c = bArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i7 = $10 + 29;
$11 = i7 % 128;
int i8 = i7 % 2;
cArr5[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((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 39, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) TextUtils.getOffsetAfter("", 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i9 = $11 + 89;
$10 = i9 % 128;
int i10 = i9 % 2;
}
objArr[0] = new String(cArr5);
return;
}
if (k) {
int i11 = $11 + 123;
$10 = i11 % 128;
if (i11 % 2 != 0) {
c3614bBe.c = cArr.length;
cArr2 = new char[c3614bBe.c];
i2 = 0;
} else {
i2 = 0;
c3614bBe.c = cArr.length;
cArr2 = new char[c3614bBe.c];
}
c3614bBe.a = i2;
while (c3614bBe.a < c3614bBe.c) {
cArr2[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((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 39, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) View.resolveSize(0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr2);
return;
}
int i12 = 0;
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i12;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
}
int i13 = $10 + 117;
$11 = i13 % 128;
int i14 = i13 % 2;
cArr6[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i12 = c3614bBe.a + 1;
}
}
/* JADX WARN: Code restructure failed: missing block: B:32:0x0023, code lost:
r7 = new java.lang.Object[1];
aG(null, null, android.text.TextUtils.indexOf("", "", 0) + 127, new byte[]{net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, net.sf.scuba.smartcards.ISOFileInfo.ENV_TEMP_EF, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_COMPACT, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_COMPACT, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -122, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, -124, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -126, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2}, r7);
r1 = java.lang.Class.forName((java.lang.String) r7[0]);
r8 = new java.lang.Object[1];
aG(null, null, 127 - android.text.TextUtils.indexOf("", "", 0), new byte[]{-126, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, -122, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -122, -108, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_COMPACT, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_COMPACT, net.sf.scuba.smartcards.ISOFileInfo.ENV_TEMP_EF, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, -126, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, -109, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE}, r8);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r8[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x0021, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost:
if (r1 == null) goto L9;
*/
@Override // o.AbstractActivityC10165dxd, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onPause() {
/*
Method dump skipped, instructions count: 335
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.mileage.MileageReviewRedemptionActivity.onPause():void");
}
private static void aI(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
char c;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = p;
long j = 0;
int i4 = 4;
int i5 = -1;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = $10 + 69;
$11 = i6 % 128;
int i7 = i6 % 2;
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i8])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(View.resolveSize(0, 0) + 298, (SystemClock.elapsedRealtimeNanos() > j ? 1 : (SystemClock.elapsedRealtimeNanos() == j ? 0 : -1)) + i4, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1));
byte b2 = (byte) i5;
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
aJ(b2, b3, (byte) (b3 | ISO7816.INS_DECREASE_STAMPED), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
j = 0;
i4 = 4;
i5 = -1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(t)};
Object obj2 = xzZ.y.get(-1987398494);
char c2 = 6;
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(299 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), MotionEvent.axisFromString("") + 6, (char) KeyEvent.normalizeMetaState(0));
byte b4 = (byte) (-1);
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
aJ(b4, b5, (byte) (b5 | ISO7816.INS_DECREASE_STAMPED), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
int i9 = $11 + 1;
$10 = i9 % 128;
int i10 = i9 % 2;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
c = c2;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[c2] = irs;
objArr6[5] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(233 - (ViewConfiguration.getScrollDefaultDelay() >> 16), Color.argb(0, 0, 0, 0) + 5, (char) ((ViewConfiguration.getTouchSlop() >> 8) + 22024));
byte b6 = (byte) (-1);
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
aJ(b6, b7, (byte) (b7 | 55), objArr7);
obj3 = 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, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 != null) {
c = 6;
} else {
Class cls4 = (Class) xzZ.c(328 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) TextUtils.getOffsetAfter("", 0));
byte b8 = (byte) (-1);
byte b9 = (byte) (b8 + 1);
Object[] objArr9 = new Object[1];
aJ(b8, b9, (byte) (b9 | 53), objArr9);
c = 6;
obj4 = 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, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i11];
} else {
c = 6;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i12 = (irs.a * charValue) + irs.f;
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i12];
cArr4[irs.e + 1] = cArr2[i13];
} else {
int i14 = (irs.a * charValue) + irs.j;
int i15 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
}
}
}
irs.e += 2;
int i16 = $10 + 119;
$11 = i16 % 128;
int i17 = i16 % 2;
c2 = c;
}
}
for (int i18 = 0; i18 < i; i18++) {
cArr4[i18] = (char) (cArr4[i18] ^ 13722);
}
objArr[0] = new String(cArr4);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // o.AbstractActivityC10165dxd, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = r + 5;
q = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(null, null, 127 - TextUtils.getOffsetAfter("", 0), new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{'\b', 6, 30, 5, 13928}, (byte) (TextUtils.lastIndexOf("", '0', 0, 0) + 107), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = r + 79;
q = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 492, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == 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];
aI(new char[]{20, 3, 3, '\n', 17, 26, '\"', 22, 15, '!', 16, 17, 15, '\b', 17, 2, '\b', 15, 17, 3, 16, 2, 15, NistHelper.SEP_FS, 26, '\n', 25, '#', 24, NistHelper.SEP_FS, 15, 19, 19, '!', 3, 23, 24, '\n', 13819, 13819, 16, 3, 25, '!', '#', 11, '\n', 0}, (byte) (View.resolveSize(0, 0) + 3), (ViewConfiguration.getPressedStateDuration() >> 16) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aG(null, null, Gravity.getAbsoluteGravity(0, 0) + 127, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -107, -106, -97, -100, ISOFileInfo.LCS_BYTE, -97, -107, -103, -97, ISOFileInfo.LCS_BYTE, -101, ISOFileInfo.A0, -97, ISOFileInfo.FILE_IDENTIFIER, -107, -106, -100, -103, -106, ISOFileInfo.DATA_BYTES2, -107, -106, -107, -107, -97, -103, ISOFileInfo.DATA_BYTES2, -103, -101, -101, -97, -98, -104, -102, ISOFileInfo.LCS_BYTE, -98, -106, -99, -105, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.LCS_BYTE, -102, -100, -105, -106, -100, -101, -106, -102, -106, -102, -103, ISOFileInfo.SECURITY_ATTR_EXP, -104, -105, -107, -106, ISOFileInfo.SECURITY_ATTR_EXP, -106, -107, ISOFileInfo.SECURITY_ATTR_EXP}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new char[]{17, 4, ' ', '\f', 17, 15, 13840, 13840, 21, '!', '\f', '\b', '\n', 3, '#', 0, 15, '\n', 24, '\"', 18, '!', 3, 14, '#', 11, 24, '\n', 2, 11, 25, 15, 3, '\n', '\r', '\"', '!', '\r', 13756, 13756, ' ', 31, ' ', '\r', 29, 24, '\t', 7, '\n', 7, 17, 3, '\t', 26, '\"', 24, '\"', '\f', '\"', 22, '#', 1, 26, 5}, (byte) (View.MeasureSpec.makeMeasureSpec(0, 0) + 17), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new char[]{18, 23, 23, 16, 21, 1, 13796, 13796, 18, 1, '\r', '\n', NistHelper.SEP_FS, '#', 13862, 13862, 7, 24, 24, 5, 14, 22, '\n', 15, 16, 6, 19, 23, 19, 29, '\n', '\f', 23, NistHelper.SEP_FS, '\r', 22, 23, 19, 27, 25, '\r', NistHelper.SEP_FS, 19, 25, 30, 27, '\r', NistHelper.SEP_FS, '\f', 24, NistHelper.SEP_FS, '#', '\b', 31, 17, '\f', 2, 30, 6, 18, 24, '\b', 20, 23, 31, 2, 14, '!', 7, 0, '\f', 18, 23, 20}, (byte) (View.resolveSize(0, 0) + 47), (KeyEvent.getMaxKeyCode() >> 16) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{24, 21, 0, 23, 13824}, (byte) (Color.alpha(0) + 86), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(null, null, 127 - View.MeasureSpec.makeMeasureSpec(0, 0), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -100, -103, -105, -103, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -101, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -102, ISOFileInfo.A1, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -107, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A1, -100, -100, -102, -105, ISOFileInfo.A1, -107, ISOFileInfo.SECURITY_ATTR_EXP, -98, -106, ISOFileInfo.A1, -98, -105, -104, ISOFileInfo.FILE_IDENTIFIER, -105, -102, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 486, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 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);
int i5 = q + 123;
r = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // o.AbstractActivityC10165dxd, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = r + 81;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = q + 63;
r = i4 % 128;
int i5 = i4 % 2;
}
}