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

611 lines
37 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.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.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.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.loan.SmeLoanDetailActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* renamed from: o.dXf, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC8835dXf extends BaseActivity implements fPA {
/* renamed from: o, reason: collision with root package name */
private volatile C13073fPt f8862o;
private static final byte[] $$g = {ISO7816.INS_MANAGE_CHANNEL, -18, 54, -52};
private static final int $$h = 226;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int t = 1;
private static int l = 2015661641;
private static char[] k = {40072, 40207, 40205, 40218, 40206, 40063, 40180, 40223, 40181, 40163, 40173, 40173, 40180, 40221, 40202, 40201, 40202, 40203, 40203, 40162, 40181, 40203, 40203, 40182, 40172, 40161, 40180, 40223, 40221, 40211, 40221, 40180, 40203, 40203, 40180, 40181, 40162, 40201, 40203, 40173, 40172, 40172, 40172, 40162, 40172, 40173, 40163, 40174, 40175, 40182, 40180, 40181, 40182, 40173, 40172, 40173, 40183, 40182, 40163, 40172, 40172, 40161, 40161, 40162, 40181, 40181, 40162, 40203, 40222, 40016, 40105, 40065, 40076, 40107, 40107, 40105, 40112, 40106, 40064, 40071, 40105, 40114, 40106, 40067, 40065, 40105, 40124, 40113, 40106, 40077, 40077, 40066, 40065, 40107, 40104, 40110, 40112, 40111, 40070, 40070, 40111, 40105, 40106, 40124, 40106, 40064, 40066, 40076, 40076, 40066, 40067, 40067, 40065, 40105, 40113, 40105, 40104, 40114, 40114, 40106, 40064, 40070, 40070, 40065, 40106, 40106, 40085, 40114, 40114, 40106, 40071, 40104, 40104, 39984, 40051, 40059, 40037, 40059, 40005, 40006, 40037, 40056, 40024, 40006, 40038, 40058, 40026, 40026, 40059, 40036, 40032, 40058, 40051, 40029, 40028, 40018, 39998, 40004, 40057, 40057, 40037, 40061, 40051, 40057, 40056, 40050, 40060, 40061, 40016, 39986, 39999, 40029, 40056, 40033, 40039, 40038, 40037, 40056, 40057, 40037, 40059, 40036, 40032, 40033, 40032, 40039, 40045, 40039, 40058, 40026, 40029, 40056, 40057, 40059, 40035, 40036, 40059, 40044, 40036, 40051, 40029, 40004, 40056, 40059, 40037, 40059, 40059, 39958, 39996, 40005, 40044, 40000, 39999, 39996, 39998, 39998, 39992, 40000, 40046, 40044, 40035, 40007, 39992, 40005, 40005, 40006, 40027, 40025, 40035, 40027, 39987, 39987, 39996, 40004, 40034, 40044, 40006, 39996, 40027, 40025, 39985, 39997, 39993};
private final Object m = new Object();
boolean b = false;
private static void az(short s, short s2, int i, Object[] objArr) {
int i2 = s2 + 69;
int i3 = i * 4;
byte[] bArr = $$g;
int i4 = 3 - (s * 3);
byte[] bArr2 = new byte[1 - i3];
int i5 = 0 - i3;
int i6 = -1;
if (bArr == null) {
i2 += i5;
}
while (true) {
i6++;
bArr2[i6] = (byte) i2;
i4++;
if (i6 == i5) {
objArr[0] = new String(bArr2, 0);
return;
}
i2 += bArr[i4];
}
}
public AbstractActivityC8835dXf() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dXf.2
private AbstractActivityC8835dXf e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8835dXf abstractActivityC8835dXf = this.e;
if (abstractActivityC8835dXf.b) {
return;
}
abstractActivityC8835dXf.b = true;
((InterfaceC8850dXu) abstractActivityC8835dXf.y_()).b((SmeLoanDetailActivity) abstractActivityC8835dXf);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = t + 113;
r = i2 % 128;
int i3 = i2 % 2;
Object y_ = j().y_();
int i4 = t + 71;
r = i4 % 128;
if (i4 % 2 == 0) {
return y_;
}
Object obj = null;
obj.hashCode();
throw null;
}
private C13073fPt j() {
if (this.f8862o == null) {
synchronized (this.m) {
if (this.f8862o == null) {
this.f8862o = new C13073fPt(this);
}
}
}
return this.f8862o;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
int i2 = r + 93;
t = i2 % 128;
int i3 = i2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i4 = t + 71;
r = i4 % 128;
int i5 = i4 % 2;
bundle = getIntent().getExtras();
} else {
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void ax(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i5 = $10 + 13;
$11 = i5 % 128;
int i6 = i5 % 2;
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7]), Integer.valueOf(l)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(142 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (ViewConfiguration.getJumpTapTimeout() >> 16) + 7, (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Color.red(0) + 342, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
az(b3, (byte) (b3 | 7), b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i3 > 0) {
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
int i8 = $11 + 69;
$10 = i8 % 128;
int i9 = i8 % 2;
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 342, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b4, (byte) (b4 | 7), b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
@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 = r + 115;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mw_edit_qr_error_limit).substring(31, 32).length() + 17, new char[]{'\f', 15, 65517, 65483, 16, '\f', 65483, 1, 6, '\f', 15, 1, 11, 65534, 16, 16, 2, 0}, 209 - Gravity.getAbsoluteGravity(0, 0), true, 13 - TextUtils.lastIndexOf("", '0'), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{0, 5, 158, 2}, false, new byte[]{1, 1, 1, 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];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 85, new char[]{65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + CipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384, false, (ViewConfiguration.getJumpTapTimeout() >> 16) + 19, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_promptpay_verification_enter_code_secondary_text).substring(56, 59).length() + 15, new char[]{'\b', '\b', 11, 65529, 4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531}, Color.alpha(0) + 216, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_company_search_no_results_text).substring(39, 40).length() + 3, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = t + 89;
r = i4 % 128;
if (i4 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 17 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i6 = r + 45;
t = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 35, new char[]{31, 65522, 26, 65517, 65516, 65521, 65515, 65516, 27, 65521, 65516, 27, 65516, 26, 65515, 65522, 27, 26, 31, NistHelper.SEP_FS, 65516, 27, 65517, 65520, 65514, 65517, 30, 65521, NistHelper.SEP_FS, 65518, 65522, 65517, 65515, 27, 27, 30, 31, 65514, 65521, 65518, 65514, 65514, 29, 65522, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65519}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.billpayment_bnpl_coin_more_detail_header_1).substring(0, 20).length() + CipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.no_accounts_description).substring(34, 35).length() + 24, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{5, 64, CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384, 24}, false, new byte[]{1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{69, 64, 86, 0}, false, new byte[]{1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{133, 74, 5, 30}, false, new byte[]{0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(5 - TextUtils.indexOf("", "", 0, 0), new char[]{65532, 6, 65532, 7, 65534}, 161 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), true, TextUtils.indexOf("", "", 0, 0) + 4, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new int[]{207, 36, 4, 27}, false, new byte[]{0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1}, 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(View.combineMeasuredStates(0, 0) + 487, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (ViewConfiguration.getEdgeSlop() >> 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
/* JADX WARN: Code restructure failed: missing block: B:32:0x0021, code lost:
r1 = o.AbstractActivityC8835dXf.t + 33;
o.AbstractActivityC8835dXf.r = r1 % 128;
r1 = r1 % 2;
r6 = (java.lang.Object[]) null;
r5 = new java.lang.Object[1];
ax(((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, new char[]{65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.document_upload_required_count).substring(35, 37).length() + 207, false, android.view.View.combineMeasuredStates(0, 0) + 19, r5);
r5 = java.lang.Class.forName((java.lang.String) r5[0]);
r1 = new java.lang.Object[1];
ax(((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, new char[]{'\b', '\b', 11, 65529, 4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + org.bouncycastle.crypto.tls.CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256, true, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 30, r1);
r1 = (android.content.Context) r5.getMethod((java.lang.String) r1[0], new java.lang.Class[0]).invoke(null, null);
r5 = o.AbstractActivityC8835dXf.r + 23;
o.AbstractActivityC8835dXf.t = r5 % 128;
r5 = r5 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@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 onResume() {
/*
Method dump skipped, instructions count: 524
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8835dXf.onResume():void");
}
private static void ay(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
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[] cArr2 = k;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i9 = 0;
while (i9 < length) {
int i10 = $10 + 105;
$11 = i10 % 128;
int i11 = i10 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr2[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c(222 - ExpandableListView.getPackedPositionChild(0L), 5 - TextUtils.getOffsetBefore("", i4), (char) (((Process.getThreadPriority(i4) + 20) >> 6) + 41977));
byte b = (byte) i4;
byte b2 = (byte) (b + 2);
cArr = cArr2;
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 - 2), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
int i12 = $11 + 37;
$10 = i12 % 128;
int i13 = i12 % 2;
cArr2 = cArr;
i2 = 2;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i6];
System.arraycopy(cArr2, i5, cArr4, 0, i6);
if (bArr != null) {
char[] cArr5 = new char[i6];
tvh.c = 0;
char c = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i14 = $11 + 55;
$10 = i14 % 128;
int i15 = i14 % 2;
int i16 = tvh.c;
try {
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - Color.green(0), 4 - MotionEvent.axisFromString(""), (char) (54 - (ViewConfiguration.getScrollDefaultDelay() >> 16)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i16] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i17 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 15, 5 - KeyEvent.keyCodeFromString(""), (char) ((ViewConfiguration.getTouchSlop() >> 8) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i17] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(401 - TextUtils.indexOf((CharSequence) "", '0'), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (21608 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte length2 = (byte) $$g.length;
Object[] objArr7 = new Object[1];
az((byte) 0, length2, (byte) (length2 - 4), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr5;
}
if (i8 > 0) {
char[] cArr6 = new char[i6];
i = 0;
System.arraycopy(cArr4, 0, cArr6, 0, i6);
int i18 = i6 - i8;
System.arraycopy(cArr6, 0, cArr4, i18, i8);
System.arraycopy(cArr6, i8, cArr4, 0, i18);
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i6];
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
int i19 = $11 + 105;
$10 = i19 % 128;
if (i19 % 2 != 0) {
cArr7[tvh.c] = cArr4[i6 >> tvh.c];
i = tvh.c;
} else {
cArr7[tvh.c] = cArr4[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
}
cArr4 = cArr7;
}
if (i7 > 0) {
int i20 = $10 + 101;
$11 = i20 % 128;
int i21 = i20 % 2;
tvh.c = 0;
int i22 = $11 + 1;
$10 = i22 % 128;
int i23 = i22 % 2;
while (tvh.c < i6) {
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
tvh.c++;
}
}
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
public void onPause() {
int i = 2 % 2;
int i2 = r + 87;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = t + 19;
r = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.holding_by_post_disclaimer).substring(9, 10).codePointAt(0) - 6, new char[]{65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.remittance_landing_good_to_know_description_1).substring(72, 73).length() + 208, false, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 19, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.banking_actions_scb_connect).substring(0, 11).length() + 7, new char[]{'\b', '\b', 11, 65529, 4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531}, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 216, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 9, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = r + 11;
t = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 492, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 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((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 486, 4 - TextUtils.lastIndexOf("", '0'), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@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) {
int i = 2 % 2;
int i2 = t + 57;
r = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(18 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new char[]{'\f', 15, 65517, 65483, 16, '\f', 65483, 1, 6, '\f', 15, 1, 11, 65534, 16, 16, 2, 0}, MotionEvent.axisFromString("") + 210, true, 15 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{0, 5, 158, 2}, false, new byte[]{1, 1, 1, 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 = r + 43;
t = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 492, 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 48, new char[]{31, 65522, 26, 65517, 65516, 65521, 65515, 65516, 27, 65521, 65516, 27, 65516, 26, 65515, 65522, 27, 26, 31, NistHelper.SEP_FS, 65516, 27, 65517, 65520, 65514, 65517, 30, 65521, NistHelper.SEP_FS, 65518, 65522, 65517, 65515, 27, 27, 30, 31, 65514, 65521, 65518, 65514, 65514, 29, 65522, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65519}, (ViewConfiguration.getTouchSlop() >> 8) + CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384, true, 24 - MotionEvent.axisFromString(""), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new int[]{5, 64, CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384, 24}, false, new byte[]{1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new int[]{69, 64, 86, 0}, false, new byte[]{1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{133, 74, 5, 30}, false, new byte[]{0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(AndroidCharacter.getMirror('0') - '+', new char[]{65532, 6, 65532, 7, 65534}, View.combineMeasuredStates(0, 0) + 160, true, ((Process.getThreadPriority(0) + 20) >> 6) + 4, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{207, 36, 4, 27}, false, new byte[]{0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - KeyEvent.keyCodeFromString(""), 5 - View.getDefaultSize(0, 0), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 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);
int i5 = r + 75;
t = i5 % 128;
int i6 = i5 % 2;
} 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 + 119;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 12 / 0;
}
}
}