what-the-bank/sources/com/scb/phone/view/activity/donations/DonationsLandingActivity.java

684 lines
40 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.donations;
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.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.donations.DonationsLandingFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC13482fbE;
import o.C4403bZM;
import o.IRS;
import o.dHV;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public class DonationsLandingActivity extends dHV {
/* renamed from: o, reason: collision with root package name */
private DonationsLandingFragment f7046o;
private static final byte[] $$g = {33, ISOFileInfo.ENV_TEMP_EF, -97, 85};
private static final int $$h = 225;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int s = 1;
private static int[] m = {1167135504, -1679855663, -507225255, -1046617902, 1744508641, 2075142266, -1772860499, -189591050, 419910363, -97423623, -2089315843, -1841344521, -1905189603, 1262777133, 1696800547, -419343513, 319869965, 703270785};
private static char[] k = {49027, 49116, 49026, 49049, 49105, 49030, 49090, 49115, 49093, 49053, 49094, 49108, 49028, 49035, 49034, 49110, 49024, 49109, 49104, 49095, 49114, 49112, 49091, 49088, 49106, 49052, 49118, 49033, 49119, 49089, 49025, 49111, 49029, 49031, 49054, 49117};
private static char l = 35375;
/* JADX WARN: Removed duplicated region for block: B:10:0x0029 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0021 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0029 -> B:4:0x0031). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(byte r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 2
int r0 = 1 - r6
int r7 = r7 * 2
int r7 = 3 - r7
int r8 = 120 - r8
byte[] r1 = com.scb.phone.view.activity.donations.DonationsLandingActivity.$$g
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L16
r3 = r7
r4 = r2
goto L31
L16:
r3 = r2
r5 = r8
r8 = r7
r7 = r5
L1a:
byte r4 = (byte) r7
r0[r3] = r4
int r8 = r8 + 1
if (r3 != r6) goto L29
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L29:
int r3 = r3 + 1
r4 = r1[r8]
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L31:
int r8 = -r8
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L1a
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.donations.DonationsLandingActivity.az(byte, int, int, java.lang.Object[]):void");
}
@Override // o.dHV, 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];
ax(new int[]{1370522838, 1087380262, 1745841411, 39592099, 1363263687, 413737542, -1864713760, -816689664, 755710377, 956198701}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_purchase_bond_dlt_disclaimer_send_sms).substring(85, 86).length() + 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{-211966456, -693277428, -1607533008, 189891461}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, 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];
ax(new int[]{1370522838, 1087380262, 1745841411, 39592099, 1469764392, 32264024, 353955561, 1501333727, 443671689, -1119835693, -171000472, -917789151, -2024548731, -1287006867}, ExpandableListView.getPackedPositionGroup(0L) + 26, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new int[]{-974498215, -205548013, -1782107868, -723746172, 53451912, -303319309, -1370258345, -1277840421, -1309987217, 74661093}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.default_points).substring(0, 2).length() + 16, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i2 = q + 117;
s = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = s + 9;
q = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = s + 1;
q = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 492, 5 - TextUtils.getCapsMode("", 0, 0), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ax(new int[]{-1887159416, -762541121, 1242218905, -1539743072, -528671140, 1917984849, 294145102, 1484189747, 820896439, 382645428, -1292890207, 683554896, -29393093, -944911998, 411364759, 1728197951, -1067256970, -2114759069, -1929269949, 1082382557, -144319758, 1402263364, -941531321, 1937525874}, 49 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{16, 3, '!', 14, '\"', 2, ' ', 15, 17, 3, 31, '!', 31, '!', 14, 0, '!', '\"', 0, ' ', 20, 30, 27, 30, 14, '\"', 6, 24, ' ', '\f', 1, '\f', 13769, 13769, 0, 29, 1, 17, 13844, 13844, '\"', 2, 26, 30, 0, 3, '\"', 2, 1, 19, '\f', '\r', 19, '\f', 0, 5, '\f', 19, 1, 14, '\"', 2, 27, '\f'}, (byte) (28 - KeyEvent.keyCodeFromString("")), 64 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new int[]{-695062968, 1980306760, -1102098419, 266192384, 369714589, -1182347710, -1765408842, -716698682, -2038608250, 975944360, 309728350, -1534025209, -541796863, -1342864017, -1695469954, 50100754, 2081271776, 350429451, 194134794, 29497918, -1865178703, 112880468, 230581694, -84119940, -488830860, 1324148244, -14998056, 1353846645, 1886108769, 244085963, -1693922321, 4892287}, (ViewConfiguration.getPressedStateDuration() >> 16) + 64, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{'\r', 25, 20, 23, 21, 29, 13831, 13831, 18, 21, 25, 27, 19, 0, 13897, 13897, 17, 27, 19, 21, 25, 29, 0, NistHelper.SEP_FS, '!', 23, 7, 21, 11, 25, '\f', 27, 20, 19, 29, 18, 21, 7, 6, 11, 25, 24, '#', 19, 7, 11, 25, 24, 21, 15, 19, 0, 27, 26, NistHelper.SEP_FS, 18, 19, 26, 23, ' ', '\t', 17, 18, 20, 26, 7, 31, 24, 14, '\t', 17, '!', 20, 18}, (byte) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 82), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_topup_national_id_exp_holder).substring(0, 18).codePointAt(6) - 3535, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{15, '\b', 15, 7, 13851}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 100), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_submitted_result_loan_status_tracking).substring(0, 20).codePointAt(4) - 3621, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new char[]{'\f', 27, 31, '\"', ' ', '\r', 30, 3, '#', '!', 3, '\f', '\n', 4, '\"', 31, 13788, 13788, 30, NistHelper.SEP_FS, 3, 16, 22, 30, 0, 24, 0, 30, '\r', 16, 23, 0, '#', 3, 3, 14}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_decline_terms_alert_description).substring(31, 32).codePointAt(0) + 17), 35 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 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(Process.getGidForName("") + 488, 5 - (ViewConfiguration.getLongPressTimeout() >> 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558521);
this.f7046o = DonationsLandingFragment.d();
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.fragment_donations_landing_layout, this.f7046o, null, 2);
a.b();
}
@Override // o.dHV, 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 = q + 109;
s = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(new int[]{1370522838, 1087380262, 1745841411, 39592099, 1469764392, 32264024, 353955561, 1501333727, 443671689, -1119835693, -171000472, -917789151, -2024548731, -1287006867}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{-974498215, -205548013, -1782107868, -723746172, 53451912, -303319309, -1370258345, -1277840421, -1309987217, 74661093}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = q + 123;
s = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = s + 23;
q = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 492, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) ((-1) - MotionEvent.axisFromString("")))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - ((Process.getThreadPriority(0) + 20) >> 6), 5 - View.MeasureSpec.getMode(0), (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void ax(int[] iArr, int i, Object[] objArr) {
int length;
int[] iArr2;
int i2;
int[] iArr3;
int i3 = 2;
int i4 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = m;
int i5 = 729798706;
int i6 = 1;
char c = 0;
if (iArr4 != null) {
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int i7 = 0;
while (i7 < length2) {
int i8 = $10 + 99;
$11 = i8 % 128;
if (i8 % i3 == 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[c] = Integer.valueOf(iArr4[i7]);
Object obj = xzZ.y.get(Integer.valueOf(i5));
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.getTrimmedLength("") + 15, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 58133));
Class<?>[] clsArr = new Class[1];
clsArr[c] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr5[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr3 = {Integer.valueOf(iArr4[i7])};
Object obj2 = xzZ.y.get(729798706);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 16, KeyEvent.keyCodeFromString("") + 5, (char) (58134 - (ViewConfiguration.getScrollDefaultDelay() >> 16)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr5[i7] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i7++;
}
i3 = 2;
c = 0;
i5 = 729798706;
}
iArr4 = iArr5;
}
int length3 = iArr4.length;
int[] iArr6 = new int[length3];
int[] iArr7 = m;
if (iArr7 != null) {
int i9 = $11 + 29;
$10 = i9 % 128;
if (i9 % 2 != 0) {
length = iArr7.length;
iArr2 = new int[length];
i2 = 1;
} else {
length = iArr7.length;
iArr2 = new int[length];
i2 = 0;
}
while (i2 < length) {
Object[] objArr4 = new Object[i6];
objArr4[0] = Integer.valueOf(iArr7[i2]);
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
iArr3 = iArr7;
} else {
iArr3 = iArr7;
obj3 = ((Class) xzZ.c(15 - (ViewConfiguration.getScrollDefaultDelay() >> 16), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (58134 - View.resolveSizeAndState(0, 0, 0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj3);
}
iArr2[i2] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i2++;
iArr7 = iArr3;
i6 = 1;
}
iArr7 = iArr2;
}
char c2 = 0;
System.arraycopy(iArr7, 0, iArr6, 0, length3);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
cArr[c2] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr6);
int i10 = 0;
for (int i11 = 16; i10 < i11; i11 = 16) {
c4403bZM.e ^= iArr6[i10];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 118, 5 - Color.blue(0), (char) KeyEvent.getDeadChar(0, 0));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr6 = new Object[1];
az(b, b2, (byte) (b2 | 16), objArr6);
obj4 = cls2.getMethod((String) objArr6[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i10++;
}
int i12 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i12;
c4403bZM.a ^= iArr6[16];
c4403bZM.e ^= iArr6[17];
int i13 = c4403bZM.e;
int i14 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr6);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr7 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(98 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 5 - Color.blue(0), (char) ((-1) - MotionEvent.axisFromString("")));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr8 = new Object[1];
az(b3, b4, (byte) (b4 | Ascii.DC2), objArr8);
obj5 = cls3.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr7);
c2 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.dHV, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 61;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{1370522838, 1087380262, 1745841411, 39592099, 1469764392, 32264024, 353955561, 1501333727, 443671689, -1119835693, -171000472, -917789151, -2024548731, -1287006867}, ExpandableListView.getPackedPositionGroup(0L) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{-974498215, -205548013, -1782107868, -723746172, 53451912, -303319309, -1370258345, -1277840421, -1309987217, 74661093}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 1;
q = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 493, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - Color.red(0), MotionEvent.axisFromString("") + 6, (char) TextUtils.getOffsetAfter("", 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void ay(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
char c;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = k;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr2 != null) {
int i5 = $11 + 89;
$10 = i5 % 128;
int i6 = i5 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i7 = 0;
while (i7 < length) {
int i8 = $11 + 29;
$10 = i8 % 128;
if (i8 % i3 != 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 298, 6 - (ViewConfiguration.getScrollFriction() > f ? 1 : (ViewConfiguration.getScrollFriction() == f ? 0 : -1)), (char) Color.green(0));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
az(b2, b3, (byte) (b3 + 3), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i7])};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(298 - TextUtils.indexOf("", "", 0), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
az(b4, b5, (byte) (b5 + 3), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
cArr3[i7] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i7++;
}
i3 = 2;
f = BitmapDescriptorFactory.HUE_RED;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(l)};
Object obj3 = xzZ.y.get(-1987398494);
char c2 = 5;
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 298, 5 - Drawable.resolveOpacity(0, 0), (char) Gravity.getAbsoluteGravity(0, 0));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
az(b6, b7, (byte) (b7 + 3), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
char charValue = ((Character) ((Method) obj3).invoke(null, objArr6)).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);
c = c2;
} else {
Object[] objArr8 = new Object[13];
objArr8[12] = irs;
objArr8[11] = Integer.valueOf(charValue);
objArr8[10] = irs;
objArr8[9] = irs;
objArr8[8] = Integer.valueOf(charValue);
objArr8[7] = irs;
objArr8[6] = irs;
objArr8[c2] = Integer.valueOf(charValue);
objArr8[4] = irs;
objArr8[3] = irs;
objArr8[2] = Integer.valueOf(charValue);
objArr8[1] = irs;
objArr8[0] = irs;
Object obj4 = xzZ.y.get(822107368);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(232 - ExpandableListView.getPackedPositionChild(0L), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (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)) + 22024));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
az(b8, b9, b9, objArr9);
obj4 = cls4.getMethod((String) objArr9[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, obj4);
}
if (((Integer) ((Method) obj4).invoke(null, objArr8)).intValue() == irs.j) {
int i9 = $11 + 123;
$10 = i9 % 128;
int i10 = i9 % 2;
Object[] objArr10 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(-1152873385);
if (obj5 != null) {
c = 5;
} else {
Class cls5 = (Class) xzZ.c(328 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), TextUtils.indexOf("", "") + 5, (char) (ExpandableListView.getPackedPositionChild(0L) + 1));
byte b10 = (byte) 0;
byte b11 = b10;
Object[] objArr11 = new Object[1];
az(b10, b11, (byte) (b11 + 2), objArr11);
c = 5;
obj5 = cls5.getMethod((String) objArr11[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, obj5);
}
int intValue = ((Integer) ((Method) obj5).invoke(null, objArr10)).intValue();
int i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i11];
} else {
c = 5;
if (irs.a == irs.d) {
int i12 = $10 + 57;
$11 = i12 % 128;
int i13 = i12 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i14 = (irs.a * charValue) + irs.f;
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
} else {
int i16 = (irs.a * charValue) + irs.j;
int i17 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i16];
cArr4[irs.e + 1] = cArr2[i17];
}
}
}
irs.e += 2;
c2 = c;
}
}
for (int i18 = 0; i18 < i; i18++) {
cArr4[i18] = (char) (cArr4[i18] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // o.dHV, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new int[]{1370522838, 1087380262, 1745841411, 39592099, 1363263687, 413737542, -1864713760, -816689664, 755710377, 956198701}, (ViewConfiguration.getWindowTouchSlop() >> 8) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{-211966456, -693277428, -1607533008, 189891461}, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 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 i2 = q + 101;
s = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new int[]{-1887159416, -762541121, 1242218905, -1539743072, -528671140, 1917984849, 294145102, 1484189747, 820896439, 382645428, -1292890207, 683554896, -29393093, -944911998, 411364759, 1728197951, -1067256970, -2114759069, -1929269949, 1082382557, -144319758, 1402263364, -941531321, 1937525874}, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 47, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{16, 3, '!', 14, '\"', 2, ' ', 15, 17, 3, 31, '!', 31, '!', 14, 0, '!', '\"', 0, ' ', 20, 30, 27, 30, 14, '\"', 6, 24, ' ', '\f', 1, '\f', 13769, 13769, 0, 29, 1, 17, 13844, 13844, '\"', 2, 26, 30, 0, 3, '\"', 2, 1, 19, '\f', '\r', 19, '\f', 0, 5, '\f', 19, 1, 14, '\"', 2, 27, '\f'}, (byte) (View.resolveSizeAndState(0, 0, 0) + 28), 65 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(new int[]{-695062968, 1980306760, -1102098419, 266192384, 369714589, -1182347710, -1765408842, -716698682, -2038608250, 975944360, 309728350, -1534025209, -541796863, -1342864017, -1695469954, 50100754, 2081271776, 350429451, 194134794, 29497918, -1865178703, 112880468, 230581694, -84119940, -488830860, 1324148244, -14998056, 1353846645, 1886108769, 244085963, -1693922321, 4892287}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 63, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{'\r', 25, 20, 23, 21, 29, 13831, 13831, 18, 21, 25, 27, 19, 0, 13897, 13897, 17, 27, 19, 21, 25, 29, 0, NistHelper.SEP_FS, '!', 23, 7, 21, 11, 25, '\f', 27, 20, 19, 29, 18, 21, 7, 6, 11, 25, 24, '#', 19, 7, 11, 25, 24, 21, 15, 19, 0, 27, 26, NistHelper.SEP_FS, 18, 19, 26, 23, ' ', '\t', 17, 18, 20, 26, 7, 31, 24, 14, '\t', 17, '!', 20, 18}, (byte) (83 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))), Color.green(0) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{15, '\b', 15, 7, 13851}, (byte) (114 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))), 5 - KeyEvent.getDeadChar(0, 0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{'\f', 27, 31, '\"', ' ', '\r', 30, 3, '#', '!', 3, '\f', '\n', 4, '\"', 31, 13788, 13788, 30, NistHelper.SEP_FS, 3, 16, 22, 30, 0, 24, 0, 30, '\r', 16, 23, 0, '#', 3, 3, 14}, (byte) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 50), Color.red(0) + 36, 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(Color.red(0) + 487, 5 - KeyEvent.normalizeMetaState(0), (char) TextUtils.indexOf("", "", 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 i4 = s + 71;
q = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.dHV, 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 + 115;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 49;
q = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 65 / 0;
}
}
}