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

718 lines
38 KiB
Java

package com.scb.phone.view.activity.hml;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
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.fragment.hml.HmlNTBLoanSetupFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C14957gcv;
import o.C5341brH;
import o.DFY;
import o.InterfaceC13391fZD;
import o.InterfaceC9323dha;
import o.TVH;
import o.pug;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public final class HmlNTBLoanSetupActivity extends Hilt_HmlNTBLoanSetupActivity implements InterfaceC9323dha {
public static final RVV k;
private static int l;
private static char[] m;
/* renamed from: o, reason: collision with root package name */
private static int f7304o;
private static byte[] p;
private static int q;
private static int r;
private static short[] t;
@InterfaceC13391fZD
public C5341brH presenter;
private static final byte[] $$y = {ISO7816.INS_MANAGE_CHANNEL, Ascii.SYN, 62, 17};
private static final int $$z = 56;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002c). 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(short r7, byte r8, int r9, java.lang.Object[] r10) {
/*
int r7 = r7 + 71
byte[] r0 = com.scb.phone.view.activity.hml.HmlNTBLoanSetupActivity.$$y
int r8 = r8 * 3
int r8 = 1 - r8
int r9 = r9 * 3
int r9 = 3 - r9
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r7 = r9
r4 = r2
goto L2c
L15:
r3 = r2
L16:
int r4 = r3 + 1
int r9 = r9 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r8) goto L27
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L27:
r3 = r0[r9]
r6 = r9
r9 = r7
r7 = r6
L2c:
int r9 = r9 + r3
r3 = r4
r6 = r9
r9 = r7
r7 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlNTBLoanSetupActivity.aF(short, byte, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i2;
int i6 = i4 | i5;
int i7 = ~i3;
return ((((i * (-1529)) + (i2 * (-764))) + ((((~((i2 | i4) | i3)) | (~(i6 | i7))) | (~((i5 | i) | i3))) * 765)) + (((~i6) | (~(i4 | i7))) * 1530)) + (((~(i | (i5 | i7))) | (~(i4 | i3))) * 765) != 1 ? b(objArr) : a(objArr);
}
/* loaded from: classes4.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = s + 33;
r = i2 % 128;
if (i2 % 2 != 0) {
String string = getString(R.string.hml_loan_setup_title);
C14957gcv.c((Object) string, "");
return string;
}
C14957gcv.c((Object) getString(R.string.hml_loan_setup_title), "");
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0117, code lost:
if (r5 > 99999) goto L11;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static /* synthetic */ java.lang.Object a(java.lang.Object[] r24) {
/*
Method dump skipped, instructions count: 1232
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlNTBLoanSetupActivity.a(java.lang.Object[]):java.lang.Object");
}
@Override // o.InterfaceC9323dha
public final void a(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
c("p10x1_loan_setup", new pug("user_type", "ntb"));
int i2 = s + 113;
r = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBLoanSetupActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = r + 117;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{18, 26, CipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384, 4}, false, new byte[]{1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deposit_amount_value).substring(0, 3).codePointAt(0) - 68), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 273312469, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 114, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_summary_request_amount_value).substring(0, 5).codePointAt(4) - 730120741, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 190), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = r + 67;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0'), View.MeasureSpec.getSize(0) + 5, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 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((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 486, 5 - Color.red(0), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).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.hml.Hilt_HmlNTBLoanSetupActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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 + 21;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new int[]{18, 26, CipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384, 4}, false, new byte[]{1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE((short) ((-25) - (ViewConfiguration.getWindowTouchSlop() >> 8)), 273312502 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.settings_prompt_pay).substring(6, 11).codePointAt(0) - 112, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fill_information_title_breadcrumb_en).substring(0, 19).codePointAt(5) - 730120814, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_robo_advisor_open_scbs_account_stop_3).substring(0, 1).length() - 76), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = s + 13;
r = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, View.MeasureSpec.getMode(0) + 5, (char) TextUtils.getOffsetAfter("", 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)), ExpandableListView.getPackedPositionType(0L) + 5, (char) KeyEvent.getDeadChar(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = 22 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - KeyEvent.keyCodeFromString(""), 4 - ImageFormat.getBitsPerPixel(0), (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(MotionEvent.axisFromString("") + 488, Color.blue(0) + 5, (char) Color.green(0))).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(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2;
char[] cArr;
char c;
char[] cArr2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr3 = m;
int i9 = 5;
if (cArr3 != null) {
int length = cArr3.length;
char[] cArr4 = new char[length];
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr3[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr2 = cArr3;
} else {
Class cls = (Class) xzZ.c(223 - (KeyEvent.getMaxKeyCode() >> 16), (ViewConfiguration.getDoubleTapTimeout() >> 16) + i9, (char) (TextUtils.indexOf((CharSequence) "", '0') + 41978));
byte b = (byte) i4;
byte b2 = b;
cArr2 = cArr3;
Object[] objArr3 = new Object[1];
aF(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr4[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
cArr3 = cArr2;
i4 = 0;
i9 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
char[] cArr5 = new char[i6];
System.arraycopy(cArr3, i5, cArr5, 0, i6);
if (bArr != null) {
int i11 = $10 + 61;
$11 = i11 % 128;
if (i11 % 2 == 0) {
cArr = new char[i6];
tvh.c = 0;
c = 1;
} else {
cArr = new char[i6];
tvh.c = 0;
c = 0;
}
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i12 = $10 + 45;
$11 = i12 % 128;
int i13 = i12 % 2;
int i14 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 502, Color.green(0) + 5, (char) (54 - (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))))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr[i14] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i15 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 14, TextUtils.indexOf("", "", 0) + 5, (char) (58134 - (KeyEvent.getMaxKeyCode() >> 16)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr[i15] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getTapTimeout() >> 16), 5 - KeyEvent.normalizeMetaState(0), (char) (21608 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)));
byte b3 = (byte) 2;
byte b4 = (byte) (b3 - 2);
Object[] objArr7 = new Object[1];
aF(b3, b4, b4, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr5 = cArr;
}
if (i8 > 0) {
int i16 = $11 + 53;
$10 = i16 % 128;
int i17 = i16 % 2;
char[] cArr6 = new char[i6];
i = 0;
System.arraycopy(cArr5, 0, cArr6, 0, i6);
int i18 = i6 - i8;
System.arraycopy(cArr6, 0, cArr5, i18, i8);
System.arraycopy(cArr6, i8, cArr5, 0, i18);
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i6];
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
int i19 = $10 + 21;
$11 = i19 % 128;
if (i19 % 2 == 0) {
cArr7[tvh.c] = cArr5[(i6 << tvh.c) >> 1];
i = tvh.c << 1;
} else {
cArr7[tvh.c] = cArr5[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
}
cArr5 = cArr7;
}
if (i7 > 0) {
int i20 = $11 + 31;
$10 = i20 % 128;
int i21 = 2;
int i22 = i20 % 2;
tvh.c = 0;
while (tvh.c < i6) {
int i23 = $10 + 3;
$11 = i23 % 128;
if (i23 % i21 == 0) {
cArr5[tvh.c] = (char) (cArr5[tvh.c] << iArr[5]);
tvh.c /= 0;
i2 = 2;
} else {
i2 = 2;
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
tvh.c++;
}
i21 = i2;
}
}
objArr[0] = new String(cArr5);
}
private static void aE(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
int length;
byte[] bArr;
int i4 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(l)};
Object obj = xzZ.y.get(-2092856797);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 337, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (Process.getGidForName("") + 1));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aF((byte) 39, b2, b2, 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();
int i5 = intValue == -1 ? 1 : 0;
if (i5 != 0) {
byte[] bArr2 = p;
if (bArr2 != null) {
int length2 = bArr2.length;
byte[] bArr3 = new byte[length2];
for (int i6 = 0; i6 < length2; i6++) {
Object[] objArr4 = {Integer.valueOf(bArr2[i6])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.getTrimmedLength("") + 60, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) ExpandableListView.getPackedPositionType(0L));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aF((byte) 37, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr3[i6] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
}
bArr2 = bArr3;
}
if (bArr2 != null) {
byte[] bArr4 = p;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(f7304o)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 337, (Process.myPid() >> 22) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aF((byte) 39, b4, b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
intValue = (byte) (((byte) (bArr4[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (l ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (t[i + ((int) (f7304o ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (l ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
int i7 = $10 + 83;
$11 = i7 % 128;
int i8 = i7 % 2;
dfy.c = ((i + intValue) - 2) + ((int) (f7304o ^ (-7303220121662775787L))) + i5;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(q), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(748 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - TextUtils.indexOf("", "", 0, 0), (char) View.MeasureSpec.getSize(0))).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[] bArr5 = p;
if (bArr5 != null) {
int i9 = $10 + 53;
$11 = i9 % 128;
if (i9 % 2 == 0) {
length = bArr5.length;
bArr = new byte[length];
} else {
length = bArr5.length;
bArr = new byte[length];
}
int i10 = 0;
while (i10 < length) {
int i11 = $10 + 51;
$11 = i11 % 128;
if (i11 % 2 == 0) {
bArr[i10] = (byte) (bArr5[i10] | (-7303220121662775787L));
i10 /= 0;
} else {
bArr[i10] = (byte) (bArr5[i10] ^ (-7303220121662775787L));
i10++;
}
}
bArr5 = bArr;
}
boolean z = bArr5 != null;
dfy.d = 1;
while (dfy.d < intValue) {
if (z) {
byte[] bArr6 = p;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = t;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
int i12 = $11 + 45;
$10 = i12 % 128;
int i13 = i12 % 2;
}
}
objArr[0] = sb.toString();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBLoanSetupActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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;
int i2 = r + 59;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 0, 0}, true, new byte[]{1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE((short) ((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)) - 3), 273312498 + (ViewConfiguration.getMaximumFlingVelocity() >> 16), (-81) - Process.getGidForName(""), (-730120699) + TextUtils.getOffsetBefore("", 0), (byte) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 57), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = r + 21;
s = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i6 = r + 75;
s = i6 % 128;
if (i6 % 2 != 0) {
context2 = context.getApplicationContext();
int i7 = 84 / 0;
} else {
context2 = context.getApplicationContext();
}
} else {
context2 = context;
}
if (context2 != null) {
int i8 = s + 105;
r = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getTapTimeout() >> 16), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(new int[]{44, 48, 28, 0}, true, new byte[]{0, 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, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE((short) (108 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), 273312520 - ((byte) KeyEvent.getModifierMetaStateMask()), ExpandableListView.getPackedPositionGroup(0L) - 80, KeyEvent.normalizeMetaState(0) - 730120707, (byte) (98 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new int[]{92, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new int[]{CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, 74, 80, 68}, true, null, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new int[]{230, 5, 83, 3}, false, new byte[]{1, 0, 0, 1, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{235, 36, CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384, 31}, false, new byte[]{0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0}, 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(488 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final /* synthetic */ Fragment M() {
int i = 2 % 2;
HmlNTBLoanSetupFragment.HBt hBt = HmlNTBLoanSetupFragment.c;
HmlNTBLoanSetupFragment hmlNTBLoanSetupFragment = new HmlNTBLoanSetupFragment();
int i2 = r + 125;
s = i2 % 128;
int i3 = i2 % 2;
return hmlNTBLoanSetupFragment;
}
private static /* synthetic */ Object b(Object[] objArr) {
int i = 2 % 2;
int i2 = r;
int i3 = i2 + 103;
s = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 87 / 0;
}
int i5 = i2 + 29;
s = i5 % 128;
int i6 = i5 % 2;
return Integer.valueOf(R.layout.2131558575);
}
static void f() {
m = new char[]{39986, 40056, 40039, 40047, 40034, 40059, 40042, 39988, 40027, 40058, 40005, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 40068, 40211, 40219, 40196, 40196, 40223, 40221, 40211, 40214, 40210, 40216, 40189, 40191, 40222, 40214, 40183, 40175, 40180, 40211, 40208, 40215, 40215, 40208, 40232, 40216, 40192, 39971, 40035, 40033, 40034, 40035, 40024, 40025, 40004, 40045, 40053, 40052, 40074, 40044, 40027, 40025, 40004, 40006, 40045, 40033, 40033, 40035, 40035, 40035, 40033, 40032, 40034, 40045, 40004, 40026, 40026, 40005, 40045, 40034, 40026, 40045, 40045, 40045, 40046, 40026, 40034, 40054, 40052, 40075, 40044, 40045, 40044, 40026, 40027, 39995, 40007, 39999, 39994, 40001, 40001, 40007, 40046, 40000, 39998, 39997, 40007, 40040, 40000, 39993, 39999, 40007, 40042, 40047, 40000, 39995, 39995, 39992, 39999, 40001, 40006, 40004, 40046, 40005, 39996, 39996, 40005, 40007, 40000, 40042, 40000, 39998, 39992, 39994, 39994, 39992, 39993, 39993, 39999, 40007, 40047, 40007, 40006, 40040, 40040, 40000, 39998, 39996, 39996, 39999, 40000, 40000, 40003, 40040, 40040, 40000, 39997, 40006, 40006, 40052, 40073, 40141, 40052, 40143, 40136, 40126, 40124, 40117, 40114, 40052, 40114, 40139, 40122, 40052, 40118, 40116, 40120, 40053, 40126, 40137, 40122, 40142, 40138, 40136, 40127, 40137, 40122, 40142, 40124, 40053, 40143, 40136, 40122, 40120, 40143, 40122, 40126, 40137, 40115, 40143, 40053, 40112, 40117, 40122, 40121, 40119, 40122, 40114, 40120, 40137, 40126, 40118, 40118, 40116, 40120, 40118, 40122, 40114, 40136, 40052, 40052, 40065, 40136, 40139, 40143, 40143, 40115, 40136, 40143, 40117, 40126, 40141, 40126, 40014, 40077, 40073, 40076, 40077, 40050, 40164, 40160, 40172, 40161, 40167, 40200, 40215, 40203, 40162, 40167, 40161, 40161, 40163, 40203, 40209, 40215, 40214, 40202, 40163, 40200, 40200, 40201, 40206, 40204, 40214, 40206, 40166, 40166, 40167, 40207, 40213, 40215, 40201, 40167, 40206};
f7304o = -1132754149;
l = 1406017114;
q = 2018172029;
p = new byte[]{-93, 35, ISO7816.INS_GET_DATA, 2, ISO7816.INS_WRITE_RECORD, ISO7816.INS_UPDATE_BINARY, 118, -39, 76, -86, 113, 125, 116, 119, -37, -90, -124, -39, ISO7816.INS_GET_RESPONSE, 74, -37, 116, -43, ISO7816.INS_DELETE_FILE, -17, 58, -9, 37, ISO7816.INS_APPEND_RECORD, 85, -50, 93, -12, ISO7816.INS_CHANGE_CHV, 92, -9, 80, -11, 95, -31, -9, -20, 39, 58, 92, 58, -9, 95, -29, -55, -26, 95, -9, 37, -29, 58, -21, ISO7816.INS_INCREASE, ISO7816.INS_APPEND_RECORD, ISO7816.INS_PSO, -10, 57, -26, 58, 86, -50, 86, -16, ISO7816.INS_CREATE_FILE, ISO7816.INS_CHANGE_CHV, 37, -20, 57, ISO7816.INS_CREATE_FILE, -17, 39, -17, ISO7816.INS_CHANGE_CHV, 83, -9, -20, 81, -9, 80, ISO7816.INS_GET_DATA, 95, ISO7816.INS_CHANGE_CHV};
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBLoanSetupActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = r + 5;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBLoanSetupActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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) {
e(new Object[]{this, bundle}, 615699999, -615699998, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) + 322986327);
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = 2 % 2;
int i2 = s + 59;
r = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final int K() {
return ((Integer) e(new Object[]{this}, -1602362897, 1602362897, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1607789529)).intValue();
}
static {
r = 1;
f();
k = new RVV((byte) 0);
int i = s + 7;
r = i % 128;
if (i % 2 == 0) {
throw null;
}
}
}