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

648 lines
36 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.deeplink;
import android.content.Context;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.telephony.cdma.CdmaCellLocation;
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 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 o.IRS;
import o.InterfaceC17278vUG;
import o.TVH;
import o.dCV;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public abstract class Hilt_ECouponRedemptionDeeplinkActivity extends BaseDeepLinkActivity {
private boolean b = false;
private static final byte[] $$p = {39, 45, ISO7816.INS_PUT_DATA, 49};
private static final int $$q = CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
private static int t = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f6881o = {39993, 40034, 40044, 40033, 40056, 40039, 40047, 40034, 40059, 40042, 39988, 40027, 40058, 40005, 40002, 40045, 40039, 40059, 39987, 40004, 39996, 40025, 40032, 40037, 40036, 40036, 40037, 40061, 40045, 40021, 40038, 40032, 40040, 40041, 40041, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40012, 40035, 40038, 40144, 40146, 40137, 40136, 40136, 40137, 40138, 40103, 40142, 40136, 40098, 40097, 40097, 40097, 40103, 40097, 40098, 40096, 40099, 40108, 40139, 40137, 40138, 40139, 40098, 40097, 40098, 40116, 40139, 40096, 40097, 40097, 40102, 40102, 40103, 40138, 40138, 40103, 40136, 40147, 40137, 40137, 40156, 40138, 40096, 40098, 40098, 40137, 40146, 40143, 40142, 40143, 40136, 40136, 40103, 40138, 40136, 40136, 40139, 40097, 40102, 40137, 40156, 39952, 40006, 40006, 39997, 40000, 40040, 40040, 40003, 40000, 40000, 39999, 39996, 39996, 39998, 40000, 40040, 40040, 40006, 40007, 40047, 40007, 39999, 39993, 39993, 39992, 39994, 39994, 39992, 39998, 40000, 40042, 40000, 40007, 40005, 39996, 39996, 40005, 40046, 40004, 40006, 40001, 39999, 39992, 39995, 39995, 40000, 40047, 40042, 40007, 39999, 39993, 40000, 40040, 40007, 39997, 39998, 40000, 40046, 40007, 40001, 40001, 39994, 39999, 40007, 39964, 39992, 39992, 39972, 39999, 39993, 40000, 39992, 39999, 39999, 40007, 40047, 40005, 40007, 40002, 40001, 40001, 39972, 40003, 40047, 40040, 40042, 40012, 39972, 39994, 39994, 39992, 39995, 40012, 40040, 40001, 39992, 39994, 39973, 39993, 39997, 40005, 40007, 39992, 40002, 40040};
private static char[] l = {49033, 49053, 49034, 49105, 49126, 49052, 49117, 49106, 49116, 49110, 49112, 49090, 49026, 49108, 49029, 49094, 49030, 49114, 49109, 49089, 49024, 49088, 49091, 49095, 49104, 49028, 49138, 49119, 49118, 49025, 49111, 49035, 49031, 49115, 49098, 49093};
private static char m = 35375;
/* JADX WARN: Removed duplicated region for block: B:10:0x0020 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0018 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0020 -> B:4:0x0026). 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 aN(short r5, byte r6, int r7, java.lang.Object[] r8) {
/*
byte[] r0 = com.scb.phone.view.activity.deeplink.Hilt_ECouponRedemptionDeeplinkActivity.$$p
int r5 = r5 + 4
int r7 = 120 - r7
int r6 = r6 * 4
int r1 = r6 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L12
r4 = r6
r3 = r2
goto L26
L12:
r3 = r2
L13:
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r6) goto L20
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L20:
int r3 = r3 + 1
int r5 = r5 + 1
r4 = r0[r5]
L26:
int r7 = r7 + r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.deeplink.Hilt_ECouponRedemptionDeeplinkActivity.aN(short, byte, int, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_ECouponRedemptionDeeplinkActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.deeplink.Hilt_ECouponRedemptionDeeplinkActivity.5
private Hilt_ECouponRedemptionDeeplinkActivity d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.d.U_();
}
});
}
@Override // o.AbstractActivityC8166dDA
public final void U_() {
int i = 2 % 2;
if (!this.b) {
int i2 = t + 5;
k = i2 % 128;
int i3 = i2 % 2;
this.b = true;
((dCV) y_()).d((ECouponRedemptionDeeplinkActivity) this);
}
int i4 = t + 43;
k = i4 % 128;
int i5 = i4 % 2;
}
@Override // 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 void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = k + 45;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aF(new int[]{0, 18, 0, 3}, true, new byte[]{0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{'\"', 4, 5, 16, 13882}, (byte) (Process.getGidForName("") + 61), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = k + 55;
t = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aF(new int[]{18, 26, 0, 16}, false, new byte[]{0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aG(new char[]{27, '\f', 13918, 13918, '\n', 7, 20, 29, 13920, 13920, 29, 15, 25, 6, 29, 23, '\t', 7}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.add_account_info_title).substring(11, 12).codePointAt(0) + 8), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_successful_scbs_account).substring(16, 17).length() + 17, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.blue(0) + 492, (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) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aG(new char[]{'\r', 24, '!', 2, 18, 26, 19, 6, 4, 3, 25, 11, 21, 2, 19, ' ', 2, 21, 25, '#', 26, 2, '\b', 1, 20, '\f', NistHelper.SEP_FS, '\f', 26, 0, 0, 18, '\r', 17, 30, '\r', 21, 6, 13830, 13830, 26, '#', 4, 14, 25, 30, '\b', '!'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 20), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_omnibus_address_info_remark).substring(46, 47).length() + 47, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aF(new int[]{44, 64, 118, 1}, false, new byte[]{1, 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, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aF(new int[]{108, 64, 0, 0}, true, new byte[]{1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new char[]{'#', 21, 18, 23, 18, 3, 13831, 13831, 23, 15, '\n', 25, 26, 6, 13897, 13897, 7, 21, 29, '\f', '\t', 25, 1, '\t', 7, 11, 5, 19, 31, 21, '\n', '\b', 18, 29, '\t', 19, 19, 5, 14, 16, '\r', 25, '!', 18, '\t', 17, '\r', 25, 7, 3, 26, 6, 29, 4, '\n', 19, 23, 11, '\f', 11, 15, 7, 22, 18, 11, 5, '#', 11, 11, '!', '\n', 7, 18, 22}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.limit_value).substring(0, 7).codePointAt(5) + 34), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 28, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aF(new int[]{CipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256, 5, 0, 4}, false, new byte[]{0, 0, 0, 0, 1}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aF(new int[]{CipherSuite.TLS_PSK_WITH_NULL_SHA384, 36, 0, 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}, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // 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 void onResume() {
int i = 2 % 2;
int i2 = t + 33;
k = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = k + 13;
t = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aF(new int[]{18, 26, 0, 16}, false, new byte[]{0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{27, '\f', 13918, 13918, '\n', 7, 20, 29, 13920, 13920, 29, 15, 25, 6, 29, 23, '\t', 7}, (byte) ((ViewConfiguration.getEdgeSlop() >> 16) + 118), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 492, KeyEvent.normalizeMetaState(0) + 5, (char) TextUtils.getCapsMode("", 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(487 - (Process.myPid() >> 22), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = t + 39;
k = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // 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 void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = k + 37;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aF(new int[]{18, 26, 0, 16}, false, new byte[]{0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{27, '\f', 13918, 13918, '\n', 7, 20, 29, 13920, 13920, 29, 15, 25, 6, 29, 23, '\t', 7}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.taking_photo_details_accepted_formats).substring(18, 19).codePointAt(0) + 86), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 28, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = t + 125;
k = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
int i6 = t + 97;
k = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 492, ExpandableListView.getPackedPositionChild(0L) + 6, (char) KeyEvent.keyCodeFromString(""))).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(487 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (Process.myPid() >> 22) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aF(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int length;
char[] cArr;
int i2 = 2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = 1;
int i7 = iArr[1];
int i8 = iArr[2];
char c = 3;
int i9 = iArr[3];
char[] cArr2 = f6881o;
int i10 = -1;
if (cArr2 != null) {
int i11 = $11 + 121;
$10 = i11 % 128;
if (i11 % 2 != 0) {
length = cArr2.length;
cArr = new char[length];
} else {
length = cArr2.length;
cArr = new char[length];
}
int i12 = 0;
while (i12 < length) {
int i13 = $10 + 71;
$11 = i13 % 128;
if (i13 % i2 == 0) {
try {
Object[] objArr2 = new Object[i6];
objArr2[i4] = Integer.valueOf(cArr2[i12]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(222 - ((byte) KeyEvent.getModifierMetaStateMask()), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (41977 - View.resolveSize(i4, i4)));
byte b = (byte) i10;
Object[] objArr3 = new Object[1];
aN(b, (byte) (b + 1), $$p[c], objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr[i12] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i12 >>>= 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i12])};
Object obj2 = xzZ.y.get(1645349359);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(223 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 41977));
byte b2 = (byte) (-1);
Object[] objArr5 = new Object[1];
aN(b2, (byte) (b2 + 1), $$p[3], objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(1645349359, obj2);
}
cArr[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i12++;
}
i2 = 2;
i4 = 0;
i6 = 1;
c = 3;
i10 = -1;
}
cArr2 = cArr;
}
char[] cArr3 = new char[i7];
System.arraycopy(cArr2, i5, cArr3, 0, i7);
if (bArr != null) {
char[] cArr4 = new char[i7];
tvh.c = 0;
int i14 = $10 + 79;
$11 = i14 % 128;
int i15 = i14 % 2;
char c2 = 0;
while (tvh.c < i7) {
if (bArr[tvh.c] == 1) {
int i16 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(501 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), Color.alpha(0) + 5, (char) (Color.blue(0) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i16] = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
} else {
int i17 = tvh.c;
Object[] objArr7 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 15, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (TextUtils.lastIndexOf("", '0') + 58135))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr4[i17] = ((Character) ((Method) obj4).invoke(null, objArr7)).charValue();
int i18 = $11 + 101;
$10 = i18 % 128;
int i19 = i18 % 2;
}
c2 = cArr4[tvh.c];
Object[] objArr8 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(401 - TextUtils.lastIndexOf("", '0', 0, 0), (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) ((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 21608));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr9 = new Object[1];
aN(b3, b4, (byte) (b4 | 47), objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
cArr3 = cArr4;
}
if (i9 > 0) {
char[] cArr5 = new char[i7];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i7);
int i20 = i7 - i9;
System.arraycopy(cArr5, 0, cArr3, i20, i9);
System.arraycopy(cArr5, i9, cArr3, 0, i20);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i7];
tvh.c = i;
while (tvh.c < i7) {
int i21 = $10 + 121;
$11 = i21 % 128;
int i22 = i21 % 2;
cArr6[tvh.c] = cArr3[(i7 - tvh.c) - 1];
tvh.c++;
int i23 = $11 + 105;
$10 = i23 % 128;
int i24 = i23 % 2;
}
cArr3 = cArr6;
}
if (i8 > 0) {
int i25 = 0;
while (true) {
tvh.c = i25;
if (tvh.c >= i7) {
break;
}
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i25 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0064, code lost:
if (r2 > 99999) goto L6;
*/
@Override // 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r17) {
/*
Method dump skipped, instructions count: 758
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.deeplink.Hilt_ECouponRedemptionDeeplinkActivity.attachBaseContext(android.content.Context):void");
}
private static void aG(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object obj;
char c;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = l;
Object obj2 = null;
int i4 = 4;
int i5 = -1;
if (cArr2 != null) {
int i6 = $10 + 71;
$11 = i6 % 128;
int i7 = i6 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i8])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 297, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + i4, (char) (ViewConfiguration.getTouchSlop() >> 8));
byte b2 = (byte) i5;
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
aN(b2, b3, (byte) (b3 + 3), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i8] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i8++;
int i9 = $10 + 59;
$11 = i9 % 128;
int i10 = i9 % 2;
i4 = 4;
i5 = -1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(m)};
Object obj4 = xzZ.y.get(-1987398494);
char c2 = 5;
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(298 - View.resolveSizeAndState(0, 0, 0), Color.argb(0, 0, 0, 0) + 5, (char) Gravity.getAbsoluteGravity(0, 0));
byte b4 = (byte) (-1);
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
aN(b4, b5, (byte) (b5 + 3), 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) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
obj = obj2;
c = c2;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[6] = irs;
objArr6[c2] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 233, 5 - View.combineMeasuredStates(0, 0), (char) (22024 - TextUtils.getCapsMode("", 0, 0)));
byte b6 = (byte) (-1);
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
aN(b6, b7, b7, 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) {
c = 5;
} else {
Class cls4 = (Class) xzZ.c(327 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - KeyEvent.getDeadChar(0, 0), (char) TextUtils.getOffsetAfter("", 0));
byte b8 = (byte) (-1);
byte b9 = (byte) (b8 + 1);
Object[] objArr9 = new Object[1];
aN(b8, b9, (byte) (b9 + 2), objArr9);
c = 5;
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 i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i11];
} else {
obj = null;
c = 5;
if (irs.a == irs.d) {
int i12 = $11 + 27;
$10 = i12 % 128;
int i13 = i12 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i14 = (irs.a * charValue) + irs.f;
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
int i16 = $10 + 111;
$11 = i16 % 128;
int i17 = i16 % 2;
} else {
int i18 = (irs.a * charValue) + irs.j;
int i19 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i18];
cArr4[irs.e + 1] = cArr2[i19];
}
}
}
irs.e += 2;
obj2 = obj;
c2 = c;
}
}
for (int i20 = 0; i20 < i; i20++) {
cArr4[i20] = (char) (cArr4[i20] ^ 13722);
}
objArr[0] = new String(cArr4);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // 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 void onStart() {
int i = 2 % 2;
int i2 = k + 103;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = k + 81;
t = i4 % 128;
int i5 = i4 % 2;
}
}