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

735 lines
40 KiB
Java

package com.scb.phone.view.activity.ccrredemption.ecoupon;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.os.Process;
import android.os.SystemClock;
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.ExpandableListView;
import android.widget.TextView;
import androidx.appcompat.widget.Toolbar;
import butterknife.BindView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
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.C14957gcv;
import o.DFY;
import o.TVH;
import o.nMh;
import o.xzZ;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.lds.CVCAFile;
/* loaded from: classes4.dex */
public final class ECouponRedemptionDetailActivity extends Hilt_ECouponRedemptionDetailActivity {
public static final HBt b;
private static char[] p;
private static int r;
private static int s;
private static int t;
private static byte[] u;
private static int v;
private static short[] y;
private boolean k;
private String l;
private String m;
/* renamed from: o, reason: collision with root package name */
private String f6676o;
private int q;
@BindView
public TextView txtCardPoint;
private static final byte[] $$p = {ISOFileInfo.FCI_BYTE, -31, ISO7816.INS_MANAGE_CHANNEL, 54};
private static final int $$q = 208;
private static int $10 = 0;
private static int $11 = 1;
private static int x = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> 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 aC(int r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 4
int r6 = 3 - r6
int r8 = r8 * 2
int r8 = 1 - r8
int r7 = r7 + 71
byte[] r0 = com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponRedemptionDetailActivity.$$p
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L28
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r8) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
int r6 = r6 + 1
r3 = r0[r6]
L28:
int r3 = -r3
int r7 = r7 + r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponRedemptionDetailActivity.aC(int, short, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
ECouponRedemptionDetailActivity eCouponRedemptionDetailActivity = (ECouponRedemptionDetailActivity) objArr[0];
Context context = (Context) objArr[1];
int i4 = 2 % 2;
super.attachBaseContext(context);
Object[] objArr2 = new Object[1];
aA(new int[]{0, 18, 0, 1}, true, new byte[]{1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0}, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aA(new int[]{18, 5, 198, 2}, false, new byte[]{1, 1, 1, 0, 0}, objArr3);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr3[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
context = context.getApplicationContext();
}
if (context != null) {
int i5 = v + 3;
x = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 492, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = new Object[1];
aB((short) (93 - TextUtils.getOffsetAfter("", 0)), (-1820133073) - View.resolveSizeAndState(0, 0, 0), TextUtils.lastIndexOf("", '0') - 68, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) - 880343869, (byte) (ViewConfiguration.getScrollDefaultDelay() >> 16), objArr4);
String str = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new int[]{23, 64, 0, 10}, false, new byte[]{1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1}, objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((short) ((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 118), View.MeasureSpec.getMode(0) - 1820133025, (-68) - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (ViewConfiguration.getLongPressTimeout() >> 16) - 880343822, (byte) (ViewConfiguration.getScrollDefaultDelay() >> 16), objArr6);
String str3 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{87, 74, 0, 73}, false, new byte[]{0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1}, objArr7);
String str4 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{CipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384, 5, CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA, 0}, true, new byte[]{0, 0, 0, 0, 1}, objArr8);
String str5 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new int[]{CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256, 36, CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, 0}, true, new byte[]{1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr9);
Object[] objArr10 = {context, str, str2, str3, str4, true, str5, (String) objArr9[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(488 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 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, objArr10);
int i7 = x + 91;
v = i7 % 128;
int i8 = i7 % 2;
return null;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
}
return null;
}
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public static Intent ZL_(Context context, String str, String str2, String str3, int i, boolean z) {
C14957gcv.e(context, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
Intent intent = new Intent(context, (Class<?>) ECouponRedemptionDetailActivity.class);
intent.putExtra("EXTRA_CARD_REF_NO_KEY", str);
intent.putExtra("EXTRA_REF_ID_KEY", str2);
intent.putExtra("EXTRA_ITEM_CODE_KEY", str3);
intent.putExtra("EXTRA_RELATION_ID_KEY", i);
intent.putExtra("EXTRA_E_COUPON_IS_FROM_DEEP_LINK_FLOW", z);
return intent;
}
public /* synthetic */ HBt(byte b) {
this();
}
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x0438, code lost:
if (r0 == null) goto L40;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0442, code lost:
r2 = r0.getString("EXTRA_CARD_REF_NO_KEY", "");
o.C14957gcv.c((java.lang.Object) r2, "");
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x0440, code lost:
r2 = "";
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x043e, code lost:
if (r0 == null) goto L40;
*/
@Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_ECouponRedemptionDetailActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.BaseECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_BaseECouponActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onCreate(android.os.Bundle r24) {
/*
Method dump skipped, instructions count: 1402
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponRedemptionDetailActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = x + 37;
v = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
h();
super.Z();
ac();
setTitle(R.string.my_e_coupons);
int i3 = x + 35;
v = i3 % 128;
if (i3 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
h();
super.Z();
ac();
setTitle(R.string.my_e_coupons);
obj.hashCode();
throw null;
}
private final void h() {
int i = 2 % 2;
Toolbar toolbar = this.mToolbar;
TextView textView = null;
if (toolbar != null) {
int i2 = x + 95;
v = i2 % 128;
if (i2 % 2 == 0) {
toolbar.setBackgroundResource(R.color.f14042131100912);
textView.hashCode();
throw null;
}
toolbar.setBackgroundResource(R.color.f14042131100912);
}
TextView textView2 = this.mActionBarTitle;
if (textView2 != null) {
int i3 = v + 71;
x = i3 % 128;
int i4 = i3 % 2;
textView2.setTextColor(nMh.getColor(this, R.color.f2112131099717));
}
TextView textView3 = this.txtCardPoint;
if (textView3 != null) {
int i5 = v + 55;
x = i5 % 128;
int i6 = i5 % 2;
textView = textView3;
} else {
C14957gcv.a("");
}
textView.setVisibility(8);
}
@Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_ECouponRedemptionDetailActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.BaseECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_BaseECouponActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = x + 9;
v = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB((short) (69 - TextUtils.lastIndexOf("", '0', 0, 0)), (-1820133117) - View.MeasureSpec.getMode(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ccr_search_all_category).substring(0, 14).length() - 83, ((byte) KeyEvent.getModifierMetaStateMask()) - 880343821, (byte) (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((short) ((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 126), (-1820133202) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fund_pay_account_fragment).substring(0, 16).codePointAt(3), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 180, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 880343854, (byte) (ExpandableListView.getPackedPositionChild(0L) + 1), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = v + 123;
x = i4 % 128;
if (i4 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 61 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (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, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).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(ImageFormat.getBitsPerPixel(0) + 488, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = v + 25;
x = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i8 = v + 51;
x = i8 % 128;
if (i8 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_ECouponRedemptionDetailActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.BaseECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_BaseECouponActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = 2 % 2;
int i2 = x + 59;
v = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 40), (-1820133124) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.tesg_tab).substring(0, 7).length(), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_service_register_success_description).substring(22, 23).length() - 70, (-880343823) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_management_delete_message_type_debit_card).substring(37, 38).length(), (byte) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.sme_loan_detail_total_label).substring(5, 9).codePointAt(2) + 89), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 1820133137, (-68) - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_company_search_no_results_text).substring(39, 40).codePointAt(0) - 880343852, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i3 = v + 105;
x = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
int i5 = x + 117;
v = i5 % 128;
if (i5 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
int i6 = x + 97;
v = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = v + 25;
x = i8 % 128;
int i9 = i8 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(493 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 5 - TextUtils.indexOf("", "", 0), (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(488 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), Color.red(0) + 5, (char) View.combineMeasuredStates(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aA(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
int i2 = 2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr2 = p;
if (cArr2 != null) {
int i9 = $11 + 107;
$10 = i9 % 128;
int i10 = i9 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i11 = 0;
while (i11 < length) {
int i12 = $10 + 103;
$11 = i12 % 128;
int i13 = i12 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr2[i11]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c(223 - TextUtils.getTrimmedLength(""), Gravity.getAbsoluteGravity(i4, i4) + 5, (char) (41977 - (Process.myPid() >> 22)));
byte b2 = (byte) i4;
byte b3 = b2;
cArr = cArr2;
Object[] objArr3 = new Object[1];
aC(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i11] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i11++;
cArr2 = cArr;
i2 = 2;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i6];
System.arraycopy(cArr2, i5, cArr4, 0, i6);
if (bArr != null) {
char[] cArr5 = new char[i6];
tvh.c = 0;
int i14 = $11 + 29;
$10 = i14 % 128;
if (i14 % 2 != 0) {
int i15 = 5 % 2;
}
char c = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i16 = tvh.c;
try {
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - (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)), ExpandableListView.getPackedPositionChild(0L) + 6, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 55))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i16] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i17 = tvh.c;
try {
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 14, TextUtils.indexOf("", "", 0) + 5, (char) (((Process.getThreadPriority(0) + 20) >> 6) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i17] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
c = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 402, TextUtils.indexOf("", "", 0, 0) + 5, (char) (21607 - TextUtils.lastIndexOf("", '0', 0)));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 2);
Object[] objArr7 = new Object[1];
aC(b4, b5, (byte) (b5 - 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr5;
}
if (i8 > 0) {
char[] cArr6 = new char[i6];
i = 0;
System.arraycopy(cArr4, 0, cArr6, 0, i6);
int i18 = i6 - i8;
System.arraycopy(cArr6, 0, cArr4, i18, i8);
System.arraycopy(cArr6, i8, cArr4, 0, i18);
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i6];
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
cArr7[tvh.c] = cArr4[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr4 = cArr7;
}
if (i7 > 0) {
int i19 = $10 + 115;
$11 = i19 % 128;
if (i19 % 2 == 0) {
tvh.c = 1;
} else {
tvh.c = 0;
}
while (tvh.c < i6) {
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
tvh.c++;
}
}
objArr[0] = new String(cArr4);
}
private static void aB(short s2, int i, int i2, int i3, byte b2, Object[] objArr) {
int i4;
int i5;
int i6 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(s)};
Object obj = xzZ.y.get(-2092856797);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 337, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) KeyEvent.normalizeMetaState(0));
byte b3 = (byte) 0;
Object[] objArr3 = new Object[1];
aC(b3, (byte) (b3 | 39), b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
boolean z = intValue == -1;
if (z) {
int i7 = $10 + 59;
int i8 = i7 % 128;
$11 = i8;
int i9 = i7 % 2;
byte[] bArr = u;
if (bArr != null) {
int i10 = i8 + 11;
$10 = i10 % 128;
int i11 = i10 % 2;
int length = bArr.length;
byte[] bArr2 = new byte[length];
for (int i12 = 0; i12 < length; i12++) {
Object[] objArr4 = {Integer.valueOf(bArr[i12])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(60 - View.MeasureSpec.getMode(0), 4 - TextUtils.lastIndexOf("", '0', 0), (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
aC(b4, (byte) (b4 | 37), b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr2[i12] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
}
bArr = bArr2;
}
if (bArr != null) {
int i13 = $10 + 95;
$11 = i13 % 128;
int i14 = i13 % 2;
byte[] bArr3 = u;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(t)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.getTrimmedLength("") + 337, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b5, (byte) (b5 | 39), b5, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (s ^ (-7303220121662775787L))));
i4 = 2;
} else {
intValue = (short) (((short) (y[i + ((int) (t ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (s ^ (-7303220121662775787L))));
int i15 = $11 + 103;
$10 = i15 % 128;
i4 = 2;
int i16 = i15 % 2;
}
} else {
i4 = 2;
}
if (intValue > 0) {
int i17 = $11 + 83;
int i18 = i17 % 128;
$10 = i18;
int i19 = i17 % i4;
int i20 = ((i + intValue) - i4) + ((int) (t ^ (-7303220121662775787L)));
if (z) {
int i21 = i18 + 65;
$11 = i21 % 128;
int i22 = i21 % 2;
i5 = 1;
} else {
i5 = 0;
}
dfy.c = i20 + i5;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(r), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(748 - TextUtils.indexOf("", ""), ExpandableListView.getPackedPositionChild(0L) + 6, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj4);
}
((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr4 = u;
if (bArr4 != null) {
int i23 = $10 + 91;
$11 = i23 % 128;
int i24 = i23 % 2;
int length2 = bArr4.length;
byte[] bArr5 = new byte[length2];
for (int i25 = 0; i25 < length2; i25++) {
bArr5[i25] = (byte) (bArr4[i25] ^ (-7303220121662775787L));
}
bArr4 = bArr5;
}
boolean z2 = bArr4 != null;
dfy.d = 1;
while (dfy.d < intValue) {
if (z2) {
byte[] bArr6 = u;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s2)) ^ b2));
} else {
short[] sArr = y;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s2)) ^ b2));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
}
objArr[0] = sb.toString();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
static void f() {
p = new char[]{39995, 40033, 40056, 40039, 40047, 40034, 40059, 40042, 39988, 40027, 40058, 40005, 40002, 40045, 40039, 40059, 40032, 40034, 40092, 40231, 40229, 40242, 40230, 39953, 40000, 40006, 40006, 40001, 39999, 39996, 40007, 40042, 40040, 40046, 40040, 40007, 40006, 40006, 40007, 40000, 39997, 40004, 40006, 39992, 39999, 39999, 39999, 39997, 39999, 39992, 39998, 39993, 39994, 40001, 40007, 40000, 40001, 39992, 39999, 39992, 40002, 40001, 39998, 39999, 39999, 39996, 39996, 39997, 40000, 40000, 39997, 40006, 40041, 40007, 40007, 40042, 40000, 39998, 39992, 39992, 40007, 40040, 40005, 40004, 40005, 40006, 40006, 39985, 40063, 40057, 40058, 40029, 39999, 39972, 40026, 40037, 40046, 40044, 40035, 40034, 40037, 40038, 40034, 40032, 40033, 40045, 40046, 40045, 40044, 40042, 40044, 40039, 40007, 40026, 40037, 40038, 40032, 40040, 40033, 40032, 40041, 40033, 40056, 40026, 40001, 40037, 40032, 40034, 40032, 40032, 40057, 40056, 40032, 40034, 40032, 40002, 40003, 40034, 40037, 40005, 40003, 40035, 40039, 40007, 40007, 40032, 40033, 40045, 40039, 40056, 40026, 40025, 40031, 39995, 40001, 40038, 40038, 40034, 40058, 40056, 40038, 40041, 40136, 40140, 40140, 40140, 40075, 40172, 40132, 40155, 40155, 40163, 40203, 40161, 40163, 40174, 40173, 40173, 40128, 40175, 40203, 40180, 40182, 40168, 40128, 40134, 40134, 40132, 40135, 40168, 40180, 40173, 40132, 40134, 40129, 40133, 40153, 40161, 40163, 40132, 40174, 40180};
t = 1068701928;
s = 1406017105;
r = 1740039546;
u = new byte[]{-61, -88, -93, -72, -47, -37, Byte.MIN_VALUE, -86, ISO7816.INS_WRITE_BINARY, -72, ISO7816.INS_WRITE_RECORD, -70, -34, -55, ISO7816.INS_LOAD_KEY_FILE, 109, -81, ISO7816.INS_UPDATE_RECORD, -8, -111, ISOFileInfo.A0, ISOFileInfo.A1, -94, -35, ISOFileInfo.A5, ISO7816.INS_WRITE_RECORD, -37, -108, -99, ISOFileInfo.FCP_BYTE, Byte.MIN_VALUE, -107, 105, 106, 107, -105, -92, 90, -99, -98, 96, -105, 106, ISOFileInfo.DATA_BYTES2, -7, 103, -59, 109, -60, ISOFileInfo.LCS_BYTE, -67, ISO7816.INS_READ_BINARY, 102, ISO7816.INS_READ_RECORD_STAMPED, -75, -73, -51, -119, ISO7816.INS_READ_RECORD2, -78, ISO7816.INS_READ_RECORD_STAMPED, 101, -37, 108, -60, 96, -59, 102, -59, 110, -59, ISO7816.INS_READ_BINARY2, ISOFileInfo.SECURITY_ATTR_EXP, PSSSigner.TRAILER_IMPLICIT, -73, 97, ISO7816.INS_LOAD_KEY_FILE, -67, 97, -57, 96, -57, -119, ISOFileInfo.FCI_BYTE, ISO7816.INS_READ_BINARY2, ISOFileInfo.SECURITY_ATTR_EXP, ISO7816.INS_READ_RECORD2, -58, 97, -60, -75, PSSSigner.TRAILER_IMPLICIT, -23, 75, ISOFileInfo.A0, -104, 75, -112, -102, -82, 65, -43, -108, -104, -99, ISOFileInfo.PROP_INFO, CVCAFile.CAR_TAG, -104, -110, -84, 72, -110, -88, -99, -102, -112, -101, -97, -100, -110, -97, 75, -100, -83, 79, ISOFileInfo.A0, -104, -99, 72, -100, -83, 74, -82, -112, -124, -100, -98, 65, -101, -98, -90, ISOFileInfo.FCI_EXT, -109, 73, -110, -87, -111, -124, CVCAFile.CAR_TAG, -97, -87, 73, -83, -104, -105, 116};
}
@Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_ECouponRedemptionDetailActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.BaseECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_BaseECouponActivity, 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) {
b(new Object[]{this, context}, -1233084569, 1233084569, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_ECouponRedemptionDetailActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.BaseECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_BaseECouponActivity, 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 = v + 21;
x = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = v + 73;
x = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 77 / 0;
}
}
static {
v = 1;
f();
b = new HBt((byte) 0);
int i = x + 37;
v = i % 128;
int i2 = i % 2;
}
}