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

696 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.AndroidCharacter;
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.BaseActivity;
import com.scb.phone.view.activity.customizeyourpages.CustomizeYourPageActivity;
import java.lang.reflect.Method;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.dzY, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC10266dzY extends BaseActivity implements fPA {
/* renamed from: o, reason: collision with root package name */
private volatile C13073fPt f8944o;
private static final byte[] $$p = {29, 33, 79, 109};
private static final int $$q = 27;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int s = 1;
private static char[] k = {49024, 49053, 49119, 49116, 49104, 49026, 49106, 49111, 49034, 49094, 49027, 49051, 49117, 49093, 49048, 49029, 49109, 49098, 49089, 49050, 49114, 49030, 49095, 49031, 49127, 49115, 49049, 49105, 49028, 49088, 49035, 49138, 49025, 49110, 49123, 49091};
private static char m = 35375;
private static char[] r = {40061, 40164, 40163, 40187, 40183, 39991, 40069, 40069, 40060, 40071, 40111, 40111, 40066, 40071, 40071, 40062, 40051, 40051, 40061, 40071, 40111, 40111, 40069, 40070, 40110, 40070, 40062, 40056, 40056, 40063, 40057, 40057, 40063, 40061, 40071, 40105, 40071, 40070, 40068, 40051, 40051, 40068, 40109, 40091, 40069, 40064, 40062, 40063, 40058, 40058, 40071, 40110, 40105, 40070, 40062, 40056, 40071, 40111, 40070, 40060, 40061, 40071, 40109, 40070, 40064, 40064, 40057, 40062, 40070, 39986, 40056, 40058, 40034, 40038, 40038, 40001, 39995, 40031, 40025, 40026, 40056, 40039, 40045, 40033, 40032, 40007, 40007, 40039, 40035, 40003, 40005, 40037, 40034, 40003, 40002, 40032, 40034, 40032, 40056, 40057, 40032, 40032, 40034, 40032, 40037, 40001, 40026, 40056, 40033, 40041, 40032, 40033, 40040, 40032, 40038, 40037, 40026, 40007, 40039, 40044, 40042, 40044, 40045, 40046, 40045, 40033, 40032, 40034, 40038, 40037, 40034, 40035, 40044, 40046, 40037, 40026, 39972, 39999, 40029, 40058, 40057, 40063, 40037, 39959, 39999, 39972, 39992, 39992, 40005, 40073, 40033, 40032, 40032, 40072, 40080, 40078, 40072, 40075, 40074, 40074, 40045, 40052, 40080, 40081, 40083, 40053, 40045, 40035, 40035, 40033, 40044, 40053, 40081, 40074, 40033, 40035, 40046, 40034, 40038, 40078, 40072, 40033, 40075, 40081};
private final Object l = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x002c). 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 aC(int r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r8 = r8 + 4
int r6 = r6 + 71
byte[] r0 = o.AbstractActivityC10266dzY.$$p
int r7 = r7 * 2
int r1 = r7 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L13
r3 = r8
r4 = r2
r8 = r7
goto L2c
L13:
r3 = r2
L14:
int r8 = r8 + 1
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r7) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L23:
int r3 = r3 + 1
r4 = r0[r8]
r5 = r8
r8 = r6
r6 = r4
r4 = r3
r3 = r5
L2c:
int r6 = -r6
int r6 = r6 + r8
r8 = r3
r3 = r4
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10266dzY.aC(int, byte, short, java.lang.Object[]):void");
}
public AbstractActivityC10266dzY() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dzY.4
private AbstractActivityC10266dzY d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC10266dzY abstractActivityC10266dzY = this.d;
if (abstractActivityC10266dzY.b) {
return;
}
abstractActivityC10266dzY.b = true;
((InterfaceC10257dzP) abstractActivityC10266dzY.y_()).e((CustomizeYourPageActivity) abstractActivityC10266dzY);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = t + 103;
s = i2 % 128;
int i3 = i2 % 2;
Object y_ = f().y_();
int i4 = s + 35;
t = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt f() {
if (this.f8944o == null) {
synchronized (this.l) {
if (this.f8944o == null) {
this.f8944o = new C13073fPt(this);
}
}
}
return this.f8944o;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i2 = t + 63;
s = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
} else {
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i4 = t + 83;
s = i4 % 128;
int i5 = i4 % 2;
return aBN_;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = t + 91;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{'\f', 18, 6, 19, 2, 21, '\r', 7, 5, 27, 4, 31, 21, 0, 3, '\"', 13871, 13871}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ipo_tab).substring(0, 3).length() + 67), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{0, 5, CipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA, 0}, true, new byte[]{1, 1, 0, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aA(new char[]{'\f', 18, 6, 19, 2, 21, '\r', 7, 11, 30, 31, 5, '\"', 1, 23, 21, 14, 19, 23, 16, 25, 26, 21, 30, 7, '\b'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 41), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.are_you_sure_want_delete_scheduled_group).substring(88, 89).codePointAt(0) - 6, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new char[]{3, '\n', 13849, 13849, 30, 15, 19, '\"', 13851, 13851, '\b', 26, 0, '\n', 23, 21, 0, 15}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 50), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.e_coupon_not_enough).substring(6, 7).length() + 17, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = t + 1;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 492, '5' - AndroidCharacter.getMirror('0'), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new char[]{4, 29, 21, 29, 1, 5, '\f', '\n', 26, '\t', 30, '\b', 3, 24, 6, 0, 24, 3, '!', 31, 5, 18, 7, '\t', 17, 16, 3, 22, 2, '\n', 11, 1, 3, 23, '#', 0, 15, '\"', 13862, 13862, '#', 20, '\t', 20, 0, '\"', '#', 21}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 53), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 35, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{3, '!', 21, 3, 21, '!', 20, 11, 3, 27, '!', 14, '!', 14, 29, 4, 17, 21, 2, '#', 3, 16, 11, 18, 3, '\f', 16, '\n', 2, 14, 6, '\"', 13774, 13774, 18, '\t', 18, '!', 13849, 13849, 21, '!', '\t', '\f', 23, 3, 21, '!', 6, 31, 22, '\"', 0, '\"', 27, '!', '\"', 0, 0, '#', 21, '!', '\t', 30}, (byte) (33 - (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))), TextUtils.getOffsetAfter("", 0) + 64, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{5, 64, 65, 0}, true, new byte[]{0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{69, 74, 0, 0}, true, new byte[]{1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new int[]{CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 5, 0, 1}, true, new byte[]{1, 1, 0, 0, 0}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new int[]{CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA, 36, 55, 0}, true, new byte[]{0, 0, 0, 1, 1, 0, 0, 0, 0, 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}, 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 - ((byte) KeyEvent.getModifierMetaStateMask()), Color.argb(0, 0, 0, 0) + 5, (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 1;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{'\f', 18, 6, 19, 2, 21, '\r', 7, 11, 30, 31, 5, '\"', 1, 23, 21, 14, 19, 23, 16, 25, 26, 21, 30, 7, '\b'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_feature_account_repayment_due_date_label).substring(0, 13).codePointAt(3) - 3557), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 85, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{3, '\n', 13849, 13849, 30, 15, 19, '\"', 13851, 13851, '\b', 26, 0, '\n', 23, 21, 0, 15}, (byte) (49 - ExpandableListView.getPackedPositionType(0L)), Color.alpha(0) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = s + 93;
t = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0, 0), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (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(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(MotionEvent.axisFromString("") + 488, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) ((-1) - MotionEvent.axisFromString("")))).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 aB(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
Object method;
int i = 2;
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 = r;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i8 = 0;
while (i8 < length) {
int i9 = $10 + 65;
$11 = i9 % 128;
int i10 = i9 % i;
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((ViewConfiguration.getScrollFriction() > f ? 1 : (ViewConfiguration.getScrollFriction() == f ? 0 : -1)) + 222, (ExpandableListView.getPackedPositionForChild(i3, i3) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(i3, i3) == 0L ? 0 : -1)) + 6, (char) (41978 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))));
byte b = (byte) i3;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
i = 2;
i3 = 0;
f = BitmapDescriptorFactory.HUE_RED;
} 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) {
char[] cArr4 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
int i11 = $10 + 49;
$11 = i11 % 128;
if (i11 % 2 != 0 ? bArr[tvh.c] != 1 : bArr[tvh.c] != 1) {
int i12 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(1084521042);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 14, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (58134 - TextUtils.getTrimmedLength("")))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj2);
}
cArr4[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i13 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(502 - Color.alpha(0), TextUtils.indexOf("", "", 0, 0) + 5, (char) ((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i13] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 != null) {
method = obj4;
} else {
Class cls2 = (Class) xzZ.c(402 - (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 - (Process.myPid() >> 22), (char) (21609 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))));
byte b3 = (byte) ($$q & 6);
byte b4 = (byte) (b3 - 2);
Object[] objArr7 = new Object[1];
aC(b3, b4, (byte) (b4 - 1), objArr7);
method = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, method);
}
((Method) method).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i7 > 0) {
int i14 = $10 + 15;
$11 = i14 % 128;
int i15 = i14 % 2;
char[] cArr5 = new char[i5];
System.arraycopy(cArr3, 0, cArr5, 0, i5);
int i16 = i5 - i7;
System.arraycopy(cArr5, 0, cArr3, i16, i7);
System.arraycopy(cArr5, i7, cArr3, 0, i16);
int i17 = $10 + 91;
$11 = i17 % 128;
int i18 = i17 % 2;
}
if (z) {
char[] cArr6 = new char[i5];
int i19 = 0;
while (true) {
tvh.c = i19;
if (tvh.c >= i5) {
break;
}
cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1];
i19 = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i6 > 0) {
int i20 = 0;
while (true) {
tvh.c = i20;
if (tvh.c >= i5) {
break;
}
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i20 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@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) {
int i2 = s + 69;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{'\f', 18, 6, 19, 2, 21, '\r', 7, 11, 30, 31, 5, '\"', 1, 23, 21, 14, 19, 23, 16, 25, 26, 21, 30, 7, '\b'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 41), 26 - (Process.myTid() >> 22), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{3, '\n', 13849, 13849, 30, 15, 19, '\"', 13851, 13851, '\b', 26, 0, '\n', 23, 21, 0, 15}, (byte) (Color.argb(0, 0, 0, 0) + 49), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = t + 89;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = s + 71;
t = i6 % 128;
if (i6 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i7 = 71 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 4 - TextUtils.lastIndexOf("", '0', 0), (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - ((byte) KeyEvent.getModifierMetaStateMask()), TextUtils.getTrimmedLength("") + 5, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i8 = s + 103;
t = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aA(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
int length;
char[] cArr2;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr3 = k;
int i5 = 46;
long j = 0;
int i6 = 5;
if (cArr3 != null) {
int i7 = $11 + 57;
$10 = i7 % 128;
if (i7 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
} else {
length = cArr3.length;
cArr2 = new char[length];
}
int i8 = 0;
while (i8 < length) {
int i9 = $11 + 89;
$10 = i9 % 128;
int i10 = i9 % i3;
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i8])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(298 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + i6, (char) (ExpandableListView.getPackedPositionForGroup(0) > j ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == j ? 0 : -1)));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aC((byte) i5, b2, (byte) (b2 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr2[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
i3 = 2;
i5 = 46;
j = 0;
i6 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(m)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(298 - ExpandableListView.getPackedPositionGroup(0L), TextUtils.indexOf("", "", 0, 0) + 5, (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) 46, b3, (byte) (b3 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} 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 - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
} 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 obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(View.resolveSize(0, 0) + 233, 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) (22024 - TextUtils.getOffsetBefore("", 0)));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) 49, b4, (byte) (b4 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(327 - (ViewConfiguration.getTapTimeout() >> 16), 5 - Color.alpha(0), (char) (ViewConfiguration.getPressedStateDuration() >> 16));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
aC((byte) 47, b5, (byte) (b5 - 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[intValue];
cArr4[irs.e + 1] = cArr3[i11];
} else if (irs.a == irs.d) {
int i12 = $11 + 25;
$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] = cArr3[i14];
cArr4[irs.e + 1] = cArr3[i15];
} else {
int i16 = (irs.a * charValue) + irs.j;
int i17 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr3[i16];
cArr4[irs.e + 1] = cArr3[i17];
}
}
irs.e += 2;
}
}
int i18 = $10 + 125;
$11 = i18 % 128;
int i19 = i18 % 2;
for (int i20 = 0; i20 < i; i20++) {
cArr4[i20] = (char) (cArr4[i20] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = s + 13;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{'\f', 18, 6, 19, 2, 21, '\r', 7, 5, 27, 4, 31, 21, 0, 3, '\"', 13871, 13871}, (byte) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 70), 19 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{0, 5, CipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA, 0}, true, new byte[]{1, 1, 0, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = t + 99;
s = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 48 / 0;
if (intValue <= 99999) {
return;
}
} else if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i6 = t + 61;
s = i6 % 128;
int i7 = i6 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), View.resolveSizeAndState(0, 0, 0) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new char[]{4, 29, 21, 29, 1, 5, '\f', '\n', 26, '\t', 30, '\b', 3, 24, 6, 0, 24, 3, '!', 31, 5, 18, 7, '\t', 17, 16, 3, 22, 2, '\n', 11, 1, 3, 23, '#', 0, 15, '\"', 13862, 13862, '#', 20, '\t', 20, 0, '\"', '#', 21}, (byte) (TextUtils.indexOf((CharSequence) "", '0') + 47), 48 - Color.red(0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new char[]{3, '!', 21, 3, 21, '!', 20, 11, 3, 27, '!', 14, '!', 14, 29, 4, 17, 21, 2, '#', 3, 16, 11, 18, 3, '\f', 16, '\n', 2, 14, 6, '\"', 13774, 13774, 18, '\t', 18, '!', 13849, 13849, 21, '!', '\t', '\f', 23, 3, 21, '!', 6, 31, 22, '\"', 0, '\"', 27, '!', '\"', 0, 0, '#', 21, '!', '\t', 30}, (byte) (33 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))), TextUtils.indexOf((CharSequence) "", '0', 0) + 65, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new int[]{5, 64, 65, 0}, true, new byte[]{0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{69, 74, 0, 0}, true, new byte[]{1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 5, 0, 1}, true, new byte[]{1, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA, 36, 55, 0}, true, new byte[]{0, 0, 0, 1, 1, 0, 0, 0, 0, 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}, 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((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 486, Drawable.resolveOpacity(0, 0) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = t + 81;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 75;
t = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 13 / 0;
}
}
}