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

680 lines
43 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.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.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.easycash.EasycashAdditionalDocumentTypeActivity;
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.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.cbeff.ISO781611;
/* renamed from: o.dJK, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8370dJK extends BaseActivity implements fPA {
private volatile C13073fPt l;
private static final byte[] $$p = {65, 0, ISO7816.INS_CHANGE_CHV, ISOFileInfo.FMD_BYTE};
private static final int $$q = 118;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int q = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f8728o = {36787, 46289, 63852, 15847, 25097, 42650, 60216, 4103, 21717, 39284, 56766, 557, 18108, 35636, 45127, 62676, 14705, 32156, 47212, 33557, 52878, 2607, 21969, 36787, 46289, 63852, 15847, 25097, 42650, 60216, 4103, 21723, 39287, 56800, 595, 18063, 35640, 45136, 62680, 14708, 32134, 41484, 59068, 11010, 20555, 38142, 55676, 7563, 16915, 36785, 46282, 63866, 15847, 25091, 42653, 60200, 4200, 21706, 39287, 56828, 532, 18093, 35642, 45136, 62680, 14701, 32129, 36794, 46283, 63868, 15845, 25109, 42697, 60275, 4102, 21705, 39278, 56817, 528, 18093, 35636, 45129, 62684, 14695, 32157, 41499, 59052, 11063, 20559, 38126, 55672, 7556, 16924, 34542, 52185, 61526, 13561, 31089, 48512, 57862, 9916, 27593, 36934, 54514, 6461, 23963, 33340, 50875, 3029, 12372, 29934, 47391, 64910, 8741, 26275, 43975, 53281, 5371, 22794, 40347, 49772, 1869, 19401, 28771, 46264, 63753, 15779, 25145, 42830, 60359, 4213, 21693, 39177, 56826, 634, 18243, 35781, 45177, 62599, 14606, 32180, 36843, 46225, 63792, 15803, 25174, 36791, 46302, 63802, 15777, 25090, 42698, 60264, 4121, 21655, 39217, 56736, 536, 18092, 35702, 45072, 62595, 14643, 32222, 41557, 59044, 11060, 20550, 38127, 55604, 7640, 16916, 34546, 52172, 61449, 13550, 31095, 48596, 57926, 9962, 27545, 36944};
private static long m = 2249045612917142719L;
private static char[] r = {49024, 49104, 49029, 49110, 49106, 49030, 49034, 49026, 49031, 49028, 49111, 49027, 49035, 49105, 49109, 49025};
private static char t = 35373;
private final Object k = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002b). 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(short r7, byte r8, int r9, java.lang.Object[] r10) {
/*
int r7 = r7 * 2
int r7 = r7 + 4
byte[] r0 = o.AbstractActivityC8370dJK.$$p
int r9 = 120 - r9
int r8 = r8 * 3
int r8 = 1 - r8
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r9 = r7
r3 = r8
r4 = r2
goto L2b
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r9
r1[r3] = r5
if (r4 != r8) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
r3 = r0[r7]
r6 = r9
r9 = r7
r7 = r3
r3 = r6
L2b:
int r7 = r7 + r3
int r9 = r9 + 1
r3 = r4
r6 = r9
r9 = r7
r7 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8370dJK.aC(short, byte, int, java.lang.Object[]):void");
}
public AbstractActivityC8370dJK() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dJK.4
private AbstractActivityC8370dJK a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8370dJK abstractActivityC8370dJK = this.a;
if (abstractActivityC8370dJK.b) {
return;
}
abstractActivityC8370dJK.b = true;
((InterfaceC8353dIn) abstractActivityC8370dJK.y_()).c((EasycashAdditionalDocumentTypeActivity) abstractActivityC8370dJK);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = p + 13;
q = i2 % 128;
int i3 = i2 % 2;
Object y_ = f().y_();
int i4 = p + 125;
q = i4 % 128;
if (i4 % 2 != 0) {
return y_;
}
throw null;
}
private C13073fPt f() {
if (this.l == null) {
synchronized (this.k) {
if (this.l == null) {
this.l = new C13073fPt(this);
}
}
}
return this.l;
}
@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 = p + 5;
q = i2 % 128;
if (i2 % 2 == 0) {
bundle = getIntent().getExtras();
int i3 = 72 / 0;
} else {
bundle = getIntent().getExtras();
}
} else {
int i4 = p + 73;
q = i4 % 128;
int i5 = i4 % 2;
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aA(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
int i4 = $11 + 45;
$10 = i4 % 128;
int i5 = i4 % 2;
while (dqy.a < i2) {
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(f8728o[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(307 - TextUtils.lastIndexOf("", '0', 0), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (32798 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))));
byte b = $$p[1];
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 | Ascii.SYN), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(m), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 413, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1));
byte b3 = $$p[1];
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 | Ascii.NAK), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(407 - KeyEvent.keyCodeFromString(""), 5 - View.resolveSizeAndState(0, 0, 0), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 29233));
byte b5 = $$p[1];
byte b6 = b5;
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 | 14), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i7 = $10 + 95;
$11 = i7 % 128;
if (i7 % 2 == 0) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(407 - (ViewConfiguration.getEdgeSlop() >> 16), Color.rgb(0, 0, 0) + 16777221, (char) ((ViewConfiguration.getEdgeSlop() >> 16) + 29234));
byte b7 = $$p[1];
byte b8 = b7;
Object[] objArr9 = new Object[1];
aC(b7, b8, (byte) (b8 | 14), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
int i8 = 33 / 0;
} else {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr10 = {dqy, dqy};
Object obj5 = xzZ.y.get(1071125919);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 406, (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 29234));
byte b9 = $$p[1];
byte b10 = b9;
Object[] objArr11 = new Object[1];
aC(b9, b10, (byte) (b10 | 14), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj5);
}
((Method) obj5).invoke(null, objArr10);
}
}
String str = new String(cArr);
int i9 = $10 + 57;
$11 = i9 % 128;
int i10 = i9 % 2;
objArr[0] = str;
}
@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;
int i2 = q + 103;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, 19 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(MotionEvent.axisFromString("") + 19, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.remittance_input_rate_detail).substring(17, 18).codePointAt(0) - 27, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.data_sharing_consent_decline_dialog_description).substring(44, 45).length() + 14290), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = p + 119;
q = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aA(((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_successful_detail_remark).substring(ISO781611.CREATION_DATE_AND_TIME_TAG, CipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA).codePointAt(0) - 87, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_ota_info_first_title).substring(4, 5).codePointAt(0) - 6, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.edit_email_things_you_should_know_description).substring(127, ISO781611.BIOMETRIC_SUBTYPE_TAG).codePointAt(2) + 17, (ViewConfiguration.getFadingEdgeLength() >> 16) + 18, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = p + 33;
q = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 444, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new char[]{5, 11, '\t', '\f', 1, 2, '\f', 6, 14, 5, '\f', 7, 1, '\f', 4, 0, '\f', 1, '\f', '\r', 4, '\f', 5, 7, 2, 6, 5, '\t', 2, 5, 11, 6, 4, 6, 15, 4, 15, 2, 13889, 13889, '\f', 11, 7, 6, 0, '\r', 0, 11}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.root_checker_title).substring(17, 27).length() + 63), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_bo_laser_id_header).substring(30, 31).codePointAt(0) + 16, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{1, 15, 3, 0, 1, 14, '\n', 4, 1, 7, 14, 3, 14, 3, 11, 5, 0, '\n', 11, 3, 2, 3, '\b', '\f', 1, 3, '\t', 3, 14, 7, '\b', 15, 13854, 13854, 6, 5, 4, '\r', 13929, 13929, 1, 14, 6, 0, 6, 4, 1, 14, '\b', 14, '\r', '\n', 0, '\r', '\t', 1, '\r', 0, 4, 15, 1, 14, 7, 0}, (byte) (113 - TextUtils.indexOf("", "", 0, 0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.tap_to_retry).substring(11, 12).length() + 63, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{'\b', 0, '\b', 3, '\b', 4, 13831, 13831, 14, 7, 1, 0, '\f', '\t', '\b', 15, 5, '\f', 15, '\n', 11, 15, 11, '\r', 0, '\r', 15, 2, 14, 0, '\n', 14, '\t', '\f', 5, 6, 7, '\r', 13747, 13747, 7, '\t', 4, 1, '\r', 2, 3, 0, 15, 1, '\f', '\r', 6, '\n', '\n', 15, '\b', 7, '\f', 6, 4, '\r', 5, '\r'}, (byte) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 8), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.only_one_card_allowed_label).substring(7, 8).codePointAt(0) + 32, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(((Process.getThreadPriority(0) + 20) >> 6) + 67, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 37, (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(141 - View.getDefaultSize(0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.installment_plans_general_terms_for_speedy_cash).substring(47, 48).length() + 4, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) + 31, 37 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), 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(((byte) KeyEvent.getModifierMetaStateMask()) + 488, 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) TextUtils.indexOf("", "", 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, 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();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(KeyEvent.normalizeMetaState(0) + 23, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 20, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 46), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.product_points_plus_cash).substring(0, 5).codePointAt(3) - 66, 18 - Color.alpha(0), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = q + 113;
p = i2 % 128;
if (i2 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = q + 63;
p = i3 % 128;
try {
if (i3 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf("", "") + 492, ExpandableListView.getPackedPositionType(0L) + 5, (char) (MotionEvent.axisFromString("") + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(488 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) TextUtils.getCapsMode("", 0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 492, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 487, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aB(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
int length;
char[] cArr2;
int i3;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr3 = r;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr3 != null) {
int i5 = $10 + 119;
$11 = i5 % 128;
if (i5 % 2 == 0) {
length = cArr3.length;
cArr2 = new char[length];
i3 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i3 = 0;
}
while (i3 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i3])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(298 - TextUtils.getOffsetBefore("", 0), 5 - (PointF.length(f, f) > f ? 1 : (PointF.length(f, f) == f ? 0 : -1)), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24));
byte b2 = $$p[1];
byte b3 = b2;
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 + 3), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr2[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i3++;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
try {
Object[] objArr4 = {Integer.valueOf(t)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 298, (Process.myTid() >> 22) + 5, (char) View.resolveSizeAndState(0, 0, 0));
byte b4 = $$p[1];
byte b5 = b4;
Object[] objArr5 = new Object[1];
aC(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) {
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(233 - ExpandableListView.getPackedPositionType(0L), ImageFormat.getBitsPerPixel(0) + 6, (char) (22024 - (ViewConfiguration.getKeyRepeatTimeout() >> 16)));
byte b6 = $$p[1];
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(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 i6 = $10 + 49;
$11 = i6 % 128;
int i7 = i6 % 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(TextUtils.lastIndexOf("", '0', 0) + 328, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b8 = $$p[1];
byte b9 = b8;
Object[] objArr9 = new Object[1];
aC(b8, b9, (byte) (b9 + 2), 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 i8 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[intValue];
cArr4[irs.e + 1] = cArr3[i8];
} else if (irs.a == irs.d) {
int i9 = $11 + 39;
$10 = i9 % 128;
int i10 = i9 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i11 = (irs.a * charValue) + irs.f;
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[i11];
cArr4[irs.e + 1] = cArr3[i12];
} else {
int i13 = (irs.a * charValue) + irs.j;
int i14 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr3[i13];
cArr4[irs.e + 1] = cArr3[i14];
}
}
irs.e += 2;
}
}
for (int i15 = 0; i15 < i; i15++) {
cArr4[i15] = (char) (cArr4[i15] ^ 13722);
}
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.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 + 7;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = p + 95;
q = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aA(TextUtils.getOffsetAfter("", 0) + 23, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.registration_manage_device).substring(36, 37).codePointAt(0) - 6, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.preregister_not_me_text).substring(60, 61).length() - 1), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(KeyEvent.normalizeMetaState(0) + 49, (ViewConfiguration.getLongPressTimeout() >> 16) + 18, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.prepaid_travel_approximate).substring(0, 1).length() - 1), 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(ImageFormat.getBitsPerPixel(0) + 493, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (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((ViewConfiguration.getFadingEdgeLength() >> 16) + 487, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@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;
int i2 = p + 23;
q = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(Color.blue(0), (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 18, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(18 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) (14291 - View.combineMeasuredStates(0, 0)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = p + 35;
q = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 48 / 0;
if (intValue <= 99999) {
return;
}
} else if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 492, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new char[]{5, 11, '\t', '\f', 1, 2, '\f', 6, 14, 5, '\f', 7, 1, '\f', 4, 0, '\f', 1, '\f', '\r', 4, '\f', 5, 7, 2, 6, 5, '\t', 2, 5, 11, 6, 4, 6, 15, 4, 15, 2, 13889, 13889, '\f', 11, 7, 6, 0, '\r', 0, 11}, (byte) (TextUtils.lastIndexOf("", '0', 0) + 74), 48 - View.resolveSizeAndState(0, 0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new char[]{1, 15, 3, 0, 1, 14, '\n', 4, 1, 7, 14, 3, 14, 3, 11, 5, 0, '\n', 11, 3, 2, 3, '\b', '\f', 1, 3, '\t', 3, 14, 7, '\b', 15, 13854, 13854, 6, 5, 4, '\r', 13929, 13929, 1, 14, 6, 0, 6, 4, 1, 14, '\b', 14, '\r', '\n', 0, '\r', '\t', 1, '\r', 0, 4, 15, 1, 14, 7, 0}, (byte) (Process.getGidForName("") + 114), (ViewConfiguration.getTouchSlop() >> 8) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new char[]{'\b', 0, '\b', 3, '\b', 4, 13831, 13831, 14, 7, 1, 0, '\f', '\t', '\b', 15, 5, '\f', 15, '\n', 11, 15, 11, '\r', 0, '\r', 15, 2, 14, 0, '\n', 14, '\t', '\f', 5, 6, 7, '\r', 13747, 13747, 7, '\t', 4, 1, '\r', 2, 3, 0, 15, 1, '\f', '\r', 6, '\n', '\n', 15, '\b', 7, '\f', 6, 4, '\r', 5, '\r'}, (byte) ((Process.myPid() >> 22) + 8), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 67, TextUtils.getOffsetAfter("", 0) + 74, (char) ExpandableListView.getPackedPositionGroup(0L), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(Color.red(0) + CipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA, Drawable.resolveOpacity(0, 0) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0') + 1), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(147 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (KeyEvent.getMaxKeyCode() >> 16) + 36, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 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(TextUtils.lastIndexOf("", '0') + 488, 5 - KeyEvent.getDeadChar(0, 0), (char) Gravity.getAbsoluteGravity(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, 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 = q + 53;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 4 / 0;
}
}
}