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

699 lines
40 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.sme.gifting.GiftingSelectRecipientActivity;
import java.lang.reflect.Method;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.enV, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11869enV extends BaseActivity implements fPA {
private volatile C13073fPt m;
private static final byte[] $$p = {Ascii.ETB, -9, -41, -17};
private static final int $$q = CipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int t = 1;
private static char[] k = {36787, 13050, 62778, 47218, 31397, 15845, 57362, 41750, 25997, 10455, 60224, 44416, 20712, 4915, 54885, 39085, 23489, 7687, 36799, 13037, 62731, 47209, 31406, 36785, 13025, 62764, 47218, 31407, 15842, 57346, 41849, 26002, 10452, 60162, 44473, 20729, 4925, 54898, 39073, 23517, 7706, 36794, 13024, 62762, 47216, 31417, 15798, 57433, 41751, 26001, 10445, 60175, 44477, 20729, 4915, 54891, 39077, 23511, 7686, 49501, 33673, 18123, 2304, 52148, 36601, 12588, 62575, 46816, 31172, 15378, 65358, 41347, 25801, 10086, 59831, 44287, 28467, 4734, 54498, 38865, 23053, 7491, 57238, 33482, 17763, 1963, 51945, 36135, 12410, 62103, 46490, 30749, 15183, 64903, 41091, 25463, 9640, 59627, 43883, 28263, 4254, 54237, 38425, 22869, 7068, 56957, 33122, 17388, 1711, 51503, 35962, 20115, 61910, 46102, 30551, 33665, 16067, 63834, 46082, 30360, 12675, 60532, 44862, 27129, 9380, 59240, 41347, 23758, 8007, 55812, 38092, 22453, 4723, 52517, 36791, 19198, 1343, 51075, 33411, 15686, 63569, 47818, 30183, 12411, 62319, 44467, 26795, 11024, 58839, 41113, 25363};
private static long l = 9051930158643557012L;
private static char[] s = {40093, 40231, 40192, 40184, 40197, 40236, 40225, 40224, 40224, 40225, 40249, 40233, 40209, 40226, 40236, 40212, 40213, 40213, 40232, 40238, 40236, 40231, 40227, 40233, 40206, 40200, 39979, 40019, 40017, 40018, 40019, 40008, 40009, 39988, 40029, 40037, 40036, 40058, 40028, 40011, 40009, 39988, 39990, 40029, 40017, 40017, 40019, 40019, 40019, 40017, 40016, 40018, 40029, 39988, 40010, 40010, 39989, 40029, 40018, 40010, 40029, 40029, 40029, 40030, 40010, 40018, 40038, 40036, 40059, 40028, 40029, 40028, 40010, 40011, 39993, 40040, 40042, 40007, 39996, 39999, 40001, 40006, 40006, 40000, 39997, 40006, 40006, 40005, 40004, 40005, 40040, 40007, 39992, 39992, 39998, 40000, 40042, 40007, 40007, 40041, 40006, 39997, 40000, 40000, 39997, 39996, 39996, 39999, 39999, 39998, 40001, 40002, 39992, 39999, 39992, 40001, 40000, 40007, 40001, 39994, 39993, 39998, 39992, 39999, 39997, 39999, 39999, 39999, 39992, 40006, 40004, 39997, 40000, 40007, 40006, 40006, 40007, 40040, 39952, 40006, 40006, 39997, 40000, 40040, 40040, 40003, 40000, 40000, 39999, 39996, 39996, 39998, 40000, 40040, 40040, 40006, 40007, 40047, 40007, 39999, 39993, 39993, 39992, 39994, 39994, 39992, 39998, 40000, 40042, 40000, 40007, 40005, 39996, 39996, 40005, 40046, 40004, 40006, 40001, 39999, 39992, 39995, 39995, 40000, 40047, 40042, 40007, 39999, 39993, 40000, 40040, 40007, 39997, 39998, 40000, 40046, 40007, 40001, 40001, 39994, 39999, 40007, 39964, 39992, 39992, 39992, 39999};
/* renamed from: o, reason: collision with root package name */
private final Object f9062o = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4: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(short r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 3
int r6 = 3 - r6
int r8 = r8 * 3
int r8 = r8 + 1
byte[] r0 = o.AbstractActivityC11869enV.$$p
int r7 = 106 - r7
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L2c
L14:
r3 = r2
L15:
byte r4 = (byte) r7
r1[r3] = r4
int r3 = r3 + 1
int r6 = r6 + 1
if (r3 != r8) goto L26
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L26:
r4 = r0[r6]
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2c:
int r7 = -r7
int r7 = r7 + r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11869enV.aC(short, byte, byte, java.lang.Object[]):void");
}
public AbstractActivityC11869enV() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.enV.1
private AbstractActivityC11869enV a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11869enV abstractActivityC11869enV = this.a;
if (abstractActivityC11869enV.b) {
return;
}
abstractActivityC11869enV.b = true;
((InterfaceC11851enD) abstractActivityC11869enV.y_()).e((GiftingSelectRecipientActivity) abstractActivityC11869enV);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = t + 105;
r = i2 % 128;
int i3 = i2 % 2;
C13073fPt j = j();
if (i3 == 0) {
return j.y_();
}
j.y_();
Object obj = null;
obj.hashCode();
throw null;
}
private C13073fPt j() {
if (this.m == null) {
synchronized (this.f9062o) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = r + 67;
t = i2 % 128;
int i3 = i2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
Bundle bundle = null;
if (getIntent() != null) {
int i4 = t + 17;
r = i4 % 128;
if (i4 % 2 != 0) {
getIntent().getExtras();
bundle.hashCode();
throw null;
}
bundle = getIntent().getExtras();
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aA(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
int i4 = $11 + 111;
$10 = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 5 / 2;
}
while (dqy.a < i2) {
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(k[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 308, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 32797));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aC(b, (byte) (b | 8), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(l), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(MotionEvent.axisFromString("") + 413, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aC(b2, (byte) (b2 | 7), b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(407 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) ((ViewConfiguration.getTouchSlop() >> 8) + 29234));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aC(b3, b4, b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
int i7 = $11 + 109;
$10 = i7 % 128;
if (i7 % 2 != 0) {
int i8 = 5 / 4;
}
while (dqy.a < i2) {
int i9 = $10 + 103;
$11 = i9 % 128;
if (i9 % 2 == 0) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(406 - TextUtils.indexOf((CharSequence) "", '0', 0), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) (29234 - Gravity.getAbsoluteGravity(0, 0)));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr9 = new Object[1];
aC(b5, b6, b6, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
Object obj5 = null;
((Method) obj4).invoke(null, objArr8);
obj5.hashCode();
throw null;
}
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr10 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 == null) {
Class cls5 = (Class) xzZ.c(407 - ExpandableListView.getPackedPositionType(0L), 5 - View.getDefaultSize(0, 0), (char) (View.MeasureSpec.makeMeasureSpec(0, 0) + 29234));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr11 = new Object[1];
aC(b7, b8, b8, objArr11);
obj6 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr10);
}
objArr[0] = new String(cArr);
}
@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 + 109;
r = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
Object[] objArr = new Object[1];
aA(ViewConfiguration.getMaximumFlingVelocity() >> 16, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, (char) View.MeasureSpec.getMode(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(TextUtils.lastIndexOf("", '0', 0) + 19, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.select_account_title_breadcrumb_en).substring(0, 14).length() - 9, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.add_account_empty).substring(90, 91).length() - 1), 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];
aB(new int[]{0, 26, 188, 17}, false, new byte[]{0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_business_owner_type_store_about_subtitle).substring(69, 70).length() + 22, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_personal_info_otp_verify).substring(12, 17).codePointAt(2) - 66, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 111), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = t + 41;
r = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 5 % 5;
}
}
if (baseContext != null) {
int i6 = r + 79;
t = i6 % 128;
if (i6 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 492, TextUtils.getCapsMode("", 0, 0) + 5, (char) (Process.myPid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new int[]{26, 48, 12, 0}, true, new byte[]{0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{74, 64, 0, 0}, true, new byte[]{1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{CipherSuite.TLS_PSK_WITH_RC4_128_SHA, 64, 0, 0}, true, new byte[]{1, 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];
aA(40 - ImageFormat.getBitsPerPixel(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.investment_deeplink_my_alert_no_account_dialog_description).substring(67, 68).codePointAt(0) + 42, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.root_checker_title).substring(17, 27).length() - 10), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new int[]{202, 5, 0, 4}, true, new byte[]{0, 0, 0, 1, 1}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.single_form_omnibus_select_account_deposit_title).substring(CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA, CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA).length() + 114, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 63, (char) (KeyEvent.getDeadChar(0, 0) + 3126), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - TextUtils.getTrimmedLength(""), 5 - KeyEvent.normalizeMetaState(0), (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, 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;
int i2 = t + 109;
r = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = r + 13;
t = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aB(new int[]{0, 26, 188, 17}, false, new byte[]{0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 11, Gravity.getAbsoluteGravity(0, 0) + 18, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = t + 109;
r = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 492, 5 - TextUtils.getCapsMode("", 0, 0), (char) Color.blue(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(535 - AndroidCharacter.getMirror('0'), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(493 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 5 - (Process.myTid() >> 22), (char) ('0' - AndroidCharacter.getMirror('0')))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - TextUtils.indexOf("", "", 0, 0), Color.alpha(0) + 5, (char) View.getDefaultSize(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} 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) {
int i;
int i2 = 2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr = s;
if (cArr != null) {
int i9 = $11 + 7;
$10 = i9 % 128;
int i10 = i9 % 2;
int length = cArr.length;
char[] cArr2 = new char[length];
int i11 = 0;
while (i11 < length) {
int i12 = $10 + 5;
$11 = i12 % 128;
int i13 = i12 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr[i11]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(((Process.getThreadPriority(i4) + 20) >> 6) + 223, TextUtils.indexOf("", "") + 5, (char) (41977 - (KeyEvent.getMaxKeyCode() >> 16)));
byte b = (byte) i4;
Object[] objArr3 = new Object[1];
aC(b, (byte) (b | 35), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i11] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i11++;
i2 = 2;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i6];
System.arraycopy(cArr, i5, cArr3, 0, i6);
if (bArr != null) {
char[] cArr4 = new char[i6];
tvh.c = 0;
char c = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i14 = $10 + 105;
$11 = i14 % 128;
if (i14 % 2 == 0) {
int i15 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 501, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i15] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
int i16 = 78 / 0;
} else {
int i17 = 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(TextUtils.getOffsetBefore("", 0) + 502, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) (54 - ((Process.getThreadPriority(0) + 20) >> 6)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i17] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
} else {
int i18 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(15 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 58133))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr4[i18] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
}
c = cArr4[tvh.c];
try {
Object[] objArr7 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf("", "", 0) + 402, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (21608 - (ViewConfiguration.getTapTimeout() >> 16)));
byte b2 = (byte) 0;
Object[] objArr8 = new Object[1];
aC(b2, (byte) (b2 | 33), b2, objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr7);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
cArr3 = cArr4;
}
if (i8 > 0) {
char[] cArr5 = new char[i6];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i6);
int i19 = i6 - i8;
System.arraycopy(cArr5, 0, cArr3, i19, i8);
System.arraycopy(cArr5, i8, cArr3, 0, i19);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i6];
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
cArr6[tvh.c] = cArr3[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i7 > 0) {
int i20 = $10 + 49;
$11 = i20 % 128;
int i21 = i20 % 2;
tvh.c = 0;
while (tvh.c < i6) {
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
tvh.c++;
int i22 = $10 + 45;
$11 = i22 % 128;
int i23 = i22 % 2;
}
}
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;
int i2 = r + 5;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new int[]{0, 26, 188, 17}, false, new byte[]{0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(23 - TextUtils.getTrimmedLength(""), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 115), 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 = t + 43;
r = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(MotionEvent.axisFromString("") + 493, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) View.MeasureSpec.getSize(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(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)), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) View.MeasureSpec.getMode(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(492 - View.resolveSize(0, 0), 5 - View.getDefaultSize(0, 0), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).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((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)) + 487, View.combineMeasuredStates(0, 0) + 5, (char) View.combineMeasuredStates(0, 0))).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();
}
@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 = r + 25;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(ImageFormat.getBitsPerPixel(0) + 1, 17 - Process.getGidForName(""), (char) KeyEvent.getDeadChar(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(18 - TextUtils.getOffsetAfter("", 0), TextUtils.getTrimmedLength("") + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == 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 || intValue > 99999) {
if (context != null) {
int i4 = t + 67;
r = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(540 - AndroidCharacter.getMirror('0'), 5 - Color.blue(0), (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new int[]{26, 48, 12, 0}, true, new byte[]{0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new int[]{74, 64, 0, 0}, true, new byte[]{1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new int[]{CipherSuite.TLS_PSK_WITH_RC4_128_SHA, 64, 0, 0}, true, new byte[]{1, 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];
aA((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 40, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 74, (char) Color.red(0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{202, 5, 0, 4}, true, new byte[]{0, 0, 0, 1, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA((ViewConfiguration.getDoubleTapTimeout() >> 16) + 115, 36 - KeyEvent.keyCodeFromString(""), (char) (KeyEvent.getDeadChar(0, 0) + 3126), 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.getMaximumFlingVelocity() >> 16) + 487, TextUtils.indexOf("", "", 0) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 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 = r + 99;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
}
}