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

685 lines
42 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.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
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.BaseActivityWithFragment;
import com.scb.phone.view.activity.ntb.fillinformation.OccupationSearchActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
/* renamed from: o.edX, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11341edX extends BaseActivityWithFragment implements fPA {
private volatile C13073fPt b;
private final Object m = new Object();
/* renamed from: o, reason: collision with root package name */
private boolean f8977o = false;
private static final byte[] $$E = {61, 7, ISO7816.INS_READ_RECORD_STAMPED, 119};
private static final int $$F = 103;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int r = 1;
private static char[] k = {16313, 16310, 16316, 16298, 16311, 16305, 15990, 16299, 16264, 16315, 16317, 16296, 16281, 16300, 16302, 16289, 16268, 16304, 16301, 16308, 15969, 15968, 15976};
private static int l = 1934311000;
private static boolean t = true;
private static boolean q = true;
private static long s = -6801605039545703766L;
/* 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:0x0028). 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 aJ(short r5, byte r6, byte r7, java.lang.Object[] r8) {
/*
int r7 = r7 + 65
byte[] r0 = o.AbstractActivityC11341edX.$$E
int r5 = r5 * 2
int r1 = 1 - r5
int r6 = r6 * 3
int r6 = 4 - r6
byte[] r1 = new byte[r1]
r2 = 0
int r5 = 0 - r5
if (r0 != 0) goto L16
r3 = r5
r4 = r2
goto L28
L16:
r3 = r2
L17:
byte r4 = (byte) r7
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r5) goto L26
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L26:
r3 = r0[r6]
L28:
int r3 = -r3
int r6 = r6 + 1
int r7 = r7 + r3
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11341edX.aJ(short, byte, byte, java.lang.Object[]):void");
}
public AbstractActivityC11341edX() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.edX.3
private AbstractActivityC11341edX b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.b.j();
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = p + 73;
r = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
h().y_();
obj.hashCode();
throw null;
}
Object y_ = h().y_();
int i3 = p + 73;
r = i3 % 128;
if (i3 % 2 != 0) {
return y_;
}
throw null;
}
private C13073fPt h() {
if (this.b == null) {
synchronized (this.m) {
if (this.b == null) {
this.b = new C13073fPt(this);
}
}
}
return this.b;
}
protected void j() {
int i = 2 % 2;
int i2 = r;
int i3 = i2 + 51;
p = i3 % 128;
int i4 = i3 % 2;
if (!this.f8977o) {
int i5 = i2 + 59;
p = i5 % 128;
int i6 = i5 % 2;
this.f8977o = true;
((InterfaceC11397eea) y_()).d((OccupationSearchActivity) this);
}
int i7 = p + 17;
r = i7 % 128;
int i8 = i7 % 2;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
int i2 = r + 83;
p = 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 = p + 25;
r = i4 % 128;
int i5 = i4 % 2;
bundle = getIntent().getExtras();
} else {
int i6 = r + 51;
p = i6 % 128;
int i7 = i6 % 2;
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aI(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 = $10 + 51;
$11 = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 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(403 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - View.MeasureSpec.getSize(0), (char) (21607 - Process.getGidForName("")));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aJ(b, b2, (byte) (b2 | 12), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i4] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() * (s - (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - (KeyEvent.getMaxKeyCode() >> 16), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aJ(b3, b4, (byte) (b4 | 13), 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;
}
} else {
int i5 = c4593bdB.e;
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 402, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (Color.argb(0, 0, 0, 0) + 21608));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aJ(b5, b6, (byte) (b6 | 12), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i5] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (s ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(238 - Color.alpha(0), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
aJ(b7, b8, (byte) (b8 | 13), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
int i6 = $10 + 51;
$11 = i6 % 128;
int i7 = i6 % 2;
while (c4593bdB.e < cArr.length) {
int i8 = $11 + 121;
$10 = i8 % 128;
int i9 = i8 % 2;
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr10 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 238, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr11 = new Object[1];
aJ(b9, b10, (byte) (b10 | 13), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
}
objArr[0] = new String(cArr2);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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;
Object[] objArr = new Object[1];
aG(null, null, TextUtils.indexOf((CharSequence) "", '0') + 128, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{12545, 51022, 56719, 53780, 59492}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.single_form_investment_info_footer).substring(212, 213).codePointAt(0) + 63035, 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 + 51;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 114, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aG(null, null, 127 - (Process.myPid() >> 22), new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -108, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.CHANNEL_SECURITY, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, -109, ISOFileInfo.LCS_BYTE}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = p + 45;
r = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Color.argb(0, 0, 0, 0), KeyEvent.getDeadChar(0, 0) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aI(new char[]{12637, 5950, 32146, 16929, 43211, 36598, 55124, 15822, 550, 26840, 20140, 38746, 64995, 49711, 10457, 3775, 22366, 48618, 33348, 59435, 52923, 5905, 32163, 16966, 43122, 36487, 55117, 15870, 515, 26660, 20190, 38758, 65021, 49756, 10302, 3730, 22334, 48528, 33776, 59501, 52886, 6005, 32199, 17326, 43091, 36501, 55087, 15827}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.error_scan_barcode_not_found_title).substring(16, 17).codePointAt(0) + 9797, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new char[]{12553, 9169, 5348, 2452, 31270, 28501, 16482, 46412, 42993, 39054, 36328, 65231, 54058, 50185, 14697, 10828, 7338, 29079, 25331, 22483, 18531, 48401, 44583, 33617, 62903, 59037, 56314, 52362, 8506, 4630, 1918, 30805, 27323, 24548, 45255, 42352, 38405, 35695, 64532, 61175, 50050, 13497, 10651, 6703, 3853, 24686, 21832, 18431, 47320, 44539, 40580, 62262, 58435, 55679, 51795, 15591, 4508, 680, 30683, 26673, 23838, 20013, 41743, 38376}, (ViewConfiguration.getWindowTouchSlop() >> 8) + 4831, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{12557, 22021, 65534, 1196, 44105, 13770, 23279, 57918, 3030, 37004, 14453, 16754, 59074, 3653, 38706, 15595, 17437, 60783, 29368, 39519, 8969, 18681, 53677, 31001, 40599, 10173, 20272, 54402, 32136, 34167, 10795, 46023, 56184, 24703, 35279, 4426, 46653, 57323, 26459, 35850, 5617, 47781, 49683, 27588, 61670, 6194, 41428, 50902, 28222, 63368, 7308, 42103, 52526, 21136, 64074, 877, 43236, 12292, 22864, 65190, 1957, 44825, 13457, 23988}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 26415, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new char[]{12548, 53415, 62054, 37921, 47075, 23021, 31545, 7546, 15591, 57010, 57467, 33332, 42491, 18352, 26995, 2864, 11001, 52401, 61025, 61480, 37857, 46507, 22372, 31012, 6378, 15008, 56356, 65085, 33248, 41917, 17771, 26412, 1784, 10384, 51795, 60418, 36804, 37337, 45905, 21760, 29909, 5769, 14430, 55818, 64969, 40842, 41311, 17167, 25305, 1229, 9793, 51214, 60365, 36296, 44871, 45333, 20685, 29380, 5187, 13831, 55759, 64394, 40285, 48921, 24195, 24677, 608, 9662, 51125, 59745, 35635, 43771, 19616, 28264}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 57757, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-105, ISOFileInfo.FCI_EXT, -106, ISOFileInfo.FCI_EXT, -107}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aI(new char[]{12553, 8946, 5792, 2725, 32500, 21166, 18082, 47781, 44729, 33453, 63146, 60156, 57082, 12978, 9898, 6831, 3757, 25266, 22191, 19168, 48866, 37602, 34533, 64168, 61110, 49896, 14008, 10984, 7871, 29418, 26349, 23224, 20152, 41606, 38531, 35540}, 5119 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 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 - (ViewConfiguration.getJumpTapTimeout() >> 16), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) TextUtils.getTrimmedLength(""))).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 i6 = r + 65;
p = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void aG(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
Object method;
int length;
char[] cArr2;
int i2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = k;
if (cArr3 != null) {
int i4 = $11 + 85;
$10 = i4 % 128;
if (i4 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
i2 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i2 = 0;
}
while (i2 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i2])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (ViewConfiguration.getFadingEdgeLength() >> 16), (Process.myTid() >> 22) + 5, (char) View.resolveSize(0, 0));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aJ(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr2[i2] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i2++;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(l)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 282, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (39812 - MotionEvent.axisFromString("")));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aJ(b3, b4, (byte) (b4 | 57), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (q) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
try {
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 40, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) Color.blue(0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr4);
return;
}
if (!t) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i5 = $11 + 99;
$10 = i5 % 128;
if (i5 % 2 != 0) {
cArr6[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c >> 1) * c3614bBe.a] / i] / intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 39, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
} else {
cArr6[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 != null) {
method = obj5;
} else {
method = ((Class) xzZ.c(41 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, method);
}
((Method) method).invoke(null, objArr8);
}
}
objArr[0] = new String(cArr6);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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];
aG(null, null, 127 - View.MeasureSpec.getMode(0), new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 81, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -108, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.CHANNEL_SECURITY, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, -109, ISOFileInfo.LCS_BYTE}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = p + 19;
r = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = p + 37;
r = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 492, 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 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(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - TextUtils.lastIndexOf("", '0', 0, 0), (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) Color.alpha(0))).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((ViewConfiguration.getFadingEdgeLength() >> 16) + 492, 5 - Color.blue(0), (char) TextUtils.getOffsetAfter("", 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((ViewConfiguration.getJumpTapTimeout() >> 16) + 487, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).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();
int i5 = r + 7;
p = i5 % 128;
int i6 = i5 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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 = p + 99;
r = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aG(null, null, View.resolveSizeAndState(0, 0, 0) + 127, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -108, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.CHANNEL_SECURITY, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, -109, ISOFileInfo.LCS_BYTE}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i3 = r + 105;
p = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = r + 7;
p = i5 % 128;
try {
if (i5 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(MotionEvent.axisFromString("") + 488, View.getDefaultSize(0, 0) + 5, (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = 88 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(491 - Process.getGidForName(""), View.MeasureSpec.getMode(0) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0')))).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(487 - (ViewConfiguration.getLongPressTimeout() >> 16), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (ViewConfiguration.getTapTimeout() >> 16))).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.BaseActivityWithFragment, 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 = r + 53;
p = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(null, null, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 126, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{12545, 51022, 56719, 53780, 59492}, 63067 - Color.alpha(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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 492, 5 - Color.green(0), (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aI(new char[]{12637, 5950, 32146, 16929, 43211, 36598, 55124, 15822, 550, 26840, 20140, 38746, 64995, 49711, 10457, 3775, 22366, 48618, 33348, 59435, 52923, 5905, 32163, 16966, 43122, 36487, 55117, 15870, 515, 26660, 20190, 38758, 65021, 49756, 10302, 3730, 22334, 48528, 33776, 59501, 52886, 6005, 32199, 17326, 43091, 36501, 55087, 15827}, (-16767387) - Color.rgb(0, 0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aI(new char[]{12553, 9169, 5348, 2452, 31270, 28501, 16482, 46412, 42993, 39054, 36328, 65231, 54058, 50185, 14697, 10828, 7338, 29079, 25331, 22483, 18531, 48401, 44583, 33617, 62903, 59037, 56314, 52362, 8506, 4630, 1918, 30805, 27323, 24548, 45255, 42352, 38405, 35695, 64532, 61175, 50050, 13497, 10651, 6703, 3853, 24686, 21832, 18431, 47320, 44539, 40580, 62262, 58435, 55679, 51795, 15591, 4508, 680, 30683, 26673, 23838, 20013, 41743, 38376}, (Process.myTid() >> 22) + 4831, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new char[]{12557, 22021, 65534, 1196, 44105, 13770, 23279, 57918, 3030, 37004, 14453, 16754, 59074, 3653, 38706, 15595, 17437, 60783, 29368, 39519, 8969, 18681, 53677, 31001, 40599, 10173, 20272, 54402, 32136, 34167, 10795, 46023, 56184, 24703, 35279, 4426, 46653, 57323, 26459, 35850, 5617, 47781, 49683, 27588, 61670, 6194, 41428, 50902, 28222, 63368, 7308, 42103, 52526, 21136, 64074, 877, 43236, 12292, 22864, 65190, 1957, 44825, 13457, 23988}, 26449 - (ViewConfiguration.getWindowTouchSlop() >> 8), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new char[]{12548, 53415, 62054, 37921, 47075, 23021, 31545, 7546, 15591, 57010, 57467, 33332, 42491, 18352, 26995, 2864, 11001, 52401, 61025, 61480, 37857, 46507, 22372, 31012, 6378, 15008, 56356, 65085, 33248, 41917, 17771, 26412, 1784, 10384, 51795, 60418, 36804, 37337, 45905, 21760, 29909, 5769, 14430, 55818, 64969, 40842, 41311, 17167, 25305, 1229, 9793, 51214, 60365, 36296, 44871, 45333, 20685, 29380, 5187, 13831, 55759, 64394, 40285, 48921, 24195, 24677, 608, 9662, 51125, 59745, 35635, 43771, 19616, 28264}, 57792 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(null, null, 128 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), new byte[]{-105, ISOFileInfo.FCI_EXT, -106, ISOFileInfo.FCI_EXT, -107}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new char[]{12553, 8946, 5792, 2725, 32500, 21166, 18082, 47781, 44729, 33453, 63146, 60156, 57082, 12978, 9898, 6831, 3757, 25266, 22191, 19168, 48866, 37602, 34533, 64168, 61110, 49896, 14008, 10984, 7871, 29418, 26349, 23224, 20152, 41606, 38531, 35540}, 5118 - ((byte) KeyEvent.getModifierMetaStateMask()), 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 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i4 = r + 115;
p = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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 + 97;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 11;
r = i4 % 128;
int i5 = i4 % 2;
}
}