what-the-bank/sources/com/scb/phone/view/activity/easycash/Hilt_CompanySearchActivity....

705 lines
42 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.easycash;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivityWithFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13068fPo;
import o.C13073fPt;
import o.C4593bdB;
import o.IRS;
import o.InterfaceC17278vUG;
import o.InterfaceC8349dIj;
import o.VLM;
import o.fOV;
import o.fPA;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public abstract class Hilt_CompanySearchActivity extends BaseActivityWithFragment implements fPA {
private volatile C13073fPt b;
private final Object k = new Object();
boolean m = false;
private static final byte[] $$y = {ISO7816.INS_DECREASE_STAMPED, -25, 126, 49};
private static final int $$z = 82;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int q = 1;
/* renamed from: o, reason: collision with root package name */
private static long f7074o = 7349962848003895617L;
private static char[] l = {49111, 48169, 49034, 49030, 48174, 49031, 49027, 49091, 48161, 49098, 49106, 49029, 49089, 49053, 49104, 48160, 49095, 49052, 48170, 49110, 49126, 49090, 49088, 49035, 48168, 49093, 49116, 49028, 49118, 49119, 49105, 49117, 48175, 49108, 49114, 48173, 49115, 48171, 48163, 49109, 49026, 49094, 49024, 49112, 49127, 49033, 48172, 49138, 49025};
private static char p = 35374;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x0030). 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 aF(int r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r8 = r8 + 77
int r6 = r6 * 2
int r0 = 1 - r6
byte[] r1 = com.scb.phone.view.activity.easycash.Hilt_CompanySearchActivity.$$y
int r7 = r7 * 4
int r7 = 3 - r7
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L17
r3 = r8
r4 = r2
r8 = r7
goto L30
L17:
r3 = r2
L18:
int r7 = r7 + 1
byte r4 = (byte) r8
r0[r3] = r4
if (r3 != r6) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L27:
int r3 = r3 + 1
r4 = r1[r7]
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L30:
int r7 = r7 + r3
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.easycash.Hilt_CompanySearchActivity.aF(int, int, short, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_CompanySearchActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.easycash.Hilt_CompanySearchActivity.5
private Hilt_CompanySearchActivity c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_CompanySearchActivity hilt_CompanySearchActivity = this.c;
if (hilt_CompanySearchActivity.m) {
return;
}
hilt_CompanySearchActivity.m = true;
((InterfaceC8349dIj) hilt_CompanySearchActivity.y_()).d((CompanySearchActivity) hilt_CompanySearchActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = q + 9;
r = i2 % 128;
int i3 = i2 % 2;
C13073fPt h = h();
if (i3 == 0) {
return h.y_();
}
h.y_();
throw null;
}
private C13073fPt h() {
if (this.b == null) {
synchronized (this.k) {
if (this.b == null) {
this.b = new C13073fPt(this);
}
}
}
return this.b;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i2 = r + 9;
q = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
} else {
int i4 = r + 43;
q = i4 % 128;
int i5 = i4 % 2;
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aD(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(401 - ExpandableListView.getPackedPositionChild(0L), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (21608 - TextUtils.getCapsMode("", 0, 0)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (f7074o ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 238, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) Color.red(0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aF(b3, b4, (byte) (b4 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i4 = $11 + 27;
$10 = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $10 + 125;
$11 = i6 % 128;
if (i6 % 2 == 0) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((Process.myPid() >> 22) + 238, (Process.myPid() >> 22) + 5, (char) ((-1) - Process.getGidForName("")));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aF(b5, b6, (byte) (b6 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i7 = 44 / 0;
} else {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(238 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (Process.myTid() >> 22));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
aF(b7, b8, (byte) (b8 + 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
objArr[0] = new String(cArr2);
}
@Override // 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;
Object[] objArr = new Object[1];
aD(new char[]{8934, 13692, 3529, 25674, 31932, 22279, 44957, 34746, 40512, 63177, 51579, 8624, 14345, 4217, 26818, 17241, 23460, 45585}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) + 5938, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{30, 7, 27, ')', 13852}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.car_insuracne_sales_sheet_title).substring(0, 25).length() + 5), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.qr_edit_prompt_pay).substring(14, 17).length() + 2, 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 = r + 19;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aE(new char[]{17, '&', 5, 7, 27, '!', 6, 7, 11, '\b', '\b', 7, '*', 19, 20, 30, 27, ' ', 23, 16, '+', '%', 19, 26, 7, 3}, (byte) (30 - ((Process.getThreadPriority(0) + 20) >> 6)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 78, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE(new char[]{20, '#', 13906, 13906, 17, '!', 19, ',', 13908, 13908, 30, NistHelper.SEP_FS, 17, 7, 20, 30, 24, '!'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 93), ((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 = r + 61;
q = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = r + 11;
q = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "", 0) + 492, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE(new char[]{')', 26, 2, '!', 0, 21, '&', 11, '%', '\t', '-', '\r', ',', NistHelper.SEP_FS, ',', 21, NistHelper.SEP_FS, ',', ',', 27, '/', 0, '\t', 3, '.', 18, 17, 0, 16, 0, 5, '#', '&', 5, 26, '%', '(', 18, 13917, 13917, '/', 6, 3, 4, 16, 21, 26, '\f'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 88), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 35, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{16, '!', '\f', 18, '\t', ' ', 6, 3, 17, 5, '.', '\r', '.', '\r', 26, ')', '\f', 4, ')', '/', 18, 7, '\f', 3, '.', 7, 0, 20, ',', 6, 2, 27, 13852, 13852, '\n', 17, 2, 24, 13927, 13927, '\t', ' ', 11, '\f', 5, '&', '\t', ' ', 2, 21, ')', 25, 16, 21, 2, 31, 21, 16, '%', 26, '\t', ' ', '\f', 17}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 65), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new char[]{8934, 58506, 44765, 28715, 14898, 64957, 34780, 18833, 4893, 54627, 40102, 42661, 26777, 12802, 62545, 49060, 16822, 2912, 52571, 38744, 24210, 24814, 10814, 60534, 46620, 31122, 899, 50549, 36723, 22192, 6280, 8840, 58387, 44592, 29164, 15245, 64966, 34588, 18792, 4261, 56058, 40138, 42496, 26707, 13309, 62901, 48951, 16729, 2837, 53959, 38127, 24112, 24693, 10823, 60825, 46978, 31023, 811, 51939, 36049, 22238, 6174, 8754, 58811}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_debit_card_confirm_change_pin_popup_message).substring(21, 22).length() + 50740, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{'%', 15, 14, '\t', 24, '+', 13835, 13835, 27, 29, 7, 31, 19, 21, 13901, 13901, 26, 19, 20, NistHelper.SEP_FS, '\b', 31, 31, '\t', 29, '-', '\t', 20, '(', '\b', 17, '\f', 17, 15, '\b', 24, 20, '\t', '\"', '(', 11, '\r', 1, 21, 27, '#', 11, '\r', 20, '\f', 19, 21, 31, 14, 11, '\b', 31, 20, NistHelper.SEP_FS, ' ', '(', 26, 23, 15, 18, 24, '-', 20, 18, 26, 17, '!', 15, 23}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 52), 74 - (ViewConfiguration.getKeyRepeatDelay() >> 16), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(new char[]{6, '\t', 27, '\t', 13751}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_success_withdraw_slip_file_name).substring(0, 25).length() - 12), ((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];
aD(new char[]{8930, 7013, 20915, 36410, 50415, 15665, 31649, 45090, 61106, 10026, 7593, 23107, 37057, 51469, 1945, 31768, 47750, 62213, 10652, 26207, 23769, 38237, 54182, 2159, 18173, 48943, 62971, 12855, 26852, 41269, 40894, 54383, 4819, 19281, 33232, 65035}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_app_outcome_upselling_custom_placeholder).substring(0, 7).length() + 14716, 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(488 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) KeyEvent.getDeadChar(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);
}
@Override // 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 = r + 35;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aE(new char[]{17, '&', 5, 7, 27, '!', 6, 7, 11, '\b', '\b', 7, '*', 19, 20, 30, 27, ' ', 23, 16, '+', '%', 19, 26, 7, 3}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 4), View.resolveSizeAndState(0, 0, 0) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{20, '#', 13906, 13906, 17, '!', 19, ',', 13908, 13908, 30, NistHelper.SEP_FS, 17, 7, 20, 30, 24, '!'}, (byte) (106 - TextUtils.getTrimmedLength("")), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 25;
r = i4 % 128;
if (i4 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 38 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i6 = q + 117;
r = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 492, 5 - Gravity.getAbsoluteGravity(0, 0), (char) KeyEvent.getDeadChar(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(486 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), 5 - Drawable.resolveOpacity(0, 0), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i7 = 52 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(491 - MotionEvent.axisFromString(""), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - TextUtils.indexOf("", "", 0, 0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // 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 + 21;
r = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aE(new char[]{17, '&', 5, 7, 27, '!', 6, 7, 11, '\b', '\b', 7, '*', 19, 20, 30, 27, ' ', 23, 16, '+', '%', 19, 26, 7, 3}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 4), ((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];
aE(new char[]{20, '#', 13906, 13906, 17, '!', 19, ',', 13908, 13908, 30, NistHelper.SEP_FS, 17, 7, 20, 30, 24, '!'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_withdraw_qr_return_to_account_message).substring(42, 43).codePointAt(0) + 74), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.permission_location_denied).substring(30, 31).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i3 = q + 39;
r = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
int i5 = q + 123;
r = i5 % 128;
if (i5 % 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(491 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) Color.blue(0))).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(486 - ImageFormat.getBitsPerPixel(0), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) TextUtils.getCapsMode("", 0, 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 aE(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
char c;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = l;
long j = 0;
int i4 = 8;
int i5 = 1;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[0] = Integer.valueOf(cArr2[i6]);
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > j ? 1 : (ViewConfiguration.getZoomControlsTimeout() == j ? 0 : -1)) + 297, 5 - (ViewConfiguration.getScrollBarSize() >> i4), (char) KeyEvent.keyCodeFromString(""));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aF(b2, b3, (byte) (b3 | 40), 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;
i4 = 8;
i5 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(p)};
Object obj2 = xzZ.y.get(-1987398494);
char c2 = 6;
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 298, ExpandableListView.getPackedPositionChild(0L) + 6, (char) (MotionEvent.axisFromString("") + 1));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aF(b4, b5, (byte) (b5 | 40), 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) {
int i7 = $11 + 105;
$10 = i7 % 128;
int i8 = i7 % 2;
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[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[c2] = irs;
objArr6[5] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 234, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (22025 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aF(b6, b7, (byte) (b7 | 43), 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 i9 = $10 + 27;
$11 = i9 % 128;
int i10 = i9 % 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 = 6;
} else {
Class cls4 = (Class) xzZ.c(327 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) ((-1) - MotionEvent.axisFromString("")));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
aF(b8, b9, (byte) (b9 | 41), objArr9);
String str = (String) objArr9[0];
c = 6;
obj4 = cls4.getMethod(str, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i11];
} else {
c = 6;
if (irs.a == irs.d) {
int i12 = $11 + 97;
$10 = 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;
}
}
int i18 = 0;
while (i18 < i) {
int i19 = $10 + 111;
$11 = i19 % 128;
if (i19 % 2 == 0) {
cArr4[i18] = (char) (cArr4[i18] ^ 18019);
i18 += 94;
} else {
cArr4[i18] = (char) (cArr4[i18] ^ 13722);
i18++;
}
}
objArr[0] = new String(cArr4);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // com.scb.phone.view.activity.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];
aD(new char[]{8934, 13692, 3529, 25674, 31932, 22279, 44957, 34746, 40512, 63177, 51579, 8624, 14345, 4217, 26818, 17241, 23460, 45585}, 6036 - TextUtils.indexOf((CharSequence) "", '0'), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{30, 7, 27, ')', 13852}, (byte) (View.MeasureSpec.getSize(0) + 30), TextUtils.indexOf((CharSequence) "", '0') + 6, 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 + 83;
r = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = r + 57;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.resolveSize(0, 0), Color.alpha(0) + 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];
aE(new char[]{')', 26, 2, '!', 0, 21, '&', 11, '%', '\t', '-', '\r', ',', NistHelper.SEP_FS, ',', 21, NistHelper.SEP_FS, ',', ',', 27, '/', 0, '\t', 3, '.', 18, 17, 0, 16, 0, 5, '#', '&', 5, 26, '%', '(', 18, 13917, 13917, '/', 6, 3, 4, 16, 21, 26, '\f'}, (byte) (101 - (ViewConfiguration.getTouchSlop() >> 8)), ImageFormat.getBitsPerPixel(0) + 49, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new char[]{16, '!', '\f', 18, '\t', ' ', 6, 3, 17, 5, '.', '\r', '.', '\r', 26, ')', '\f', 4, ')', '/', 18, 7, '\f', 3, '.', 7, 0, 20, ',', 6, 2, 27, 13852, 13852, '\n', 17, 2, 24, 13927, 13927, '\t', ' ', 11, '\f', 5, '&', '\t', ' ', 2, 21, ')', 25, 16, 21, 2, 31, 21, 16, '%', 26, '\t', ' ', '\f', 17}, (byte) (110 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), Color.rgb(0, 0, 0) + 16777280, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new char[]{8934, 58506, 44765, 28715, 14898, 64957, 34780, 18833, 4893, 54627, 40102, 42661, 26777, 12802, 62545, 49060, 16822, 2912, 52571, 38744, 24210, 24814, 10814, 60534, 46620, 31122, 899, 50549, 36723, 22192, 6280, 8840, 58387, 44592, 29164, 15245, 64966, 34588, 18792, 4261, 56058, 40138, 42496, 26707, 13309, 62901, 48951, 16729, 2837, 53959, 38127, 24112, 24693, 10823, 60825, 46978, 31023, 811, 51939, 36049, 22238, 6174, 8754, 58811}, 50741 - (ViewConfiguration.getScrollBarSize() >> 8), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{'%', 15, 14, '\t', 24, '+', 13835, 13835, 27, 29, 7, 31, 19, 21, 13901, 13901, 26, 19, 20, NistHelper.SEP_FS, '\b', 31, 31, '\t', 29, '-', '\t', 20, '(', '\b', 17, '\f', 17, 15, '\b', 24, 20, '\t', '\"', '(', 11, '\r', 1, 21, 27, '#', 11, '\r', 20, '\f', 19, 21, 31, 14, 11, '\b', 31, 20, NistHelper.SEP_FS, ' ', '(', 26, 23, 15, 18, 24, '-', 20, 18, 26, 17, '!', 15, 23}, (byte) (86 - (ViewConfiguration.getLongPressTimeout() >> 16)), Color.alpha(0) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new char[]{6, '\t', 27, '\t', 13751}, (byte) (ExpandableListView.getPackedPositionType(0L) + 13), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new char[]{8930, 7013, 20915, 36410, 50415, 15665, 31649, 45090, 61106, 10026, 7593, 23107, 37057, 51469, 1945, 31768, 47750, 62213, 10652, 26207, 23769, 38237, 54182, 2159, 18173, 48943, 62971, 12855, 26852, 41269, 40894, 54383, 4819, 19281, 33232, 65035}, View.resolveSize(0, 0) + 14723, 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((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 487, 4 - Process.getGidForName(""), (char) Color.red(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 i6 = r + 103;
q = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // 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 = r + 111;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = q + 77;
r = i4 % 128;
int i5 = i4 % 2;
}
}