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

640 lines
38 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.graphics.drawable.Drawable;
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.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.sme.gifting.GiftingActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13068fPo;
import o.VLM;
import okhttp3.internal.http2.Http2Connection;
import org.jnbis.internal.NistHelper;
/* renamed from: o.enQ, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11864enQ extends BaseActivity implements fPA {
private volatile C13073fPt m;
private static final byte[] $$p = {16, ISO7816.INS_MANAGE_CHANNEL, -67, -78};
private static final int $$q = 72;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int t = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f9057o = {49117, 49116, 49028, 49098, 49054, 49088, 49110, 49030, 49093, 49123, 49024, 49027, 49138, 49111, 49104, 49106, 49114, 49118, 49035, 49025, 49127, 49053, 49089, 49094, 49091, 49115, 49126, 49107, 49095, 49119, 49026, 49031, 49034, 49029, 49105, 49109};
private static char l = 35375;
private static long p = 7608882498398068869L;
private final Object k = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x002b). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(short r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 4
int r8 = r8 * 2
int r0 = r8 + 1
int r6 = 121 - r6
byte[] r1 = o.AbstractActivityC11864enQ.$$p
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L12
r3 = r7
r4 = r2
goto L2b
L12:
r3 = r2
L13:
int r7 = r7 + 1
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r8) goto L22
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L22:
int r3 = r3 + 1
r4 = r1[r7]
r5 = r7
r7 = r6
r6 = r4
r4 = r3
r3 = r5
L2b:
int r6 = -r6
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11864enQ.aC(short, byte, short, java.lang.Object[]):void");
}
public AbstractActivityC11864enQ() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.enQ.3
private AbstractActivityC11864enQ a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11864enQ abstractActivityC11864enQ = this.a;
if (abstractActivityC11864enQ.b) {
return;
}
abstractActivityC11864enQ.b = true;
((InterfaceC11893ent) abstractActivityC11864enQ.y_()).c((GiftingActivity) abstractActivityC11864enQ);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = s + 71;
t = i2 % 128;
int i3 = i2 % 2;
Object y_ = h().y_();
int i4 = t + 91;
s = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt h() {
if (this.m == null) {
synchronized (this.k) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
private static void aB(char[] cArr, int i, Object[] objArr) {
Object obj;
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(p ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (true) {
obj = null;
if (guL.a >= a.length) {
break;
}
int i3 = $11 + 21;
$10 = i3 % 128;
int i4 = i3 % 2;
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(p)};
Object obj2 = xzZ.y.get(428080616);
if (obj2 == null) {
Class cls = (Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 208, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (1705 - TextUtils.indexOf((CharSequence) "", '0')));
byte b = (byte) 2;
byte b2 = (byte) (b - 3);
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 + 1), objArr3);
obj2 = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj2);
}
a[i5] = ((Character) ((Method) obj2).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {guL, guL};
Object obj3 = xzZ.y.get(-1875914398);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 391, (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) View.MeasureSpec.makeMeasureSpec(0, 0));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 + 1), objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj3);
}
((Method) obj3).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
String str = new String(a, 4, a.length - 4);
int i6 = $11 + 53;
$10 = i6 % 128;
if (i6 % 2 == 0) {
objArr[0] = str;
} else {
obj.hashCode();
throw null;
}
}
@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 = t + 87;
s = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
int i4 = t + 5;
s = i4 % 128;
int i5 = i4 % 2;
} else {
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
@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;
Object[] objArr = new Object[1];
aA(new char[]{'\f', 3, 16, 19, 4, '\r', 15, 19, 2, 0, 27, 15, 19, 4, '\f', '\b', 13907, 13907}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 5), 18 - (Process.myTid() >> 22), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{15, 5, NistHelper.SEP_FS, 14, 13866}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.default_button).substring(0, 1).length() + 43), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, 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];
aA(new char[]{'\f', 3, 16, 19, 4, '\r', 15, 19, '\f', 27, 27, 18, '\r', 15, '\"', 22, '\n', 14, 27, 4, 19, 26, 18, '\n', 16, 14}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.billpayment_bnpl_coin_more_detail_description_2_1).substring(0, 43).codePointAt(3) - 3557), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new char[]{17, 20, 13885, 13885, '\f', 6, 24, 16, 13887, 13887, NistHelper.SEP_FS, 17, 15, 16, '\"', 22, 2, 1}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.single_form_om_description).substring(51, 52).length() + 84), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 80, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i2 = t + 37;
s = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = t + 105;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, TextUtils.indexOf("", "") + 5, (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new char[]{' ', 0, ' ', '#', '\b', 16, '!', 17, '#', '!', 21, '\r', 16, 4, 6, 22, 4, 16, 20, 19, 7, '\"', 14, '!', 30, '\"', '\r', '\b', 20, 2, '\f', 31, 31, 6, 24, 0, 30, 11, 13884, 13884, 25, 1, 31, '\b', '\f', 20, 7, 30}, (byte) (68 - Color.green(0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.activate_card_info).substring(65, 66).length() + 47, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{'\n', 30, 30, '\t', '\"', '#', ' ', '!', 7, '\b', 21, 31, 21, 31, 0, ' ', '\"', ' ', 31, 18, 15, ' ', '\r', '!', '\t', '\"', '\b', 17, 20, 31, 6, 23, 13795, 13795, '\t', '\r', 6, 19, 13870, 13870, '\"', '#', 21, 3, 6, 31, '\"', '#', '\f', 19, ' ', 5, '\f', 20, '\n', 31, 20, '\f', 0, 24, '\"', '#', '\f', '\t'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.speedy_loan_topup_title).substring(11, 12).length() + 53), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{16869, 16772, 20566, 43188, 63734, 2418, 38601, 41708, 31860, 35879, 56331, 45543, 34567, 61381, 45509, 52559, 60351, 62320, 37550, 59530, 52260, 54862, 30272, 1130, 12508, 14724, 27641, 10192, 5622, 7460, 20272, 17135, 30213, 24786, 8391, 24182, 23185, 17454, 1511, 31119, 49016, 42982, 63775, 38259, 41920, 35468, 55939, 45273, 34043, 61031, 48744, 52247, 59751, 61833, 37844, 61218, 52635, 54605, 29886, 2756, 11877, 14525, 26736, 9771, 4808, 7068, 19933, 16869}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_loan_requestor_name_error).substring(32, 33).codePointAt(0) - 32, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{19725, 19813, 56166, 9160, 17057, 45921, 27372, 44566, 32786, 1822, 26194, 19915, 35758, 25765, 2948, 12577, 59222, 30747, 10464, 5305, 49352, 23918, 52310, 63573, 15460, 45800, 53695, 56293, 6419, 38471, 62827, 48792, 31421, 60326, 39560, 41493, 22073, 53023, 49140, 34223, 46033, 11466, 17242, 26961, 44924, 510, 24769, 19711, 34820, 25921, 1068, 12390, 58760, 31474, 10646, 4883, 49448, 24171, 52988, 63156, 8916, 46019, 53868, 55874, 7794, 37105, 63454, 48576, 31650, 62538, 39783, 41267, 21632, 51666, 47256, 33802, 45097, 11583}, ViewConfiguration.getTapTimeout() >> 16, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new char[]{36174, 36215, 27629, 37657, 27324, 39728, 408, 28182, 60216}, (-1) - TextUtils.lastIndexOf("", '0'), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new char[]{'\t', '\f', 25, 1, 14, 31, '#', 7, 3, '\"', 6, 7, 4, '\n', 1, 25, 13780, 13780, 3, 16, 30, '\n', 16, 2, 20, '\r', 21, '\r', 0, '\b', '\r', '\b', 1, '\r', 0, '\f'}, (byte) (TextUtils.indexOf("", "") + 41), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 73, 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 - TextUtils.getOffsetAfter("", 0), '5' - AndroidCharacter.getMirror('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 i6 = s + 89;
t = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
/* JADX WARN: Code restructure failed: missing block: B:30:0x0023, code lost:
r8 = (java.lang.Object[]) null;
r8 = new java.lang.Object[1];
aA(new char[]{'\f', 3, 16, 19, 4, '\r', 15, 19, '\f', 27, 27, 18, '\r', 15, '\"', 22, '\n', 14, 27, 4, 19, 26, 18, '\n', 16, 14}, (byte) (android.graphics.drawable.Drawable.resolveOpacity(0, 0) + 91), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 20, r8);
r2 = java.lang.Class.forName((java.lang.String) r8[0]);
r9 = new java.lang.Object[1];
aA(new char[]{17, 20, 13885, 13885, '\f', 6, 24, 16, 13887, 13887, org.jnbis.internal.NistHelper.SEP_FS, 17, 15, 16, '\"', 22, 2, 1}, (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 25), 18 - (android.view.ViewConfiguration.getKeyRepeatTimeout() >> 16), r9);
r2 = (android.content.Context) r2.getMethod((java.lang.String) r9[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x0021, code lost:
if (r2 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost:
if (r2 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onResume() {
/*
Method dump skipped, instructions count: 416
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11864enQ.onResume():void");
}
@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();
Object obj = null;
if (baseContext == null) {
int i2 = t + 121;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{'\f', 3, 16, 19, 4, '\r', 15, 19, '\f', 27, 27, 18, '\r', 15, '\"', 22, '\n', 14, 27, 4, 19, 26, 18, '\n', 16, 14}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.btn_text_return_to_pointx).substring(9, 17).codePointAt(1) + 11), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 85, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{17, 20, 13885, 13885, '\f', 6, 24, 16, 13887, 13887, NistHelper.SEP_FS, 17, 15, 16, '\"', 22, 2, 1}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.material_minute_suffix).substring(0, 5).length() + 80), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.bond_review_additional_info).substring(42, 43).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = s + 21;
t = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 491, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 487, (-16777211) - Color.rgb(0, 0, 0), (char) TextUtils.indexOf("", "", 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - TextUtils.getOffsetAfter("", 0), KeyEvent.normalizeMetaState(0) + 5, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(487 - TextUtils.indexOf("", ""), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) View.resolveSize(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aA(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
char c;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = f9057o;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
for (int i4 = 0; i4 < length; i4++) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i4])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(MotionEvent.axisFromString("") + 299, 5 - View.resolveSize(0, 0), (char) (Process.myTid() >> 22));
byte length2 = (byte) $$p.length;
byte b2 = (byte) (length2 - 5);
Object[] objArr3 = new Object[1];
aC(length2, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(l)};
Object obj2 = xzZ.y.get(-1987398494);
char c2 = 6;
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(299 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) ExpandableListView.getPackedPositionGroup(0L));
byte length3 = (byte) $$p.length;
byte b3 = (byte) (length3 - 5);
Object[] objArr5 = new Object[1];
aC(length3, b3, (byte) (b3 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i5 = $11 + 63;
$10 = i5 % 128;
int i6 = i5 % 2;
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
int i7 = $10 + 97;
$11 = i7 % 128;
int i8 = i7 % 2;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i9 = $11 + 13;
$10 = i9 % 128;
int i10 = i9 % 2;
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
c = c2;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[c2] = irs;
objArr6[5] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(233 - View.combineMeasuredStates(0, 0), 5 - Gravity.getAbsoluteGravity(0, 0), (char) (MotionEvent.axisFromString("") + 22025));
byte b4 = (byte) 1;
byte b5 = (byte) (-b4);
Object[] objArr7 = new Object[1];
aC(b4, b5, (byte) (b5 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 != null) {
c = 6;
} else {
Class cls4 = (Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 327, TextUtils.getOffsetBefore("", 0) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)));
byte b6 = (byte) 3;
byte b7 = (byte) (b6 - 4);
Object[] objArr9 = new Object[1];
aC(b6, b7, (byte) (b7 + 1), objArr9);
c = 6;
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i11];
} else {
c = 6;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i12 = (irs.a * charValue) + irs.f;
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i12];
cArr4[irs.e + 1] = cArr2[i13];
} else {
int i14 = (irs.a * charValue) + irs.j;
int i15 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
}
}
}
irs.e += 2;
c2 = c;
}
}
for (int i16 = 0; i16 < i; i16++) {
cArr4[i16] = (char) (cArr4[i16] ^ 13722);
}
objArr[0] = new String(cArr4);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@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 = s + 23;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{'\f', 3, 16, 19, 4, '\r', 15, 19, 2, 0, 27, 15, 19, 4, '\f', '\b', 13907, 13907}, (byte) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 106), 18 - Drawable.resolveOpacity(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{15, 5, NistHelper.SEP_FS, 14, 13866}, (byte) (43 - TextUtils.lastIndexOf("", '0', 0)), (ViewConfiguration.getTapTimeout() >> 16) + 5, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = t + 85;
s = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i6 = t + 111;
s = i6 % 128;
int i7 = i6 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i8 = s + 95;
t = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionType(0L), (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) Color.blue(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new char[]{' ', 0, ' ', '#', '\b', 16, '!', 17, '#', '!', 21, '\r', 16, 4, 6, 22, 4, 16, 20, 19, 7, '\"', 14, '!', 30, '\"', '\r', '\b', 20, 2, '\f', 31, 31, 6, 24, 0, 30, 11, 13884, 13884, 25, 1, 31, '\b', '\f', 20, 7, 30}, (byte) (68 - (ViewConfiguration.getLongPressTimeout() >> 16)), TextUtils.getOffsetAfter("", 0) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new char[]{'\n', 30, 30, '\t', '\"', '#', ' ', '!', 7, '\b', 21, 31, 21, 31, 0, ' ', '\"', ' ', 31, 18, 15, ' ', '\r', '!', '\t', '\"', '\b', 17, 20, 31, 6, 23, 13795, 13795, '\t', '\r', 6, 19, 13870, 13870, '\"', '#', 21, 3, 6, 31, '\"', '#', '\f', 19, ' ', 5, '\f', 20, '\n', 31, 20, '\f', 0, 24, '\"', '#', '\f', '\t'}, (byte) (54 - Color.argb(0, 0, 0, 0)), (Process.myTid() >> 22) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new char[]{16869, 16772, 20566, 43188, 63734, 2418, 38601, 41708, 31860, 35879, 56331, 45543, 34567, 61381, 45509, 52559, 60351, 62320, 37550, 59530, 52260, 54862, 30272, 1130, 12508, 14724, 27641, 10192, 5622, 7460, 20272, 17135, 30213, 24786, 8391, 24182, 23185, 17454, 1511, 31119, 49016, 42982, 63775, 38259, 41920, 35468, 55939, 45273, 34043, 61031, 48744, 52247, 59751, 61833, 37844, 61218, 52635, 54605, 29886, 2756, 11877, 14525, 26736, 9771, 4808, 7068, 19933, 16869}, 1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{19725, 19813, 56166, 9160, 17057, 45921, 27372, 44566, 32786, 1822, 26194, 19915, 35758, 25765, 2948, 12577, 59222, 30747, 10464, 5305, 49352, 23918, 52310, 63573, 15460, 45800, 53695, 56293, 6419, 38471, 62827, 48792, 31421, 60326, 39560, 41493, 22073, 53023, 49140, 34223, 46033, 11466, 17242, 26961, 44924, 510, 24769, 19711, 34820, 25921, 1068, 12390, 58760, 31474, 10646, 4883, 49448, 24171, 52988, 63156, 8916, 46019, 53868, 55874, 7794, 37105, 63454, 48576, 31650, 62538, 39783, 41267, 21632, 51666, 47256, 33802, 45097, 11583}, KeyEvent.normalizeMetaState(0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{36174, 36215, 27629, 37657, 27324, 39728, 408, 28182, 60216}, (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)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{'\t', '\f', 25, 1, 14, 31, '#', 7, 3, '\"', 6, 7, 4, '\n', 1, 25, 13780, 13780, 3, 16, 30, '\n', 16, 2, 20, '\r', 21, '\r', 0, '\b', '\r', '\b', 1, '\r', 0, '\f'}, (byte) (41 - (ViewConfiguration.getTapTimeout() >> 16)), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 35, 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((KeyEvent.getMaxKeyCode() >> 16) + 487, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = t + 99;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 32 / 0;
}
int i5 = s + 67;
t = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 31 / 0;
}
}
}