what-the-bank/sources/com/scb/phone/view/activity/ccrredemption/confirm/ConfirmRedemptionActivity.java

1056 lines
47 KiB
Java

package com.scb.phone.view.activity.ccrredemption.confirm;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.Button;
import android.widget.ExpandableListView;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.OnClick;
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.activity.HomeActivity;
import com.scb.phone.view.activity.ccrredemption.product.OPRRegistrationLandingActivity;
import com.scb.phone.view.activity.ccrredemption.product.OPRStatusRewardsLandingActivity;
import com.scb.phone.view.fragment.ccrredemption.review.NormalRedemptionSlipFragment;
import java.lang.reflect.Method;
import o.AbstractActivityC10103dwT;
import o.C0367Fb;
import o.C0461Hb;
import o.C0487Hs;
import o.C0494Hx;
import o.C0498Hz;
import o.C3130arh;
import o.C3241atm;
import o.C4593bdB;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC9035dcC;
import o.ZI;
import o.eLY;
import o.xzZ;
/* loaded from: classes4.dex */
public class ConfirmRedemptionActivity extends AbstractActivityC10103dwT<C0461Hb> implements InterfaceC9035dcC {
private C0461Hb b;
@InterfaceC13391fZD
public C3241atm baseOprPresenter;
@InterfaceC13391fZD
public C3130arh presenter;
@BindView
Button redeemButton;
@BindView
TextView txvCardBalance;
@BindView
TextView txvDescription1;
@BindView
TextView txvDescription2;
private static final byte[] $$E = {114, 119, 93, Ascii.EM};
private static final int $$F = 192;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
private static int r = 1;
private static long k = -1132768742522811190L;
private static char[] l = {35370, 49026, 49024, 49031, 49110, 49104, 35372, 35368, 49109, 49034, 35371, 35375, 35361, 49106, 49054, 49025, 49027, 49029, 49105, 35373, 49111, 49030, 49028, 49035, 35374};
/* renamed from: o, reason: collision with root package name */
private static char f6672o = 35372;
private static void aJ(byte b, byte b2, byte b3, Object[] objArr) {
byte[] bArr = $$E;
int i = (b2 * 4) + 4;
int i2 = b * 3;
int i3 = b3 + 77;
byte[] bArr2 = new byte[1 - i2];
int i4 = 0 - i2;
int i5 = -1;
if (bArr == null) {
i5 = -1;
i3 = i + i4;
i++;
}
while (true) {
int i6 = i5 + 1;
bArr2[i6] = (byte) i3;
if (i6 == i4) {
objArr[0] = new String(bArr2, 0);
return;
}
int i7 = i3;
i5 = i6;
i3 = bArr[i] + i7;
i++;
}
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x0052, code lost:
r3.txvDescription1.setText(r3.getResources().getString(com.scb.phone.R.string.voucher_delivery_eta));
r3.txvDescription2.setText(r3.getResources().getString(com.scb.phone.R.string.cash_rewards_eta_opr));
r3.redeemButton.setVisibility(8);
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0050, code lost:
if (r3.b.i != false) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x003f, code lost:
if (r3.b.i != false) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x007a, code lost:
r3.txvDescription1.setText(r3.getResources().getString(com.scb.phone.R.string.item_delivery_eta));
r3.txvDescription2.setText(r3.getResources().getString(com.scb.phone.R.string.cash_rewards_eta));
r3.redeemButton.setText(r3.getResources().getString(com.scb.phone.R.string.redeem_another_reward));
r3 = com.scb.phone.view.activity.ccrredemption.confirm.ConfirmRedemptionActivity.m + 61;
com.scb.phone.view.activity.ccrredemption.confirm.ConfirmRedemptionActivity.r = r3 % 128;
r3 = r3 % 2;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ java.lang.Object d(java.lang.Object[] r3, int r4, int r5, int r6) {
/*
int r0 = r4 * (-963)
int r0 = r0 + (-964)
int r1 = r5 * 965
int r0 = r0 + r1
int r1 = ~r4
int r5 = ~r5
r2 = r5 | r6
int r2 = ~r2
r1 = r1 | r2
int r1 = r1 * (-964)
int r0 = r0 + r1
int r6 = ~r6
r6 = r6 | r5
int r6 = ~r6
r4 = r4 | r5
int r4 = ~r4
r4 = r4 | r6
int r4 = r4 * (-964)
int r0 = r0 + r4
r4 = 1
if (r0 == r4) goto Lba
r5 = 2
if (r0 == r5) goto Lb5
r6 = 0
r3 = r3[r6]
com.scb.phone.view.activity.ccrredemption.confirm.ConfirmRedemptionActivity r3 = (com.scb.phone.view.activity.ccrredemption.confirm.ConfirmRedemptionActivity) r3
int r0 = r5 % r5
int r0 = com.scb.phone.view.activity.ccrredemption.confirm.ConfirmRedemptionActivity.m
int r0 = r0 + 119
int r1 = r0 % 128
com.scb.phone.view.activity.ccrredemption.confirm.ConfirmRedemptionActivity.r = r1
int r0 = r0 % r5
if (r0 != 0) goto L42
android.widget.TextView r6 = r3.txvDescription1
r6.setVisibility(r4)
android.widget.TextView r6 = r3.txvDescription2
r6.setVisibility(r4)
o.Hb r4 = r3.b
boolean r4 = r4.i
if (r4 == 0) goto L7a
goto L52
L42:
android.widget.TextView r4 = r3.txvDescription1
r4.setVisibility(r6)
android.widget.TextView r4 = r3.txvDescription2
r4.setVisibility(r6)
o.Hb r4 = r3.b
boolean r4 = r4.i
if (r4 == 0) goto L7a
L52:
android.widget.TextView r4 = r3.txvDescription1
android.content.res.Resources r5 = r3.getResources()
r6 = 2131959414(0x7f131e76, float:1.9555468E38)
java.lang.String r5 = r5.getString(r6)
r4.setText(r5)
android.widget.TextView r4 = r3.txvDescription2
android.content.res.Resources r5 = r3.getResources()
r6 = 2131953695(0x7f13081f, float:1.9543868E38)
java.lang.String r5 = r5.getString(r6)
r4.setText(r5)
android.widget.Button r3 = r3.redeemButton
r4 = 8
r3.setVisibility(r4)
goto Lb3
L7a:
android.widget.TextView r4 = r3.txvDescription1
android.content.res.Resources r6 = r3.getResources()
r0 = 2131956304(0x7f131250, float:1.954916E38)
java.lang.String r6 = r6.getString(r0)
r4.setText(r6)
android.widget.TextView r4 = r3.txvDescription2
android.content.res.Resources r6 = r3.getResources()
r0 = 2131953694(0x7f13081e, float:1.9543866E38)
java.lang.String r6 = r6.getString(r0)
r4.setText(r6)
android.widget.Button r4 = r3.redeemButton
android.content.res.Resources r3 = r3.getResources()
r6 = 2131958269(0x7f1319fd, float:1.9553145E38)
java.lang.String r3 = r3.getString(r6)
r4.setText(r3)
int r3 = com.scb.phone.view.activity.ccrredemption.confirm.ConfirmRedemptionActivity.m
int r3 = r3 + 61
int r4 = r3 % 128
com.scb.phone.view.activity.ccrredemption.confirm.ConfirmRedemptionActivity.r = r4
int r3 = r3 % r5
Lb3:
r3 = 0
goto Lbe
Lb5:
java.lang.Object r3 = b(r3)
goto Lbe
Lba:
java.lang.Object r3 = a(r3)
Lbe:
return r3
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.confirm.ConfirmRedemptionActivity.d(java.lang.Object[], int, int, int):java.lang.Object");
}
private static /* synthetic */ Object b(Object[] objArr) {
ConfirmRedemptionActivity confirmRedemptionActivity = (ConfirmRedemptionActivity) objArr[0];
int i = 2 % 2;
int i2 = r + 109;
int i3 = i2 % 128;
m = i3;
int i4 = i2 % 2;
C0461Hb c0461Hb = confirmRedemptionActivity.b;
int i5 = i3 + 3;
r = i5 % 128;
int i6 = i5 % 2;
return c0461Hb;
}
public static Intent ZI_(Context context, C0461Hb c0461Hb) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) ConfirmRedemptionActivity.class);
intent.putExtra("com.scb.phone.presentation.view.activity.ccr_redemption.confirm.ConfirmRedemptionActivity.CONFIRM_REDEMPTION_DTO_EXTRA", c0461Hb);
int i2 = m + 59;
r = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 63 / 0;
}
return intent;
}
private static void aG(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
int i3 = $10 + 49;
$11 = i3 % 128;
int i4 = i3 % 2;
while (c4593bdB.e < cArr.length) {
int i5 = $11 + 81;
$10 = i5 % 128;
if (i5 % 2 != 0) {
int i6 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(402 - (ViewConfiguration.getFadingEdgeLength() >> 16), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (21608 - TextUtils.indexOf("", "")));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aJ(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i6] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() % (k - 6958928035870403642L);
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), AndroidCharacter.getMirror('0') - '+', (char) TextUtils.getOffsetBefore("", 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aJ(b3, b4, (byte) (b4 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i7 = c4593bdB.e;
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 401, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 21607));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aJ(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i7] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (k ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 237, Color.blue(0) + 5, (char) Color.green(0));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
aJ(b7, b8, (byte) (b8 + 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr10 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(237 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr11 = new Object[1];
aJ(b9, b10, (byte) (b10 + 1), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2);
}
/* JADX WARN: Code restructure failed: missing block: B:22:0x0399, code lost:
if (r17.b.k != false) goto L47;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x03a8, code lost:
d_("rewards_1point_register_successful");
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x03a2, code lost:
d_("rewards_1point_renew_successful");
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x03a0, code lost:
if (r17.b.k != false) goto L47;
*/
@Override // o.AbstractActivityC10103dwT, com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, 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 onCreate(android.os.Bundle r18) {
/*
Method dump skipped, instructions count: 1352
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.confirm.ConfirmRedemptionActivity.onCreate(android.os.Bundle):void");
}
@Override // o.InterfaceC9035dcC
public final void c() {
int i = 2 % 2;
int i2 = r + 117;
m = i2 % 128;
int i3 = i2 % 2;
this.txvCardBalance.setText(this.b.e());
int i4 = r + 81;
m = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9035dcC
public final void d() {
int i = 2 % 2;
int i2 = r + 67;
m = i2 % 128;
int i3 = i2 % 2;
this.txvDescription1.setVisibility(8);
this.txvDescription2.setText(getResources().getString(R.string.opr_registration_description));
this.redeemButton.setText(getResources().getString(R.string.view_1_point_redemption));
int i4 = m + 9;
r = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9035dcC
public final void i() {
int i = 2 % 2;
int i2 = r + 121;
m = i2 % 128;
int i3 = i2 % 2;
h();
if (i3 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = r + 19;
m = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9035dcC
public final void h() {
int i = 2 % 2;
Intent intent = new Intent(this, (Class<?>) HomeActivity.class);
intent.addFlags(603979776);
intent.putExtra("com.scb.phone.EXTRA_NEW_INSTANCE_LAYOUT", R.id.account_summary_tab);
intent.putExtra("com.scb.phone.EXTRA_NEW_INSTANCE_REFRESH", true);
startActivity(intent);
finish();
int i2 = r + 47;
m = i2 % 128;
int i3 = i2 % 2;
}
/* JADX INFO: Access modifiers changed from: package-private */
@OnClick
public void onRedeemAnotherRewardClick() {
boolean z;
int i = 2 % 2;
C3130arh c3130arh = this.presenter;
if (this.b.g) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.arf
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9035dcC) obj).b();
}
};
if (c3130arh.f != 0) {
int i2 = r + 115;
int i3 = i2 % 128;
m = i3;
if (i2 % 2 != 0) {
return;
}
int i4 = i3 + 79;
r = i4 % 128;
int i5 = i4 % 2;
ieS.e(c3130arh.f);
return;
}
return;
}
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.arm
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9035dcC) obj).e();
}
};
if (c3130arh.f != 0) {
int i6 = m + 79;
r = i6 % 128;
int i7 = i6 % 2;
z = true;
} else {
int i8 = m + 97;
r = i8 % 128;
int i9 = i8 % 2;
z = false;
}
if (!(!z)) {
ieS2.e(c3130arh.f);
int i10 = m + 25;
r = i10 % 128;
int i11 = i10 % 2;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
@OnClick
public void onAccountSummaryClick() {
boolean z;
int i = 2 % 2;
C3130arh c3130arh = this.presenter;
final boolean z2 = this.b.g;
final boolean z3 = this.b.i;
ZI.IeS ieS = new ZI.IeS(z2, z3) { // from class: o.arl
private boolean c;
private boolean e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3130arh.e(this.e, this.c, (InterfaceC9035dcC) obj);
}
{
this.e = z2;
this.c = z3;
}
};
if (c3130arh.f != 0) {
int i2 = r + 1;
m = i2 % 128;
int i3 = i2 % 2;
z = true;
} else {
int i4 = r + 115;
m = i4 % 128;
int i5 = i4 % 2;
z = false;
}
if (!(!z)) {
int i6 = m + 69;
r = i6 % 128;
if (i6 % 2 == 0) {
ieS.e(c3130arh.f);
throw null;
}
ieS.e(c3130arh.f);
int i7 = m + 67;
r = i7 % 128;
if (i7 % 2 == 0) {
int i8 = 2 / 3;
}
}
}
@Override // o.InterfaceC9035dcC
public final void e() {
int i = 2 % 2;
Intent intent = new Intent();
intent.putExtra("com.scb.phone.presentation.view.activity.ccr_redemption.confirm.ConfirmRedemptionActivity.CARD_POINTS_BALANCE", this.b.r);
setResult(-1, intent);
finish();
int i2 = r + 65;
m = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 38 / 0;
}
}
@Override // o.InterfaceC9035dcC
public final void b() {
int i = 2 % 2;
C0487Hs c0487Hs = new C0487Hs();
c0487Hs.g = this.b.b;
c0487Hs.i = this.b.a;
c0487Hs.a = this.b.e;
c0487Hs.c = this.b.d;
c0487Hs.d = this.b.n;
c0487Hs.e = this.b.e();
c0487Hs.f = false;
c0487Hs.b = this.b.c;
this.baseOprPresenter.b(c0487Hs);
int i2 = m + 103;
r = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9042dcJ
public final void b(C0498Hz c0498Hz) {
int i = 2 % 2;
int i2 = m + 41;
r = i2 % 128;
int i3 = i2 % 2;
if (!(!HomeActivity.r())) {
L();
}
c0498Hz.s = "Rewards catalogue";
Intent ZW_ = OPRRegistrationLandingActivity.ZW_(this, c0498Hz);
ZW_.addFlags(603979776);
startActivity(ZW_);
finish();
int i4 = m + 15;
r = i4 % 128;
int i5 = i4 % 2;
}
private static void aI(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object obj;
int i3;
int i4 = 2;
int i5 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = l;
long j = 0;
Object obj2 = null;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
int i7 = $10 + 71;
$11 = i7 % 128;
int i8 = i7 % i4;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(299 - (SystemClock.uptimeMillis() > j ? 1 : (SystemClock.uptimeMillis() == j ? 0 : -1)), 5 - ExpandableListView.getPackedPositionType(j), (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)));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aJ(b2, b3, (byte) (b3 | 40), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i6] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i6++;
i4 = 2;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(f6672o)};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 299, (Process.myPid() >> 22) + 5, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aJ(b4, b5, (byte) (b5 | 40), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i9 = $10 + 19;
$11 = i9 % 128;
if (i9 % 2 == 0) {
i2 = i + 40;
cArr4[i2] = (char) (cArr[i2] * b);
} else {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
}
} else {
i2 = i;
}
if (i2 > 1) {
int i10 = $10 + 57;
$11 = i10 % 128;
int i11 = i10 % 2;
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i12 = $11 + 35;
$10 = i12 % 128;
if (i12 % 2 != 0) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e - 1] = (char) (irs.c >> b);
} else {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
}
obj = obj2;
i3 = 2;
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 233, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 22023));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aJ(b6, b7, (byte) (b7 | 43), objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c(327 - (ViewConfiguration.getFadingEdgeLength() >> 16), 5 - Color.green(0), (char) View.getDefaultSize(0, 0));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
aJ(b8, b9, (byte) (b9 | 41), objArr9);
obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i13];
} else {
obj = null;
if (irs.a == irs.d) {
int i14 = $11 + 107;
$10 = i14 % 128;
int i15 = i14 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i16 = (irs.a * charValue) + irs.f;
int i17 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i16];
cArr4[irs.e + 1] = cArr2[i17];
int i18 = $11 + 67;
$10 = i18 % 128;
if (i18 % 2 != 0) {
int i19 = 2 / 4;
}
} else {
int i20 = (irs.a * charValue) + irs.j;
int i21 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i20];
cArr4[irs.e + 1] = cArr2[i21];
int i22 = $11 + 123;
$10 = i22 % 128;
i3 = 2;
int i23 = i22 % 2;
}
}
i3 = 2;
}
irs.e += i3;
obj2 = obj;
}
}
for (int i24 = 0; i24 < i; i24++) {
int i25 = $11 + 79;
$10 = i25 % 128;
int i26 = i25 % 2;
cArr4[i24] = (char) (cArr4[i24] ^ 13722);
}
objArr[0] = new String(cArr4);
}
private static /* synthetic */ Object a(Object[] objArr) {
ConfirmRedemptionActivity confirmRedemptionActivity = (ConfirmRedemptionActivity) objArr[0];
C0494Hx c0494Hx = (C0494Hx) objArr[1];
int i = 2 % 2;
int i2 = r + 103;
m = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
if (HomeActivity.r()) {
int i4 = r + 51;
m = i4 % 128;
if (i4 % 2 == 0) {
confirmRedemptionActivity.L();
} else {
confirmRedemptionActivity.L();
obj.hashCode();
throw null;
}
}
c0494Hx.t = 0;
Intent ZX_ = OPRStatusRewardsLandingActivity.ZX_(confirmRedemptionActivity, c0494Hx);
ZX_.addFlags(603979776);
confirmRedemptionActivity.startActivity(ZX_);
confirmRedemptionActivity.finish();
return null;
}
private void L() {
int i = 2 % 2;
Intent intent = new Intent(this, (Class<?>) HomeActivity.class);
intent.addFlags(603979776);
intent.putExtra("com.scb.phone.EXTRA_NEW_INSTANCE_LAYOUT", R.id.account_summary_tab);
intent.putExtra("com.scb.phone.EXTRA_NEW_INSTANCE_REFRESH", true);
startActivity(intent);
int i2 = r + 115;
m = i2 % 128;
if (i2 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public void onDestroy() {
int i = 2 % 2;
int i2 = m + 79;
r = i2 % 128;
if (i2 % 2 != 0) {
this.presenter.w_();
super.onDestroy();
int i3 = m + 3;
r = i3 % 128;
int i4 = i3 % 2;
return;
}
this.presenter.w_();
super.onDestroy();
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity
public final eLY m() {
int i = 2 % 2;
NormalRedemptionSlipFragment normalRedemptionSlipFragment = new NormalRedemptionSlipFragment();
int i2 = m + 79;
r = i2 % 128;
int i3 = i2 % 2;
return normalRedemptionSlipFragment;
}
@Override // o.AbstractActivityC10103dwT, com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, 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 = m + 111;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(new char[]{8045, 52361, 47294, 25791, 20687, 15602, 59626, 54351, 32821, 27711, 22610, 1083, 61513, 56704, 35234, 30112, 8650, 3582, 63998, 42244, 37124, 32035, 10572, 5492, 49509, 44699}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) + 54153, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{8047, 65526, 56928, 48851, 40277, 32169, 23586, 15524, 6916, 64123, 56054, 47424, 39387, 30766, 22698, 14084, 6035, 63005}, 57535 - AndroidCharacter.getMirror('0'), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = m + 103;
r = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = r + 53;
m = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.getCapsMode("", 0, 0), 5 - Color.green(0), (char) View.resolveSizeAndState(0, 0, 0))).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(486 - TextUtils.indexOf((CharSequence) "", '0', 0), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).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();
}
/* JADX WARN: Code restructure failed: missing block: B:31:0x0020, code lost:
r6 = (java.lang.Object[]) null;
r6 = new java.lang.Object[1];
aG(new char[]{8045, 52361, 47294, 25791, 20687, 15602, 59626, 54351, 32821, 27711, 22610, 1083, 61513, 56704, 35234, 30112, 8650, 3582, 63998, 42244, 37124, 32035, 10572, 5492, 49509, 44699}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 54205, r6);
r1 = java.lang.Class.forName((java.lang.String) r6[0]);
r7 = new java.lang.Object[1];
aG(new char[]{8047, 65526, 56928, 48851, 40277, 32169, 23586, 15524, 6916, 64123, 56054, 47424, 39387, 30766, 22698, 14084, 6035, 63005}, 57487 - android.view.KeyEvent.getDeadChar(0, 0), r7);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:33: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 // o.AbstractActivityC10103dwT, com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, 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: 358
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.confirm.ConfirmRedemptionActivity.onPause():void");
}
@Override // o.AbstractActivityC10103dwT, com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(new char[]{8045, 24659, 57610, 25325, 58279, 25744, 58446, 25973, 59115, 26566, 59592, 26695, 59698, 27166, 60353, 27830, 60527, 27966}, 32561 - TextUtils.getOffsetAfter("", 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{8033, 23438, 38575, 53652, 3204}, 17659 - Drawable.resolveOpacity(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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i2 = r + 3;
m = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 492, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aI(new char[]{2, 21, '\b', 23, 0, 7, '\r', 18, 19, '\b', 18, '\n', 3, 17, 3, 22, 17, 3, 18, 20, 3, 4, 14, '\b', 7, 18, 6, 20, 6, 5, 21, 0, 6, 1, 21, 3, '\t', 3, 13836, 13836, 18, 0, 6, 24, '\b', 20, 0, 4}, (byte) ((ViewConfiguration.getLongPressTimeout() >> 16) + 20), 48 - TextUtils.getCapsMode("", 0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aG(new char[]{8041, 64351, 55128, 46074, 36862, 27547, 17950, 8802, 16097, 6784, 63188, 53537, 44402, 35143, 26005, 16866, 23594, 14457, 5199, 61597, 52411, 42815, 33627, 40799, 31655, 22515, 13254, 3652, 60002, 50872, 41602, 48859, 39195, 30058, 20923, 11742, 2525, 58401, 49192, 56345, 47250, 38071, 28519, 19201, 10069, 928, 8180, 64401, 54872, 45653, 36600, 27384, 18075, 8465, 15727, 6633, 62860, 53638, 44071, 34943, 25670, 16579, 23731, 14182}, TextUtils.indexOf("", "", 0, 0) + 58417, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new char[]{18, 3, 17, 1, '\f', 3, 13932, 13932, 19, 5, 3, 0, 23, '\b', 18, 21, 18, 23, 6, 18, 6, 21, 20, 17, '\b', 20, '\t', 3, 22, 18, 5, 24, '\b', 23, 11, 23, 20, 16, 13848, 13848, 1, 21, 22, 1, '\t', 6, 19, 2, 19, 3, 18, 20, 19, 7, 18, 6, 18, 11, '\r', 18, 22, 24, 7, 20}, (byte) (KeyEvent.getDeadChar(0, 0) + 109), 64 - View.MeasureSpec.getMode(0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new char[]{8036, 30411, 52254, 8805, 47539, 3913, 25873, 64710, 21223, 43054, 16275, 38352, 60171, 16756, 55467, 11804, 33881, 7069, 29177, 50988, 24209, 46287, 2572, 24696, 63402, 19740, 41740, 15001, 37104, 58937, 32147, 54208, 10520, 49020, 5803, 27654, 49748, 23037, 45049, 1340, 40085, 62165, 18486, 56942, 13753, 35598, 57671, 30883, 52985, 9313, 48025, 4554, 26429, 64812, 21679, 43529, 'M', 38904, 60907, 17187, 55967, 12494, 34341, 7285, 29667, 51465, 24344, 46842, 3301, 25157, 63899, 20423, 42272, 15220}, 27059 - (ViewConfiguration.getScrollDefaultDelay() >> 16), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(new char[]{7989, 52091, 46982, 25129, 20056}, TextUtils.indexOf((CharSequence) "", '0') + 54362, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new char[]{3, 14, 18, 0, 24, 5, 1, 18, '\f', 19, 19, 1, 19, '\r', 0, 18, 13739, 13739, '\n', 14, 19, 3, '\t', '\n', 20, '\n', 18, '\n', 24, 2, 6, 20, 1, 23, 2, 0}, (byte) Color.green(0), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 36, 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((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 487, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.indexOf((CharSequence) "", '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, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i4 = r + 53;
m = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 3 / 4;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.AbstractActivityC10103dwT, com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, 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 + 1;
m = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
}
@Override // o.InterfaceC9042dcJ
public final void b(C0494Hx c0494Hx) {
d(new Object[]{this, c0494Hx}, 208142036, -208142035, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 1109404999);
}
@Override // o.InterfaceC9035dcC
public final void a() {
d(new Object[]{this}, -1384290568, 1384290568, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 2050521090);
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = r + 109;
m = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity
public final int k() {
int i = 2 % 2;
int i2 = r + 51;
int i3 = i2 % 128;
m = i3;
if (i2 % 2 != 0) {
int i4 = 10 / 0;
}
int i5 = i3 + 67;
r = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 90 / 0;
}
return R.layout.2131560246;
}
@Override // com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity
public final /* synthetic */ Object f() {
return d(new Object[]{this}, -543760501, 543760503, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 612726352);
}
@Override // o.InterfaceC9042dcJ
public final C0367Fb j() {
int i = 2 % 2;
int i2 = r + 33;
m = i2 % 128;
if (i2 % 2 == 0) {
return null;
}
throw null;
}
}