what-the-bank/sources/com/scb/phone/view/activity/ndid/Hilt_IdpSharingStatementVer...

779 lines
45 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ndid;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import java.lang.reflect.Method;
import o.C13068fPo;
import o.C13073fPt;
import o.C4403bZM;
import o.IRS;
import o.InterfaceC11220ebI;
import o.InterfaceC17278vUG;
import o.VLM;
import o.fOV;
import o.fPA;
import o.xzZ;
import okhttp3.internal.http2.Http2Connection;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public abstract class Hilt_IdpSharingStatementVerifyIdentityActivity extends BaseActivity implements fPA {
private volatile C13073fPt k;
private static final byte[] $$g = {119, 83, -12, -52};
private static final int $$h = 42;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int p = 1;
private static int[] m = {-1635731285, 1565535935, 1584965874, -1253540574, -2123436588, 1949335953, 284580278, 1637765543, 1473103927, -1199152434, 1968103324, -919587612, -1617138523, 1884849385, -580311330, -1598794491, 1623758536, -2116711439};
private static char[] l = {35375, 49095, 49094, 35372, 35368, 49030, 49035, 49106, 49111, 49109, 49105, 49115, 49110, 49053, 49024, 49089, 49091, 49098, 49117, 49116, 49026, 49027, 49029, 49034, 35370, 49028, 49138, 49119, 35371, 49127, 49114, 49104, 49031, 35373, 49093, 49025};
private static char s = 35375;
/* renamed from: o, reason: collision with root package name */
private final Object f7598o = 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: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 az(int r7, int r8, byte r9, java.lang.Object[] r10) {
/*
int r9 = r9 + 102
int r8 = r8 * 2
int r8 = r8 + 4
int r7 = r7 * 2
int r7 = r7 + 1
byte[] r0 = com.scb.phone.view.activity.ndid.Hilt_IdpSharingStatementVerifyIdentityActivity.$$g
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r3 = r7
r9 = r8
r4 = r2
goto L2b
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r9
r1[r3] = r5
if (r4 != r7) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
r3 = r0[r8]
r6 = r9
r9 = r8
r8 = r3
r3 = r6
L2b:
int r8 = -r8
int r8 = r8 + r3
int r9 = r9 + 1
r3 = r4
r6 = r9
r9 = r8
r8 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndid.Hilt_IdpSharingStatementVerifyIdentityActivity.az(int, int, byte, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_IdpSharingStatementVerifyIdentityActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.ndid.Hilt_IdpSharingStatementVerifyIdentityActivity.1
private Hilt_IdpSharingStatementVerifyIdentityActivity b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_IdpSharingStatementVerifyIdentityActivity hilt_IdpSharingStatementVerifyIdentityActivity = this.b;
if (hilt_IdpSharingStatementVerifyIdentityActivity.b) {
return;
}
hilt_IdpSharingStatementVerifyIdentityActivity.b = true;
((InterfaceC11220ebI) hilt_IdpSharingStatementVerifyIdentityActivity.y_()).b((IdpSharingStatementVerifyIdentityActivity) hilt_IdpSharingStatementVerifyIdentityActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = p + 121;
t = i2 % 128;
if (i2 % 2 != 0) {
f().y_();
Object obj = null;
obj.hashCode();
throw null;
}
Object y_ = f().y_();
int i3 = p + 13;
t = i3 % 128;
int i4 = i3 % 2;
return y_;
}
private C13073fPt f() {
if (this.k == null) {
synchronized (this.f7598o) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
Bundle bundle = null;
if (getIntent() != null) {
int i2 = t + 9;
p = i2 % 128;
if (i2 % 2 == 0) {
getIntent().getExtras();
bundle.hashCode();
throw null;
}
bundle = getIntent().getExtras();
int i3 = p + 73;
t = i3 % 128;
int i4 = i3 % 2;
} else {
int i5 = t + 43;
p = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 4 / 2;
}
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void ax(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int i2 = 2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = m;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i7 = 0;
while (i7 < length) {
int i8 = $11 + 5;
$10 = i8 % 128;
if (i8 % i2 != 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i6] = Integer.valueOf(iArr3[i7]);
Object obj = xzZ.y.get(Integer.valueOf(i4));
if (obj == null) {
Class cls = (Class) xzZ.c(15 - KeyEvent.getDeadChar(i6, i6), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (58134 - TextUtils.getCapsMode("", i6, i6)));
Class<?>[] clsArr = new Class[1];
clsArr[i6] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr3 = {Integer.valueOf(iArr3[i7])};
Object obj2 = xzZ.y.get(729798706);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(15 - (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)), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) ((ViewConfiguration.getTapTimeout() >> 16) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr4[i7] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i7++;
}
i2 = 2;
i4 = 729798706;
i6 = 0;
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = m;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i9 = 0;
while (i9 < length3) {
Object[] objArr4 = new Object[i5];
objArr4[0] = Integer.valueOf(iArr6[i9]);
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
iArr2 = iArr6;
} else {
obj3 = ((Class) xzZ.c(View.MeasureSpec.getMode(0) + 15, TextUtils.indexOf("", "", 0) + 5, (char) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 58134))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
xzZ.y.put(729798706, obj3);
}
iArr7[i9] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i9++;
iArr6 = iArr2;
i5 = 1;
}
iArr6 = iArr7;
}
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i10 = $10 + 19;
$11 = i10 % 128;
int i11 = i10 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i12 = 0;
for (int i13 = 16; i12 < i13; i13 = 16) {
c4403bZM.e ^= iArr5[i12];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(118 - Color.alpha(0), '5' - AndroidCharacter.getMirror('0'), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr6 = new Object[1];
az(b, b2, (byte) (b2 + 2), objArr6);
obj4 = cls2.getMethod((String) objArr6[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i12++;
}
int i14 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i14;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i15 = c4403bZM.e;
int i16 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
try {
Object[] objArr7 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c((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)) + 98, 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr8 = new Object[1];
az(b3, b4, b4, objArr8);
obj5 = cls3.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr7);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
String str = new String(cArr2, 0, i);
int i17 = $10 + 111;
$11 = i17 % 128;
if (i17 % 2 == 0) {
Object obj6 = null;
obj6.hashCode();
throw null;
}
objArr[0] = str;
}
@Override // 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 = t + 61;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{-246110367, -953804187, 1163238544, 1285630428, -1613868297, 152281994, -106276974, 360758668, 1331813076, 102119136}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_amount_max_min).substring(0, 7).length() + 11, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{1061453826, -1749692818, -1778847974, 641138153}, TextUtils.indexOf((CharSequence) "", '0') + 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) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
ay(new char[]{6, 19, '\t', 14, 18, 31, 7, 14, '\n', '\r', 17, 14, 25, ' ', 0, 31, '#', 31, 5, '\r', '#', 17, 16, '\r', '\b', '\t'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_touchpoints_verify_at_scb_easy_id).substring(15, 16).length() + 38), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.add_pay_account_disclaimer).substring(45, 46).length() + 25, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new char[]{' ', 1, 13862, 13862, 18, 24, 2, 25, 13864, 13864, 24, '!', 1, '\r', 0, 31, 20, 19}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 49), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 17, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 97;
t = i4 % 128;
if (i4 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 47 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
int i6 = t + 109;
p = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = t + 89;
p = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 492, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ax(new int[]{-1379604686, 1870625757, 1398754803, -684732940, -563773699, -1851236130, 2081430265, 1333068063, -227748809, -444476921, -741263063, 179756382, 678097448, -1438443352, 460217898, -1851539793, 677545278, -191922796, 2119618913, 1222949577, -1998361378, 557096909, -914883553, 1592955393}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.max_length_search_text).substring(0, 4).length() + 44, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{16, 6, 18, 16, NistHelper.SEP_FS, 16, '#', 20, 17, 0, '\"', 23, '\"', 23, 26, 19, 20, '\"', 23, ' ', '\"', 19, '\b', 31, 16, 20, 19, '!', 5, 29, 18, '\t', 13756, 13756, 1, 11, 0, 11, 13831, 13831, NistHelper.SEP_FS, 16, '\n', 19, 2, 23, NistHelper.SEP_FS, 16, '\t', 7, 7, 27, 30, 7, 4, 11, 7, 30, 18, '\b', NistHelper.SEP_FS, 16, 6, '\r'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 31), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{'\b', 7, 20, 15, '\b', '\r', 13894, 13894, 5, 29, 15, '\r', '\b', '\"', 18, '\t', '\b', 11, 15, 27, 21, 22, 29, 31, 30, 7, 6, 15, '\n', 18, 20, 11, '\"', '\b', 11, 1, 11, 5, 13810, 13810, 3, 23, 2, 17, 7, '!', 18, 16, 6, 16, 30, 11, 23, 18, 27, 15, 19, '\t', '\n', '\b', 0, 11, 1, 31}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_national_id_input_date_of_birth_placeholder).substring(0, 10).length() + 61), Drawable.resolveOpacity(0, 0) + 64, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new int[]{-194426195, -558256269, 519523174, -643080973, 1613352036, 849462506, -349251089, 1430223990, 1117278182, -507640526, 413090793, -989999185, -647485854, -1785453020, -2070078606, -906800530, 545339165, -936211610, 1366479242, 650306488, 2020168328, -829109328, -749470893, 570676686, 957997283, 1530168529, -533146784, -1328638449, -2053303388, 122616038, -1479801225, -934790882, -767312619, 194653505, 1547705268, -630556179, 1111336620, -454262625}, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 74, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{19, 17, 7, '\f', 13749}, (byte) (11 - (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))), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.review_omnibus_account_disclaimer).substring(16, 17).length() + 4, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(new int[]{-713361990, 1227796185, 2140787501, -1804514934, -280399019, 976344143, 1321367572, -1651390305, -1250813354, 1322345751, 430309424, -1815448517, 1536685294, 874641996, -172535089, -1418341421, 1842580103, -1919559625}, 37 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 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.lastIndexOf("", '0', 0, 0), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = t + 91;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = p + 5;
t = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay(new char[]{6, 19, '\t', 14, 18, 31, 7, 14, '\n', '\r', 17, 14, 25, ' ', 0, 31, '#', 31, 5, '\r', '#', 17, 16, '\r', '\b', '\t'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fixed_transfer_deposit_interest_rate).substring(13, 17).length() + 35), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{' ', 1, 13862, 13862, 18, 24, 2, 25, 13864, 13864, 24, '!', 1, '\r', 0, 31, 20, 19}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.error_ekyc_passport_2002_text).substring(67, 68).length() + 61), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = p + 67;
t = i6 % 128;
if (i6 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = t + 3;
p = i7 % 128;
int i8 = i7 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - Gravity.getAbsoluteGravity(0, 0), (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)) + 5, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 487, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) KeyEvent.normalizeMetaState(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
int i9 = t + 97;
p = i9 % 128;
if (i9 % 2 == 0) {
int i10 = 5 / 5;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // 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;
int i2 = t + 57;
p = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = t + 95;
p = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
ay(new char[]{6, 19, '\t', 14, 18, 31, 7, 14, '\n', '\r', 17, 14, 25, ' ', 0, 31, '#', 31, 5, '\r', '#', 17, 16, '\r', '\b', '\t'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.membership_expiry_message).substring(30, 31).length() + 38), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{' ', 1, 13862, 13862, 18, 24, 2, 25, 13864, 13864, 24, '!', 1, '\r', 0, 31, 20, 19}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 49), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i5 = p + 99;
t = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = t + 61;
p = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((Process.myPid() >> 22) + 492, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 487, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE))).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 ay(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
char c;
char c2;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = l;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i4 = $11 + 29;
$10 = i4 % 128;
int i5 = i4 % 2;
for (int i6 = 0; i6 < length; i6++) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(297 - ImageFormat.getBitsPerPixel(0), 5 - TextUtils.indexOf("", ""), (char) TextUtils.getCapsMode("", 0, 0));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
az(b2, b3, (byte) (b3 | 15), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(s)};
Object obj2 = xzZ.y.get(-1987398494);
char c3 = '0';
char c4 = '\b';
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 299, (ViewConfiguration.getWindowTouchSlop() >> 8) + 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)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
az(b4, b5, (byte) (b5 | 15), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
int i7 = $10 + 1;
$11 = i7 % 128;
int i8 = i7 % 2;
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
int i9 = $10 + 63;
$11 = i9 % 128;
int i10 = i9 % 2;
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
c = c3;
c2 = c4;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[c4] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[6] = irs;
objArr6[5] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 233, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (22024 - ExpandableListView.getPackedPositionType(0L)));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
az(b6, b7, (byte) (b7 | Ascii.DC2), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
try {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 != null) {
c = '0';
c2 = '\b';
} else {
c = '0';
Class cls4 = (Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 327, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) ((-1) - TextUtils.lastIndexOf("", '0')));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
az(b8, b9, (byte) (b9 | 16), objArr9);
c2 = '\b';
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i11];
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
c = '0';
c2 = '\b';
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i12 = (irs.a * charValue) + irs.f;
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i12];
cArr4[irs.e + 1] = cArr2[i13];
} else {
int i14 = (irs.a * charValue) + irs.j;
int i15 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
}
}
}
irs.e += 2;
c3 = c;
c4 = c2;
}
}
for (int i16 = 0; i16 < i; i16++) {
cArr4[i16] = (char) (cArr4[i16] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // 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) {
int i = 2 % 2;
int i2 = p + 83;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new int[]{-246110367, -953804187, 1163238544, 1285630428, -1613868297, 152281994, -106276974, 360758668, 1331813076, 102119136}, TextUtils.getTrimmedLength("") + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{1061453826, -1749692818, -1778847974, 641138153}, 5 - TextUtils.getCapsMode("", 0, 0), 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) {
int i4 = p + 35;
t = i4 % 128;
int i5 = i4 % 2;
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.myPid() >> 22), (char) ((-1) - TextUtils.lastIndexOf("", '0')))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new int[]{-1379604686, 1870625757, 1398754803, -684732940, -563773699, -1851236130, 2081430265, 1333068063, -227748809, -444476921, -741263063, 179756382, 678097448, -1438443352, 460217898, -1851539793, 677545278, -191922796, 2119618913, 1222949577, -1998361378, 557096909, -914883553, 1592955393}, TextUtils.lastIndexOf("", '0', 0) + 49, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{16, 6, 18, 16, NistHelper.SEP_FS, 16, '#', 20, 17, 0, '\"', 23, '\"', 23, 26, 19, 20, '\"', 23, ' ', '\"', 19, '\b', 31, 16, 20, 19, '!', 5, 29, 18, '\t', 13756, 13756, 1, 11, 0, 11, 13831, 13831, NistHelper.SEP_FS, 16, '\n', 19, 2, 23, NistHelper.SEP_FS, 16, '\t', 7, 7, 27, 30, 7, 4, 11, 7, 30, 18, '\b', NistHelper.SEP_FS, 16, 6, '\r'}, (byte) (15 - (ViewConfiguration.getJumpTapTimeout() >> 16)), 64 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{'\b', 7, 20, 15, '\b', '\r', 13894, 13894, 5, 29, 15, '\r', '\b', '\"', 18, '\t', '\b', 11, 15, 27, 21, 22, 29, 31, 30, 7, 6, 15, '\n', 18, 20, 11, '\"', '\b', 11, 1, 11, 5, 13810, 13810, 3, 23, 2, 17, 7, '!', 18, 16, 6, 16, 30, 11, 23, 18, 27, 15, 19, '\t', '\n', '\b', 0, 11, 1, 31}, (byte) (71 - TextUtils.getOffsetBefore("", 0)), 64 - (ViewConfiguration.getDoubleTapTimeout() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new int[]{-194426195, -558256269, 519523174, -643080973, 1613352036, 849462506, -349251089, 1430223990, 1117278182, -507640526, 413090793, -989999185, -647485854, -1785453020, -2070078606, -906800530, 545339165, -936211610, 1366479242, 650306488, 2020168328, -829109328, -749470893, 570676686, 957997283, 1530168529, -533146784, -1328638449, -2053303388, 122616038, -1479801225, -934790882, -767312619, 194653505, 1547705268, -630556179, 1111336620, -454262625}, TextUtils.getTrimmedLength("") + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{19, 17, 7, '\f', 13749}, (byte) ((Process.myTid() >> 22) + 11), Color.red(0) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new int[]{-713361990, 1227796185, 2140787501, -1804514934, -280399019, 976344143, 1321367572, -1651390305, -1250813354, 1322345751, 430309424, -1815448517, 1536685294, 874641996, -172535089, -1418341421, 1842580103, -1919559625}, View.resolveSizeAndState(0, 0, 0) + 36, 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(486 - TextUtils.lastIndexOf("", '0', 0, 0), (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) KeyEvent.keyCodeFromString(""))).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.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 = t + 25;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 111;
t = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 45 / 0;
}
}
}