what-the-bank/sources/com/scb/phone/view/activity/hml/HmlNTBSelectedOfferReviewAc...

674 lines
40 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
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 com.scb.phone.view.activity.hml.HmlNTBLoanSetupActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C14957gcv;
import o.C3614bBe;
import o.TVH;
import o.bTI;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public final class HmlNTBSelectedOfferReviewActivity extends Hilt_HmlNTBSelectedOfferReviewActivity {
public static final LWm b;
private static char[] k;
private static int l;
private static boolean m;
/* renamed from: o, reason: collision with root package name */
private static char[] f7316o;
private static int r;
private static boolean s;
private static final byte[] $$y = {119, 83, -12, -52};
private static final int $$z = CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x002b). 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 aF(byte r7, int r8, short r9, java.lang.Object[] r10) {
/*
int r9 = 122 - r9
int r8 = r8 * 4
int r8 = r8 + 1
byte[] r0 = com.scb.phone.view.activity.hml.HmlNTBSelectedOfferReviewActivity.$$y
int r7 = r7 + 4
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L13
r9 = r7
r3 = r8
r4 = r2
goto L2b
L13:
r3 = r2
L14:
int r4 = r3 + 1
byte r5 = (byte) r9
r1[r3] = r5
if (r4 != r8) goto L23
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L23:
int r7 = r7 + 1
r3 = r0[r7]
r6 = r9
r9 = r7
r7 = r3
r3 = r6
L2b:
int r7 = -r7
int r7 = r7 + r3
r3 = r4
r6 = r9
r9 = r7
r7 = r6
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlNTBSelectedOfferReviewActivity.aF(byte, int, short, java.lang.Object[]):void");
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.hml.HmlSelectedOfferReviewActivity, o.InterfaceC9345dhw
public final void b(bTI bti) {
int i = 2 % 2;
C14957gcv.e(bti, "");
HmlNTBLoanSetupActivity.RVV rvv = HmlNTBLoanSetupActivity.k;
HmlNTBSelectedOfferReviewActivity hmlNTBSelectedOfferReviewActivity = this;
C14957gcv.e(hmlNTBSelectedOfferReviewActivity, "");
startActivity(new Intent(hmlNTBSelectedOfferReviewActivity, (Class<?>) HmlNTBLoanSetupActivity.class));
int i2 = q + 65;
r = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBSelectedOfferReviewActivity, com.scb.phone.view.activity.hml.HmlSelectedOfferReviewActivity, o.dOE, 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 onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = r + 27;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 95, 1}, false, new byte[]{0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(null, null, TextUtils.getTrimmedLength("") + 127, new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aD(new int[]{18, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new int[]{44, 18, CipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, 2}, false, new byte[]{0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = r + 13;
q = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 493, 5 - Gravity.getAbsoluteGravity(0, 0), (char) View.resolveSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(new int[]{62, 48, 0, 17}, true, new byte[]{0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_coupon_not_enough).substring(6, 7).length() + 126, new byte[]{-122, -112, ISOFileInfo.FCI_EXT, -120, -109, ISOFileInfo.CHANNEL_SECURITY, -113, -109, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -109, -113, ISOFileInfo.ENV_TEMP_EF, -108, -109, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_EXP, -120, -112, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.FCI_EXT, ISOFileInfo.FCI_EXT, -109, ISOFileInfo.SECURITY_ATTR_EXP, -112, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, -109, -110, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, -113, -110, -120, -111, -119, -112, -120, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, -119, -120, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -122, -120, ISOFileInfo.FCI_EXT, -122}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.ENV_TEMP_EF, -113, -109, ISOFileInfo.SECURITY_ATTR_EXP, -112, -108, -112, -110, -108, -110, ISOFileInfo.LCS_BYTE, -120, -109, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.FCI_EXT, -122, -120, -113, -108, -111, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -112, ISOFileInfo.FCI_EXT, -119, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, -120, -109, -122, -108, -109, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.ENV_TEMP_EF, -110, ISOFileInfo.CHANNEL_SECURITY, -110, -108, ISOFileInfo.FCI_EXT, -112, -109, -110, -119, ISOFileInfo.FCI_EXT, -122, -111, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, -122, -111, -112, -111, -110, -109, -112}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{110, 74, 0, 15}, true, new byte[]{1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new int[]{CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256, 5, CipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256, 1}, false, new byte[]{1, 1, 1, 0, 0}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) + 18, new byte[]{-122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_EXP, -119, ISOFileInfo.SECURITY_ATTR_EXP, -113, -122, ISOFileInfo.ENV_TEMP_EF, -112, ISOFileInfo.SECURITY_ATTR_COMPACT, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, -107, -113, -122, ISOFileInfo.FCI_EXT, -112, -107, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_COMPACT, -119, -107, ISOFileInfo.FCI_EXT, -122, -110, -120, -107, -110, -119, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -119, ISOFileInfo.SECURITY_ATTR_COMPACT, -112, -122}, 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 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), TextUtils.lastIndexOf("", '0', 0) + 6, (char) TextUtils.getTrimmedLength(""))).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);
int i6 = q + 19;
r = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBSelectedOfferReviewActivity, com.scb.phone.view.activity.hml.HmlSelectedOfferReviewActivity, o.dOE, 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;
int i2 = q + 111;
r = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = r + 51;
q = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aD(new int[]{18, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{44, 18, CipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, 2}, false, new byte[]{0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = q + 107;
r = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i8 = q + 61;
r = i8 % 128;
try {
if (i8 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - KeyEvent.normalizeMetaState(0), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).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(TextUtils.getCapsMode("", 0, 0) + 487, Process.getGidForName("") + 6, (char) KeyEvent.normalizeMetaState(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 491, 5 - TextUtils.getCapsMode("", 0, 0), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - Drawable.resolveOpacity(0, 0), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) Color.blue(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i9 = r + 59;
q = i9 % 128;
if (i9 % 2 == 0) {
throw null;
}
}
private static void aE(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int length;
char[] cArr2;
int i2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = f7316o;
int i4 = -1;
int i5 = 0;
if (cArr3 != null) {
int i6 = $10 + 67;
$11 = i6 % 128;
if (i6 % 2 == 0) {
length = cArr3.length;
cArr2 = new char[length];
i2 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i2 = 0;
}
while (i2 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(cArr3[i2]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", "", i5) + 337, 5 - View.getDefaultSize(i5, i5), (char) View.MeasureSpec.getMode(i5));
byte b2 = (byte) i4;
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
aF(b2, b3, (byte) (b3 | 57), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr2[i2] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i2++;
i4 = -1;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(l)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf("", "", 0) + 283, 5 - TextUtils.indexOf("", "", 0, 0), (char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 39813));
byte b4 = (byte) (-1);
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
aF(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (s) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(40 - View.MeasureSpec.getSize(0), TextUtils.getOffsetAfter("", 0) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
int i7 = 0;
if (m) {
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 40, (Process.myTid() >> 22) + 5, (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i7;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
}
int i8 = $11 + 61;
$10 = i8 % 128;
int i9 = i8 % 2;
cArr6[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i7 = c3614bBe.a + 1;
}
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBSelectedOfferReviewActivity, com.scb.phone.view.activity.hml.HmlSelectedOfferReviewActivity, o.dOE, 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 = r + 59;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new int[]{18, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{44, 18, CipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, 2}, false, new byte[]{0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 111;
r = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) View.MeasureSpec.makeMeasureSpec(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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(488 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))))).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 aD(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr2 = k;
int i8 = -1;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(((Process.getThreadPriority(i3) + 20) >> 6) + 223, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 41977));
byte b2 = (byte) i8;
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
aF(b2, b3, (byte) (b3 | 51), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
i3 = 0;
i8 = -1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i5];
System.arraycopy(cArr2, i4, cArr4, 0, i5);
if (bArr != null) {
char[] cArr5 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
int i10 = $11 + 67;
$10 = i10 % 128;
if (i10 % 2 == 0 ? bArr[tvh.c] == 1 : bArr[tvh.c] == 0) {
int i11 = 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((ViewConfiguration.getScrollDefaultDelay() >> 16) + 502, TextUtils.lastIndexOf("", '0') + 6, (char) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i12 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 15, 5 - KeyEvent.getDeadChar(0, 0), (char) (58134 - ExpandableListView.getPackedPositionGroup(0L)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i12] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((-16776814) - Color.rgb(0, 0, 0), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((ViewConfiguration.getLongPressTimeout() >> 16) + 21608));
byte b4 = (byte) (-1);
byte b5 = (byte) (b4 + 1);
Object[] objArr7 = new Object[1];
aF(b4, b5, (byte) (b5 | 49), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr5;
}
if (i7 > 0) {
char[] cArr6 = new char[i5];
System.arraycopy(cArr4, 0, cArr6, 0, i5);
int i13 = i5 - i7;
System.arraycopy(cArr6, 0, cArr4, i13, i7);
System.arraycopy(cArr6, i7, cArr4, 0, i13);
int i14 = $11 + 63;
$10 = i14 % 128;
i = 2;
int i15 = i14 % 2;
} else {
i = 2;
}
if (z) {
int i16 = $10 + 119;
$11 = i16 % 128;
if (i16 % i == 0) {
cArr = new char[i5];
tvh.c = 1;
} else {
cArr = new char[i5];
tvh.c = 0;
}
while (tvh.c < i5) {
cArr[tvh.c] = cArr4[(i5 - tvh.c) - 1];
tvh.c++;
}
cArr4 = cArr;
}
if (i6 > 0) {
int i17 = 0;
while (true) {
tvh.c = i17;
if (tvh.c >= i5) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i17 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBSelectedOfferReviewActivity, com.scb.phone.view.activity.hml.HmlSelectedOfferReviewActivity, o.dOE, 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) {
int i = 2 % 2;
int i2 = q + 55;
r = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 95, 1}, false, new byte[]{0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(null, null, 127 - TextUtils.indexOf("", ""), new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, 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) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), Color.argb(0, 0, 0, 0) + 5, (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(new int[]{62, 48, 0, 17}, true, new byte[]{0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(null, null, 128 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new byte[]{-122, -112, ISOFileInfo.FCI_EXT, -120, -109, ISOFileInfo.CHANNEL_SECURITY, -113, -109, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -109, -113, ISOFileInfo.ENV_TEMP_EF, -108, -109, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_EXP, -120, -112, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.FCI_EXT, ISOFileInfo.FCI_EXT, -109, ISOFileInfo.SECURITY_ATTR_EXP, -112, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, -109, -110, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, -113, -110, -120, -111, -119, -112, -120, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, -119, -120, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -122, -120, ISOFileInfo.FCI_EXT, -122}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(null, null, TextUtils.indexOf((CharSequence) "", '0') + 128, new byte[]{ISOFileInfo.ENV_TEMP_EF, -113, -109, ISOFileInfo.SECURITY_ATTR_EXP, -112, -108, -112, -110, -108, -110, ISOFileInfo.LCS_BYTE, -120, -109, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.FCI_EXT, -122, -120, -113, -108, -111, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -112, ISOFileInfo.FCI_EXT, -119, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, -120, -109, -122, -108, -109, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.ENV_TEMP_EF, -110, ISOFileInfo.CHANNEL_SECURITY, -110, -108, ISOFileInfo.FCI_EXT, -112, -109, -110, -119, ISOFileInfo.FCI_EXT, -122, -111, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, -122, -111, -112, -111, -110, -109, -112}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new int[]{110, 74, 0, 15}, true, new byte[]{1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new int[]{CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256, 5, CipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256, 1}, false, new byte[]{1, 1, 1, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(null, null, 128 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), new byte[]{-122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_EXP, -119, ISOFileInfo.SECURITY_ATTR_EXP, -113, -122, ISOFileInfo.ENV_TEMP_EF, -112, ISOFileInfo.SECURITY_ATTR_COMPACT, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, -107, -113, -122, ISOFileInfo.FCI_EXT, -112, -107, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_COMPACT, -119, -107, ISOFileInfo.FCI_EXT, -122, -110, -120, -107, -110, -119, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -119, ISOFileInfo.SECURITY_ATTR_COMPACT, -112, -122}, 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(TextUtils.lastIndexOf("", '0', 0, 0) + 488, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 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 + 87;
q = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i6 = r + 97;
q = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object b(Object[] objArr) {
HmlNTBSelectedOfferReviewActivity hmlNTBSelectedOfferReviewActivity = (HmlNTBSelectedOfferReviewActivity) objArr[0];
int i = 2 % 2;
int i2 = q + 43;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = r + 53;
q = i4 % 128;
Object obj = null;
if (i4 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
static void h() {
k = new char[]{40034, 40130, 40141, 40131, 40129, 40132, 40128, 40142, 40099, 40102, 40155, 40100, 40085, 40139, 40132, 40131, 40136, 40128, 39995, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40012, 40035, 40059, 40004, 39996, 40025, 40032, 40037, 40036, 40036, 40037, 40061, 40045, 40021, 40038, 40032, 40040, 40041, 40076, 40198, 40204, 40192, 40217, 40218, 40193, 40195, 40219, 40178, 40188, 40196, 40198, 40194, 40206, 40202, 40194, 40198, 39994, 40006, 39998, 40001, 40001, 40001, 40002, 39998, 40006, 40042, 40040, 40047, 40000, 40001, 40000, 39998, 39999, 39993, 40007, 40005, 40006, 40007, 39996, 39997, 39992, 40001, 40041, 40040, 40046, 40000, 39999, 39997, 39992, 39994, 40001, 40005, 40005, 40007, 40007, 40007, 40005, 40004, 40006, 40001, 39992, 39998, 39998, 39993, 39997, 40037, 40034, 40035, 40044, 40046, 40037, 40026, 39972, 39999, 40029, 40058, 40057, 40063, 40037, 40038, 40056, 40058, 40034, 40038, 40038, 40001, 39995, 40031, 40025, 40026, 40056, 40039, 40045, 40033, 40032, 40007, 40007, 40039, 40035, 40003, 40005, 40037, 40034, 40003, 40002, 40032, 40034, 40032, 40056, 40057, 40032, 40032, 40034, 40032, 40037, 40001, 40026, 40056, 40033, 40041, 40032, 40033, 40040, 40032, 40038, 40037, 40026, 40007, 40039, 40044, 40042, 40044, 40045, 40046, 40045, 40033, 40032, 40034, 40049, 40178, 40179, 40179, 40179};
f7316o = new char[]{15960, 15956, 15920, 15908, 15919, 15904, 15917, 15889, 15903, 15892, 15888, 15901, 15890, 15900, 15918, 15916, 15902, 15899, 15891, 15905, 15896};
l = 1934311115;
m = true;
s = true;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBSelectedOfferReviewActivity, com.scb.phone.view.activity.hml.HmlSelectedOfferReviewActivity, o.dOE, 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 = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1419108082;
b(new Object[]{this});
}
static {
r = 0;
h();
b = new LWm((byte) 0);
int i = q + 69;
r = i % 128;
int i2 = i % 2;
}
}