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

766 lines
39 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.media.AudioTrack;
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.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 java.lang.reflect.Method;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.dqe, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC9796dqe extends BaseActivity implements fPA {
private volatile C13073fPt b;
private final Object k = new Object();
private boolean l = false;
private static final byte[] $$g = {0, PSSSigner.TRAILER_IMPLICIT, -126, 35};
private static final int $$h = 108;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int r = 1;
private static char[] m = {40075, 40204, 40194, 40192, 40219, 40199, 40205, 40162, 40165, 40218, 40187, 40148, 40202, 40219, 40194, 40207, 40199, 40216, 40032, 40146, 40153, 40145, 40173, 39994, 40039, 40056, 40057, 40032, 40034, 40058, 40017, 40019, 40059, 40037, 40033, 40045, 40041, 40033, 40037, 40039, 40037, 40069, 40206, 40164, 40165, 40167, 40205, 40195, 40204, 40205, 40186, 40187, 40166, 40207, 40215, 40214, 40212, 40206, 40165, 40187, 40166, 40160, 40207, 40195, 40195, 40205, 40205, 40205, 40195, 40194, 40204, 40207, 40166, 40164, 40164, 40167, 40207, 40204, 40164, 40207, 40207, 40207, 40200, 40164, 40204, 40208, 40214, 40213, 40206, 40013, 40088, 40082, 40092, 40093, 40048, 40018, 40031, 40061, 40088, 40065, 40071, 40070, 40069, 40088, 40089, 40069, 40091, 40068, 40064, 40065, 40064, 40071, 40077, 40071, 40090, 40058, 40061, 40088, 40089, 40091, 40067, 40068, 40091, 40076, 40068, 40083, 40061, 40036, 40088, 40091, 40069, 40091, 40091, 40092, 40083, 40091, 40069, 40091, 40037, 40038, 40069, 40088, 40056, 40038, 40070, 40090, 40058, 40058, 40091, 40068, 40064, 40090, 40083, 40061, 40060, 40050, 40030, 40036, 40089, 40089, 40069, 40093, 40083, 39959, 39992, 39992, 39992, 39972};
/* renamed from: o, reason: collision with root package name */
private static long f8894o = 2487797803671634286L;
/* 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:0x002a). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(short r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r6 = 78 - r6
int r7 = r7 + 4
int r8 = r8 * 3
int r0 = r8 + 1
byte[] r1 = o.AbstractActivityC9796dqe.$$g
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L13
r3 = r7
r6 = r8
r4 = r2
goto L2a
L13:
r3 = r2
L14:
byte r4 = (byte) r6
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r8) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L23:
int r7 = r7 + 1
r3 = r1[r7]
r5 = r3
r3 = r7
r7 = r5
L2a:
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC9796dqe.az(short, short, short, java.lang.Object[]):void");
}
public AbstractActivityC9796dqe() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dqe.2
private AbstractActivityC9796dqe c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.c.h();
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = r + 65;
t = i2 % 128;
int i3 = i2 % 2;
Object y_ = g().y_();
int i4 = r + 27;
t = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt g() {
if (this.b == null) {
synchronized (this.k) {
if (this.b == null) {
this.b = new C13073fPt(this);
}
}
}
return this.b;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0024, code lost:
r5.l = false;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x002a, code lost:
((o.InterfaceC9854drj) y_()).c((com.scb.phone.view.activity.ReviewSuccessfulActivity) r5);
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0027, code lost:
r5.l = true;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0019, code lost:
if (r5.l == false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if (r5.l == false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x001b, code lost:
r2 = r2 + 37;
o.AbstractActivityC9796dqe.r = r2 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0022, code lost:
if ((r2 % 2) != 0) goto L12;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
protected void h() {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.AbstractActivityC9796dqe.r
int r1 = r1 + 79
int r2 = r1 % 128
o.AbstractActivityC9796dqe.t = r2
int r1 = r1 % r0
r3 = 0
if (r1 == 0) goto L17
boolean r1 = r5.l
r4 = 79
int r4 = r4 / r3
if (r1 != 0) goto L36
goto L1b
L17:
boolean r1 = r5.l
if (r1 != 0) goto L36
L1b:
int r2 = r2 + 37
int r1 = r2 % 128
o.AbstractActivityC9796dqe.r = r1
int r2 = r2 % r0
if (r2 != 0) goto L27
r5.l = r3
goto L2a
L27:
r1 = 1
r5.l = r1
L2a:
java.lang.Object r1 = r5.y_()
o.drj r1 = (o.InterfaceC9854drj) r1
r2 = r5
com.scb.phone.view.activity.ReviewSuccessfulActivity r2 = (com.scb.phone.view.activity.ReviewSuccessfulActivity) r2
r1.c(r2)
L36:
int r1 = o.AbstractActivityC9796dqe.t
int r1 = r1 + 97
int r2 = r1 % 128
o.AbstractActivityC9796dqe.r = r2
int r1 = r1 % r0
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC9796dqe.h():void");
}
@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 = r + 67;
t = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
} else {
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i4 = t + 123;
r = i4 % 128;
if (i4 % 2 != 0) {
return aBN_;
}
throw null;
}
private static void ay(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 - TextUtils.getTrimmedLength(""), 5 - Color.blue(0), (char) (ExpandableListView.getPackedPositionGroup(0L) + 21608));
byte b = $$g[0];
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
az(b2, (byte) (-b2), 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() ^ (f8894o ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(239 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) TextUtils.indexOf("", "", 0, 0));
byte b3 = $$g[0];
byte b4 = b3;
Object[] objArr5 = new Object[1];
az(b4, (byte) (b4 - 1), b3, 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 = $10 + 109;
$11 = i4 % 128;
while (true) {
int i5 = i4 % 2;
if (c4593bdB.e >= cArr.length) {
break;
}
int i6 = $10 + 121;
$11 = i6 % 128;
int i7 = i6 % 2;
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 - (Process.myPid() >> 22), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b5 = $$g[0];
byte b6 = b5;
Object[] objArr7 = new Object[1];
az(b6, (byte) (b6 - 1), b5, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
i4 = $11 + 123;
$10 = i4 % 128;
}
String str = new String(cArr2);
int i8 = $10 + 29;
$11 = i8 % 128;
if (i8 % 2 != 0) {
objArr[0] = str;
} else {
int i9 = 52 / 0;
objArr[0] = str;
}
}
@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 + 69;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{0, 18, 160, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{18, 5, 115, 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];
ay(new char[]{21193, 31525, 266, 12147, 62795, 33710, 43422, 30643, 7633, 10787, 61446, 40519, 42061, 29260, 6326, 9868, 52462, 39634, 41770, 18696, 5952, 15711, 52056, 37288, 49025, 17895}, 10723 - Color.argb(0, 0, 0, 0), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new int[]{23, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ax(new int[]{41, 48, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 4}, true, new byte[]{0, 0, 1, 0, 1, 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}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{21197, 56101, 16704, 52992, 29986, 58209, 26886, 38680, 7605, 35834, 12748, 49115, 9646, 21437, 55693, 18328, 52334, 31299, 57431, 28199, 37991, 517, 34883, 14053, 48371, 10953, 20702, 57086, 17598, 62082, 30874, 57697, 28543, 38224, 803, 35172, 14081, 48411, 11184, 20899, 57286, 17805, 62463, 31163, 59273, 28058, 39532, '+', 36380, 13359, 41568, 10242, 22087, 56555, 19191, 61587, 32472, 58620, 4799, 39045, 1690, 36665, 13611, 41756}, 35312 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{21193, 24777, 13866, 50576, 39853, 43302, 31963, 12962, 49234, 38832, 42465, 31518, 3814, 56345, 37446, 41383, 30553, 1315, 55436, 60931, 48237, 29653, 313, 55141, 60051, 47137, 20420, 7598, 54060, 59019, 46335, 18955, 6588, 12211, 64795, 45238, 17945, 5191, 11183, 63766, 36725, 17113, 4103, 9832, 62850, 35694, 22880, 27802, 8826, 61892, 34808, 21803, 26762, 16124, 52318, 33745, 20960, 26392, 15076, 51274, 40513, 44453, 25413, 12664}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.view_all_request).substring(17, 19).codePointAt(1) + 12827, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new int[]{89, 74, 37, 0}, false, new byte[]{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, 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}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(new int[]{CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, 5, 0, 0}, false, new byte[]{1, 1, 0, 0, 0}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new char[]{21197, 28180, 11040, 58379, 41400, 25280, 16306, 63635, 46189, 29019, 12858, 53170, 34966, 17852, 1674, 49769, 40777, 22580, 5391, 54958, 37774, 44268, 26677, 9566, 58914, 41822, 31976, 14726, 64179, 47044, 29485, 3166, 51516, 35552, 18371, 250}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ccr_email_is_not_set_yet).substring(58, 59).length() + 15580, 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(487 - (KeyEvent.getMaxKeyCode() >> 16), 5 - Gravity.getAbsoluteGravity(0, 0), (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, objArr11);
int i4 = r + 1;
t = i4 % 128;
int i5 = i4 % 2;
} 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 + 63;
r = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{21193, 31525, 266, 12147, 62795, 33710, 43422, 30643, 7633, 10787, 61446, 40519, 42061, 29260, 6326, 9868, 52462, 39634, 41770, 18696, 5952, 15711, 52056, 37288, 49025, 17895}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_check_eligibility_open_scbs_remark_2).substring(CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384, CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256).codePointAt(0) + 10691, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{23, 18, 0, 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 i3 = t + 27;
r = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
int i5 = r + 123;
t = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.makeMeasureSpec(0, 0), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) Gravity.getAbsoluteGravity(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(488 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), KeyEvent.getDeadChar(0, 0) + 5, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).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 ax(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2;
char[] cArr;
char c;
int i3 = 2 % 2;
TVH tvh = new TVH();
char c2 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr2 = m;
int i8 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[c2] = Integer.valueOf(cArr2[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - (Process.myTid() >> 22), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + i8, (char) (AndroidCharacter.getMirror('0') + 41929));
byte b = $$g[c2];
Object[] objArr3 = new Object[1];
az((byte) 7, (byte) (b - 1), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
c2 = 0;
i8 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i5];
System.arraycopy(cArr2, i4, cArr4, 0, i5);
if (bArr != null) {
int i10 = $11 + 17;
$10 = i10 % 128;
if (i10 % 2 != 0) {
cArr = new char[i5];
tvh.c = 1;
c = 1;
} else {
cArr = new char[i5];
tvh.c = 0;
c = 0;
}
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i11 = $10 + 43;
$11 = i11 % 128;
if (i11 % 2 == 0) {
int i12 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (Gravity.getAbsoluteGravity(0, 0) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
throw null;
}
int i13 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(502 - View.MeasureSpec.getSize(0), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) (TextUtils.getOffsetAfter("", 0) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr[i13] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
} else {
int i14 = tvh.c;
try {
Object[] objArr6 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 15, 5 - (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)), (char) (58134 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr[i14] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
c = cArr[tvh.c];
Object[] objArr7 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(402 - ((Process.getThreadPriority(0) + 20) >> 6), TextUtils.indexOf("", "", 0) + 5, (char) (21608 - (ViewConfiguration.getFadingEdgeLength() >> 16)));
byte b2 = $$g[0];
Object[] objArr8 = new Object[1];
az((byte) 5, (byte) (b2 - 1), b2, objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr7);
int i15 = $11 + 111;
$10 = i15 % 128;
int i16 = i15 % 2;
}
int i17 = $11 + 49;
$10 = i17 % 128;
i = 2;
int i18 = i17 % 2;
cArr4 = cArr;
} else {
i = 2;
}
if (i7 > 0) {
int i19 = $10 + 117;
$11 = i19 % 128;
if (i19 % i == 0) {
char[] cArr5 = new char[i5];
i2 = 0;
System.arraycopy(cArr4, 0, cArr5, 0, i5);
System.arraycopy(cArr5, 1, cArr4, i5 >> i7, i7);
System.arraycopy(cArr5, i7, cArr4, 0, i5 * i7);
} else {
i2 = 0;
char[] cArr6 = new char[i5];
System.arraycopy(cArr4, 0, cArr6, 0, i5);
int i20 = i5 - i7;
System.arraycopy(cArr6, 0, cArr4, i20, i7);
System.arraycopy(cArr6, i7, cArr4, 0, i20);
}
} else {
i2 = 0;
}
if (z) {
char[] cArr7 = new char[i5];
while (true) {
tvh.c = i2;
if (tvh.c >= i5) {
break;
}
int i21 = $11 + 97;
$10 = i21 % 128;
if (i21 % 2 != 0) {
cArr7[tvh.c] = cArr4[tvh.c * i5];
i2 = tvh.c;
} else {
cArr7[tvh.c] = cArr4[(i5 - tvh.c) - 1];
i2 = tvh.c + 1;
}
}
cArr4 = cArr7;
}
if (i6 > 0) {
int i22 = 0;
while (true) {
tvh.c = i22;
if (tvh.c >= i5) {
break;
}
int i23 = $11 + 123;
$10 = i23 % 128;
int i24 = i23 % 2;
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i22 = tvh.c + 1;
}
}
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;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{21193, 31525, 266, 12147, 62795, 33710, 43422, 30643, 7633, 10787, 61446, 40519, 42061, 29260, 6326, 9868, 52462, 39634, 41770, 18696, 5952, 15711, 52056, 37288, 49025, 17895}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.onboarding_registration_push_sub_title).substring(18, 19).codePointAt(0) + 10626, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{23, 18, 0, 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);
int i2 = r + 61;
t = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 3 % 2;
}
}
if (baseContext != null) {
int i4 = t + 9;
r = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 492, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (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((ViewConfiguration.getJumpTapTimeout() >> 16) + 487, KeyEvent.keyCodeFromString("") + 5, (char) View.getDefaultSize(0, 0))).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();
int i6 = r + 115;
t = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = r + 115;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new int[]{0, 18, 160, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{18, 5, 115, 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 = r + 73;
t = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i6 = t + 105;
r = i6 % 128;
if (i6 % 2 == 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
int i7 = t + 89;
r = i7 % 128;
int i8 = i7 % 2;
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0), 5 - Color.red(0), (char) TextUtils.indexOf("", "", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new int[]{41, 48, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 4}, true, new byte[]{0, 0, 1, 0, 1, 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}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{21197, 56101, 16704, 52992, 29986, 58209, 26886, 38680, 7605, 35834, 12748, 49115, 9646, 21437, 55693, 18328, 52334, 31299, 57431, 28199, 37991, 517, 34883, 14053, 48371, 10953, 20702, 57086, 17598, 62082, 30874, 57697, 28543, 38224, 803, 35172, 14081, 48411, 11184, 20899, 57286, 17805, 62463, 31163, 59273, 28058, 39532, '+', 36380, 13359, 41568, 10242, 22087, 56555, 19191, 61587, 32472, 58620, 4799, 39045, 1690, 36665, 13611, 41756}, View.MeasureSpec.makeMeasureSpec(0, 0) + 35311, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{21193, 24777, 13866, 50576, 39853, 43302, 31963, 12962, 49234, 38832, 42465, 31518, 3814, 56345, 37446, 41383, 30553, 1315, 55436, 60931, 48237, 29653, 313, 55141, 60051, 47137, 20420, 7598, 54060, 59019, 46335, 18955, 6588, 12211, 64795, 45238, 17945, 5191, 11183, 63766, 36725, 17113, 4103, 9832, 62850, 35694, 22880, 27802, 8826, 61892, 34808, 21803, 26762, 16124, 52318, 33745, 20960, 26392, 15076, 51274, 40513, 44453, 25413, 12664}, ((Process.getThreadPriority(0) + 20) >> 6) + 12889, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new int[]{89, 74, 37, 0}, false, new byte[]{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, 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}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new int[]{CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, 5, 0, 0}, false, new byte[]{1, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{21197, 28180, 11040, 58379, 41400, 25280, 16306, 63635, 46189, 29019, 12858, 53170, 34966, 17852, 1674, 49769, 40777, 22580, 5391, 54958, 37774, 44268, 26677, 9566, 58914, 41822, 31976, 14726, 64179, 47044, 29485, 3166, 51516, 35552, 18371, 250}, Color.blue(0) + 15581, 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(AndroidCharacter.getMirror('0') + 439, (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) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 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, 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 + 121;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 83;
r = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
}