what-the-bank/sources/com/scb/phone/view/activity/findus/FindUsActivity.java

630 lines
38 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.findus;
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.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.findus.FindUsFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC13482fbE;
import o.IRS;
import o.dNO;
import o.jTb;
import o.xzZ;
/* loaded from: classes4.dex */
public class FindUsActivity extends dNO {
private static final byte[] $$g = {95, -10, ISO7816.INS_CREATE_FILE, 95};
private static final int $$h = 7;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int s = 1;
private static char k = 44885;
private static char m = 2127;
/* renamed from: o, reason: collision with root package name */
private static char f7162o = 24218;
private static char l = 23737;
private static char[] r = {49106, 48173, 48168, 49025, 49034, 49114, 48170, 49110, 49089, 49091, 49026, 49104, 48169, 49111, 49105, 49117, 49031, 49109, 49108, 49098, 49095, 49027, 49028, 49118, 49024, 49138, 49116, 49094, 48175, 49030, 49035, 49119, 48172, 49029, 48171, 49126};
private static char q = 35375;
private static void az(int i, int i2, short s2, Object[] objArr) {
int i3 = 120 - i2;
int i4 = (i * 2) + 4;
byte[] bArr = $$g;
int i5 = s2 * 3;
byte[] bArr2 = new byte[1 - i5];
int i6 = 0 - i5;
int i7 = -1;
if (bArr == null) {
i4++;
i3 += i6;
}
while (true) {
i7++;
bArr2[i7] = (byte) i3;
if (i7 == i6) {
objArr[0] = new String(bArr2, 0);
return;
} else {
int i8 = bArr[i4];
i4++;
i3 += i8;
}
}
}
public static void d(Context context, boolean z) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) FindUsActivity.class);
intent.putExtra("com.scb.phone.EXTRA_CARDLESS_FIND_US_ATM", z);
context.startActivity(intent);
int i2 = s + 41;
t = i2 % 128;
int i3 = i2 % 2;
}
public static Intent afv_(Context context) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) FindUsActivity.class);
intent.putExtra("com.scb.phone.EXTRA_CARDLESS_FIND_US_ATM", false);
int i2 = t + 119;
s = i2 % 128;
if (i2 % 2 != 0) {
return intent;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.dNO, 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 char[]{37497, 62938, 37505, 6539, 27555, 57340, 58437, 23068, 3134, 50938, 40342, 57660, 61289, 63060, 46824, 11842, 27850, 35707}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{18, 20, 5, 11, 13869}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.omnibus_fund_capsule).substring(0, 7).length() + 40), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 77;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ax(new char[]{37497, 62938, 37505, 6539, 27555, 57340, 58437, 23068, 34742, 17129, 41683, 9180, 42379, 5707, 21169, 21447, 8117, 31079, 53750, 53335, 7345, 32513, 38538, 6304, 65484, 41317}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.edit_address_remark).substring(11, 12).codePointAt(0) - 6, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new char[]{'\t', 29, 13872, 13872, '\t', '\r', 19, 26, 13874, 13874, '#', 1, 6, 5, 23, 2, 27, 14}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.crop_document_error_blurry).substring(63, 64).codePointAt(0) + 40), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 107;
t = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
int i6 = t + 45;
s = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = s + 113;
t = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 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 char[]{14174, 50752, 33779, 65362, 34995, 14010, 5351, 32560, 8379, 59191, 2256, 49050, 52772, 24133, 38439, 4221, 62802, 12027, 2375, 20092, 52826, 59428, 37146, 27335, 11291, 31413, 26596, 58416, 6462, 59492, 37567, 1270, 10153, 38893, 31007, 5935, 41600, 31996, 23328, 4986, 57739, 63067, 39323, 20484, 1514, 163, 52391, 37104}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_scbone_occupation_year_and_month_value).substring(0, 3).length() + 45, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{34239, 50857, 8281, 50623, 28191, 54160, 39273, 7516, 52047, 38398, 65293, 11256, 65293, 11256, 7483, 31496, 24054, 29772, 57489, 61566, 39901, 31857, 60157, 55973, 21948, 6717, 8661, 24352, 21606, 20782, 40676, 38361, 22971, 1013, 31788, 56751, 19305, 17577, 23328, 4986, 28191, 54160, 65076, 7662, 25061, 47671, 28191, 54160, 59960, 28050, 19869, 61714, 1514, 163, 48264, 58318, 57158, 5537, 36418, 12987, 28191, 54160, 3160, 40591}, 64 - (ViewConfiguration.getTouchSlop() >> 8), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{6, 0, 18, 27, 6, 30, 13870, 13870, 4, 5, 25, 6, 15, 17, 18, '!', 2, '\f', 15, 23, '\t', 22, 21, 4, 6, '#', '\r', 11, 31, '\"', 1, 16, 17, 15, 5, 24, 27, 5, 13786, 13786, 27, 23, 24, 25, 23, 17, 31, '\t', '\r', '\b', 0, '!', '\"', 3, 23, 15, 18, 3, '\f', 5, 24, '#', '\n', 23}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.export_statement_successful_description_with_note).substring(13, 14).codePointAt(0) - 69), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_document_uploaded_files).substring(0, 3).length() + 61, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{55619, 61490, 34824, 32758, 7824, 55317, 26616, 64530, 42551, 13600, 42895, 11769, 32204, 45566, 27194, 49047, 23288, 32753, 43763, 8437, 58206, 56109, 59070, 20698, 13678, 45036, 49455, 35321, 26529, 48473, 37166, 44045, 5170, 21809, 56685, 25799, 6693, 22767, 33952, 53238, 30688, 4236, 38400, 22680, 16233, 52068, 30688, 4236, 32633, 55813, 32204, 45566, 54411, 17600, 34742, 17129, 17899, 35452, 18897, 15715, 33407, 51137, 24255, 41064, 47167, 60485, 13920, 16942, 19979, 49399, 49805, 46849, 34860, 30245}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 61, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(new char[]{32360, 1502, 65241, 47531, 6113, 32081}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(new char[]{37166, 44045, 57739, 63067, 41084, 33097, 40610, 9482, 15038, 30670, 48455, 4284, 22197, 19688, 64681, 54373, 63433, 9499, 50821, 3118, 23518, 42256, 59841, 12826, 22723, 29943, 2256, 49050, 8755, 49544, 26596, 58416, 29468, 30970, 46393, 7199}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_summary_months).substring(0, 3).length() + 33, 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(TextUtils.getOffsetAfter("", 0) + 487, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) TextUtils.getTrimmedLength(""))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558572);
FindUsFragment d = FindUsFragment.d(getIntent().getBooleanExtra("com.scb.phone.EXTRA_CARDLESS_FIND_US_ATM", false));
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.fragment_select_province_district_container, d, getString(R.string.find_us_fragment_tag), 1);
a.b();
}
private static void ax(char[] cArr, int i, Object[] objArr) {
char c;
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
int i4 = $11 + 53;
$10 = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 5 / 5;
}
while (jtb.b < cArr.length) {
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i6 = $10 + 15;
$11 = i6 % 128;
int i7 = i6 % 2;
int i8 = 58224;
int i9 = i3;
while (i9 < 16) {
char c2 = cArr3[1];
char c3 = cArr3[i3];
int i10 = (c3 + i8) ^ ((c3 << 4) + ((char) (f7162o ^ 41718355337583039L)));
int i11 = c3 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(l);
objArr2[2] = Integer.valueOf(i11);
objArr2[1] = Integer.valueOf(i10);
objArr2[i3] = Integer.valueOf(c2);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(i3) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(i3) == 0.0d ? 0 : -1)) + 412, 5 - Color.alpha(i3), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', i3)));
byte b = (byte) i3;
Object[] objArr3 = new Object[1];
az(b, (byte) (b | 54), b, objArr3);
String str = (String) objArr3[i3];
Class<?>[] clsArr = new Class[4];
clsArr[i3] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i3]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (k ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(m)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 412, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
az(b2, (byte) (b2 | 54), b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i8 -= 40503;
i9++;
int i12 = $10 + 89;
$11 = i12 % 128;
int i13 = i12 % 2;
cArr3 = cArr4;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 != null) {
c = 5;
} else {
c = 5;
Class cls3 = (Class) xzZ.c(97 - ExpandableListView.getPackedPositionChild(0L), Color.alpha(0) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b3, (byte) (b3 | 53), b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i3 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.dNO, 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 = s + 5;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new char[]{37497, 62938, 37505, 6539, 27555, 57340, 58437, 23068, 34742, 17129, 41683, 9180, 42379, 5707, 21169, 21447, 8117, 31079, 53750, 53335, 7345, 32513, 38538, 6304, 65484, 41317}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_coupon_not_enough).substring(6, 7).codePointAt(0) - 85, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{'\t', 29, 13872, 13872, '\t', '\r', 19, 26, 13874, 13874, '#', 1, 6, 5, 23, 2, 27, 14}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_review_repayment_term_description).substring(45, 46).length() + 71), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_select_account_mf_title).substring(89, 90).codePointAt(0) - 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = t + 23;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i6 = t + 93;
s = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - Process.getGidForName(""), MotionEvent.axisFromString("") + 6, (char) View.combineMeasuredStates(0, 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(TextUtils.indexOf("", "", 0) + 487, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).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.dNO, 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 = t + 89;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new char[]{37497, 62938, 37505, 6539, 27555, 57340, 58437, 23068, 34742, 17129, 41683, 9180, 42379, 5707, 21169, 21447, 8117, 31079, 53750, 53335, 7345, 32513, 38538, 6304, 65484, 41317}, 26 - TextUtils.getOffsetAfter("", 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{'\t', 29, 13872, 13872, '\t', '\r', 19, 26, 13874, 13874, '#', 1, 6, 5, 23, 2, 27, 14}, (byte) (72 - TextUtils.getCapsMode("", 0, 0)), 19 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = s + 115;
t = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 492, Color.alpha(0) + 5, (char) (ImageFormat.getBitsPerPixel(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((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)) + 487, TextUtils.getTrimmedLength("") + 5, (char) TextUtils.getOffsetBefore("", 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();
}
@Override // o.dNO, 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 = t + 113;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{37497, 62938, 37505, 6539, 27555, 57340, 58437, 23068, 3134, 50938, 40342, 57660, 61289, 63060, 46824, 11842, 27850, 35707}, 18 - (ViewConfiguration.getLongPressTimeout() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{18, 20, 5, 11, 13869}, (byte) (MotionEvent.axisFromString("") + 48), TextUtils.getOffsetBefore("", 0) + 5, objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = t + 57;
s = i4 % 128;
if (i4 % 2 == 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i5 = t + 21;
s = i5 % 128;
if (i5 % 2 == 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getLongPressTimeout() >> 16), 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new char[]{14174, 50752, 33779, 65362, 34995, 14010, 5351, 32560, 8379, 59191, 2256, 49050, 52772, 24133, 38439, 4221, 62802, 12027, 2375, 20092, 52826, 59428, 37146, 27335, 11291, 31413, 26596, 58416, 6462, 59492, 37567, 1270, 10153, 38893, 31007, 5935, 41600, 31996, 23328, 4986, 57739, 63067, 39323, 20484, 1514, 163, 52391, 37104}, ExpandableListView.getPackedPositionType(0L) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new char[]{34239, 50857, 8281, 50623, 28191, 54160, 39273, 7516, 52047, 38398, 65293, 11256, 65293, 11256, 7483, 31496, 24054, 29772, 57489, 61566, 39901, 31857, 60157, 55973, 21948, 6717, 8661, 24352, 21606, 20782, 40676, 38361, 22971, 1013, 31788, 56751, 19305, 17577, 23328, 4986, 28191, 54160, 65076, 7662, 25061, 47671, 28191, 54160, 59960, 28050, 19869, 61714, 1514, 163, 48264, 58318, 57158, 5537, 36418, 12987, 28191, 54160, 3160, 40591}, TextUtils.indexOf((CharSequence) "", '0', 0) + 65, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{6, 0, 18, 27, 6, 30, 13870, 13870, 4, 5, 25, 6, 15, 17, 18, '!', 2, '\f', 15, 23, '\t', 22, 21, 4, 6, '#', '\r', 11, 31, '\"', 1, 16, 17, 15, 5, 24, 27, 5, 13786, 13786, 27, 23, 24, 25, 23, 17, 31, '\t', '\r', '\b', 0, '!', '\"', 3, 23, 15, 18, 3, '\f', 5, 24, '#', '\n', 23}, (byte) (TextUtils.lastIndexOf("", '0') + 48), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{55619, 61490, 34824, 32758, 7824, 55317, 26616, 64530, 42551, 13600, 42895, 11769, 32204, 45566, 27194, 49047, 23288, 32753, 43763, 8437, 58206, 56109, 59070, 20698, 13678, 45036, 49455, 35321, 26529, 48473, 37166, 44045, 5170, 21809, 56685, 25799, 6693, 22767, 33952, 53238, 30688, 4236, 38400, 22680, 16233, 52068, 30688, 4236, 32633, 55813, 32204, 45566, 54411, 17600, 34742, 17129, 17899, 35452, 18897, 15715, 33407, 51137, 24255, 41064, 47167, 60485, 13920, 16942, 19979, 49399, 49805, 46849, 34860, 30245}, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 73, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new char[]{32360, 1502, 65241, 47531, 6113, 32081}, MotionEvent.axisFromString("") + 6, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{37166, 44045, 57739, 63067, 41084, 33097, 40610, 9482, 15038, 30670, 48455, 4284, 22197, 19688, 64681, 54373, 63433, 9499, 50821, 3118, 23518, 42256, 59841, 12826, 22723, 29943, 2256, 49050, 8755, 49544, 26596, 58416, 29468, 30970, 46393, 7199}, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 36, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - TextUtils.getOffsetAfter("", 0), TextUtils.lastIndexOf("", '0') + 6, (char) View.resolveSizeAndState(0, 0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
int i6 = t + 125;
s = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
private static void ay(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
char c;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = r;
long j = 0;
if (cArr2 != null) {
int i4 = $10 + 121;
$11 = i4 % 128;
int i5 = i4 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 298, 4 - MotionEvent.axisFromString(""), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > j ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == j ? 0 : -1)) + 1));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 3);
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[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(q)};
Object obj2 = xzZ.y.get(-1987398494);
float f = BitmapDescriptorFactory.HUE_RED;
char c2 = 5;
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 298, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 3);
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);
}
char charValue = ((Character) ((Method) obj2).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) {
int i7 = $10 + 119;
$11 = i7 % 128;
int i8 = i7 % 2;
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);
int i9 = $10 + 37;
$11 = i9 % 128;
int i10 = i9 % 2;
c = c2;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[6] = irs;
objArr6[c2] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 232, 6 - (AudioTrack.getMaxVolume() > f ? 1 : (AudioTrack.getMaxVolume() == f ? 0 : -1)), (char) (22024 - TextUtils.getTrimmedLength("")));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
az(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
int i11 = $10 + 119;
$11 = i11 % 128;
int i12 = i11 % 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 obj4 = xzZ.y.get(-1152873385);
if (obj4 != null) {
c = 5;
} else {
Class cls4 = (Class) xzZ.c(328 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), Color.argb(0, 0, 0, 0) + 5, (char) ExpandableListView.getPackedPositionGroup(0L));
byte b8 = (byte) 0;
byte b9 = (byte) (b8 + 2);
Object[] objArr9 = new Object[1];
az(b8, b9, (byte) (b9 - 2), objArr9);
c = 5;
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i13];
} else {
c = 5;
if (irs.a == irs.d) {
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;
f = BitmapDescriptorFactory.HUE_RED;
}
}
int i18 = 0;
while (i18 < i) {
cArr4[i18] = (char) (cArr4[i18] ^ 13722);
i18++;
int i19 = $11 + 107;
$10 = i19 % 128;
int i20 = i19 % 2;
}
objArr[0] = new String(cArr4);
}
@Override // o.dNO, 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 + 43;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 21;
s = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
}