what-the-bank/sources/com/scb/phone/view/activity/pointx/Hilt_PointXPartnerPaymentRe...

724 lines
40 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.pointx;
import android.content.Context;
import android.graphics.Color;
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 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.ReviewCommonActivity;
import java.lang.reflect.Method;
import o.C4403bZM;
import o.InterfaceC11510egh;
import o.InterfaceC17278vUG;
import o.TVH;
import o.xzZ;
import org.jmrtd.cbeff.ISO781611;
/* loaded from: classes5.dex */
public abstract class Hilt_PointXPartnerPaymentReviewActivity extends ReviewCommonActivity {
private boolean b = false;
private static final byte[] $$y = {Ascii.SUB, 97, -29, 95};
private static final int $$z = 126;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
private static int l = 1;
private static char[] k = {40028, 40122, 40124, 40112, 40125, 40127, 40121, 40126, 40117, 40124, 40100, 40127, 40112, 40103, 40065, 40080, 40119, 40082, 40007, 40087, 40086, 40120, 40121, 40120, 40135, 40128, 40130, 40126, 40086, 40122, 40121, 40121, 40121, 40086, 40126, 40121, 40081, 40086, 40086, 40080, 40121, 40126, 40124, 40125, 40127, 40127, 40127, 40125, 40125, 40121, 40082, 40080, 40085, 40087, 40120, 40134, 40128, 40129, 40121, 40080, 40085, 40084, 40127, 40126, 40125, 40127, 39993, 40040, 40007, 40006, 40006, 40007, 40000, 39997, 40004, 40006, 39992, 39999, 39999, 39999, 39997, 39999, 39992, 39998, 39993, 39994, 40001, 40007, 40000, 40001, 39992, 39999, 39992, 40002, 40001, 39998, 39999, 39999, 39996, 39996, 39997, 40000, 40000, 39997, 40006, 40041, 40007, 40007, 40042, 40000, 39998, 39992, 39992, 40007, 40040, 40005, 40004, 40005, 40006, 40006, 39997, 40000, 40006, 40006, 40001, 39999, 39996, 40007, 40042, 40040, 39955, 39972, 39992, 39992, 39992, 39993, 40047, 40007, 39999, 39999, 39992, 40000, 40046, 40040, 40002, 39992, 40007, 40005, 39997, 39993, 39973, 39994, 39992, 40001, 40040, 40012, 39995, 39992, 39994, 39994, 39972, 40012, 40042, 40040, 40047, 40003, 39972, 40001, 40001, 40002, 40007};
/* renamed from: o, reason: collision with root package name */
private static int[] f7717o = {-1347518602, -721194354, -1874334410, 805881170, -322840738, -1494949400, 417930420, 72317302, -675056723, -1520712893, 1954098274, -913854192, -357152500, -1270821777, -1843340535, 10481699, 1849763805, -332439239};
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002b). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aF(byte r7, byte r8, int r9, java.lang.Object[] r10) {
/*
int r9 = r9 * 3
int r9 = r9 + 1
int r7 = r7 + 71
byte[] r0 = com.scb.phone.view.activity.pointx.Hilt_PointXPartnerPaymentReviewActivity.$$y
int r8 = r8 * 2
int r8 = 3 - r8
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L2b
L14:
r3 = r2
L15:
int r4 = r3 + 1
int r8 = r8 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r9) goto L26
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L26:
r3 = r0[r8]
r6 = r3
r3 = r8
r8 = r6
L2b:
int r8 = -r8
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.pointx.Hilt_PointXPartnerPaymentReviewActivity.aF(byte, byte, int, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_PointXPartnerPaymentReviewActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.pointx.Hilt_PointXPartnerPaymentReviewActivity.5
private Hilt_PointXPartnerPaymentReviewActivity d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.d.f();
}
});
}
@Override // o.AbstractActivityC9792dqa
public final void f() {
InterfaceC11510egh interfaceC11510egh;
int i = 2 % 2;
int i2 = m + 97;
int i3 = i2 % 128;
l = i3;
int i4 = i2 % 2;
if (!this.b) {
int i5 = i3 + 1;
m = i5 % 128;
if (i5 % 2 != 0) {
this.b = true;
interfaceC11510egh = (InterfaceC11510egh) y_();
} else {
this.b = true;
interfaceC11510egh = (InterfaceC11510egh) y_();
}
interfaceC11510egh.a((PointXPartnerPaymentReviewActivity) this);
}
}
@Override // com.scb.phone.view.activity.ReviewCommonActivity, o.AbstractActivityC9792dqa, 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 = m + 99;
l = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 75, 7}, true, new byte[]{1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{489431669, 10142131, -921581827, 997259767}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.add_account_title_selector).substring(31, 32).codePointAt(0) - 27, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = m + 41;
l = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aE(new int[]{484691773, 1527885273, -2101339650, -1382801509, 1092304066, -861582019, -1821359792, 2025352590, 326023867, -573320306, -2112463711, 1930574996, 1230459607, -928145409}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE(new int[]{925551158, -1375069045, -608707153, -398715844, -1189166013, 110685792, 231463402, -1241100141, 1456888013, -1914842002}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.terms_and_conditions_link_not_clickable_right).substring(0, 1).length() + 17, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i6 = m + 33;
l = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = m + 63;
l = i8 % 128;
if (i8 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - KeyEvent.normalizeMetaState(0), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) TextUtils.indexOf("", "", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(new int[]{18, 48, 104, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new int[]{66, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{1885431042, 229386630, 2081438735, -1962138841, 1803315775, -1230565126, 99083415, -961043997, -757153113, 666603615, -1042245556, 1588155985, 1175932531, 470800164, 259010285, -2125352621, 1423005546, 27365805, 1438102614, 1031510999, -1159195645, 1929652802, 1304304852, -1405624202, -1034014069, 14101530, 1586104442, -761263466, -356521787, -1770921236, 1704137512, -1295581646}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new int[]{-323185696, 60115073, 82045996, -875142481, 280570821, 1722420021, 1346849662, -1268542210, -1664898348, 1122444394, 1488435704, 362739882, -2128203427, -967036660, -418101827, 1332484353, -659791194, 941850269, 110240739, -1622247025, -777056412, -133785438, -679004904, 621828382, -525892266, 859988795, 25863249, 1276492603, -1369175889, 308782742, 322728088, -18590238, -2047968113, 1521848399, 1240209525, 1275147482, -1507298480, 169454647}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 35, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new int[]{ISO781611.BIOMETRIC_SUBTYPE_TAG, 5, 0, 0}, true, new byte[]{0, 0, 0, 0, 1}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(new int[]{135, 36, 0, 7}, false, new byte[]{1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0}, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 487, 5 - View.combineMeasuredStates(0, 0), (char) TextUtils.indexOf("", "", 0, 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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void aE(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
char c;
int length;
int[] iArr3;
int i2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = f7717o;
int i4 = 1;
int i5 = 0;
if (iArr4 != null) {
int i6 = $11 + 61;
$10 = i6 % 128;
if (i6 % 2 != 0) {
length = iArr4.length;
iArr3 = new int[length];
i2 = 1;
} else {
length = iArr4.length;
iArr3 = new int[length];
i2 = 0;
}
int i7 = i2;
while (i7 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[0] = Integer.valueOf(iArr4[i7]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - TextUtils.getOffsetBefore("", 0), 5 - TextUtils.getOffsetAfter("", 0), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7++;
i4 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr4 = iArr3;
}
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int[] iArr6 = f7717o;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i8 = 0;
while (i8 < length3) {
try {
Object[] objArr3 = new Object[1];
objArr3[i5] = Integer.valueOf(iArr6[i8]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
c = 55346;
} else {
obj2 = ((Class) xzZ.c(15 - View.combineMeasuredStates(0, 0), Process.getGidForName("") + 6, (char) (58134 - KeyEvent.keyCodeFromString("")))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
c = 55346;
xzZ.y.put(729798706, obj2);
}
iArr7[i8] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i8++;
iArr6 = iArr2;
i5 = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr6 = iArr7;
}
int i9 = i5;
System.arraycopy(iArr6, i9, iArr5, i9, length2);
c4403bZM.b = i9;
while (c4403bZM.b < iArr.length) {
cArr[i9] = (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 i10 = 0;
for (int i11 = 16; i10 < i11; i11 = 16) {
int i12 = $11 + 29;
$10 = i12 % 128;
if (i12 % 2 != 0) {
c4403bZM.e ^= iArr5[i10];
try {
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c(118 - (ViewConfiguration.getJumpTapTimeout() >> i11), 5 - Color.blue(0), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)));
byte b = (byte) 0;
Object[] objArr5 = new Object[1];
aF((byte) 33, b, b, objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i10 += 48;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} else {
c4403bZM.e ^= iArr5[i10];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 117, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aF((byte) 33, b2, b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i10++;
}
}
int i13 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i13;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i14 = c4403bZM.e;
int i15 = 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];
Object[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(97 - TextUtils.lastIndexOf("", '0', 0), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b3 = (byte) 0;
Object[] objArr9 = new Object[1];
aF((byte) ($$z >>> 2), b3, b3, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
int i16 = $10 + 51;
$11 = i16 % 128;
int i17 = i16 % 2;
i9 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.ReviewCommonActivity, o.AbstractActivityC9792dqa, 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 = m + 83;
l = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = m + 83;
l = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
aE(new int[]{484691773, 1527885273, -2101339650, -1382801509, 1092304066, -861582019, -1821359792, 2025352590, 326023867, -573320306, -2112463711, 1930574996, 1230459607, -928145409}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 83, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{925551158, -1375069045, -608707153, -398715844, -1189166013, 110685792, 231463402, -1241100141, 1456888013, -1914842002}, 19 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.red(0) + 492, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 487, View.getDefaultSize(0, 0) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0') + 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.ReviewCommonActivity, o.AbstractActivityC9792dqa, 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 = l + 77;
m = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = m + 75;
l = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aE(new int[]{484691773, 1527885273, -2101339650, -1382801509, 1092304066, -861582019, -1821359792, 2025352590, 326023867, -573320306, -2112463711, 1930574996, 1230459607, -928145409}, ExpandableListView.getPackedPositionType(0L) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{925551158, -1375069045, -608707153, -398715844, -1189166013, 110685792, 231463402, -1241100141, 1456888013, -1914842002}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 492, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (Process.myPid() >> 22))).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(486 - Process.getGidForName(""), 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) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = m + 69;
l = i6 % 128;
int i7 = i6 % 2;
} 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;
int i3 = 2;
int i4 = 2 % 2;
TVH tvh = new TVH();
int i5 = 0;
int i6 = iArr[0];
int i7 = iArr[1];
int i8 = iArr[2];
int i9 = iArr[3];
char[] cArr = k;
if (cArr != null) {
int i10 = $11 + 83;
$10 = i10 % 128;
int i11 = i10 % 2;
int length = cArr.length;
char[] cArr2 = new char[length];
int i12 = 0;
while (i12 < length) {
int i13 = $10 + 59;
$11 = i13 % 128;
if (i13 % i3 == 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(cArr[i12]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
i2 = length;
} else {
Class cls = (Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 223, 5 - TextUtils.indexOf("", ""), (char) (View.MeasureSpec.getSize(i5) + 41977));
byte b = (byte) i5;
byte b2 = b;
i2 = length;
Object[] objArr3 = new Object[1];
aF(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i12] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
i2 = length;
Object[] objArr4 = {Integer.valueOf(cArr[i12])};
Object obj2 = xzZ.y.get(1645349359);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 223, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 41976));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aF(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(1645349359, obj2);
}
cArr2[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i12++;
}
length = i2;
i3 = 2;
i5 = 0;
}
cArr = cArr2;
}
char[] cArr3 = new char[i7];
System.arraycopy(cArr, i6, cArr3, 0, i7);
if (bArr != null) {
char[] cArr4 = new char[i7];
tvh.c = 0;
char c = 0;
while (tvh.c < i7) {
int i14 = $11 + 89;
$10 = i14 % 128;
if (i14 % 2 == 0 ? bArr[tvh.c] != 1 : bArr[tvh.c] != 0) {
int i15 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 15, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i15] = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
} else {
int i16 = tvh.c;
Object[] objArr7 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(850398076);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(501 - MotionEvent.axisFromString(""), Process.getGidForName("") + 6, (char) (View.getDefaultSize(0, 0) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj4);
}
cArr4[i16] = ((Character) ((Method) obj4).invoke(null, objArr7)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr8 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(402 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - View.combineMeasuredStates(0, 0), (char) (21608 - (Process.myPid() >> 22)));
byte b5 = (byte) ($$z & 3);
byte b6 = (byte) (b5 - 2);
Object[] objArr9 = new Object[1];
aF(b5, b6, b6, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
cArr3 = cArr4;
}
if (i9 > 0) {
char[] cArr5 = new char[i7];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i7);
int i17 = i7 - i9;
System.arraycopy(cArr5, 0, cArr3, i17, i9);
System.arraycopy(cArr5, i9, cArr3, 0, i17);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i7];
while (true) {
tvh.c = i;
if (tvh.c >= i7) {
break;
}
cArr6[tvh.c] = cArr3[(i7 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i8 > 0) {
int i18 = $11 + 69;
$10 = i18 % 128;
char c2 = 2;
int i19 = i18 % 2;
tvh.c = 0;
while (tvh.c < i7) {
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[c2]);
tvh.c++;
c2 = 2;
}
}
String str = new String(cArr3);
int i20 = $10 + 83;
$11 = i20 % 128;
if (i20 % 2 == 0) {
throw null;
}
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.ReviewCommonActivity, o.AbstractActivityC9792dqa, 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;
int i2 = l + 85;
m = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 75, 7}, true, new byte[]{1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{489431669, 10142131, -921581827, 997259767}, 5 - KeyEvent.getDeadChar(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) {
if (context != null) {
int i4 = m + 125;
l = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 492, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(new int[]{18, 48, 104, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD(new int[]{66, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new int[]{1885431042, 229386630, 2081438735, -1962138841, 1803315775, -1230565126, 99083415, -961043997, -757153113, 666603615, -1042245556, 1588155985, 1175932531, 470800164, 259010285, -2125352621, 1423005546, 27365805, 1438102614, 1031510999, -1159195645, 1929652802, 1304304852, -1405624202, -1034014069, 14101530, 1586104442, -761263466, -356521787, -1770921236, 1704137512, -1295581646}, TextUtils.lastIndexOf("", '0', 0) + 65, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{-323185696, 60115073, 82045996, -875142481, 280570821, 1722420021, 1346849662, -1268542210, -1664898348, 1122444394, 1488435704, 362739882, -2128203427, -967036660, -418101827, 1332484353, -659791194, 941850269, 110240739, -1622247025, -777056412, -133785438, -679004904, 621828382, -525892266, 859988795, 25863249, 1276492603, -1369175889, 308782742, 322728088, -18590238, -2047968113, 1521848399, 1240209525, 1275147482, -1507298480, 169454647}, 73 - ExpandableListView.getPackedPositionChild(0L), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new int[]{ISO781611.BIOMETRIC_SUBTYPE_TAG, 5, 0, 0}, true, new byte[]{0, 0, 0, 0, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{135, 36, 0, 7}, false, new byte[]{1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 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(487 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 4 - Process.getGidForName(""), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).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.ReviewCommonActivity, o.AbstractActivityC9792dqa, 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 = l + 91;
m = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}