what-the-bank/sources/o/AbstractActivityC11342edY.java

693 lines
40 KiB
Java

package o;
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.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.ntb.fatca.FatcaHelpActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
import org.jnbis.internal.NistHelper;
/* renamed from: o.edY, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11342edY extends BaseActivity implements fPA {
private volatile C13073fPt k;
private static final byte[] $$p = {ISO7816.INS_PSO, ISOFileInfo.FCP_BYTE, 99, -29};
private static final int $$q = 25;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int x = 1;
private static char[] m = {35375, 49123, 49118, 49117, 49029, 49094, 49115, 35373, 49127, 35370, 49110, 49028, 49095, 49054, 35360, 49116, 49088, 49091, 49090, 49089, 49108, 35363, 49098, 49033, 35374, 35368, 49026, 49109, 49112, 49138, 49119, 49104, 49034, 49105, 49114, 49106, 49031, 35361, 49024, 49053, 49025, 49093, 49035, 35371, 49030, 49111, 35372, 49027, 49052};
private static char l = 35374;
private static char[] s = {16259, 16319, 16283, 16271, 16266, 15999, 15940, 15998, 15942};
private static int t = 1934310966;
private static boolean r = true;
private static boolean q = true;
/* renamed from: o, reason: collision with root package name */
private final Object f8978o = new Object();
boolean b = false;
/* 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:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(int r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 65
int r6 = r6 * 2
int r0 = 1 - r6
int r8 = r8 * 2
int r8 = 4 - r8
byte[] r1 = o.AbstractActivityC11342edY.$$p
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L17
r3 = r6
r7 = r8
r4 = r2
goto L2c
L17:
r3 = r2
L18:
byte r4 = (byte) r7
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L27:
r3 = r1[r8]
r5 = r8
r8 = r7
r7 = r5
L2c:
int r3 = -r3
int r8 = r8 + r3
int r7 = r7 + 1
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11342edY.aC(int, byte, short, java.lang.Object[]):void");
}
public AbstractActivityC11342edY() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.edY.3
private AbstractActivityC11342edY d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11342edY abstractActivityC11342edY = this.d;
if (abstractActivityC11342edY.b) {
return;
}
abstractActivityC11342edY.b = true;
((InterfaceC11343edZ) abstractActivityC11342edY.y_()).b((FatcaHelpActivity) abstractActivityC11342edY);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = p + 15;
x = i2 % 128;
int i3 = i2 % 2;
Object y_ = f().y_();
int i4 = p + 39;
x = i4 % 128;
if (i4 % 2 != 0) {
return y_;
}
throw null;
}
private C13073fPt f() {
if (this.k == null) {
synchronized (this.f8978o) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = x + 103;
p = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
super.getDefaultViewModelProviderFactory();
((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
getIntent();
obj.hashCode();
throw null;
}
VLM.LWm aBN_ = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a().aBN_(this, getIntent() != null ? getIntent().getExtras() : null, super.getDefaultViewModelProviderFactory());
int i3 = x + 83;
p = i3 % 128;
if (i3 % 2 == 0) {
return aBN_;
}
obj.hashCode();
throw null;
}
@Override // 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];
aA(new char[]{'&', 0, '/', 17, 20, 29, '.', '&', 16, 17, '$', 4, 20, 16, '&', 17, 13883, 13883}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 69), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.marker_title_value).substring(0, 12).length() + 6, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(null, null, 127 - (ViewConfiguration.getLongPressTimeout() >> 16), new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, 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 = x + 79;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aA(new char[]{'&', 0, '/', 17, 20, 29, '.', '&', '&', 14, 18, '&', 30, ' ', '\r', '!', '0', ')', '\b', 26, '\r', 1, 17, '\f', '&', '*'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 89), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_decline_ncb_result_description_cdx).substring(0, 158).codePointAt(2) - 3610, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new char[]{'!', 3, 13817, 13817, 17, '\n', '\b', '!', 13819, 13819, 31, NistHelper.SEP_FS, NistHelper.SEP_FS, '&', '\r', '!', 17, 1}, (byte) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 17), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 47;
x = i4 % 128;
if (i4 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 62 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i6 = p + 17;
x = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ((Process.getThreadPriority(0) + 20) >> 6), 5 - TextUtils.getOffsetBefore("", 0), (char) View.combineMeasuredStates(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new char[]{25, '\f', '(', 29, '-', '&', 21, ')', '\"', '!', ')', '$', '(', 31, '#', '-', 31, '(', '#', '/', '\'', '%', '\'', NistHelper.SEP_FS, 25, 6, 30, '-', ' ', '!', '/', 24, 23, '/', '/', 21, 24, '\r', 13891, 13891, ')', '%', 30, '.', NistHelper.SEP_FS, '-', '\b', '&'}, (byte) (Color.alpha(0) + 75), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_maemanee_gmb_error_signup_content).substring(44, 48).length() + 44, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{'\f', 31, 3, 11, 5, ' ', '\'', 29, '\t', '-', '\'', 5, '\'', 5, '\f', 25, 1, '\'', '!', '/', ' ', 3, '$', '%', '\'', 3, '-', '!', '\'', '!', '0', '+', 13763, 13763, '*', '%', '-', '+', 13838, 13838, 5, ' ', '\'', 0, '/', 23, 5, ' ', '.', '+', 25, '\r', NistHelper.SEP_FS, '-', '/', 30, '-', NistHelper.SEP_FS, 21, '/', 5, ' ', '&', 7}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_loan_success_desc).substring(42, 43).length() + 21), 63 - TextUtils.lastIndexOf("", '0', 0, 0), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{'*', 0, '-', '(', '$', '\'', 13891, 13891, '\'', '!', '-', 17, 29, '(', '0', '+', '(', NistHelper.SEP_FS, 26, '0', '!', 5, '\f', '\'', NistHelper.SEP_FS, '-', 24, '\r', '.', 0, 31, '.', '(', 29, '%', '*', '/', '%', 13807, 13807, '-', '0', '-', '%', 24, '\"', 3, 11, 31, '\f', '#', '/', 11, '\'', '0', 26, '*', '(', 21, ')', '-', '+', ' ', '\n'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.manage_account_inbound_error_description).substring(57, 58).codePointAt(0) - 29), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 63, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{5, '\r', '\n', 19, 23, 30, 13871, 13871, 20, 30, '%', 0, 29, 17, 13937, 13937, '\f', 17, ' ', NistHelper.SEP_FS, '%', NistHelper.SEP_FS, NistHelper.SEP_FS, '(', 0, 31, '(', 11, 5, 20, 7, '&', '\n', '!', '%', 14, 11, '(', 19, 6, '(', 14, ',', 17, 19, 4, '(', 14, 11, '&', 29, 17, 6, ',', '&', 14, ')', 6, 31, 6, 17, '\r', 19, '\t', 6, '0', ')', '/', '\r', '&', 17, '\n', '\t', 19}, (byte) (122 - (ViewConfiguration.getEdgeSlop() >> 16)), 74 - TextUtils.getOffsetAfter("", 0), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_scbs_description).substring(0, 2).codePointAt(1) + 95, new byte[]{-119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.FCI_EXT, -122}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new char[]{7, '&', ')', '%', '.', 31, '(', '+', 11, 6, '-', '\f', '\"', '\f', '%', ')', 13772, 13772, 7, ')', 31, '\f', '\"', '\n', '&', '!', ')', '$', '\f', 11, 30, '-', '%', '+', 24, '\f'}, (byte) (34 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 79, 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((ViewConfiguration.getTouchSlop() >> 8) + 487, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getLongPressTimeout() >> 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);
}
@Override // 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 = x + 71;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{'&', 0, '/', 17, 20, 29, '.', '&', '&', 14, 18, '&', 30, ' ', '\r', '!', '0', ')', '\b', 26, '\r', 1, 17, '\f', '&', '*'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 3), 26 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{'!', 3, 13817, 13817, 17, '\n', '\b', '!', 13819, 13819, 31, NistHelper.SEP_FS, NistHelper.SEP_FS, '&', '\r', '!', 17, 1}, (byte) (TextUtils.indexOf((CharSequence) "", '0', 0) + 18), ((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) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "") + 492, 5 - Color.blue(0), (char) Drawable.resolveOpacity(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.lastIndexOf("", '0') + 488, TextUtils.indexOf("", "", 0) + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i4 = x + 49;
p = i4 % 128;
int i5 = i4 % 2;
}
private static void aB(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = s;
int i3 = 0;
if (cArr2 != null) {
int i4 = $10 + 11;
$11 = i4 % 128;
int i5 = i4 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
int i7 = $10 + 125;
$11 = i7 % 128;
int i8 = i7 % 2;
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i6]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(View.combineMeasuredStates(i3, i3) + 337, 4 - Process.getGidForName(""), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b = (byte) i3;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(t)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(283 - TextUtils.getCapsMode("", 0, 0), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (39813 - (ViewConfiguration.getKeyRepeatDelay() >> 16)));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aC(b3, (byte) (b3 | 57), b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (q) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i9 = $10 + 29;
$11 = i9 % 128;
int i10 = i9 % 2;
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 41, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) ((-1) - MotionEvent.axisFromString("")))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i11 = $10 + 59;
$11 = i11 % 128;
int i12 = i11 % 2;
}
objArr[0] = new String(cArr4);
return;
}
int i13 = 0;
if (r) {
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i14 = $10 + 33;
$11 = i14 % 128;
int i15 = i14 % 2;
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 39, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i13;
if (c3614bBe.a >= c3614bBe.c) {
break;
}
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i13 = c3614bBe.a + 1;
}
String str = new String(cArr6);
int i16 = $10 + 93;
$11 = i16 % 128;
if (i16 % 2 != 0) {
objArr[0] = str;
} else {
Object obj5 = null;
obj5.hashCode();
throw null;
}
}
@Override // 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 = x + 19;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{'&', 0, '/', 17, 20, 29, '.', '&', '&', 14, 18, '&', 30, ' ', '\r', '!', '0', ')', '\b', 26, '\r', 1, 17, '\f', '&', '*'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 24), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ccr_email_verification_body_statement_channel).substring(58, 59).codePointAt(0) - 6, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{'!', 3, 13817, 13817, 17, '\n', '\b', '!', 13819, 13819, 31, NistHelper.SEP_FS, NistHelper.SEP_FS, '&', '\r', '!', 17, 1}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 4), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_business_url_info_product_description).substring(64, 65).codePointAt(0) - 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 3;
x = i4 % 128;
if (i4 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 87 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i6 = x + 27;
p = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) ((-1) - ImageFormat.getBitsPerPixel(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(487 - View.getDefaultSize(0, 0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) Color.green(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i8 = p + 55;
x = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aA(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = m;
long j = 0;
char c = '0';
int i4 = 1;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = 0;
while (i5 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[0] = Integer.valueOf(cArr2[i5]);
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(297 - TextUtils.lastIndexOf("", c, 0), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > j ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == j ? 0 : -1)), (char) (MotionEvent.axisFromString("") + 1));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aC(b2, (byte) (b2 | ISO7816.INS_DECREASE_STAMPED), b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i5++;
j = 0;
c = '0';
i4 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(l)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 297, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aC(b3, (byte) (b3 | ISO7816.INS_DECREASE_STAMPED), b3, 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 i6 = $10 + 15;
$11 = i6 % 128;
int i7 = i6 % 2;
irs.e = 0;
while (irs.e < i2) {
int i8 = $11 + 101;
$10 = i8 % 128;
int i9 = i8 % 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);
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(281 - AndroidCharacter.getMirror('0'), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 22024));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b4, (byte) (b4 | 55), b4, 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 i10 = $11 + 107;
$10 = i10 % 128;
int i11 = i10 % 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) {
Class cls4 = (Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 327, 5 - View.MeasureSpec.getMode(0), (char) View.MeasureSpec.getSize(0));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
aC(b5, (byte) (b5 | 53), b5, objArr9);
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 i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i12];
int i13 = $11 + 105;
$10 = i13 % 128;
int i14 = i13 % 2;
} else if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i15 = (irs.a * charValue) + irs.f;
int i16 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i15];
cArr4[irs.e + 1] = cArr2[i16];
} else {
int i17 = (irs.a * charValue) + irs.j;
int i18 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i17];
cArr4[irs.e + 1] = cArr2[i18];
}
}
irs.e += 2;
}
}
for (int i19 = 0; i19 < i; i19++) {
cArr4[i19] = (char) (cArr4[i19] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // 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];
aA(new char[]{'&', 0, '/', 17, 20, 29, '.', '&', 16, 17, '$', 4, 20, 16, '&', 17, 13883, 13883}, (byte) (TextUtils.lastIndexOf("", '0') + 83), 17 - MotionEvent.axisFromString(""), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
Object obj = null;
aB(null, null, (ViewConfiguration.getFadingEdgeLength() >> 16) + 127, new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = x + 33;
p = i2 % 128;
if (i2 % 2 != 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i3 = x + 93;
p = i3 % 128;
if (i3 % 2 == 0) {
context = context.getApplicationContext();
} else {
context.getApplicationContext();
throw null;
}
}
if (context != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 492, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new char[]{25, '\f', '(', 29, '-', '&', 21, ')', '\"', '!', ')', '$', '(', 31, '#', '-', 31, '(', '#', '/', '\'', '%', '\'', NistHelper.SEP_FS, 25, 6, 30, '-', ' ', '!', '/', 24, 23, '/', '/', 21, 24, '\r', 13891, 13891, ')', '%', 30, '.', NistHelper.SEP_FS, '-', '\b', '&'}, (byte) (KeyEvent.getDeadChar(0, 0) + 75), (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new char[]{'\f', 31, 3, 11, 5, ' ', '\'', 29, '\t', '-', '\'', 5, '\'', 5, '\f', 25, 1, '\'', '!', '/', ' ', 3, '$', '%', '\'', 3, '-', '!', '\'', '!', '0', '+', 13763, 13763, '*', '%', '-', '+', 13838, 13838, 5, ' ', '\'', 0, '/', 23, 5, ' ', '.', '+', 25, '\r', NistHelper.SEP_FS, '-', '/', 30, '-', NistHelper.SEP_FS, 21, '/', 5, ' ', '&', 7}, (byte) ((ViewConfiguration.getPressedStateDuration() >> 16) + 22), 64 - View.MeasureSpec.getSize(0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new char[]{'*', 0, '-', '(', '$', '\'', 13891, 13891, '\'', '!', '-', 17, 29, '(', '0', '+', '(', NistHelper.SEP_FS, 26, '0', '!', 5, '\f', '\'', NistHelper.SEP_FS, '-', 24, '\r', '.', 0, 31, '.', '(', 29, '%', '*', '/', '%', 13807, 13807, '-', '0', '-', '%', 24, '\"', 3, 11, 31, '\f', '#', '/', 11, '\'', '0', 26, '*', '(', 21, ')', '-', '+', ' ', '\n'}, (byte) (67 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), 65 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{5, '\r', '\n', 19, 23, 30, 13871, 13871, 20, 30, '%', 0, 29, 17, 13937, 13937, '\f', 17, ' ', NistHelper.SEP_FS, '%', NistHelper.SEP_FS, NistHelper.SEP_FS, '(', 0, 31, '(', 11, 5, 20, 7, '&', '\n', '!', '%', 14, 11, '(', 19, 6, '(', 14, ',', 17, 19, 4, '(', 14, 11, '&', 29, 17, 6, ',', '&', 14, ')', 6, 31, 6, 17, '\r', 19, '\t', 6, '0', ')', '/', '\r', '&', 17, '\n', '\t', 19}, (byte) (TextUtils.getOffsetBefore("", 0) + 122), 74 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(null, null, (KeyEvent.getMaxKeyCode() >> 16) + 127, new byte[]{-119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.FCI_EXT, -122}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{7, '&', ')', '%', '.', 31, '(', '+', 11, 6, '-', '\f', '\"', '\f', '%', ')', 13772, 13772, 7, ')', 31, '\f', '\"', '\n', '&', '!', ')', '$', '\f', 11, 30, '-', '%', '+', 24, '\f'}, (byte) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 33), 36 - KeyEvent.getDeadChar(0, 0), objArr8);
Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 487, 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // 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 = x + 101;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 77;
x = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}