what-the-bank/sources/com/scb/phone/view/activity/transferandpay/SuccessActivity.java

754 lines
42 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.transferandpay;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.HomeActivity;
import com.scb.phone.view.fragment.transferandpay.SuccessFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC11924eoX;
import o.AbstractC13482fbE;
import o.C1191Xp;
import o.IRS;
import o.TVH;
import o.xzZ;
import okhttp3.internal.http2.Http2Connection;
import org.jmrtd.lds.icao.DG12File;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public class SuccessActivity extends AbstractActivityC11924eoX {
private static final byte[] $$p = {126, ISO7816.INS_INCREASE, 86, Ascii.DEL};
private static final int $$q = 248;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
private static int s = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f7978o = {40067, 40067, 40049, 40051, 40079, 40076, 40046, 40008, 40067, 40079, 40008, 40050, 40053, 40079, 40076, 40050, 40072, 40061, 39993, 40041, 40040, 40032, 40038, 40021, 40045, 40061, 40037, 40036, 40036, 40037, 40032, 40025, 39996, 40004, 40059, 40035, 40012, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 40049, 40190, 40184, 40190, 40186, 40162, 40166, 40186, 40190, 40188, 40148, 40170, 40179, 40187, 40185, 40178, 40177, 40184};
private static char[] l = {49104, 48161, 49029, 49094, 49118, 49030, 49095, 49090, 49089, 48173, 49109, 49105, 49031, 49107, 48172, 49106, 49117, 48168, 49091, 49052, 48160, 49027, 49054, 49093, 49115, 49033, 48170, 48171, 49126, 49028, 48163, 49119, 49035, 49026, 49112, 48169, 48174, 49098, 49110, 49025, 49111, 49108, 48175, 49034, 49024, 49088, 49114, 49053, 49116};
private static char m = 35374;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0026). 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(byte r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 4
int r6 = r6 + 1
int r8 = r8 + 4
int r7 = 120 - r7
byte[] r0 = com.scb.phone.view.activity.transferandpay.SuccessActivity.$$p
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L12
r3 = r6
r4 = r2
goto L26
L12:
r3 = r2
L13:
int r4 = r3 + 1
int r8 = r8 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r6) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r3 = r0[r8]
L26:
int r3 = -r3
int r7 = r7 + r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.transferandpay.SuccessActivity.aC(byte, short, short, java.lang.Object[]):void");
}
public static Intent amz_(Context context, C1191Xp c1191Xp, String str, String str2, String str3) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) SuccessActivity.class);
intent.putExtra("com.scb.phone.EXTRA_SUCCESS", c1191Xp);
intent.putExtra("source", str);
intent.putExtra("subtype", str2);
intent.putExtra("EXTRA_POINT_X_CUSTOMER_ID", str3);
int i2 = s + 69;
k = i2 % 128;
int i3 = i2 % 2;
return intent;
}
@Override // o.AbstractActivityC11924eoX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
Method method;
int i = 2 % 2;
Object[] objArr = new Object[1];
Object obj = null;
aA(new int[]{0, 18, 21, 18}, true, null, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{2, '\'', ' ', '*', 13913}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.bot_verification_facial_locked_warning_message).substring(67, 68).length() + 90), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_open_accounts_remark_1).substring(44, 45).length() + 4, 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 = k + 25;
s = i2 % 128;
if (i2 % 2 != 0) {
Object[] objArr3 = new Object[1];
aA(new int[]{18, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new int[]{44, 18, 135, 0}, true, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
} else {
Object[] objArr5 = new Object[1];
aA(new int[]{18, 26, 0, 0}, false, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr5);
Class<?> cls3 = Class.forName((String) objArr5[0]);
Object[] objArr6 = new Object[1];
aA(new int[]{44, 18, 135, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr6);
method = cls3.getMethod((String) objArr6[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
int i3 = s + 97;
k = i3 % 128;
if (i3 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0) + 492, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) Color.alpha(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr7 = new Object[1];
aB(new char[]{'\"', 30, '\r', '\f', '*', 2, '\b', 17, '\b', '.', '$', 18, '.', '\t', '.', 30, '\t', '.', '.', '\'', '/', '\t', 22, 1, '\t', 3, 1, 6, 1, '*', '/', '(', '(', '\f', '!', '\"', 17, '-', 13906, 13906, '(', 11, '/', 1, 4, NistHelper.SEP_FS, '(', '\n'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.input_income_card_x_remarks).substring(0, 108).length() - 18), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 14, objArr7);
String str = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{'\'', '\n', 3, '%', 4, '\t', '\b', '/', '(', 3, '%', 4, '%', 4, 30, '\"', 5, '\t', ' ', '(', 1, 3, 19, '\b', 2, '\t', NistHelper.SEP_FS, 7, '$', '.', 25, NistHelper.SEP_FS, 13849, 13849, 1, 19, 4, '!', 13924, 13924, 4, '\t', 16, 1, '\f', '(', 4, '\t', '\'', '!', '\b', 31, 4, NistHelper.SEP_FS, 4, '\f', NistHelper.SEP_FS, 4, '\"', '!', 4, '\t', 17, '$'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 95), View.MeasureSpec.getMode(0) + 64, objArr8);
String str2 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new char[]{18, 29, 23, '*', 16, '+', 13908, 13908, '$', '.', '-', '%', '\f', '\r', 25, NistHelper.SEP_FS, 18, '\b', 7, 24, NistHelper.SEP_FS, 26, ' ', '$', 4, NistHelper.SEP_FS, 17, '-', 30, 4, '/', '$', '\r', '\f', 19, 1, 4, '(', 13824, 13824, 0, 26, 2, '/', 7, 3, 3, '%', '\n', '\'', '.', '\'', 1, ',', 24, 7, 22, 14, '\b', 17, 4, '!', 1, NistHelper.SEP_FS}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.bottom_scan_bar).substring(13, 14).codePointAt(0) + 53), 64 - Color.blue(0), objArr9);
String str3 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new char[]{27, 3, 4, 20, '.', 24, 13790, 13790, '.', '/', 18, 1, 6, '*', 13856, 13856, '$', '\n', 4, '*', 17, 29, '\b', 18, 20, 30, '0', 5, 22, '\n', '$', 17, 0, 1, 17, '+', 5, '0', '&', 6, 22, 15, '&', '/', '\n', 0, 22, 15, '(', '-', 6, '*', 5, 18, 16, 19, '/', 18, ',', 18, '#', '\'', '0', 3, 16, 26, '(', 18, '%', 24, '%', 17, 3, '0'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 7), 73 - ExpandableListView.getPackedPositionChild(0L), objArr10);
String str4 = (String) objArr10[0];
Object[] objArr11 = new Object[1];
aB(new char[]{',', '0', '!', '.', 13815}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 43), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, objArr11);
String str5 = (String) objArr11[0];
Object[] objArr12 = new Object[1];
aB(new char[]{'$', 17, '(', 11, '$', '/', 7, 26, 23, 1, 24, '#', '\b', 25, 11, '(', 13781, 13781, 29, 22, '\n', '\'', 1, 21, '#', 4, '$', 18, 31, '$', 1, 6, 19, '\f', 31, '('}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_monthly_income_about_steps).substring(87, 88).codePointAt(0) + 10), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_pin_setup_page_title).substring(8, 12).length() + 32, objArr12);
Object[] objArr13 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr12[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - TextUtils.indexOf("", "", 0, 0), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) TextUtils.getOffsetAfter("", 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr13);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558445);
Intent intent = getIntent();
C1191Xp c1191Xp = (C1191Xp) intent.getParcelableExtra("com.scb.phone.EXTRA_SUCCESS");
String stringExtra = intent.getStringExtra("EXTRA_POINT_X_CUSTOMER_ID");
if (c1191Xp == null) {
finish();
return;
}
SuccessFragment d = SuccessFragment.d(c1191Xp, stringExtra);
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, d, null, 2);
a.b();
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void ab() {
int i = 2 % 2;
int i2 = s + 71;
k = i2 % 128;
if (i2 % 2 != 0) {
getWindow().setFlags(DG12File.ENDORSEMENTS_AND_OBSERVATIONS_TAG, 29008);
} else {
getWindow().setFlags(8192, 8192);
}
}
public final Intent amA_() {
int i = 2 % 2;
Intent intent = new Intent(this, (Class<?>) HomeActivity.class);
intent.addFlags(603979776);
intent.putExtra("com.scb.phone.EXTRA_NEW_INSTANCE_LAYOUT", R.id.account_summary_tab);
intent.putExtra("com.scb.phone.EXTRA_NEW_INSTANCE_REFRESH", true);
int i2 = s + 27;
k = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 96 / 0;
}
return intent;
}
private static void aA(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int length;
char[] cArr;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = 1;
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr2 = f7978o;
int i9 = -1;
long j = 0;
if (cArr2 != null) {
int i10 = $11 + 79;
$10 = i10 % 128;
if (i10 % 2 != 0) {
length = cArr2.length;
cArr = new char[length];
} else {
length = cArr2.length;
cArr = new char[length];
}
int i11 = 0;
while (i11 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[i3] = Integer.valueOf(cArr2[i11]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 6 - (Process.getElapsedCpuTime() > j ? 1 : (Process.getElapsedCpuTime() == j ? 0 : -1)), (char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 41977));
byte b = (byte) i3;
Object[] objArr3 = new Object[1];
aC(b, (byte) (b | 49), (byte) i9, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr[i11] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i11++;
i3 = 0;
i5 = 1;
i9 = -1;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr;
}
char[] cArr3 = new char[i6];
System.arraycopy(cArr2, i4, cArr3, 0, i6);
if (bArr != null) {
char[] cArr4 = new char[i6];
tvh.c = 0;
char c = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i12 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) (53 - MotionEvent.axisFromString("")))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i13 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 15, 5 - Color.argb(0, 0, 0, 0), (char) (Color.rgb(0, 0, 0) + 16835350))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i13] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - Color.argb(0, 0, 0, 0), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (21608 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b2, (byte) (b2 | 47), (byte) (-1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i8 > 0) {
char[] cArr5 = new char[i6];
System.arraycopy(cArr3, 0, cArr5, 0, i6);
int i14 = i6 - i8;
System.arraycopy(cArr5, 0, cArr3, i14, i8);
System.arraycopy(cArr5, i8, cArr3, 0, i14);
int i15 = $10 + 79;
$11 = i15 % 128;
i = 2;
int i16 = i15 % 2;
} else {
i = 2;
}
if (z) {
int i17 = $11 + 63;
$10 = i17 % 128;
int i18 = i17 % i;
char[] cArr6 = new char[i6];
int i19 = 0;
while (true) {
tvh.c = i19;
if (tvh.c >= i6) {
break;
}
cArr6[tvh.c] = cArr3[(i6 - tvh.c) - 1];
i19 = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i7 > 0) {
int i20 = 0;
while (true) {
tvh.c = i20;
if (tvh.c >= i6) {
break;
}
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i20 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@Override // o.AbstractActivityC11924eoX, 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 = k + 37;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = s + 91;
k = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aA(new int[]{18, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{44, 18, 135, 0}, true, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[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((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 491, KeyEvent.getDeadChar(0, 0) + 5, (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 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(487 - KeyEvent.normalizeMetaState(0), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ExpandableListView.getPackedPositionType(0L))).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();
}
@Override // o.AbstractActivityC11924eoX, 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 = s + 11;
k = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new int[]{18, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{44, 18, 135, 0}, true, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i3 = k + 125;
s = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = s + 117;
k = i5 % 128;
try {
if (i5 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - Color.red(0), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE))).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(486 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '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 - (ViewConfiguration.getKeyRepeatDelay() >> 16), TextUtils.getCapsMode("", 0, 0) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).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 - (ViewConfiguration.getScrollDefaultDelay() >> 16), Color.argb(0, 0, 0, 0) + 5, (char) View.MeasureSpec.getSize(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 aB(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object obj;
char c;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = l;
Object obj2 = null;
int i4 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = $10 + 109;
$11 = i5 % 128;
int i6 = i5 % 2;
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c((Process.myPid() >> 22) + 298, View.getDefaultSize(0, 0) + i4, (char) (ViewConfiguration.getLongPressTimeout() >> 16));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 3);
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 - 4), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i7] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i7++;
i4 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(m)};
Object obj4 = xzZ.y.get(-1987398494);
char c2 = '\b';
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 298, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0')));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 3);
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 - 4), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
obj = obj2;
c = c2;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[c2] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[6] = irs;
objArr6[5] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(232 - ImageFormat.getBitsPerPixel(0), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (22023 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, (byte) (b7 - 1), objArr7);
obj5 = 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, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
int i8 = $11 + 3;
$10 = i8 % 128;
int i9 = i8 % 2;
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 != null) {
c = '\b';
} else {
Class cls4 = (Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 327, 5 - (Process.myTid() >> 22), (char) TextUtils.indexOf("", "", 0));
byte b8 = (byte) 0;
byte b9 = (byte) (b8 + 2);
Object[] objArr9 = new Object[1];
aC(b8, b9, (byte) (b9 - 3), objArr9);
c = '\b';
obj6 = 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, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i10];
} else {
obj = null;
c = '\b';
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i11 = (irs.a * charValue) + irs.f;
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i11];
cArr4[irs.e + 1] = cArr2[i12];
} else {
int i13 = (irs.a * charValue) + irs.j;
int i14 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i13];
cArr4[irs.e + 1] = cArr2[i14];
}
}
}
irs.e += 2;
obj2 = obj;
c2 = c;
}
}
for (int i15 = 0; i15 < i; i15++) {
int i16 = $11 + 81;
$10 = i16 % 128;
int i17 = i16 % 2;
cArr4[i15] = (char) (cArr4[i15] ^ 13722);
}
objArr[0] = new String(cArr4);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // o.AbstractActivityC11924eoX, 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 = k + 13;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new int[]{0, 18, 21, 18}, true, null, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{2, '\'', ' ', '*', 13913}, (byte) (91 - TextUtils.getOffsetAfter("", 0)), 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)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i4 = k + 117;
s = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
int i6 = k + 9;
s = i6 % 128;
int i7 = i6 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i8 = k + 107;
s = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 492, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) KeyEvent.getDeadChar(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new char[]{'\"', 30, '\r', '\f', '*', 2, '\b', 17, '\b', '.', '$', 18, '.', '\t', '.', 30, '\t', '.', '.', '\'', '/', '\t', 22, 1, '\t', 3, 1, 6, 1, '*', '/', '(', '(', '\f', '!', '\"', 17, '-', 13906, 13906, '(', 11, '/', 1, 4, NistHelper.SEP_FS, '(', '\n'}, (byte) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 90), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new char[]{'\'', '\n', 3, '%', 4, '\t', '\b', '/', '(', 3, '%', 4, '%', 4, 30, '\"', 5, '\t', ' ', '(', 1, 3, 19, '\b', 2, '\t', NistHelper.SEP_FS, 7, '$', '.', 25, NistHelper.SEP_FS, 13849, 13849, 1, 19, 4, '!', 13924, 13924, 4, '\t', 16, 1, '\f', '(', 4, '\t', '\'', '!', '\b', 31, 4, NistHelper.SEP_FS, 4, '\f', NistHelper.SEP_FS, 4, '\"', '!', 4, '\t', 17, '$'}, (byte) ((ViewConfiguration.getPressedStateDuration() >> 16) + 108), 64 - (KeyEvent.getMaxKeyCode() >> 16), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new char[]{18, 29, 23, '*', 16, '+', 13908, 13908, '$', '.', '-', '%', '\f', '\r', 25, NistHelper.SEP_FS, 18, '\b', 7, 24, NistHelper.SEP_FS, 26, ' ', '$', 4, NistHelper.SEP_FS, 17, '-', 30, 4, '/', '$', '\r', '\f', 19, 1, 4, '(', 13824, 13824, 0, 26, 2, '/', 7, 3, 3, '%', '\n', '\'', '.', '\'', 1, ',', 24, 7, 22, 14, '\b', 17, 4, '!', 1, NistHelper.SEP_FS}, (byte) (85 - ((Process.getThreadPriority(0) + 20) >> 6)), (ViewConfiguration.getTapTimeout() >> 16) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{27, 3, 4, 20, '.', 24, 13790, 13790, '.', '/', 18, 1, 6, '*', 13856, 13856, '$', '\n', 4, '*', 17, 29, '\b', 18, 20, 30, '0', 5, 22, '\n', '$', 17, 0, 1, 17, '+', 5, '0', '&', 6, 22, 15, '&', '/', '\n', 0, 22, 15, '(', '-', 6, '*', 5, 18, 16, 19, '/', 18, ',', 18, '#', '\'', '0', 3, 16, 26, '(', 18, '%', 24, '%', 17, 3, '0'}, (byte) (Gravity.getAbsoluteGravity(0, 0) + 41), (Process.myTid() >> 22) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{',', '0', '!', '.', 13815}, (byte) (77 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{'$', 17, '(', 11, '$', '/', 7, 26, 23, 1, 24, '#', '\b', 25, 11, '(', 13781, 13781, 29, 22, '\n', '\'', 1, 21, '#', 4, '$', 18, 31, '$', 1, 6, 19, '\f', 31, '('}, (byte) (42 - (ViewConfiguration.getJumpTapTimeout() >> 16)), ((byte) KeyEvent.getModifierMetaStateMask()) + 37, 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(487 - TextUtils.indexOf("", "", 0, 0), TextUtils.getOffsetBefore("", 0) + 5, (char) View.resolveSize(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);
int i10 = k + 95;
s = i10 % 128;
int i11 = i10 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.AbstractActivityC11924eoX, 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 = s + 1;
k = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 != 0) {
throw null;
}
int i4 = k + 79;
s = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = s + 25;
k = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
}
}