what-the-bank/sources/com/scb/phone/view/activity/chequemanagement/ChequeSuccessActivity.java

705 lines
39 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.chequemanagement;
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.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 butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.chequemanagement.ChequeSuccessFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC10189dyA;
import o.AbstractC13482fbE;
import o.C1191Xp;
import o.C4403bZM;
import o.TVH;
import o.xzZ;
import okhttp3.internal.http2.Http2Connection;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.cbeff.ISO781611;
/* loaded from: classes4.dex */
public class ChequeSuccessActivity extends AbstractActivityC10189dyA {
private static final byte[] $$g = {33, -82, ISO7816.INS_UNBLOCK_CHV, 67};
private static final int $$h = 35;
private static int $10 = 0;
private static int $11 = 1;
private static int l = 0;
private static int m = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f6726o = {40018, 40121, 40096, 40104, 40099, 40100, 40107, 40053, 40068, 40123, 40070, 40067, 40110, 40096, 40100, 40097, 40099, 40109, 39959, 40005, 40007, 39993, 39999, 39998, 40000, 40001, 40000, 40047, 40040, 40042, 40006, 39998, 40002, 40001, 40001, 40001, 39998, 40006, 40001, 39993, 39998, 39998, 39992, 40001, 40006, 40004, 40005, 40007, 40007, 40007, 40005, 40005, 40001, 39994, 39992, 39997, 39999, 40000, 40046, 40040, 40041, 40001, 39992, 39997, 39996, 40007, 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, 39959, 39999, 39972, 39992, 39992, 40060, 40204, 40204, 40167, 40206, 40234, 40235, 40213, 40207, 40167, 40165, 40165, 40187, 40166, 40207, 40235, 40204, 40187, 40165, 40160, 40164, 40184, 40192, 40194, 40187, 40205, 40235, 40233, 40195, 40187, 40186, 40186, 40194, 40234, 40192, 40194};
private static int[] k = {-1233615519, 538542877, 927379751, -962478225, -864668434, 611595770, -1160568731, -856799223, -262161819, -447015945, 776621230, 1918067687, 81636988, 1042866754, 21342914, -1816926955, 582002406, 2030904217};
/* 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:0x0028). 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(byte r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 3
int r6 = 3 - r6
byte[] r0 = com.scb.phone.view.activity.chequemanagement.ChequeSuccessActivity.$$g
int r8 = r8 * 4
int r8 = 1 - r8
int r7 = r7 + 71
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L28
L14:
r3 = r2
L15:
int r6 = r6 + 1
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r8) goto L26
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L26:
r3 = r0[r6]
L28:
int r7 = r7 + r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.chequemanagement.ChequeSuccessActivity.az(byte, int, short, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC10189dyA, 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 + 87;
l = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{0, 18, 63, 0}, true, new byte[]{0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{-536196582, 1705687464, 1502054080, -1789053344}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 94, 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 int[]{-95246438, -841988693, 1450745029, -1901503709, -1046313271, -42245995, -1782094619, -732867764, -210795686, 1273408815, -335033914, -706658283, 397680627, 1414265194}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new int[]{1392425466, -830538149, 1486072396, 1019590495, -1223175984, -580867815, -1212150241, 264083838, -707448484, -1459881531}, ExpandableListView.getPackedPositionChild(0L) + 19, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = m + 113;
l = i4 % 128;
if (i4 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 18 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
int i6 = m + 57;
l = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = l + 21;
m = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 492, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (MotionEvent.axisFromString("") + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ax(new int[]{18, 48, 0, 3}, false, new byte[]{0, 1, 1, 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}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(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];
ay(new int[]{1160373022, -1015346973, 1791166285, -633733228, 1893004382, -1849864900, 1687989152, -388948138, -1963390822, 1337336324, -944262122, -1549366735, -627211535, -1474382336, 117745833, 1989857859, -395118900, 953827904, 1999307222, -1651720561, 1504884871, 1136175717, -1068241435, -1086672183, -2047863750, -665662731, 70014383, -856785676, -1649176455, 2113120944, -1699727450, -531235724}, 64 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{-564073149, -1856213665, 1565562994, -2125167850, 1930644329, 1123304150, -734514967, 1894583369, 1949099535, 408755149, -1473462089, -720306548, -1569860286, 1223595931, 118414992, 1470831507, -389805194, 768340638, 1664878932, 1016168570, -1407077487, 891409242, -593451414, 1979633461, -1293959582, -1303409767, -1014512895, -1892099814, -1541318323, -219381064, -309166123, -899699761, -1996010353, -966893157, -1286070488, 1227117017, -471287386, -2029809350}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.pay_with_hybrid_the_maximum_number).substring(38, 39).length() + 73, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(new int[]{ISO781611.BIOMETRIC_SUBTYPE_TAG, 5, 0, 1}, true, new byte[]{1, 1, 0, 0, 0}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(new int[]{135, 36, CipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256, 27}, true, new byte[]{1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 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(488 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.lastIndexOf("", '0', 0) + 6, (char) View.MeasureSpec.makeMeasureSpec(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);
setContentView(R.layout.2131558480);
ButterKnife.Dg_(this);
C1191Xp c1191Xp = (C1191Xp) getIntent().getParcelableExtra("com.scb.phone.EXTRA_SUCCESS");
if (c1191Xp == null) {
finish();
return;
}
ChequeSuccessFragment a = ChequeSuccessFragment.a(c1191Xp);
AbstractC13482fbE a2 = getSupportFragmentManager().a();
a2.b(R.id.fragment_container, a, null, 2);
a2.b();
}
private static void ay(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int i2;
int length;
int[] iArr3;
int i3;
int i4 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = k;
int i5 = 729798706;
byte b = 16;
int i6 = 1;
char c = 0;
if (iArr4 != null) {
int i7 = $10 + 71;
$11 = i7 % 128;
if (i7 % 2 == 0) {
length = iArr4.length;
iArr3 = new int[length];
i3 = 1;
} else {
length = iArr4.length;
iArr3 = new int[length];
i3 = 0;
}
int i8 = i3;
while (i8 < length) {
int i9 = $11 + 115;
$10 = i9 % 128;
int i10 = i9 % 2;
try {
Object[] objArr2 = new Object[1];
objArr2[c] = Integer.valueOf(iArr4[i8]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + b, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (58134 - ExpandableListView.getPackedPositionGroup(0L)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i8++;
b = 16;
c = 0;
} 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 = k;
if (iArr6 != null) {
int i11 = $11 + 63;
$10 = i11 % 128;
int i12 = i11 % 2;
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i13 = 0;
while (i13 < length3) {
try {
Object[] objArr3 = new Object[i6];
objArr3[0] = Integer.valueOf(iArr6[i13]);
Object obj2 = xzZ.y.get(Integer.valueOf(i5));
if (obj2 != null) {
iArr2 = iArr6;
i2 = i5;
} else {
iArr2 = iArr6;
Method method = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 15, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (58134 - TextUtils.getOffsetBefore("", 0)))).getMethod("i", Integer.TYPE);
i2 = 729798706;
xzZ.y.put(729798706, method);
obj2 = method;
}
iArr7[i13] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i13++;
i5 = i2;
iArr6 = iArr2;
i6 = 1;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr6 = iArr7;
}
char c2 = 0;
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
cArr[c2] = (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 i14 = 0;
for (int i15 = 16; i14 < i15; i15 = 16) {
int i16 = $10 + 1;
$11 = i16 % 128;
if (i16 % 2 == 0) {
c4403bZM.e ^= iArr5[i14];
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((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 118, 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.getFadingEdgeLength() >> 16));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
az(b2, $$g[0], b2, 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;
i14 += 62;
} else {
c4403bZM.e ^= iArr5[i14];
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(118 - View.MeasureSpec.getSize(0), Color.green(0) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b3, $$g[0], b3, 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;
i14++;
}
}
int i17 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i17;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i18 = c4403bZM.e;
int i19 = 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.indexOf((CharSequence) "", '0', 0, 0), (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b4 = (byte) 0;
Object[] objArr9 = new Object[1];
az(b4, (byte) (b4 | Ascii.US), b4, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
c2 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.AbstractActivityC10189dyA, 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 = m + 111;
l = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new int[]{-95246438, -841988693, 1450745029, -1901503709, -1046313271, -42245995, -1782094619, -732867764, -210795686, 1273408815, -335033914, -706658283, 397680627, 1414265194}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.marker_open_hour).substring(0, 22).length() + 4, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{1392425466, -830538149, 1486072396, 1019590495, -1223175984, -580867815, -1212150241, 264083838, -707448484, -1459881531}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.verify_identity_3).substring(0, 3).length() + 15, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = l + 51;
m = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = m + 9;
l = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((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)) + 492, 4 - TextUtils.lastIndexOf("", '0'), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).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(487 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i8 = m + 103;
l = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC10189dyA, 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();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new int[]{-95246438, -841988693, 1450745029, -1901503709, -1046313271, -42245995, -1782094619, -732867764, -210795686, 1273408815, -335033914, -706658283, 397680627, 1414265194}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{1392425466, -830538149, 1486072396, 1019590495, -1223175984, -580867815, -1212150241, 264083838, -707448484, -1459881531}, ((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) {
int i2 = m + 59;
l = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = l + 41;
m = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) Color.green(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getJumpTapTimeout() >> 16), Process.getGidForName("") + 6, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 492, View.combineMeasuredStates(0, 0) + 5, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(Color.alpha(0) + 487, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) Drawable.resolveOpacity(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void ax(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr = f6726o;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(222 - ImageFormat.getBitsPerPixel(i3), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) ((ViewConfiguration.getScrollDefaultDelay() >> 16) + 41977));
byte b = (byte) i3;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i5];
System.arraycopy(cArr, i4, cArr3, 0, i5);
if (bArr != null) {
int i9 = $11 + 89;
$10 = i9 % 128;
int i10 = i9 % 2;
char[] cArr4 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i11 = $10 + 75;
$11 = i11 % 128;
int i12 = i11 % 2;
int i13 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - (KeyEvent.getMaxKeyCode() >> 16), 4 - ExpandableListView.getPackedPositionChild(0L), (char) (53 - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i13] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
int i14 = $10 + 53;
$11 = i14 % 128;
if (i14 % 2 == 0) {
int i15 = 5 / 3;
}
} else {
int i16 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 15, 4 - Process.getGidForName(""), (char) (58134 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i16] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
try {
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 402, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 21608));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 2);
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 - 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
cArr3 = cArr4;
}
if (i7 > 0) {
char[] cArr5 = new char[i5];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i5);
int i17 = i5 - i7;
System.arraycopy(cArr5, 0, cArr3, i17, i7);
System.arraycopy(cArr5, i7, cArr3, 0, i17);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i6 > 0) {
int i18 = 0;
while (true) {
tvh.c = i18;
if (tvh.c >= i5) {
break;
}
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i18 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@Override // o.AbstractActivityC10189dyA, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new int[]{0, 18, 63, 0}, true, new byte[]{0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{-536196582, 1705687464, 1502054080, -1789053344}, (-16777211) - Color.rgb(0, 0, 0), objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = l + 89;
m = i2 % 128;
if (i2 % 2 == 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i3 = m + 3;
l = i3 % 128;
int i4 = i3 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 492, TextUtils.indexOf("", "", 0) + 5, (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new int[]{18, 48, 0, 3}, false, new byte[]{0, 1, 1, 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}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(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];
ay(new int[]{1160373022, -1015346973, 1791166285, -633733228, 1893004382, -1849864900, 1687989152, -388948138, -1963390822, 1337336324, -944262122, -1549366735, -627211535, -1474382336, 117745833, 1989857859, -395118900, 953827904, 1999307222, -1651720561, 1504884871, 1136175717, -1068241435, -1086672183, -2047863750, -665662731, 70014383, -856785676, -1649176455, 2113120944, -1699727450, -531235724}, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 63, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{-564073149, -1856213665, 1565562994, -2125167850, 1930644329, 1123304150, -734514967, 1894583369, 1949099535, 408755149, -1473462089, -720306548, -1569860286, 1223595931, 118414992, 1470831507, -389805194, 768340638, 1664878932, 1016168570, -1407077487, 891409242, -593451414, 1979633461, -1293959582, -1303409767, -1014512895, -1892099814, -1541318323, -219381064, -309166123, -899699761, -1996010353, -966893157, -1286070488, 1227117017, -471287386, -2029809350}, 73 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new int[]{ISO781611.BIOMETRIC_SUBTYPE_TAG, 5, 0, 1}, true, new byte[]{1, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new int[]{135, 36, CipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256, 27}, true, new byte[]{1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0}, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 488, 4 - MotionEvent.axisFromString(""), (char) Color.red(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // o.AbstractActivityC10189dyA, 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 + 113;
m = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = m + 99;
l = i4 % 128;
int i5 = i4 % 2;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = l + 117;
m = i2 % 128;
int i3 = i2 % 2;
}
}