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

693 lines
37 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
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.R;
import com.scb.phone.view.activity.IntegrityErrorActivity;
import java.lang.reflect.Method;
import o.C0693Mj;
import o.C1296Zw;
import o.C14957gcv;
import o.GuL;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC6631cYi;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public class BaseIntegrityActivity extends BaseActivity implements InterfaceC6631cYi.IeS {
@InterfaceC13391fZD
public C1296Zw integrityPresenter;
private static final byte[] $$g = {54, -108, 123, 45};
private static final int $$h = 72;
private static int $10 = 0;
private static int $11 = 1;
private static int l = 0;
/* renamed from: o, reason: collision with root package name */
private static int f6517o = 1;
private static long b = 2841837756111506458L;
private static char[] k = {35373, 49094, 49098, 49088, 49093, 49108, 35368, 49033, 35374, 49127, 49034, 49104, 49106, 49025, 49095, 49119, 49089, 49114, 49138, 35360, 49115, 49090, 35375, 49091, 49030, 49112, 35370, 49053, 49111, 49118, 35372, 35365, 35371, 49028, 35361, 49026, 49031, 35362, 49035, 49109, 49117, 35363, 49052, 49029, 49116, 49105, 49024, 49110, 49027};
private static char m = 35374;
/* 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:0x0029). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(short r6, short r7, byte r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 117
byte[] r0 = com.scb.phone.view.activity.BaseIntegrityActivity.$$g
int r8 = r8 * 2
int r1 = r8 + 1
int r7 = r7 + 4
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L12
r3 = r7
r4 = r2
goto L29
L12:
r3 = r2
L13:
byte r4 = (byte) r6
r1[r3] = r4
int r7 = r7 + 1
int r4 = r3 + 1
if (r3 != r8) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r3 = r0[r7]
r5 = r3
r3 = r7
r7 = r5
L29:
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BaseIntegrityActivity.az(short, short, byte, java.lang.Object[]):void");
}
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i2;
int i6 = ~(i4 | i5);
int i7 = (~i3) | i4;
int i8 = (i * 483) + (i2 * 242) + (((~i7) | i6) * (-241)) + ((i | i2) * (-482)) + (((~(i | i5)) | (~(i2 | i7))) * 241);
return i8 != 1 ? i8 != 2 ? c(objArr) : a(objArr) : e(objArr);
}
private static /* synthetic */ Object c(Object[] objArr) {
BaseIntegrityActivity baseIntegrityActivity = (BaseIntegrityActivity) objArr[0];
int i = 2 % 2;
int i2 = l;
int i3 = (i2 ^ 15) + ((i2 & 15) << 1);
f6517o = i3 % 128;
int i4 = i3 % 2;
C1296Zw c1296Zw = baseIntegrityActivity.integrityPresenter;
if (c1296Zw == null) {
C14957gcv.a("");
int i5 = f6517o + 21;
l = i5 % 128;
int i6 = i5 % 2;
return null;
}
int i7 = ((i2 ^ 97) - (~((i2 & 97) << 1))) - 1;
f6517o = i7 % 128;
int i8 = i7 % 2;
int i9 = i2 & 33;
int i10 = (i2 ^ 33) | i9;
int i11 = ((i9 | i10) << 1) - (i10 ^ i9);
f6517o = i11 % 128;
int i12 = i11 % 2;
return c1296Zw;
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(b ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
int i4 = $10 + 55;
$11 = i4 % 128;
int i5 = i4 % 2;
while (guL.a < a.length) {
int i6 = $11 + 27;
$10 = i6 % 128;
int i7 = i6 % 2;
guL.c = guL.a - i3;
int i8 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(b)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.red(0) + 208, 5 - ExpandableListView.getPackedPositionType(0L), (char) (1706 - (ViewConfiguration.getKeyRepeatTimeout() >> 16)));
byte b2 = (byte) 2;
byte b3 = (byte) (b2 - 3);
Object[] objArr3 = new Object[1];
az(b2, b3, (byte) (b3 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 391, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte length = (byte) $$g.length;
byte b4 = (byte) (length - 5);
Object[] objArr5 = new Object[1];
az(length, b4, (byte) (b4 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
i3 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x0203, code lost:
if (r1 > 99999) goto L18;
*/
/* JADX WARN: Removed duplicated region for block: B:16:0x0aea */
/* JADX WARN: Removed duplicated region for block: B:19:? A[RETURN, SYNTHETIC] */
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onCreate(android.os.Bundle r25) {
/*
Method dump skipped, instructions count: 3290
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BaseIntegrityActivity.onCreate(android.os.Bundle):void");
}
private static /* synthetic */ Object e(Object[] objArr) {
BaseIntegrityActivity baseIntegrityActivity = (BaseIntegrityActivity) objArr[0];
int i = 2 % 2;
int i2 = f6517o;
int i3 = (i2 ^ 79) + ((i2 & 79) << 1);
l = i3 % 128;
Object obj = null;
Object[] objArr2 = {baseIntegrityActivity};
if (i3 % 2 == 0) {
((C1296Zw) c(objArr2, 274799093, -274799093, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 62706503)).a();
return null;
}
((C1296Zw) c(objArr2, 274799093, -274799093, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 62706503)).a();
obj.hashCode();
throw null;
}
private static /* synthetic */ Object a(Object[] objArr) {
BaseIntegrityActivity baseIntegrityActivity;
String str;
BaseIntegrityActivity baseIntegrityActivity2 = (BaseIntegrityActivity) objArr[0];
C0693Mj c0693Mj = (C0693Mj) objArr[1];
int i = 2 % 2;
int i2 = l + 57;
f6517o = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.e(c0693Mj, "");
IntegrityErrorActivity.LWm lWm = IntegrityErrorActivity.l;
throw null;
}
C14957gcv.e(c0693Mj, "");
IntegrityErrorActivity.LWm lWm2 = IntegrityErrorActivity.l;
int i3 = l + 79;
f6517o = i3 % 128;
if (i3 % 2 == 0) {
baseIntegrityActivity = baseIntegrityActivity2;
str = c0693Mj.d;
int i4 = 54 / 0;
} else {
baseIntegrityActivity = baseIntegrityActivity2;
str = c0693Mj.d;
}
C14957gcv.c((Object) str, "");
String str2 = c0693Mj.c;
int i5 = -(-((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_travel_approximate).substring(0, 1).length());
int i6 = ((~i5) & (-1470256673)) | (1470256672 & i5);
int i7 = -(-((i5 & (-1470256673)) << 1));
int i8 = (i6 ^ i7) + ((i7 & i6) << 1);
int i9 = ~i8;
int i10 = i9 & 1383861841;
int i11 = ~(((i9 | 1383861841) & (~i10)) | i10);
int i12 = ((~i11) & (-2138877780)) | (i11 & 2138877779);
int i13 = i11 & (-2138877780);
int i14 = -(-(((i13 & i12) | (i12 ^ i13)) * (-712)));
int i15 = (-880488795) ^ i14;
int i16 = -(-((i14 & (-880488795)) << 1));
int i17 = (i15 & i16) + (i16 | i15);
int i18 = ~i8;
int i19 = ~i18;
int i20 = (1868081475 & i19) | (i18 & (-1868081476));
int i21 = 1868081475 & i18;
int i22 = (i20 ^ i21) | (i20 & i21);
int i23 = i22 & 1383861841;
int i24 = ~(i23 | ((~i23) & (i22 | 1383861841)));
int i25 = ((-755015939) ^ i8) | ((-755015939) & i8);
int i26 = ((~i25) | i25) & (~i25);
int i27 = i24 & i26;
int i28 = (i26 | i24) & (~i27);
int i29 = ((i28 & i27) | (i28 ^ i27)) * (-712);
int i30 = i17 & i29;
int i31 = (i29 ^ i17) | i30;
int i32 = (i30 & i31) + (i31 | i30);
int i33 = ((-1383861842) & i18) | (1383861841 & i19);
int i34 = i18 & 1383861841;
int i35 = ~((i33 & i34) | (i33 ^ i34));
int i36 = ((1868081475 & i35) | (1868081475 ^ i35)) * 712;
int i37 = (i32 ^ i36) + ((i36 & i32) << 1);
int codePointAt = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_total_interest_fee_2).substring(0, 1).codePointAt(0) - 1415376723;
int i38 = ~codePointAt;
int i39 = ((-1149954908) & i38) | (codePointAt & 1149954907);
int i40 = (-1149954908) & codePointAt;
int i41 = ~((i39 & i40) | (i39 ^ i40));
int i42 = i41 & (-1592519680);
int i43 = (i41 | (-1592519680)) & (~i42);
int i44 = -(~(-(-(((i43 & i42) | (i43 ^ i42)) * (-502)))));
int i45 = (((-123712406) & i44) + (i44 | (-123712406))) - 1;
int i46 = (i38 | codePointAt) & (~codePointAt);
int i47 = (-1149954908) & i46;
int i48 = (i46 | (-1149954908)) & (~i47);
int i49 = (i48 & i47) | (i48 ^ i47);
int i50 = i49 & 1583431927;
int i51 = (i49 | 1583431927) & (~i50);
int i52 = (i51 & i50) | (i51 ^ i50);
int i53 = ((i52 | (~i52)) & (~i52)) * (-502);
int i54 = i45 & i53;
int i55 = (i53 ^ i45) | i54;
int i56 = (i54 ^ i55) + ((i55 & i54) << 1);
int i57 = (-1583431928) & codePointAt;
int i58 = (codePointAt | (-1583431928)) & (~i57);
int i59 = (i58 & i57) | (i58 ^ i57);
int i60 = (i59 | (~i59)) & (~i59);
int i61 = ((~i60) & (-1149954908)) | (i60 & 1149954907);
int i62 = i60 & (-1149954908);
if (i37 <= (-2) - ((i56 - (~(((i62 & i61) | (i61 ^ i62)) * 502))) ^ (-1))) {
C14957gcv.c((Object) str2, "");
IntegrityErrorActivity.LWm.XS_(baseIntegrityActivity, str, str2);
throw null;
}
C14957gcv.c((Object) str2, "");
Intent XS_ = IntegrityErrorActivity.LWm.XS_(baseIntegrityActivity, str, str2);
int i63 = l;
int i64 = i63 & 31;
int i65 = (i64 - (~((i63 ^ 31) | i64))) - 1;
f6517o = i65 % 128;
int i66 = i65 % 2;
baseIntegrityActivity2.startActivity(XS_);
int i67 = l;
int i68 = i67 & 63;
int i69 = i68 + ((i67 ^ 63) | i68);
f6517o = i69 % 128;
int i70 = i69 % 2;
return null;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = f6517o + 123;
l = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{19, '/', 30, 14, '-', 16, '\"', 21, '\t', 26, 24, 21, 25, 18, 15, 18, 3, 18, 16, 0, '\r', 16, 19, ',', 7, '!'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 55), 26 - TextUtils.indexOf("", ""), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{52960, 52867, 34874, 39946, 49455, 15059, 59863, 40849, 60685, 36925, 1646, 35788, 27832, 15911, 8969, 55536, 15807, 36826, 62053, 13836, 35551, 53441}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cardless_invalid_divisible).substring(33, 34).codePointAt(0) - 47, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = f6517o + 19;
l = 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((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 492, 5 - KeyEvent.normalizeMetaState(0), (char) TextUtils.indexOf("", "", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - ImageFormat.getBitsPerPixel(0), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (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)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = f6517o + 27;
l = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{19, '/', 30, 14, '-', 16, '\"', 21, '\t', 26, 24, 21, 25, 18, 15, 18, 3, 18, 16, 0, '\r', 16, 19, ',', 7, '!'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_touchpoints_please_turn_off_wifi).substring(29, 30).length() + 88), 26 - TextUtils.getOffsetBefore("", 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{52960, 52867, 34874, 39946, 49455, 15059, 59863, 40849, 60685, 36925, 1646, 35788, 27832, 15911, 8969, 55536, 15807, 36826, 62053, 13836, 35551, 53441}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = l + 77;
f6517o = i2 % 128;
if (i2 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = f6517o + 33;
l = i3 % 128;
try {
if (i3 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0'), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 487, MotionEvent.axisFromString("") + 6, (char) Color.green(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 492, (Process.myPid() >> 22) + 5, (char) Drawable.resolveOpacity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 487, 4 - TextUtils.lastIndexOf("", '0'), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void ay(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
Object obj;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = k;
Object obj2 = null;
int i5 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
int i7 = $10 + 25;
$11 = i7 % 128;
int i8 = i7 % i3;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777514, Color.blue(0) + i5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr3 = new Object[1];
az(b3, b4, (byte) (b4 + 1), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i6] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i6++;
i3 = 2;
i5 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(m)};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(299 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - Drawable.resolveOpacity(0, 0), (char) (TextUtils.lastIndexOf("", '0', 0) + 1));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 - 1);
Object[] objArr5 = new Object[1];
az(b5, b6, (byte) (b6 + 1), 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) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
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(233 - (Process.myTid() >> 22), 5 - View.MeasureSpec.getMode(0), (char) (22024 - ((Process.getThreadPriority(0) + 20) >> 6)));
byte b7 = (byte) 3;
byte b8 = (byte) (b7 - 4);
Object[] objArr7 = new Object[1];
az(b7, b8, (byte) (b8 + 1), 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) {
int i9 = $11 + 19;
$10 = i9 % 128;
int i10 = i9 % 2;
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 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 4 - TextUtils.lastIndexOf("", '0'), (char) KeyEvent.keyCodeFromString(""));
byte b9 = (byte) 1;
byte b10 = (byte) (-b9);
Object[] objArr9 = new Object[1];
az(b9, b10, (byte) (b10 + 1), 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 i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i11];
} else {
obj = null;
if (irs.a == irs.d) {
int i12 = $11 + 11;
$10 = i12 % 128;
int i13 = i12 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i14 = (irs.a * charValue) + irs.f;
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
} else {
int i16 = (irs.a * charValue) + irs.j;
int i17 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i16];
cArr4[irs.e + 1] = cArr2[i17];
}
}
}
irs.e += 2;
obj2 = obj;
}
}
int i18 = 0;
while (i18 < i) {
int i19 = $11 + 15;
$10 = i19 % 128;
if (i19 % 2 != 0) {
cArr4[i18] = (char) (cArr4[i18] ^ 17865);
i18 += 15;
} else {
cArr4[i18] = (char) (cArr4[i18] ^ 13722);
i18++;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = f6517o + 123;
l = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{34675, 34578, 26225, 29274, 32625, 48862, 22431, 54792, 833, 11877, 33379, 4014, 9524, 53359, 40195, 23748, 29757, 24991, 19514, 45581, 50000, 16023}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{6808, 6901, 21664, 16540, 12817, 39730, 6862, 19432, 42900}, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = f6517o + 29;
l = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
context2 = context.getApplicationContext();
int i6 = l + 77;
f6517o = i6 % 128;
int i7 = i6 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i8 = f6517o + 25;
l = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.alpha(0) + 492, 4 - MotionEvent.axisFromString(""), (char) (Process.myTid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new char[]{9132, 9117, 48011, 45049, 55807, 30275, 61761, 29323, 57009, 35001, 19182, 51052, 33254, 3551, 15297, 38008, 53411, 48232, 60084, 31453, 26526, 58157, 40361, 52169, 46843, 4630, 19662, 39140, 50610, 16640, 65056, 27036, 5187, 61539, 37171, 16004, 43837, 10075, 16467, 36784, 64126, 22039, 62237, 23567, 2390, 33970, 41514, 11596, 22547, 11154, 21826, 62065}, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{'0', '.', ',', '0', ',', '.', '&', '\b', '-', 26, '\b', '0', '\b', '0', NistHelper.SEP_FS, '(', 1, '+', ')', 7, '\b', '.', '\b', '(', '/', ',', '.', '\r', 7, 11, '-', ')', 13816, 13816, 26, '\n', 31, '-', 13891, 13891, ',', '.', '\b', '/', 21, '&', ',', '.', 31, '#', '(', ' ', '\n', '\'', 31, 3, '\'', '\n', '$', '\'', ',', '.', 19, 5}, (byte) ((Process.myTid() >> 22) + 75), 64 - Color.argb(0, 0, 0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(new char[]{50515, 50482, 12474, 9415, 62434, 22522, 56152, 37926, 21968, 41635, 27398, 59008, 26441, 34542, 4569, 46484, 13837, 14095, 49326, 23349, 33122, 26701, 47076, 59945, 20486, 39203, 26241, 47367, 9032, 51775, 54332, 18468, 62183, 31581, 47991, 7993, 19911, 44093, 27155, 44636, 7378, 56689, 55639, 32180, 61358, 3975, 34879, 3234, 48873, 41208, 32520, 54216, 2497, 53738, 11792, 25217, 56161, 714, 40422, 12723, 43643, 45958, 19612, 49280, 1354, 58611, 13197, 38858}, -TextUtils.lastIndexOf("", '0', 0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{14, 15, 16, 21, 0, '\n', 13793, 13793, '\n', 24, '\b', '!', '\t', '.', 13859, 13859, ',', 19, '\n', 18, '\b', 19, '/', '\n', '\'', 26, 21, 20, 14, 17, 5, 19, 18, 7, '\n', 5, 20, 21, 6, 2, '\t', 19, 31, 0, 22, 0, '\t', 19, '0', 26, '\t', '.', NistHelper.SEP_FS, '+', '\t', 26, 14, '-', 19, '&', '\f', 5, 0, 17, '.', 0, 7, '0', '.', 5, 5, '/', 17, 0}, (byte) (44 - TextUtils.indexOf("", "", 0)), 75 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{'\r', 24, ')', 24, 13841}, (byte) (103 - (ViewConfiguration.getTouchSlop() >> 8)), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{59585, 59556, 38259, 33111, 42356, 23123, 36300, 47537, 61459, 62566, 26280, 60283, 19140, 9000, 18254, 47162, 7071, 37599, 38462, 22161, 44192, 52695, 57659, 59350, 32199, 15551, 12353, 46262, 3723, 28589, 33532, 17806, 57210, 57031, 60857, 4806, 24661, 2467, 15575, 41890}, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 1, 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(486 - ImageFormat.getBitsPerPixel(0), KeyEvent.keyCodeFromString("") + 5, (char) (KeyEvent.getMaxKeyCode() >> 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.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 = f6517o + 1;
l = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 != 0) {
obj.hashCode();
throw null;
}
int i4 = f6517o + 73;
l = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC6631cYi.IeS
public final void b(C0693Mj c0693Mj) {
c(new Object[]{this, c0693Mj}, 454731485, -454731483, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 1257325079);
}
private C1296Zw j() {
return (C1296Zw) c(new Object[]{this}, 274799093, -274799093, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 62706503);
}
public final void f() {
c(new Object[]{this}, 95258882, -95258881, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 278587912);
}
}