what-the-bank/sources/com/scb/phone/view/activity/profilemanagement/manageaccounts/AccountManagementActivity.java

649 lines
40 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.profilemanagement.manageaccounts;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.fragment.profilemanagement.manageaccounts.AccountManagementFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC11678ejq;
import o.Nhs;
import o.TVH;
import o.xzZ;
/* loaded from: classes5.dex */
public class AccountManagementActivity extends AbstractActivityC11678ejq {
private static final byte[] $$p = {39, 45, ISO7816.INS_PUT_DATA, 49};
private static final int $$q = 225;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int q = 1;
private static long l = 9051040786702654117L;
/* renamed from: o, reason: collision with root package name */
private static int f7824o = 452713125;
private static char k = 16634;
private static char[] m = {39999, 40045, 40035, 40056, 40044, 39993, 40040, 40041, 40041, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40012, 40035, 40059, 40004, 39996, 40025, 40032, 40037, 40036, 40036, 40037, 40061, 40045, 40021, 40038};
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002d). 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(int r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 4
int r7 = 4 - r7
int r6 = 115 - r6
byte[] r0 = com.scb.phone.view.activity.profilemanagement.manageaccounts.AccountManagementActivity.$$p
int r8 = r8 * 2
int r1 = 1 - r8
byte[] r1 = new byte[r1]
r2 = 0
int r8 = 0 - r8
if (r0 != 0) goto L17
r3 = r7
r6 = r8
r4 = r2
goto L2d
L17:
r3 = r2
L18:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r8) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
int r3 = r3 + 1
r4 = r0[r7]
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2d:
int r6 = r6 + r7
int r7 = r3 + 1
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.profilemanagement.manageaccounts.AccountManagementActivity.aC(int, byte, short, java.lang.Object[]):void");
}
public static void e(Context context, boolean z) {
int i = 2 % 2;
context.startActivity(new Intent(context, (Class<?>) AccountManagementActivity.class).putExtra("LIFE_STYLE_LANDING", z));
int i2 = q + 99;
p = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 33 / 0;
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
int i2 = q + 39;
p = i2 % 128;
if (i2 % 2 != 0) {
AccountManagementFragment.h();
throw null;
}
AccountManagementFragment h = AccountManagementFragment.h();
int i3 = q + 93;
p = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 26 / 0;
}
return h;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = p + 39;
q = i2 % 128;
int i3 = i2 % 2;
String string = getString(R.string.manage_account_title);
int i4 = q + 39;
p = i4 % 128;
if (i4 % 2 == 0) {
return string;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
if (getIntent() != null) {
int i2 = p + 97;
q = i2 % 128;
if (i2 % 2 != 0 ? !(!getIntent().getBooleanExtra("LIFE_STYLE_LANDING", false)) : getIntent().getBooleanExtra("LIFE_STYLE_LANDING", true)) {
j(true);
int i3 = p + 69;
q = i3 % 128;
int i4 = i3 % 2;
}
}
super.onBackPressed();
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
if (menuItem.getItemId() != 16908332) {
return super.onOptionsItemSelected(menuItem);
}
int i2 = p + 51;
q = i2 % 128;
int i3 = i2 % 2;
onBackPressed();
int i4 = p + 55;
q = i4 % 128;
if (i4 % 2 != 0) {
return true;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC11678ejq, 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;
int i2 = q + 13;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_suitability_assessment_result_mf_disclaimer).substring(19, 20).length() + 32449), new char[]{46444, 42910, 17991, 45608, 27096, 61261, 31728, 57081, 18091, 51956, 24636, 53912, 6734, 4670, 1319, 45955, 20289, 26220}, new char[]{26771, 40207, 49889, 14462}, new char[]{0, 0, 0, 0}, TextUtils.indexOf("", "", 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{0, 5, 0, 2}, false, new byte[]{1, 1, 1, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = p + 123;
q = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aB(new int[]{5, 26, 0, 3}, false, new byte[]{1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 50553), new char[]{6912, 41328, 57500, 36631, 21290, 40197, 39117, 50847, 15398, 20168, 15015, 64674, 6502, 56345, 3763, 28700, 47278, 7203}, new char[]{7133, 9448, 34362, 48325}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_error_merchant).substring(27, 28).codePointAt(0) - 32, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i6 = q + 101;
p = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = p + 63;
q = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(MotionEvent.axisFromString("") + 493, (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)) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay((char) (Process.myPid() >> 22), new char[]{546, 57322, 32727, 36867, 24004, 31293, 48525, 19888, 44797, 11313, 23515, 31385, 13259, 16194, 61694, 34989, 30148, 8975, 10977, 54279, 10996, 52977, 44753, 43256, 20848, 384, 64153, 53698, 59813, 45029, 14064, 52346, 54920, 51774, 61359, 60882, 14482, 64027, 39700, 56480, 48958, 3491, 37619, 54122, 21450, 29623, 46082, 28027}, new char[]{29001, 64123, 28893, 26912}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_decline_ncb_consent_card_type_title).substring(0, 16).length() - 16, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.opr_registration_disclaimer).substring(0, 1).codePointAt(0) - 42), new char[]{64524, 678, 58373, 889, 36225, 23345, 46069, 1498, 25270, 26035, 59146, 40940, 52597, 9978, 29930, 64776, 38489, 38721, 50614, 33188, 15809, 59351, 48401, 44582, 10213, 55849, 15286, 30545, 14274, 2412, 11582, 41266, 40341, 65025, 51719, 51750, 43348, 27838, 12112, 42397, 30399, 7907, 47102, 5485, 62679, 2042, 154, 46859, 21778, 23369, 2696, 9389, 9787, 30577, 26463, 63104, 7465, 32210, 30162, 52956, 51198, 29369, 2991, 17617}, new char[]{8077, 47577, 13329, 4210}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.quick_prompt_pay_require_pin).substring(12, 13).length() - 1, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.permission_camera_title).substring(0, 9).length() - 9), new char[]{14199, 23097, 45794, 42715, 41727, 25947, 47270, 216, 56982, 61762, 5877, 41099, 4085, 59604, 50775, 54671, 63350, 61404, 24548, 38630, 18085, 60994, 54321, 43824, 38212, 23954, 46146, 45916, 29945, 4238, 63732, 26947, 8846, 65007, 43848, 27296, 64564, 20889, 16121, 55070, 37387, 17831, 63217, 43269, 31592, 7709, 25737, 48857, 38674, 48582, 14950, 59586, 52545, 3635, 62103, 61344, 37087, 17732, 38616, 47459, 40473, 40373, 33587, 12376}, new char[]{16977, 32029, 54905, 58237}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 46, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.credit_card_message_all_m_card).substring(15, 16).length() - 1), new char[]{62992, 1588, 24464, 30212, 13813, 57418, 47363, 30831, 53142, 26416, 39400, 58392, 7733, 63194, 33577, 24608, 46482, 32000, 16776, 20404, 54086, 1633, 45216, 41683, 43694, 64894, 22106, 46165, 47551, 34787, 44049, 7461, 51696, 33374, 62768, 65038, 5712, 10979, 13757, 6055, 38814, 20453, 58227, 12033, 27259, 2403, 30813, 55747, 50563, 43997, 48330, 62622, 7468, 15681, 10287, 26916, 63761, 53113, 20126, 14073, 4656, 35041, 23434, 34478, 43671, 18434, 40896, 61833, 28921, 58716, 37384, 34754, 35460, 17835}, new char[]{57694, 43993, 49207, 44464}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.taking_photo_details_accepted_formats).substring(18, 19).codePointAt(0) - 32, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay((char) (((byte) KeyEvent.getModifierMetaStateMask()) + 12259), new char[]{5446, 55370, 12181, 14387, 47302}, new char[]{9219, 40539, 58005, 49711}, new char[]{0, 0, 0, 0}, (-1784784092) - (ViewConfiguration.getEdgeSlop() >> 16), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.miles_delivery_eta_opr).substring(0, 4).codePointAt(1) - 79), new char[]{37463, 31876, 26329, 36744, 65427, 48467, 11692, 19574, 27735, 46027, 47099, 55635, 50229, 12494, 4485, 29263, 33858, 47679, 59407, 60010, 11785, 61940, 52722, 64133, 50631, 50605, 28561, 13914, 44964, 1378, 16386, 35256, 7173, 32217, 57344, 62636}, new char[]{9224, 28188, 1434, 25244}, new char[]{0, 0, 0, 0}, TextUtils.indexOf((CharSequence) "", '0', 0) + 1, 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.getDoubleTapTimeout() >> 16), Process.getGidForName("") + 6, (char) View.getDefaultSize(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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void ay(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i4 = $10 + 85;
$11 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 45, (Process.myPid() >> 22) + 5, (char) Color.alpha(0))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 352, ExpandableListView.getPackedPositionChild(0L) + 6, (char) (52129 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr4 = new Object[1];
aC(b, b2, b2, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(747 - TextUtils.lastIndexOf("", '0'), 5 - View.resolveSize(0, 0), (char) TextUtils.getOffsetBefore("", 0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 402, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) ((TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 21608));
byte b3 = (byte) ($$q & 7);
byte b4 = (byte) (b3 - 1);
Object[] objArr7 = new Object[1];
aC(b3, b4, b4, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (l ^ 9051040786702654117L)) ^ ((int) (f7824o ^ 9051040786702654117L))) ^ ((char) (k ^ 9051040786702654117L)));
nhs.a++;
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i6 = $11 + 115;
$10 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
@Override // o.AbstractActivityC11678ejq, 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) {
int i2 = q + 41;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB(new int[]{5, 26, 0, 3}, false, new byte[]{1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.consent_scbs_message).substring(21, 22).length() + 50565), new char[]{6912, 41328, 57500, 36631, 21290, 40197, 39117, 50847, 15398, 20168, 15015, 64674, 6502, 56345, 3763, 28700, 47278, 7203}, new char[]{7133, 9448, 34362, 48325}, new char[]{0, 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)), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 21;
q = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
int i6 = p + 77;
q = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((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)) + 492, TextUtils.getOffsetBefore("", 0) + 5, (char) TextUtils.indexOf("", "", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.blue(0) + 487, (Process.myTid() >> 22) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC11678ejq, 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 = q + 59;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new int[]{5, 26, 0, 3}, false, new byte[]{1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((char) (50566 - Color.green(0)), new char[]{6912, 41328, 57500, 36631, 21290, 40197, 39117, 50847, 15398, 20168, 15015, 64674, 6502, 56345, 3763, 28700, 47278, 7203}, new char[]{7133, 9448, 34362, 48325}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.data_sharing_consent_decline_dialog_description).substring(44, 45).length() - 1, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 119;
p = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = q + 35;
p = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 491, 5 - TextUtils.getTrimmedLength(""), (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getWindowTouchSlop() >> 8), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i8 = p + 47;
q = i8 % 128;
int i9 = i8 % 2;
}
private static void aB(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr2 = m;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 223, 5 - TextUtils.getOffsetBefore("", i3), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 41978));
byte b = (byte) i3;
cArr = cArr2;
Object[] objArr3 = new Object[1];
aC((byte) ($$p[1] - 1), b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
cArr2 = cArr;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i5];
System.arraycopy(cArr2, i4, cArr4, 0, i5);
if (bArr != null) {
char[] cArr5 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i9 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 502, 5 - KeyEvent.normalizeMetaState(0), (char) (54 - (Process.myTid() >> 22)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i9] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i10 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 15, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (58133 - Process.getGidForName("")))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i10] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), View.resolveSizeAndState(0, 0, 0) + 5, (char) (KeyEvent.getDeadChar(0, 0) + 21608));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) 42, b2, b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
int i11 = $10 + 43;
$11 = i11 % 128;
int i12 = i11 % 2;
}
cArr4 = cArr5;
}
if (i7 > 0) {
char[] cArr6 = new char[i5];
i = 0;
System.arraycopy(cArr4, 0, cArr6, 0, i5);
int i13 = i5 - i7;
System.arraycopy(cArr6, 0, cArr4, i13, i7);
System.arraycopy(cArr6, i7, cArr4, 0, i13);
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
cArr7[tvh.c] = cArr4[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr4 = cArr7;
}
if (i6 > 0) {
int i14 = $10 + 67;
$11 = i14 % 128;
int i15 = i14 % 2;
int i16 = 0;
while (true) {
tvh.c = i16;
if (tvh.c >= i5) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i16 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
@Override // o.AbstractActivityC11678ejq, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ay((char) (32451 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), new char[]{46444, 42910, 17991, 45608, 27096, 61261, 31728, 57081, 18091, 51956, 24636, 53912, 6734, 4670, 1319, 45955, 20289, 26220}, new char[]{26771, 40207, 49889, 14462}, new char[]{0, 0, 0, 0}, Gravity.getAbsoluteGravity(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{0, 5, 0, 2}, false, new byte[]{1, 1, 1, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = q + 101;
p = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = q + 13;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 492, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay((char) (ViewConfiguration.getScrollBarSize() >> 8), new char[]{546, 57322, 32727, 36867, 24004, 31293, 48525, 19888, 44797, 11313, 23515, 31385, 13259, 16194, 61694, 34989, 30148, 8975, 10977, 54279, 10996, 52977, 44753, 43256, 20848, 384, 64153, 53698, 59813, 45029, 14064, 52346, 54920, 51774, 61359, 60882, 14482, 64027, 39700, 56480, 48958, 3491, 37619, 54122, 21450, 29623, 46082, 28027}, new char[]{29001, 64123, 28893, 26912}, new char[]{0, 0, 0, 0}, (-1) - ImageFormat.getBitsPerPixel(0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay((char) (ViewConfiguration.getKeyRepeatTimeout() >> 16), new char[]{64524, 678, 58373, 889, 36225, 23345, 46069, 1498, 25270, 26035, 59146, 40940, 52597, 9978, 29930, 64776, 38489, 38721, 50614, 33188, 15809, 59351, 48401, 44582, 10213, 55849, 15286, 30545, 14274, 2412, 11582, 41266, 40341, 65025, 51719, 51750, 43348, 27838, 12112, 42397, 30399, 7907, 47102, 5485, 62679, 2042, 154, 46859, 21778, 23369, 2696, 9389, 9787, 30577, 26463, 63104, 7465, 32210, 30162, 52956, 51198, 29369, 2991, 17617}, new char[]{8077, 47577, 13329, 4210}, new char[]{0, 0, 0, 0}, MotionEvent.axisFromString("") + 1, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay((char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), new char[]{14199, 23097, 45794, 42715, 41727, 25947, 47270, 216, 56982, 61762, 5877, 41099, 4085, 59604, 50775, 54671, 63350, 61404, 24548, 38630, 18085, 60994, 54321, 43824, 38212, 23954, 46146, 45916, 29945, 4238, 63732, 26947, 8846, 65007, 43848, 27296, 64564, 20889, 16121, 55070, 37387, 17831, 63217, 43269, 31592, 7709, 25737, 48857, 38674, 48582, 14950, 59586, 52545, 3635, 62103, 61344, 37087, 17732, 38616, 47459, 40473, 40373, 33587, 12376}, new char[]{16977, 32029, 54905, 58237}, new char[]{0, 0, 0, 0}, ViewConfiguration.getMinimumFlingVelocity() >> 16, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay((char) ExpandableListView.getPackedPositionType(0L), new char[]{62992, 1588, 24464, 30212, 13813, 57418, 47363, 30831, 53142, 26416, 39400, 58392, 7733, 63194, 33577, 24608, 46482, 32000, 16776, 20404, 54086, 1633, 45216, 41683, 43694, 64894, 22106, 46165, 47551, 34787, 44049, 7461, 51696, 33374, 62768, 65038, 5712, 10979, 13757, 6055, 38814, 20453, 58227, 12033, 27259, 2403, 30813, 55747, 50563, 43997, 48330, 62622, 7468, 15681, 10287, 26916, 63761, 53113, 20126, 14073, 4656, 35041, 23434, 34478, 43671, 18434, 40896, 61833, 28921, 58716, 37384, 34754, 35460, 17835}, new char[]{57694, 43993, 49207, 44464}, new char[]{0, 0, 0, 0}, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((char) (12257 - ((byte) KeyEvent.getModifierMetaStateMask())), new char[]{5446, 55370, 12181, 14387, 47302}, new char[]{9219, 40539, 58005, 49711}, new char[]{0, 0, 0, 0}, TextUtils.indexOf("", "") - 1784784092, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((char) (ViewConfiguration.getTapTimeout() >> 16), new char[]{37463, 31876, 26329, 36744, 65427, 48467, 11692, 19574, 27735, 46027, 47099, 55635, 50229, 12494, 4485, 29263, 33858, 47679, 59407, 60010, 11785, 61940, 52722, 64133, 50631, 50605, 28561, 13914, 44964, 1378, 16386, 35256, 7173, 32217, 57344, 62636}, new char[]{9224, 28188, 1434, 25244}, new char[]{0, 0, 0, 0}, Color.blue(0), 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((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 487, Color.rgb(0, 0, 0) + 16777221, (char) TextUtils.indexOf("", ""))).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 i6 = p + 81;
q = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // o.AbstractActivityC11678ejq, 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 + 25;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = p + 45;
q = i4 % 128;
int i5 = i4 % 2;
}
}