what-the-bank/sources/o/AbstractActivityC10081dvy.java

684 lines
40 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
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 com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.CCRBaseActivity;
import com.scb.phone.view.activity.cardmanagement.CCTermsAndConditionsActivity;
import java.lang.reflect.Method;
import okhttp3.internal.http2.Http2Connection;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.dvy, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC10081dvy extends CCRBaseActivity {
private boolean b = false;
private static final byte[] $$E = {35, -2, 104, -18};
private static final int $$F = CipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
private static int t = 1;
/* renamed from: o, reason: collision with root package name */
private static int[] f8914o = {154580612, -1211329242, -1717512916, -553067207, -1966089155, -1270104049, 1068560864, 1295879599, -75495027, -573212134, -1397651773, 1298902446, 44146566, -1597173076, 1022210760, 1542749700, -1366371564, -1937300276};
private static char[] m = {49026, 49029, 49034, 49027, 49025, 49049, 49041, 49055, 49104, 49054, 49050, 49024, 49053, 49028, 49105, 49031, 49035, 49048, 49111, 49030, 49109, 49051, 49110, 49052, 49106};
private static char l = 35372;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0026). 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 aJ(int r6, int r7, byte r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 4
int r8 = 1 - r8
byte[] r0 = o.AbstractActivityC10081dvy.$$E
int r6 = r6 * 3
int r6 = r6 + 4
int r7 = r7 + 102
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L26
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r8) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r3 = r0[r6]
L26:
int r6 = r6 + 1
int r7 = r7 + r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10081dvy.aJ(int, int, byte, java.lang.Object[]):void");
}
public AbstractActivityC10081dvy() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dvy.5
private AbstractActivityC10081dvy a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.a.g();
}
});
}
@Override // o.AbstractActivityC9738dpZ
public final void g() {
int i = 2 % 2;
int i2 = k + 27;
t = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 81 / 0;
if (this.b) {
return;
}
} else if (this.b) {
return;
}
this.b = true;
((InterfaceC9995duR) y_()).c((CCTermsAndConditionsActivity) this);
int i4 = k + 117;
t = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = k + 97;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(new int[]{376212347, 207494487, 25862412, 1760199794, 611726519, -1585080013, -423368361, -1033395134, -1925372038, 631165300}, 17 - MotionEvent.axisFromString(""), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new int[]{1485794554, -552968404, -663874269, -1762062748}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.deejung_transfer_about).substring(55, 56).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) {
Object[] objArr3 = new Object[1];
aG(new int[]{376212347, 207494487, 25862412, 1760199794, -1600969104, -913234426, 813788803, 1192163306, -1722370272, -399803120, 1128148281, -1420482736, 1785892607, -347282979}, ((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];
aG(new int[]{1832284977, 1810455895, -520066688, 1904379397, -17723029, -1883446084, -1157900615, -501960679, 127844658, 721355835}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.contact_info_national_id_consent_b2k).substring(0, 249).length() - 231, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = t + 59;
k = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ((Process.getThreadPriority(0) + 20) >> 6), 5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aG(new int[]{648349942, -162863784, 1797964019, -1773108421, 235248493, 845338038, -493645966, 1049921706, -1490557816, 967625951, -1479720952, 1933591993, -2043740086, -1535513815, 1945445798, 941313837, 562443590, -634507392, -978603913, -385322201, -1714319896, 1736499951, -1901536526, -911383716}, (ViewConfiguration.getTapTimeout() >> 16) + 48, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new char[]{24, '\f', 2, 21, 4, 11, 17, 0, 24, 17, 0, 2, 0, 2, '\n', 3, 0, 16, 1, 0, 6, 3, 20, 19, 16, 6, '\b', '\r', 0, 3, 1, 18, 13819, 13819, 24, 4, 15, 17, 13894, 13894, 4, 11, 21, 4, 15, 4, 4, 11, 19, 17, 23, '\n', 6, 18, 24, 19, 18, 6, 1, 15, 4, 11, 20, 23}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ccr_email_verification_body_statement_channel).substring(58, 59).codePointAt(0) + 46), 64 - (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)), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{21, 19, 1, '\r', 21, 14, 13895, 13895, 0, 3, '\f', 21, '\n', 19, 1, 18, 4, 19, 23, 0, 1, 4, 14, 3, 6, 18, 21, 23, 21, 6, 3, 17, 19, '\n', 4, 24, 24, '\t', 13811, 13811, 18, 4, 16, 14, 23, 5, 2, 21, '\f', 24, 1, 19, 2, 3, 0, 23, 4, 23, 21, 20, 15, 17, '\r', 18}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 59), 64 - View.MeasureSpec.makeMeasureSpec(0, 0), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new int[]{-502941002, -900981125, -1951994219, 573001702, 1971156959, 382903870, -1495603739, -943717993, -792702903, 529652558, -495595217, 1313452844, -1984271095, -961985176, -104382398, -1647972766, -1606221777, 1890476087, 261025817, -969922156, -905230513, -1798756999, 253364032, 1714896019, 826091842, 77663099, -1142079028, -593056068, 1513136174, -1324586936, 1303555060, -1741819579, 2024479920, 1948788246, -907938753, 778260050, 692116394, -1958555047}, 74 - ExpandableListView.getPackedPositionGroup(0L), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aG(new int[]{1437828486, -2031511078, -16295097, -1564381108}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aI(new char[]{23, 20, 0, 19, 17, 3, 18, 0, 6, 4, 2, 23, 19, 14, 19, 0, 13813, 13813, 14, 4, '\f', 24, '\t', 5, 3, '\t', '\t', 4, '\f', 23, '\t', 18, 16, 15, 2, 20}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 37), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 36, 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'), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) Color.green(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);
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = k + 41;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(new int[]{376212347, 207494487, 25862412, 1760199794, -1600969104, -913234426, 813788803, 1192163306, -1722370272, -399803120, 1128148281, -1420482736, 1785892607, -347282979}, 26 - (ViewConfiguration.getFadingEdgeLength() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new int[]{1832284977, 1810455895, -520066688, 1904379397, -17723029, -1883446084, -1157900615, -501960679, 127844658, 721355835}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.omnibus_account_remark).substring(93, 94).codePointAt(0) - 87, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = k + 79;
t = i4 % 128;
if (i4 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 87 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 493, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (ViewConfiguration.getFadingEdgeLength() >> 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(487 - (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 - View.getDefaultSize(0, 0), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aG(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int i2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = f8914o;
long j = 0;
int i4 = 729798706;
int i5 = 1;
char c = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[c] = Integer.valueOf(iArr3[i6]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c((Process.myTid() >> 22) + 15, 6 - (SystemClock.elapsedRealtime() > j ? 1 : (SystemClock.elapsedRealtime() == j ? 0 : -1)), (char) (58134 - (ViewConfiguration.getScrollDefaultDelay() >> 16)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i6] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i6++;
j = 0;
i5 = 1;
c = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = f8914o;
if (iArr6 != null) {
int i7 = $11 + 29;
int i8 = i7 % 128;
$10 = i8;
int i9 = i7 % 2;
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i10 = i8 + 83;
$11 = i10 % 128;
int i11 = i10 % 2;
int i12 = 0;
while (i12 < length3) {
Object[] objArr3 = {Integer.valueOf(iArr6[i12])};
Object obj2 = xzZ.y.get(Integer.valueOf(i4));
if (obj2 != null) {
iArr2 = iArr6;
i2 = i4;
} else {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 15, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
i2 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr7[i12] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i12++;
i4 = i2;
iArr6 = iArr2;
}
iArr6 = iArr7;
}
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i13 = $11 + 61;
$10 = i13 % 128;
int i14 = i13 % 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 i15 = 0;
for (int i16 = 16; i15 < i16; i16 = 16) {
c4403bZM.e ^= iArr5[i15];
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((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 117, (Process.myPid() >> 22) + 5, (char) TextUtils.indexOf("", "", 0));
byte b = (byte) (-$$E[1]);
Object[] objArr5 = new Object[1];
aJ((byte) 0, b, (byte) (b - 2), 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;
i15++;
}
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[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 98, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) Drawable.resolveOpacity(0, 0));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr7 = new Object[1];
aJ(b2, b3, b3, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = t + 119;
k = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(new int[]{376212347, 207494487, 25862412, 1760199794, -1600969104, -913234426, 813788803, 1192163306, -1722370272, -399803120, 1128148281, -1420482736, 1785892607, -347282979}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.e_document_description_mcmc).substring(49, 50).length() + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new int[]{1832284977, 1810455895, -520066688, 1904379397, -17723029, -1883446084, -1157900615, -501960679, 127844658, 721355835}, 19 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = k + 117;
t = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = k + 109;
t = i6 % 128;
if (i6 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i7 = 73 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i8 = k + 47;
t = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 491, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 487, 5 - View.MeasureSpec.getMode(0), (char) TextUtils.getOffsetBefore("", 0))).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();
int i10 = t + 107;
k = i10 % 128;
int i11 = i10 % 2;
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = t + 15;
k = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(new int[]{376212347, 207494487, 25862412, 1760199794, 611726519, -1585080013, -423368361, -1033395134, -1925372038, 631165300}, 18 - (ViewConfiguration.getJumpTapTimeout() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new int[]{1485794554, -552968404, -663874269, -1762062748}, (Process.myPid() >> 22) + 5, 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 = k + 107;
t = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
int i6 = t + 87;
k = i6 % 128;
int i7 = i6 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i8 = k + 45;
t = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 492, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aG(new int[]{648349942, -162863784, 1797964019, -1773108421, 235248493, 845338038, -493645966, 1049921706, -1490557816, 967625951, -1479720952, 1933591993, -2043740086, -1535513815, 1945445798, 941313837, 562443590, -634507392, -978603913, -385322201, -1714319896, 1736499951, -1901536526, -911383716}, 48 - ExpandableListView.getPackedPositionType(0L), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aI(new char[]{24, '\f', 2, 21, 4, 11, 17, 0, 24, 17, 0, 2, 0, 2, '\n', 3, 0, 16, 1, 0, 6, 3, 20, 19, 16, 6, '\b', '\r', 0, 3, 1, 18, 13819, 13819, 24, 4, 15, 17, 13894, 13894, 4, 11, 21, 4, 15, 4, 4, 11, 19, 17, 23, '\n', 6, 18, 24, 19, 18, 6, 1, 15, 4, 11, 20, 23}, (byte) (78 - (ViewConfiguration.getKeyRepeatDelay() >> 16)), 65 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new char[]{21, 19, 1, '\r', 21, 14, 13895, 13895, 0, 3, '\f', 21, '\n', 19, 1, 18, 4, 19, 23, 0, 1, 4, 14, 3, 6, 18, 21, 23, 21, 6, 3, 17, 19, '\n', 4, 24, 24, '\t', 13811, 13811, 18, 4, 16, 14, 23, 5, 2, 21, '\f', 24, 1, 19, 2, 3, 0, 23, 4, 23, 21, 20, 15, 17, '\r', 18}, (byte) (72 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)), TextUtils.indexOf((CharSequence) "", '0', 0) + 65, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new int[]{-502941002, -900981125, -1951994219, 573001702, 1971156959, 382903870, -1495603739, -943717993, -792702903, 529652558, -495595217, 1313452844, -1984271095, -961985176, -104382398, -1647972766, -1606221777, 1890476087, 261025817, -969922156, -905230513, -1798756999, 253364032, 1714896019, 826091842, 77663099, -1142079028, -593056068, 1513136174, -1324586936, 1303555060, -1741819579, 2024479920, 1948788246, -907938753, 778260050, 692116394, -1958555047}, 74 - ExpandableListView.getPackedPositionType(0L), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(new int[]{1437828486, -2031511078, -16295097, -1564381108}, (Process.myPid() >> 22) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new char[]{23, 20, 0, 19, 17, 3, 18, 0, 6, 4, 2, 23, 19, 14, 19, 0, 13813, 13813, 14, 4, '\f', 24, '\t', 5, 3, '\t', '\t', 4, '\f', 23, '\t', 18, 16, 15, 2, 20}, (byte) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 74), 36 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 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(TextUtils.lastIndexOf("", '0') + 488, 5 - KeyEvent.getDeadChar(0, 0), (char) TextUtils.getOffsetBefore("", 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
private static void aI(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
int i3;
Object obj;
int length;
char[] cArr2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr3 = m;
float f = BitmapDescriptorFactory.HUE_RED;
Object obj2 = null;
if (cArr3 != null) {
int i5 = $10 + 17;
$11 = i5 % 128;
if (i5 % 2 == 0) {
length = cArr3.length;
cArr2 = new char[length];
} else {
length = cArr3.length;
cArr2 = new char[length];
}
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i6])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(298 - (PointF.length(f, f) > f ? 1 : (PointF.length(f, f) == f ? 0 : -1)), 4 - TextUtils.lastIndexOf("", '0', 0), (char) (ViewConfiguration.getTouchSlop() >> 8));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aJ(b2, (byte) (b2 | 15), b2, objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr2[i6] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i6++;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
try {
Object[] objArr4 = {Integer.valueOf(l)};
Object obj4 = xzZ.y.get(-1987398494);
long j = 0;
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(Color.alpha(0) + 298, 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) ExpandableListView.getPackedPositionType(0L));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aJ(b3, (byte) (b3 | 15), b3, objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i3 = i - 1;
cArr4[i3] = (char) (cArr[i3] - b);
int i7 = $11 + 19;
$10 = i7 % 128;
i2 = 2;
int i8 = i7 % 2;
} else {
i2 = 2;
i3 = i;
}
if (i3 > 1) {
int i9 = $11 + 83;
$10 = i9 % 128;
int i10 = i9 % i2;
irs.e = 0;
while (irs.e < i3) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i11 = $10 + 99;
$11 = i11 % 128;
int i12 = i11 % 2;
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
obj = obj2;
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(ExpandableListView.getPackedPositionType(j) + 233, (Process.getElapsedCpuTime() > j ? 1 : (Process.getElapsedCpuTime() == j ? 0 : -1)) + 4, (char) (Color.argb(0, 0, 0, 0) + 22024));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aJ(b4, (byte) (-$$E[3]), b4, objArr7);
obj5 = 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, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c(327 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - View.combineMeasuredStates(0, 0), (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
aJ(b5, (byte) (b5 | 16), b5, objArr9);
obj6 = 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, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[intValue];
cArr4[irs.e + 1] = cArr3[i13];
} else {
obj = null;
if (irs.a == irs.d) {
int i14 = $10 + 91;
$11 = i14 % 128;
int i15 = i14 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i16 = (irs.a * charValue) + irs.f;
int i17 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[i16];
cArr4[irs.e + 1] = cArr3[i17];
} else {
int i18 = (irs.a * charValue) + irs.j;
int i19 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr3[i18];
cArr4[irs.e + 1] = cArr3[i19];
}
}
}
irs.e += 2;
obj2 = obj;
j = 0;
}
}
for (int i20 = 0; i20 < i; i20++) {
cArr4[i20] = (char) (cArr4[i20] ^ 13722);
}
objArr[0] = new String(cArr4);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = k + 87;
t = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 == 0) {
throw null;
}
int i4 = k + 99;
t = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
}