what-the-bank/sources/com/scb/phone/view/activity/deeplink/ECouponRedemptionDeeplinkAc...

769 lines
41 KiB
Java

package com.scb.phone.view.activity.deeplink;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.media.AudioTrack;
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.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.airbnb.deeplinkdispatch.DeepLink;
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.ccrredemption.ecoupon.MyECouponActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C0481Ho;
import o.C14866gag;
import o.C14957gcv;
import o.C15641hP;
import o.C3199asx;
import o.C4403bZM;
import o.CzX;
import o.DFY;
import o.InterfaceC13391fZD;
import o.InterfaceC9186dev;
import o.xzZ;
import org.bouncycastle.crypto.signers.PSSSigner;
@DeepLink({"scbeasy://ccrewardredemption/ecoupon/transactions/id/{deepLinkId}"})
/* loaded from: classes4.dex */
public final class ECouponRedemptionDeeplinkActivity extends Hilt_ECouponRedemptionDeeplinkActivity implements InterfaceC9186dev {
private static short[] q;
@InterfaceC13391fZD
public C3199asx presenter;
private static final byte[] $$g = {33, ISOFileInfo.ENV_TEMP_EF, -97, 85};
private static final int $$h = 210;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int p = 1;
private static int[] b = {-2020611312, -396326035, -497037857, -1496052166, -1762368504, -402174305, -706130183, 1057497332, 1212140308, 1732040870, 1041144146, 149858232, 1595332059, 706878006, -491904028, 2020168255, -1204326450, 841532345};
/* renamed from: o, reason: collision with root package name */
private static int f6843o = 1049754460;
private static int m = 1406017048;
private static int l = -689850387;
private static byte[] k = {-124, 123, -93, 115, -19, 124, 125, -22, Ascii.DC4, 69, -25, Ascii.NAK, 125, -17, 119, 19, 2, 29, -66, ISO7816.INS_CREATE_FILE, -23, 61, ISO7816.INS_PSO, 101, 122, Ascii.DEL, -18, 118, -17, 122, -124, -100, ISOFileInfo.PROP_INFO, 119, -84, -87, -101, ISOFileInfo.AB, 116, 74, PSSSigner.TRAILER_IMPLICIT, ISO7816.INS_MANAGE_CHANNEL, -82, -81, ISOFileInfo.AB, ISOFileInfo.FMD_BYTE, -122, -99, ISOFileInfo.PROP_INFO, -103, -124, -101, -124, -109, -124, -88, 118, -83, 74, -104, ISOFileInfo.DATA_BYTES2, -84, -104, -102, -103, -102, ISO7816.INS_MANAGE_CHANNEL, -110, -88, 118, -82, -69, -104, ISOFileInfo.PROP_INFO, 116, -83, 96, 84, 120, 81, -24, ISO7816.INS_WRITE_BINARY, 7, -47, ISO7816.INS_GET_DATA, ISO7816.INS_UPDATE_BINARY, -26, -50, -31, -63, Ascii.ETB, Ascii.ESC, ISO7816.INS_ENVELOPE, ISO7816.INS_UPDATE_BINARY, 5, 7, -24, ISO7816.INS_WRITE_BINARY, 4, -47, ISO7816.INS_UPDATE_BINARY, Ascii.EM, -51, -45, -21, ISO7816.INS_WRITE_RECORD, 15, -45, ISO7816.INS_WRITE_BINARY, -35, -53, Ascii.DC4, Ascii.SUB, -9, ISO7816.INS_WRITE_BINARY, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x0031). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aE(int r6, byte r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 2
int r6 = r6 + 102
int r8 = r8 * 4
int r8 = 3 - r8
int r7 = r7 * 4
int r0 = 1 - r7
byte[] r1 = com.scb.phone.view.activity.deeplink.ECouponRedemptionDeeplinkActivity.$$g
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L18
r3 = r8
r4 = r2
goto L31
L18:
r3 = r2
L19:
int r8 = r8 + 1
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r7) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L28:
int r3 = r3 + 1
r4 = r1[r8]
r5 = r8
r8 = r6
r6 = r4
r4 = r3
r3 = r5
L31:
int r6 = -r6
int r6 = r6 + r8
r8 = r3
r3 = r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.deeplink.ECouponRedemptionDeeplinkActivity.aE(int, byte, int, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity
protected final void amm_(Intent intent, String str) {
C14866gag c14866gag;
boolean z;
int i = 2 % 2;
C14957gcv.e(intent, "");
Object obj = null;
if (str != null) {
int i2 = p + 95;
s = i2 % 128;
int i3 = i2 % 2;
C3199asx c3199asx = this.presenter;
if (c3199asx == null) {
C14957gcv.a("");
c3199asx = null;
}
C14957gcv.e(str, "");
if (c3199asx.f != 0) {
int i4 = s + 109;
p = i4 % 128;
int i5 = i4 % 2;
z = true;
} else {
int i6 = p + 15;
s = i6 % 128;
int i7 = i6 % 2;
z = false;
}
if (!(!z)) {
c3199asx.f.y();
}
C15641hP c15641hP = c3199asx.a;
C3199asx.Sts sts = new C3199asx.Sts(c3199asx);
C3199asx.IeS ieS = new C3199asx.IeS(c3199asx);
C14957gcv.e(str, "");
C14957gcv.e(sts, "");
C14957gcv.e(ieS, "");
c15641hP.i.e(sts, ieS, new CzX.RVV(str), new C15641hP.LWm(c15641hP), c15641hP.a);
c14866gag = C14866gag.c;
} else {
c14866gag = null;
}
if (c14866gag == null) {
int i8 = p + 71;
s = i8 % 128;
int i9 = i8 % 2;
finish();
if (i9 == 0) {
return;
}
obj.hashCode();
throw null;
}
}
/* JADX WARN: Removed duplicated region for block: B:12:0x0524 */
/* JADX WARN: Removed duplicated region for block: B:8:0x0522 */
@Override // com.scb.phone.view.activity.deeplink.Hilt_ECouponRedemptionDeeplinkActivity, com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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 r30) {
/*
Method dump skipped, instructions count: 1602
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.deeplink.ECouponRedemptionDeeplinkActivity.onCreate(android.os.Bundle):void");
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object d(Object[] objArr) {
ECouponRedemptionDeeplinkActivity eCouponRedemptionDeeplinkActivity = (ECouponRedemptionDeeplinkActivity) objArr[0];
Throwable th = (Throwable) objArr[1];
int i = 2 % 2;
int i2 = s + 27;
p = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.e(th, "");
eCouponRedemptionDeeplinkActivity.a_(th);
return null;
}
C14957gcv.e(th, "");
eCouponRedemptionDeeplinkActivity.a_(th);
int i3 = 50 / 0;
return null;
}
@Override // o.InterfaceC9186dev
public final void a(C0481Ho c0481Ho) {
int i = 2 % 2;
int i2 = p + 67;
s = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(c0481Ho, "");
MyECouponActivity.HBt hBt = MyECouponActivity.b;
aby_(MyECouponActivity.HBt.ZN_(this, c0481Ho.e, true));
int i4 = p + 45;
s = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void aC(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
char c;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = b;
int i3 = 16;
int i4 = 1;
int i5 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[0] = Integer.valueOf(iArr3[i6]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 15, (ViewConfiguration.getEdgeSlop() >> i3) + 5, (char) (58133 - Process.getGidForName("")))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i6] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i6++;
i3 = 16;
i4 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i7 = $10 + 47;
$11 = i7 % 128;
int i8 = i7 % 2;
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = b;
if (iArr6 != null) {
int i9 = $10 + 109;
$11 = i9 % 128;
int i10 = i9 % 2;
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i11 = 0;
while (i11 < length3) {
try {
Object[] objArr3 = new Object[1];
objArr3[i5] = Integer.valueOf(iArr6[i11]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
c = 55346;
} else {
obj2 = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 15, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) (View.resolveSizeAndState(0, 0, 0) + 58134))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
c = 55346;
xzZ.y.put(729798706, obj2);
}
iArr7[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i11++;
int i12 = $11 + 79;
$10 = i12 % 128;
if (i12 % 2 != 0) {
int i13 = 4 % 4;
}
iArr6 = iArr2;
i5 = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr6 = iArr7;
}
int i14 = i5;
System.arraycopy(iArr6, i14, iArr5, i14, length2);
c4403bZM.b = i14;
while (c4403bZM.b < iArr.length) {
cArr[i14] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i15 = 0;
for (int i16 = 16; i15 < i16; i16 = 16) {
int i17 = $11 + 57;
$10 = i17 % 128;
if (i17 % 2 != 0) {
c4403bZM.e ^= iArr5[i15];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 117, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (ViewConfiguration.getPressedStateDuration() >> 16));
byte b2 = (byte) 1;
byte b3 = (byte) (b2 - 1);
Object[] objArr5 = new Object[1];
aE(b2, b3, b3, objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i15 += 34;
} else {
c4403bZM.e ^= iArr5[i15];
try {
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(AndroidCharacter.getMirror('0') + 'F', 5 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1));
byte b4 = (byte) 1;
byte b5 = (byte) (b4 - 1);
Object[] objArr7 = new Object[1];
aE(b4, b5, b5, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i15++;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
}
int i18 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i18;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i19 = c4403bZM.e;
int i20 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(98 - KeyEvent.normalizeMetaState(0), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) Color.red(0));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr9 = new Object[1];
aE(b6, b7, b7, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
int i21 = $10 + 109;
$11 = i21 % 128;
int i22 = i21 % 2;
i14 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.deeplink.Hilt_ECouponRedemptionDeeplinkActivity, com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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 = s + 115;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 33), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1835001191, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 21, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 2060473960, (byte) (68 - TextUtils.indexOf("", "")), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aC(new int[]{-120399760, 17452713, -10800352, -910289092, 36536138, -1735634596, 1122687840, 2042768806, -1393859120, -1847363155}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 80, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 29;
p = i4 % 128;
if (i4 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 61 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
int i6 = p + 107;
s = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = p + 105;
s = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 492, TextUtils.getCapsMode("", 0, 0) + 5, (char) Color.alpha(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(MotionEvent.axisFromString("") + 488, '5' - AndroidCharacter.getMirror('0'), (char) (ViewConfiguration.getFadingEdgeLength() >> 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();
}
@Override // com.scb.phone.view.activity.deeplink.Hilt_ECouponRedemptionDeeplinkActivity, com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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 = p + 13;
s = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD((short) (79 - KeyEvent.normalizeMetaState(0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 1835001269, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 21, 2060473961 - (ViewConfiguration.getFadingEdgeLength() >> 16), (byte) (67 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aC(new int[]{-120399760, 17452713, -10800352, -910289092, 36536138, -1735634596, 1122687840, 2042768806, -1393859120, -1847363155}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_outcome_pending_button_text).substring(14, 16).codePointAt(1) - 44, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = s + 87;
p = i3 % 128;
try {
if (i3 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - Process.getGidForName(""), 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) TextUtils.getCapsMode("", 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = 11 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 491, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.indexOf("", ""))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(View.getDefaultSize(0, 0) + 487, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aD(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(m)};
Object obj = xzZ.y.get(-2092856797);
long j = 0;
if (obj == null) {
Class cls = (Class) xzZ.c(337 - ExpandableListView.getPackedPositionGroup(0L), View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte length = (byte) $$g.length;
byte b3 = (byte) (length - 4);
Object[] objArr3 = new Object[1];
aE(length, b3, 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();
if (intValue == -1) {
i4 = 1;
} else {
int i7 = $10 + 47;
$11 = i7 % 128;
int i8 = i7 % 2;
i4 = 0;
}
if (i4 != 0) {
byte[] bArr = k;
if (bArr != null) {
int length2 = bArr.length;
byte[] bArr2 = new byte[length2];
int i9 = $11 + 81;
$10 = i9 % 128;
int i10 = i9 % 2;
int i11 = 0;
while (i11 < length2) {
Object[] objArr4 = {Integer.valueOf(bArr[i11])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + 60, ExpandableListView.getPackedPositionGroup(j) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')));
byte b4 = (byte) 3;
byte b5 = (byte) (b4 - 3);
Object[] objArr5 = new Object[1];
aE(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr2[i11] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i11++;
j = 0;
}
bArr = bArr2;
}
if (bArr != null) {
byte[] bArr3 = k;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(f6843o)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 337, Gravity.getAbsoluteGravity(0, 0) + 5, (char) Gravity.getAbsoluteGravity(0, 0));
byte length3 = (byte) $$g.length;
byte b6 = (byte) (length3 - 4);
Object[] objArr7 = new Object[1];
aE(length3, b6, b6, 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) (m ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (q[i + ((int) (f6843o ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (m ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
dfy.c = ((i + intValue) - 2) + ((int) (f6843o ^ (-7303220121662775787L))) + i4;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(l), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(748 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -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 = k;
if (bArr4 != null) {
int length4 = bArr4.length;
byte[] bArr5 = new byte[length4];
for (int i12 = 0; i12 < length4; i12++) {
int i13 = $10 + 7;
$11 = i13 % 128;
int i14 = i13 % 2;
bArr5[i12] = (byte) (bArr4[i12] ^ (-7303220121662775787L));
}
bArr4 = bArr5;
}
boolean z = bArr4 != null;
dfy.d = 1;
while (dfy.d < intValue) {
int i15 = $10;
int i16 = i15 + 53;
$11 = i16 % 128;
int i17 = i16 % 2;
if (z) {
int i18 = i15 + 83;
$11 = i18 % 128;
if (i18 % 2 == 0) {
byte[] bArr6 = k;
dfy.c = dfy.c;
i5 = dfy.e / (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) << s2)) ^ b2);
} else {
byte[] bArr7 = k;
dfy.c = dfy.c - 1;
i5 = dfy.e + (((byte) (((byte) (bArr7[r7] ^ (-7303220121662775787L))) + s2)) ^ b2);
}
dfy.a = (char) i5;
int i19 = $11 + 91;
$10 = i19 % 128;
int i20 = i19 % 2;
} else {
short[] sArr = q;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r8] ^ (-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;
}
}
@Override // com.scb.phone.view.activity.deeplink.Hilt_ECouponRedemptionDeeplinkActivity, com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aC(new int[]{1894019865, 1945415262, -926391519, -1368213638, 1925391630, 1615630443, 1599434519, 395153573, -5261009, 1140446631}, (Process.myTid() >> 22) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((short) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 121), (-1835001161) - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), Color.blue(0) - 8, KeyEvent.normalizeMetaState(0) + 2060473973, (byte) ((-30) - (ViewConfiguration.getTouchSlop() >> 8)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = s + 71;
p = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
int i4 = p + 33;
s = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i6 = s + 47;
p = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == 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];
aD((short) ((-16) - ((byte) KeyEvent.getModifierMetaStateMask())), (ViewConfiguration.getScrollDefaultDelay() >> 16) - 1835001132, 35 - (ViewConfiguration.getKeyRepeatDelay() >> 16), Process.getGidForName("") + 2060473914, (byte) (((byte) KeyEvent.getModifierMetaStateMask()) + ISO7816.INS_READ_BINARY), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aC(new int[]{1638434062, -1502700294, 1126727391, -1630603767, 62746993, -1945578056, 2071189349, 1008421548, -788992468, 468761540, -7898605, 177875626, -9637722, -1149617533, -264289613, -632272722, 1139327991, -311280866, 1419703026, -1694501893, -1516592359, -640973604, 2145966919, -1004672000, -1696820281, -1216199337, -264848581, 2026892885, -21588911, -2005789117, 1201569246, 985777657}, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aC(new int[]{-439593595, -1516051677, 389652602, 1058717050, 661760416, 1658512056, 735846355, -1876850714, 1198859796, -1185829874, -2021156525, -913363443, -28066752, 1125376058, -1735274031, -670650525, 1385869586, -643353275, -79808853, -1768899489, 1170192360, 696148025, -300366109, 1436385619, -1082836597, 133115775, -218699921, 2114520206, -1651045719, 870456393, -457307279, -504084922}, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aC(new int[]{-1691550709, -1871395182, 631938596, -1372650879, 1030247868, -549063927, -1490312213, 1336225451, -431673226, -880378439, 1198568731, 875858773, 1081452814, 1428245620, -1755199813, -853294646, -1861736223, 2095653991, 1389603613, 280107605, -1980703176, -553143967, 1068260990, -992560589, 300195717, 178349289, 789042086, -1561488233, 824321140, -1863741940, -173191105, 70153825, 1766623855, 2088621827, 139213567, -791138266, -1808308816, 1468812280}, TextUtils.getOffsetBefore("", 0) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD((short) (39 - View.getDefaultSize(0, 0)), (-1835001085) - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), Color.argb(0, 0, 0, 0) - 8, (ViewConfiguration.getLongPressTimeout() >> 16) + 2060473921, (byte) (View.MeasureSpec.getMode(0) - 98), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD((short) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 22), (-1835001082) - MotionEvent.axisFromString(""), 23 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), ((byte) KeyEvent.getModifierMetaStateMask()) + 2060473966, (byte) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 38), objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - TextUtils.indexOf((CharSequence) "", '0'), 5 - Gravity.getAbsoluteGravity(0, 0), (char) TextUtils.indexOf("", ""))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // com.scb.phone.view.activity.deeplink.Hilt_ECouponRedemptionDeeplinkActivity, com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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 = p + 1;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 58 / 0;
}
int i5 = p + 43;
s = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC9186dev
public final void d(Throwable th) {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1221686589;
d(new Object[]{this, th});
}
@Override // com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity
protected final boolean h() {
int i = 2 % 2;
int i2 = p;
int i3 = i2 + 41;
s = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 77;
s = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 17 / 0;
}
return true;
}
}