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

680 lines
37 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.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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.hml.HmlUserInfoActivity;
import java.lang.reflect.Method;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public abstract class dOD extends BaseActivity implements fPA {
/* renamed from: o, reason: collision with root package name */
private volatile C13073fPt f8788o;
private static final byte[] $$g = {43, -33, 87, 81};
private static final int $$h = 83;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int r = 1;
private static long m = -8642493256572364043L;
private static char[] l = {40051, 40189, 40179, 40177, 40180, 40176, 40190, 40147, 40157, 40188, 40180, 40149, 40141, 40170, 40177, 40182, 40181, 40181, 40182, 40206, 40190, 40166, 40183, 40177, 40185, 40186, 40071, 40233, 40226, 40227, 40234, 40212, 40236, 40219, 40197, 40237, 40239, 40235, 40215, 40211, 40235, 40239, 40233, 40239, 39959, 39999, 40000, 40046, 40040, 40041, 40001, 39992, 39997, 39996, 40007, 40006, 40005, 40007, 39993, 39999, 39998, 40000, 40001, 40000, 40047, 40040, 40042, 40006, 39998, 40002, 40001, 40001, 40001, 39998, 40006, 40001, 39993, 39998, 39998, 39992, 40001, 40006, 40004, 40005, 40007, 40007, 40007, 40005, 40005, 40001, 39994, 39992, 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, 40024, 40108, 40098, 40116, 40158, 40116, 40139, 40137, 40096, 40096, 40137, 40146, 40136, 40138, 40117, 40099, 40108, 40111, 40111, 40116, 40147, 40158, 40139, 40099, 40109, 40116, 40156, 40139, 40097, 40098, 40116, 40146, 40139, 40117, 40117, 40110, 40099, 40139, 40139, 40138, 40138, 40097, 40116, 40156, 40156, 40119, 40116, 40116, 40099, 40096, 40096, 40098, 40116, 40156, 40156, 40138, 40139, 40147, 40139, 40099, 40109, 40109, 40108, 40110, 40024, 40079, 40052, 40084, 40081, 40095, 40081, 40082, 40083, 40082, 40086, 40085, 40087, 40107, 40106, 40087, 40080, 40081, 40083, 40106, 40079, 40041, 40044, 40066, 40111, 40110, 40108, 40106, 40107, 40109, 40111, 40087, 40107, 40107, 40054, 40040, 40076, 40078, 40079, 40109, 40084, 40082, 40086, 40085, 40052, 40052, 40084, 40080, 40048, 40074, 40106, 40087, 40048, 40055, 40085, 40087, 40085, 40109, 40110, 40085, 40085, 40087, 40085, 40106, 40054, 40079, 40109, 40086, 40094, 40085, 40086, 40093, 40085, 40107};
private final Object k = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4: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 az(int r7, int r8, int r9, java.lang.Object[] r10) {
/*
int r8 = r8 + 71
byte[] r0 = o.dOD.$$g
int r7 = r7 * 4
int r7 = r7 + 1
int r9 = r9 * 4
int r9 = 3 - r9
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L14
r3 = r9
r4 = r2
goto L2c
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r8
r1[r3] = r5
if (r4 != r7) goto L24
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L24:
int r9 = r9 + 1
r3 = r0[r9]
r6 = r9
r9 = r8
r8 = r3
r3 = r6
L2c:
int r8 = -r8
int r8 = r8 + r9
r9 = r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.dOD.az(int, int, int, java.lang.Object[]):void");
}
public dOD() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dOD.5
private dOD b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
dOD dod = this.b;
if (dod.b) {
return;
}
dod.b = true;
((InterfaceC8643dRf) dod.y_()).c((HmlUserInfoActivity) dod);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = p + 1;
r = i2 % 128;
int i3 = i2 % 2;
Object y_ = h().y_();
if (i3 == 0) {
int i4 = 85 / 0;
}
return y_;
}
private C13073fPt h() {
if (this.f8788o == null) {
synchronized (this.k) {
if (this.f8788o == null) {
this.f8788o = new C13073fPt(this);
}
}
}
return this.f8788o;
}
@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) {
bundle = getIntent().getExtras();
int i2 = p + 119;
r = i2 % 128;
int i3 = i2 % 2;
} else {
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i4 = p + 87;
r = i4 % 128;
if (i4 % 2 != 0) {
return aBN_;
}
throw null;
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(402 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), View.getDefaultSize(0, 0) + 5, (char) (21607 - MotionEvent.axisFromString("")));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
az(b, (byte) (b | 6), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (m ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - (Process.myTid() >> 22), '5' - AndroidCharacter.getMirror('0'), (char) Gravity.getAbsoluteGravity(0, 0));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
az(b2, (byte) (b2 | 7), b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
int i4 = $11 + 77;
$10 = i4 % 128;
int i5 = i4 % 2;
while (c4593bdB.e < cArr.length) {
int i6 = $10 + 77;
$11 = i6 % 128;
if (i6 % 2 == 0) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(238 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), Color.alpha(0) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b3, (byte) (b3 | 7), b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
throw null;
}
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 237, View.combineMeasuredStates(0, 0) + 5, (char) ExpandableListView.getPackedPositionType(0L));
byte b4 = (byte) 0;
Object[] objArr9 = new Object[1];
az(b4, (byte) (b4 | 7), b4, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
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) {
Method method;
int i = 2 % 2;
Object obj = null;
Object[] objArr = new Object[1];
ax(new char[]{35154, 16958, 8081, 60264, 42192, 29109, 19717, 1704, 53828, 44859, 30915, 13346, 485, 56667, 38458, 25499, 16240, 2259}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.account_management_delete_message).substring(29, 30).codePointAt(0) + 52035, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{35166, 60319, 19660, 41253, 515}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 25267, 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) {
int i2 = r + 83;
p = i2 % 128;
if (i2 % 2 != 0) {
Object[] objArr3 = new Object[1];
ay(new int[]{0, 26, CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 0}, false, new byte[]{0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new int[]{26, 18, CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256, 0}, true, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
} else {
Object[] objArr5 = new Object[1];
ay(new int[]{0, 26, CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 0}, false, new byte[]{0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr5);
Class<?> cls3 = Class.forName((String) objArr5[0]);
Object[] objArr6 = new Object[1];
ay(new int[]{26, 18, CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr6);
method = cls3.getMethod((String) objArr6[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
int i3 = r + 35;
p = i3 % 128;
if (i3 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = p + 51;
r = i4 % 128;
int i5 = i4 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 493, 4 - TextUtils.lastIndexOf("", '0'), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr7 = new Object[1];
ay(new int[]{44, 48, 0, 14}, false, new byte[]{0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0}, objArr7);
String str = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{92, 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}, objArr8);
String str2 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new int[]{CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, 64, 116, 38}, true, new byte[]{0, 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, 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}, objArr9);
String str3 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new int[]{220, 74, 51, 28}, true, new byte[]{1, 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, 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}, objArr10);
String str4 = (String) objArr10[0];
Object[] objArr11 = new Object[1];
ax(new char[]{35082, 47002, 62469, 12936, 29471}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) + 15908, objArr11);
String str5 = (String) objArr11[0];
Object[] objArr12 = new Object[1];
ax(new char[]{35158, 62021, 32559, 63554, 25867, 61049, 27533, 54434, 20902, 56010, 18405, 49323, 19525, 51509, 12869, 48984, 14450, 42373, 11904, 44007, 5277, 37301, 6826, 34319, 809, 35951, 2391, 29247, 65408, 30925, 58850, 28367, 60391, 21745, 53260, 23923}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 31498, objArr12);
Object[] objArr13 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr12[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 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, objArr13);
} 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) {
Object[] objArr = new Object[1];
ay(new int[]{0, 26, CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 0}, false, new byte[]{0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{26, 18, CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = p + 121;
r = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = p + 1;
r = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 492, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - View.resolveSize(0, 0), KeyEvent.normalizeMetaState(0) + 5, (char) View.combineMeasuredStates(0, 0))).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 ay(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i = 2 % 2;
TVH tvh = new TVH();
int i2 = 0;
int i3 = iArr[0];
int i4 = iArr[1];
int i5 = iArr[2];
int i6 = iArr[3];
char[] cArr = l;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i2] = Integer.valueOf(cArr[i7]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c((PointF.length(f, f) > f ? 1 : (PointF.length(f, f) == f ? 0 : -1)) + 223, 4 - ImageFormat.getBitsPerPixel(i2), (char) (Gravity.getAbsoluteGravity(i2, i2) + 41977));
byte b = (byte) i2;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
i2 = 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[i4];
System.arraycopy(cArr, i3, cArr3, 0, i4);
if (bArr != null) {
char[] cArr4 = new char[i4];
tvh.c = 0;
char c = 0;
while (tvh.c < i4) {
if (bArr[tvh.c] == 1) {
int i8 = 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(501 - ImageFormat.getBitsPerPixel(0), View.getDefaultSize(0, 0) + 5, (char) (54 - (ViewConfiguration.getKeyRepeatDelay() >> 16)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i8] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
int i9 = $11 + 75;
$10 = i9 % 128;
int i10 = i9 % 2;
} else {
int i11 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(16 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 5 - View.resolveSizeAndState(0, 0, 0), (char) ((-16719082) - Color.rgb(0, 0, 0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i11] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 402, 5 - View.MeasureSpec.getMode(0), (char) (21608 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1))));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 2);
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 - 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i6 > 0) {
int i12 = $10 + 5;
$11 = i12 % 128;
if (i12 % 2 == 0) {
char[] cArr5 = new char[i4];
System.arraycopy(cArr3, 1, cArr5, 0, i4);
System.arraycopy(cArr5, 1, cArr3, i4 >> i6, i6);
System.arraycopy(cArr5, i6, cArr3, 1, i4 / i6);
} else {
char[] cArr6 = new char[i4];
System.arraycopy(cArr3, 0, cArr6, 0, i4);
int i13 = i4 - i6;
System.arraycopy(cArr6, 0, cArr3, i13, i6);
System.arraycopy(cArr6, i6, cArr3, 0, i13);
}
}
if (!(!z)) {
int i14 = $11 + 51;
$10 = i14 % 128;
int i15 = i14 % 2;
char[] cArr7 = new char[i4];
int i16 = 0;
while (true) {
tvh.c = i16;
if (tvh.c >= i4) {
break;
}
int i17 = $11 + 89;
$10 = i17 % 128;
if (i17 % 2 != 0) {
cArr7[tvh.c] = cArr3[tvh.c + i4];
i16 = tvh.c;
} else {
cArr7[tvh.c] = cArr3[(i4 - tvh.c) - 1];
i16 = tvh.c + 1;
}
}
cArr3 = cArr7;
}
if (i5 > 0) {
int i18 = 0;
while (true) {
tvh.c = i18;
if (tvh.c >= i4) {
break;
}
int i19 = $11 + 77;
$10 = i19 % 128;
int i20 = i19 % 2;
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i18 = 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() {
Method method;
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = r + 33;
p = i2 % 128;
if (i2 % 2 != 0) {
Object[] objArr = new Object[1];
ay(new int[]{0, 26, CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 0}, false, new byte[]{0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{26, 18, CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256, 0}, true, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
method = cls.getMethod((String) objArr2[0], new Class[1]);
} else {
Object[] objArr3 = new Object[1];
ay(new int[]{0, 26, CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 0}, false, new byte[]{0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new int[]{26, 18, CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
int i3 = r + 17;
p = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
int i5 = r + 47;
p = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
int i7 = p + 49;
r = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 492, AndroidCharacter.getMirror('0') - '+', (char) Color.green(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 488, (Process.myTid() >> 22) + 5, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr5);
} 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 = p + 79;
r = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{35154, 16958, 8081, 60264, 42192, 29109, 19717, 1704, 53828, 44859, 30915, 13346, 485, 56667, 38458, 25499, 16240, 2259}, 52067 - (ViewConfiguration.getPressedStateDuration() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{35166, 60319, 19660, 41253, 515}, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 25301, 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 + 101;
p = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i5 = r + 107;
p = i5 % 128;
if (i5 % 2 != 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 492, (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, (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("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{44, 48, 0, 14}, false, new byte[]{0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new int[]{92, 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];
ay(new int[]{CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, 64, 116, 38}, true, new byte[]{0, 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, 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}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{220, 74, 51, 28}, true, new byte[]{1, 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, 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}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new char[]{35082, 47002, 62469, 12936, 29471}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 16007, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{35158, 62021, 32559, 63554, 25867, 61049, 27533, 54434, 20902, 56010, 18405, 49323, 19525, 51509, 12869, 48984, 14450, 42373, 11904, 44007, 5277, 37301, 6826, 34319, 809, 35951, 2391, 29247, 65408, 30925, 58850, 28367, 60391, 21745, 53260, 23923}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 31510, 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((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 488, 4 - ExpandableListView.getPackedPositionChild(0L), (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).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 = p + 109;
r = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 == 0) {
throw null;
}
int i4 = p + 7;
r = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
}