what-the-bank/sources/com/scb/phone/view/activity/registration/Hilt_RegistrationDeadCardAc...

718 lines
43 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.registration;
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.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
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.BaseActivityWithFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13073fPt;
import o.C3614bBe;
import o.C4593bdB;
import o.InterfaceC11718ekd;
import o.InterfaceC17278vUG;
import o.fPA;
import o.xzZ;
/* loaded from: classes5.dex */
public abstract class Hilt_RegistrationDeadCardActivity extends BaseActivityWithFragment implements fPA {
private volatile C13073fPt k;
private static final byte[] $$p = {85, -17, 4, -90};
private static final int $$q = 18;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int p = 1;
/* renamed from: o, reason: collision with root package name */
private static long f7839o = -486762247352686280L;
private static char[] l = {15927, 15908, 15914, 15960, 15909, 15919, 16100, 15910, 15895, 15913, 15962, 15964, 15967, 15930, 15918, 15915, 16103, 15901, 15898, 15912, 15897, 15916, 15903, 15896, 15902, 15900, 15899, 16102, 16099};
private static int s = 1934311126;
private static boolean t = true;
private static boolean r = true;
private final Object m = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0029). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(byte r5, short r6, short r7, java.lang.Object[] r8) {
/*
int r6 = 122 - r6
byte[] r0 = com.scb.phone.view.activity.registration.Hilt_RegistrationDeadCardActivity.$$p
int r7 = r7 * 3
int r1 = 1 - r7
int r5 = r5 * 2
int r5 = 4 - r5
byte[] r1 = new byte[r1]
r2 = 0
int r7 = 0 - r7
if (r0 != 0) goto L17
r4 = r5
r6 = r7
r3 = r2
goto L29
L17:
r3 = r2
L18:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r7) goto L25
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L25:
int r3 = r3 + 1
r4 = r0[r5]
L29:
int r5 = r5 + 1
int r4 = -r4
int r6 = r6 + r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.registration.Hilt_RegistrationDeadCardActivity.aC(byte, short, short, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_RegistrationDeadCardActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.registration.Hilt_RegistrationDeadCardActivity.3
private Hilt_RegistrationDeadCardActivity d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_RegistrationDeadCardActivity hilt_RegistrationDeadCardActivity = this.d;
if (hilt_RegistrationDeadCardActivity.b) {
return;
}
hilt_RegistrationDeadCardActivity.b = true;
((InterfaceC11718ekd) hilt_RegistrationDeadCardActivity.y_()).a((RegistrationDeadCardActivity) hilt_RegistrationDeadCardActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = p + 29;
q = i2 % 128;
int i3 = i2 % 2;
Object y_ = f().y_();
int i4 = q + 77;
p = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 66 / 0;
}
return y_;
}
private C13073fPt f() {
if (this.k == null) {
synchronized (this.m) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0049, code lost:
if ((r4 % 2) == 0) goto L12;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x004b, code lost:
r2 = getIntent().getExtras();
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0054, code lost:
getIntent().getExtras();
r2.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x005e, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x003e, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0027, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x005f, code lost:
r4 = com.scb.phone.view.activity.registration.Hilt_RegistrationDeadCardActivity.p + 73;
com.scb.phone.view.activity.registration.Hilt_RegistrationDeadCardActivity.q = r4 % 128;
r4 = r4 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0040, code lost:
r4 = com.scb.phone.view.activity.registration.Hilt_RegistrationDeadCardActivity.q + 19;
com.scb.phone.view.activity.registration.Hilt_RegistrationDeadCardActivity.p = r4 % 128;
*/
@Override // androidx.activity.ComponentActivity, o.GvH
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public o.VLM.LWm getDefaultViewModelProviderFactory() {
/*
r6 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.registration.Hilt_RegistrationDeadCardActivity.q
int r1 = r1 + 63
int r2 = r1 % 128
com.scb.phone.view.activity.registration.Hilt_RegistrationDeadCardActivity.p = r2
int r1 = r1 % r0
r2 = 0
if (r1 != 0) goto L2a
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r3 = o.C13068fPo.Sts.class
java.lang.Object r3 = o.fOV.c(r6, r3)
o.fPo$Sts r3 = (o.C13068fPo.Sts) r3
o.fPo$LWm r3 = r3.a()
android.content.Intent r4 = r6.getIntent()
r5 = 26
int r5 = r5 / 0
if (r4 == 0) goto L5f
goto L40
L2a:
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r3 = o.C13068fPo.Sts.class
java.lang.Object r3 = o.fOV.c(r6, r3)
o.fPo$Sts r3 = (o.C13068fPo.Sts) r3
o.fPo$LWm r3 = r3.a()
android.content.Intent r4 = r6.getIntent()
if (r4 == 0) goto L5f
L40:
int r4 = com.scb.phone.view.activity.registration.Hilt_RegistrationDeadCardActivity.q
int r4 = r4 + 19
int r5 = r4 % 128
com.scb.phone.view.activity.registration.Hilt_RegistrationDeadCardActivity.p = r5
int r4 = r4 % r0
if (r4 == 0) goto L54
android.content.Intent r0 = r6.getIntent()
android.os.Bundle r2 = r0.getExtras()
goto L68
L54:
android.content.Intent r0 = r6.getIntent()
r0.getExtras()
r2.hashCode()
throw r2
L5f:
int r4 = com.scb.phone.view.activity.registration.Hilt_RegistrationDeadCardActivity.p
int r4 = r4 + 73
int r5 = r4 % 128
com.scb.phone.view.activity.registration.Hilt_RegistrationDeadCardActivity.q = r5
int r4 = r4 % r0
L68:
o.VLM$LWm r0 = r3.aBN_(r6, r2, r1)
return r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.registration.Hilt_RegistrationDeadCardActivity.getDefaultViewModelProviderFactory():o.VLM$LWm");
}
private static void ay(char[] cArr, int i, Object[] objArr) {
long j;
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (true) {
j = 0;
if (c4593bdB.e >= cArr.length) {
break;
}
int i3 = $10 + 105;
$11 = i3 % 128;
int i4 = i3 % 2;
int i5 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(402 - (ViewConfiguration.getFadingEdgeLength() >> 16), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) ((Process.myPid() >> 22) + 21608));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aC(b, (byte) (b | 45), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (f7839o ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - (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)), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aC(b2, (byte) (b2 | ISO7816.INS_UNBLOCK_CHV), b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $11 + 51;
$10 = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i8 = $11 + 5;
$10 = i8 % 128;
if (i8 % 2 != 0) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(237 - TextUtils.lastIndexOf("", '0'), 5 - KeyEvent.keyCodeFromString(""), (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b3, (byte) (b3 | ISO7816.INS_UNBLOCK_CHV), b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
throw null;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 239, 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) (1 - (ViewConfiguration.getZoomControlsTimeout() > j ? 1 : (ViewConfiguration.getZoomControlsTimeout() == j ? 0 : -1))));
byte b4 = (byte) 0;
Object[] objArr9 = new Object[1];
aC(b4, (byte) (b4 | ISO7816.INS_UNBLOCK_CHV), b4, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
j = 0;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
objArr[0] = new String(cArr2);
}
@Override // 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 void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = q + 81;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new char[]{64159, 6569, 15592, 21287, 30325, 35466, 43468, 52319, 58201, 1932, 6890, 14813, 23584, 29556, 38787, 43724, 51485, 60484}, 58169 - KeyEvent.keyCodeFromString(""), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{64147, 40714, 12721, 51760, 27822}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_tutorial_change_mailing_address_title).substring(0, 22).codePointAt(4) + 25894, 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];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mileage_points_per_miles_one_point).substring(15, 16).codePointAt(0) + 95, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new char[]{64157, 518, 2966, 4907, 6319, 8273, 10692, 12644, 16102, 18043, 20240, 21656, 23553, 26038, 27964, 27348, 29249, 31693}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_scbs_open_mf_header).substring(41, 42).codePointAt(0) + 63597, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 83;
p = i4 % 128;
if (i4 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 79 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 492, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (MotionEvent.axisFromString("") + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 114, new byte[]{-109, -112, -103, ISOFileInfo.LCS_BYTE, -101, -105, -109, -104, -108, -108, -112, -106, -111, -103, -101, -111, -111, ISOFileInfo.FILE_IDENTIFIER, -105, ISOFileInfo.LCS_BYTE, -101, ISOFileInfo.LCS_BYTE, -102, -106, -105, ISOFileInfo.DATA_BYTES2, -109, -107, -103, -104, -107, -108, -103, -107, -108, -107, ISOFileInfo.DATA_BYTES2, -104, -105, -108, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.LCS_BYTE, -107, -108, -109, -110, -111}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-112, ISOFileInfo.DATA_BYTES2, -108, -102, -103, -111, ISOFileInfo.LCS_BYTE, -103, -108, -101, -103, ISOFileInfo.LCS_BYTE, -110, -106, -103, ISOFileInfo.FILE_IDENTIFIER, -108, -102, -111, -101, -102, ISOFileInfo.DATA_BYTES2, -108, -102, -108, -108, -103, -101, ISOFileInfo.DATA_BYTES2, -101, -110, -110, -103, -100, -105, -104, ISOFileInfo.LCS_BYTE, -100, -102, -107, -109, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -104, -111, -109, -102, -111, -110, -102, -104, -102, -104, -101, -112, -105, -109, -108, -102, -112, -102, -108, -112}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{64159, 18199, 33132, 50110, 3547, 20440, 34941, 51756, 5188, 22174, 37095, 56672, 8016, 22871, 39840, 58873, 10127, 24701, 41514, 60493, 11931, 26859, 46399, 63243, 12549, 29615, 48546, 65424, 14362, 31333, 50361, 1749, 16618, 36205, 53085, 2392, 19375, 38393, 55241, 4120, 21091, 40119, 56961, 6358, 25972, 42784, 57670, 9156, 28076, 44954, 59422, 10853, 29884, 46722, 61656, 15743, 32630, 47382, 64450, 17844, 34359, 49163, 515, 19622}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 48580, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{64150, 10093, 16708, 25403, 36113, 44871, 51643, 60288, 5557, 14216, 20889, 29310, 40009, 48682, 55345, 64026, 9451, 18139, 24739, 33458, 44179, 51553, 60230, 5470, 14136, 20762, 29606, 40407, 49106, 55719, 64393, 9318, 18026, 24666, 33329, 44056, 52982, 59571, 2771, 13498, 22151, 29555, 40316, 48960, 55611, 64272, 9501, 18405, 25035, 33767, 44419, 53140, 59519, 2562, 13349, 22063, 28703, 37566, 48321, 57005, 63677, 6800, 18303, 24915, 33553, 44335, 53058, 59812, 3015, 13771, 22449, 29057, 37490, 48210}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.gifting_baht).substring(0, 5).length() + 56802, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{64199, 43937, 22564, 3715, 48906}, 20849 - View.MeasureSpec.getMode(0), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.abc_menu_meta_shortcut_label).substring(0, 5).codePointAt(2) + 11, new byte[]{-112, -111, -101, -109, -101, ISOFileInfo.LCS_BYTE, -112, -110, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.LCS_BYTE, -104, -99, ISOFileInfo.LCS_BYTE, -112, -108, ISOFileInfo.DATA_BYTES2, -99, -111, -111, -104, -109, -99, -108, -112, -100, -102, -99, -100, -109, -105, ISOFileInfo.FILE_IDENTIFIER, -109, -104, ISOFileInfo.DATA_BYTES2, -112}, 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(486 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), KeyEvent.getDeadChar(0, 0) + 5, (char) Color.alpha(0))).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 = p + 33;
q = 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.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 void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = p + 59;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 114, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{64157, 518, 2966, 4907, 6319, 8273, 10692, 12644, 16102, 18043, 20240, 21656, 23553, 26038, 27964, 27348, 29249, 31693}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 63616, 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 = p + 47;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionGroup(0L), 5 - (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)), (char) (MotionEvent.axisFromString("") + 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(486 - ExpandableListView.getPackedPositionChild(0L), TextUtils.indexOf("", "", 0, 0) + 5, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 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();
int i6 = p + 57;
q = i6 % 128;
int i7 = i6 % 2;
}
private static void aB(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = l;
long j = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i3 = 0;
while (i3 < length) {
int i4 = $10 + 109;
$11 = i4 % 128;
int i5 = i4 % 2;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i3])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 337, 6 - (SystemClock.elapsedRealtime() > j ? 1 : (SystemClock.elapsedRealtime() == j ? 0 : -1)), (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aC(b, (byte) (b | 57), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i3++;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i6 = $11 + 31;
$10 = i6 % 128;
int i7 = i6 % 2;
cArr2 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(s)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(284 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (Process.myTid() >> 22) + 5, (char) (39814 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr5 = new Object[1];
aC(b2, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (r) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr2[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(41 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i8 = $11 + 75;
$10 = i8 % 128;
int i9 = i8 % 2;
}
objArr[0] = new String(cArr4);
return;
}
if (!t) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
int i10 = $11 + 81;
$10 = i10 % 128;
int i11 = i10 % 2;
while (c3614bBe.a < c3614bBe.c) {
cArr6[c3614bBe.a] = (char) (cArr2[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((Process.myTid() >> 22) + 40, 4 - MotionEvent.axisFromString(""), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // 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 void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.levelup_repayment_qrcode_saved_qr_popup_allow_access_title).substring(12, 13).length() + 126, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{64157, 518, 2966, 4907, 6319, 8273, 10692, 12644, 16102, 18043, 20240, 21656, 23553, 26038, 27964, 27348, 29249, 31693}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_pin_setup_page_title).substring(8, 12).length() + 63625, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = q + 83;
p = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 493, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) KeyEvent.getDeadChar(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((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 487, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = q + 25;
p = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 5 / 4;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // 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 void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ay(new char[]{64159, 6569, 15592, 21287, 30325, 35466, 43468, 52319, 58201, 1932, 6890, 14813, 23584, 29556, 38787, 43724, 51485, 60484}, ExpandableListView.getPackedPositionGroup(0L) + 58169, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{64147, 40714, 12721, 51760, 27822}, 25997 - ((Process.getThreadPriority(0) + 20) >> 6), 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 = q + 103;
p = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i4 = p + 27;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - ExpandableListView.getPackedPositionType(0L), (char) (TextUtils.lastIndexOf("", '0') + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(null, null, 127 - (ViewConfiguration.getKeyRepeatDelay() >> 16), new byte[]{-109, -112, -103, ISOFileInfo.LCS_BYTE, -101, -105, -109, -104, -108, -108, -112, -106, -111, -103, -101, -111, -111, ISOFileInfo.FILE_IDENTIFIER, -105, ISOFileInfo.LCS_BYTE, -101, ISOFileInfo.LCS_BYTE, -102, -106, -105, ISOFileInfo.DATA_BYTES2, -109, -107, -103, -104, -107, -108, -103, -107, -108, -107, ISOFileInfo.DATA_BYTES2, -104, -105, -108, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.LCS_BYTE, -107, -108, -109, -110, -111}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(null, null, Gravity.getAbsoluteGravity(0, 0) + 127, new byte[]{-112, ISOFileInfo.DATA_BYTES2, -108, -102, -103, -111, ISOFileInfo.LCS_BYTE, -103, -108, -101, -103, ISOFileInfo.LCS_BYTE, -110, -106, -103, ISOFileInfo.FILE_IDENTIFIER, -108, -102, -111, -101, -102, ISOFileInfo.DATA_BYTES2, -108, -102, -108, -108, -103, -101, ISOFileInfo.DATA_BYTES2, -101, -110, -110, -103, -100, -105, -104, ISOFileInfo.LCS_BYTE, -100, -102, -107, -109, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -104, -111, -109, -102, -111, -110, -102, -104, -102, -104, -101, -112, -105, -109, -108, -102, -112, -102, -108, -112}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{64159, 18199, 33132, 50110, 3547, 20440, 34941, 51756, 5188, 22174, 37095, 56672, 8016, 22871, 39840, 58873, 10127, 24701, 41514, 60493, 11931, 26859, 46399, 63243, 12549, 29615, 48546, 65424, 14362, 31333, 50361, 1749, 16618, 36205, 53085, 2392, 19375, 38393, 55241, 4120, 21091, 40119, 56961, 6358, 25972, 42784, 57670, 9156, 28076, 44954, 59422, 10853, 29884, 46722, 61656, 15743, 32630, 47382, 64450, 17844, 34359, 49163, 515, 19622}, View.resolveSizeAndState(0, 0, 0) + 48593, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{64150, 10093, 16708, 25403, 36113, 44871, 51643, 60288, 5557, 14216, 20889, 29310, 40009, 48682, 55345, 64026, 9451, 18139, 24739, 33458, 44179, 51553, 60230, 5470, 14136, 20762, 29606, 40407, 49106, 55719, 64393, 9318, 18026, 24666, 33329, 44056, 52982, 59571, 2771, 13498, 22151, 29555, 40316, 48960, 55611, 64272, 9501, 18405, 25035, 33767, 44419, 53140, 59519, 2562, 13349, 22063, 28703, 37566, 48321, 57005, 63677, 6800, 18303, 24915, 33553, 44335, 53058, 59812, 3015, 13771, 22449, 29057, 37490, 48210}, 56807 - (ViewConfiguration.getEdgeSlop() >> 16), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{64199, 43937, 22564, 3715, 48906}, Color.blue(0) + 20849, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(null, null, 127 - TextUtils.indexOf("", "", 0, 0), new byte[]{-112, -111, -101, -109, -101, ISOFileInfo.LCS_BYTE, -112, -110, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.LCS_BYTE, -104, -99, ISOFileInfo.LCS_BYTE, -112, -108, ISOFileInfo.DATA_BYTES2, -99, -111, -111, -104, -109, -99, -108, -112, -100, -102, -99, -100, -109, -105, ISOFileInfo.FILE_IDENTIFIER, -109, -104, ISOFileInfo.DATA_BYTES2, -112}, 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((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 487, View.MeasureSpec.getMode(0) + 5, (char) TextUtils.getOffsetAfter("", 0))).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 i6 = q + 1;
p = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // 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 void onStart() {
int i = 2 % 2;
int i2 = q + 21;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
}
}