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

606 lines
33 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
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.BaseActivityWithFragment;
import com.scb.phone.view.activity.ndid.NdidSelectIdpActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13068fPo;
import o.VLM;
/* renamed from: o.ebv, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11259ebv extends BaseActivityWithFragment implements fPA {
private static short[] y;
private volatile C13073fPt b;
private static final byte[] $$E = {4, 8, Ascii.DC4, -35};
private static final int $$F = 40;
private static int $10 = 0;
private static int $11 = 1;
private static int v = 0;
private static int u = 1;
/* renamed from: o, reason: collision with root package name */
private static long f8972o = 9051040786702654117L;
private static int l = 452713125;
private static char t = 19378;
private static int p = -63200683;
private static int r = 1406017046;
private static int q = 618090720;
private static byte[] s = {-18, 1, -55, Ascii.EM, 17, -22, 57, -21, Ascii.DC2, -37, 62, -61, 56, -24, ISO7816.INS_GET_RESPONSE, 57, -60, 59, -63, Ascii.ETB, 57, 16, -23, -22, ISO7816.INS_GET_RESPONSE, -22, 57, -63, Ascii.NAK, 63, Ascii.SYN, -63, 57, -21, Ascii.NAK, -22, 29, ISO7816.INS_APPEND_RECORD, Ascii.DC2, ISO7816.INS_PUT_DATA, 38, -17, Ascii.SYN, -22, -58, 62, -58, ISO7816.INS_CHANGE_CHV, Ascii.DC4, -24, -21, 16, -17, Ascii.DC4, 17, -23, 17, -24, -59, 57, 16, -57, 57, -60, 58, -63, -24, -63, 62, Ascii.SYN, -63, -18, 16, ISO7816.INS_CHANGE_CHV, -33, 35, ISO7816.INS_APPEND_RECORD, Ascii.SYN, -21, 19, ISO7816.INS_LOAD_KEY_FILE, Ascii.SYN, -24, 58, -58, -24, 38, -21, 16, -18, 17, Ascii.NAK, -22, -24, Ascii.NAK, -63, -22, 59, -59, 62, Ascii.SYN, -21, -58, -22, 59, ISO7816.INS_GET_RESPONSE, ISO7816.INS_CHANGE_CHV, -18, Ascii.DC2, -22, Ascii.DC4, -33, 17, Ascii.DC4, 60, 29, -23, -57, -24, 39, -17, Ascii.DC2, ISO7816.INS_LOAD_KEY_FILE, Ascii.NAK, 39, -57, 59, Ascii.SYN, -19, ISO7816.INS_ENVELOPE, Ascii.ETB, -29, Ascii.US, ISO7816.INS_CREATE_FILE, 33, -23, Ascii.DC4, -22, -57, -21, 59, -61, 58, ISO7816.INS_PUT_DATA, ISO7816.INS_CHANGE_CHV, 16, -33, -21, Ascii.SYN, Ascii.DC4, 33, -23, Ascii.NAK, -22, -21, Ascii.DC2, -34, -24, 32, -17, 28, -24, -23, -18, ISO7816.INS_GET_RESPONSE, 37, Ascii.ETB, -60, -23, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private final Object m = new Object();
private boolean k = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0020 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0018 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0020 -> B:4:0x002a). 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 aJ(short r6, byte r7, int r8, java.lang.Object[] r9) {
/*
int r6 = 115 - r6
int r7 = r7 + 4
byte[] r0 = o.AbstractActivityC11259ebv.$$E
int r8 = r8 * 3
int r1 = r8 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L12
r3 = r7
r4 = r2
goto L2a
L12:
r3 = r2
L13:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r8) goto L20
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L20:
int r7 = r7 + 1
int r3 = r3 + 1
r4 = r0[r7]
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2a:
int r7 = -r7
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11259ebv.aJ(short, byte, int, java.lang.Object[]):void");
}
public AbstractActivityC11259ebv() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.ebv.2
private AbstractActivityC11259ebv d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.d.g();
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = u + 59;
v = i2 % 128;
int i3 = i2 % 2;
Object y_ = f().y_();
int i4 = v + 79;
u = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt f() {
if (this.b == null) {
synchronized (this.m) {
if (this.b == null) {
this.b = new C13073fPt(this);
}
}
}
return this.b;
}
protected void g() {
int i = 2 % 2;
if (!this.k) {
int i2 = v + 31;
u = i2 % 128;
if (i2 % 2 == 0) {
this.k = false;
} else {
this.k = true;
}
((InterfaceC11274ecJ) y_()).e((NdidSelectIdpActivity) this);
}
int i3 = v + 53;
u = i3 % 128;
int i4 = i3 % 2;
}
@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 = u + 101;
v = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
int i4 = v + 37;
u = i4 % 128;
int i5 = i4 % 2;
} else {
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i6 = v + 3;
u = i6 % 128;
int i7 = i6 % 2;
return aBN_;
}
private static void aG(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i4 = $11 + 81;
$10 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - View.MeasureSpec.makeMeasureSpec(0, 0), TextUtils.indexOf("", "", 0) + 5, (char) TextUtils.getOffsetBefore("", 0))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(352 - (Process.myTid() >> 22), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (Process.getGidForName("") + 52129));
byte b = (byte) 0;
byte b2 = (byte) (b - 1);
Object[] objArr4 = new Object[1];
aJ(b, b2, (byte) (b2 + 1), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(748 - TextUtils.indexOf("", "", 0), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod(com.pingan.ai.p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 403, TextUtils.lastIndexOf("", '0') + 6, (char) (21608 - (ViewConfiguration.getKeyRepeatDelay() >> 16)));
byte b3 = (byte) 1;
byte b4 = (byte) (-b3);
Object[] objArr7 = new Object[1];
aJ(b3, b4, (byte) (b4 + 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (f8972o ^ 9051040786702654117L)) ^ ((int) (l ^ 9051040786702654117L))) ^ ((char) (t ^ 9051040786702654117L)));
nhs.a++;
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i6 = $11 + 95;
$10 = i6 % 128;
if (i6 % 2 == 0) {
objArr[0] = str;
} else {
Object obj5 = null;
obj5.hashCode();
throw null;
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0136, code lost:
if (r5 > 99999) goto L6;
*/
@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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onCreate(android.os.Bundle r25) {
/*
Method dump skipped, instructions count: 1952
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11259ebv.onCreate(android.os.Bundle):void");
}
@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();
Object obj = null;
if (baseContext == null) {
int i2 = v + 35;
u = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG((char) ((Process.myPid() >> 22) + 27442), new char[]{10763, 25639, 21154, 50705, 13840, 37365, 243, 37438, 446, 41040, 31502, 55522, 27648, 58809, 49608, 59851, 40516, 62500, 62042, 11253, 12811, 50825, 3097, 3983, 51825, 19608}, new char[]{28684, 12444, 12959, 46955}, new char[]{0, 0, 0, 0}, Color.green(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG((char) (55470 - (ViewConfiguration.getFadingEdgeLength() >> 16)), new char[]{28295, 36931, 6298, 59765, 3705, 49574, 22531, 38259, 35236, 52808, 19020, 35758, 35613, 47225, 37163, 17248, 3468, 28219}, new char[]{45739, 60375, 44574, 14040}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.pin_underscore).substring(0, 1).length() - 1, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = u + 49;
v = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - View.combineMeasuredStates(0, 0), ExpandableListView.getPackedPositionType(0L) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0') + 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(487 - (ViewConfiguration.getJumpTapTimeout() >> 16), TextUtils.getOffsetAfter("", 0) + 5, (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@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;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aG((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_offer_review_Baht_per).substring(0, 5).codePointAt(3) + 27327), new char[]{10763, 25639, 21154, 50705, 13840, 37365, 243, 37438, 446, 41040, 31502, 55522, 27648, 58809, 49608, 59851, 40516, 62500, 62042, 11253, 12811, 50825, 3097, 3983, 51825, 19608}, new char[]{28684, 12444, 12959, 46955}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 55436), new char[]{28295, 36931, 6298, 59765, 3705, 49574, 22531, 38259, 35236, 52808, 19020, 35758, 35613, 47225, 37163, 17248, 3468, 28219}, new char[]{45739, 60375, 44574, 14040}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 46, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = u + 81;
v = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 492, TextUtils.getCapsMode("", 0, 0) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).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.combineMeasuredStates(0, 0), (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) Color.argb(0, 0, 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();
int i4 = v + 27;
u = i4 % 128;
int i5 = i4 % 2;
}
private static void aI(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
boolean z;
int i4;
int i5 = 2;
int i6 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(r)};
Object obj = xzZ.y.get(-2092856797);
int i7 = -1;
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (ViewConfiguration.getPressedStateDuration() >> 16), 5 - View.resolveSizeAndState(0, 0, 0), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1));
byte b2 = (byte) (-1);
Object[] objArr3 = new Object[1];
aJ((byte) ($$E[0] + 1), b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
if (intValue == -1) {
int i8 = $11 + 113;
$10 = i8 % 128;
int i9 = i8 % 2;
z = true;
} else {
z = false;
}
if (z) {
int i10 = $10 + 59;
$11 = i10 % 128;
if (i10 % 2 == 0) {
throw null;
}
byte[] bArr = s;
if (bArr != null) {
int length = bArr.length;
byte[] bArr2 = new byte[length];
int i11 = 0;
while (i11 < length) {
int i12 = $11 + 83;
$10 = i12 % 128;
int i13 = i12 % i5;
Object[] objArr4 = {Integer.valueOf(bArr[i11])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((Process.myTid() >> 22) + 60, 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) TextUtils.indexOf("", ""));
byte b3 = (byte) i7;
Object[] objArr5 = new Object[1];
aJ((byte) ($$E[1] - 1), b3, (byte) (b3 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr2[i11] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i11++;
i5 = 2;
i7 = -1;
}
bArr = bArr2;
}
if (bArr != null) {
int i14 = $10 + 45;
$11 = i14 % 128;
int i15 = i14 % 2;
byte[] bArr3 = s;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(p)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 338, Color.alpha(0) + 5, (char) (Process.myTid() >> 22));
byte b4 = (byte) (-1);
Object[] objArr7 = new Object[1];
aJ((byte) ($$E[0] + 1), b4, (byte) (b4 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (r ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (y[i + ((int) (p ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (r ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
int i16 = $11;
int i17 = i16 + 105;
$10 = i17 % 128;
int i18 = i17 % 2;
int i19 = ((i + intValue) - 2) + ((int) (p ^ (-7303220121662775787L)));
if (z) {
int i20 = i16 + 59;
$10 = i20 % 128;
int i21 = i20 % 2;
i4 = 1;
} else {
i4 = 0;
}
dfy.c = i19 + i4;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(q), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(748 - Color.red(0), View.MeasureSpec.getMode(0) + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj4);
}
((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr4 = s;
if (bArr4 != null) {
int length2 = bArr4.length;
byte[] bArr5 = new byte[length2];
for (int i22 = 0; i22 < length2; i22++) {
int i23 = $11 + 115;
$10 = i23 % 128;
int i24 = i23 % 2;
bArr5[i22] = (byte) (bArr4[i22] ^ (-7303220121662775787L));
}
bArr4 = bArr5;
}
boolean z2 = bArr4 != null;
dfy.d = 1;
while (dfy.d < intValue) {
if (z2) {
byte[] bArr6 = s;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
int i25 = $11 + 77;
$10 = i25 % 128;
int i26 = i25 % 2;
} else {
short[] sArr = y;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r8] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
}
objArr[0] = sb.toString();
} 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, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = u + 41;
v = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG((char) (42144 - View.resolveSize(0, 0)), new char[]{17717, 14592, 43866, 3069, 44297, 15233, 65257, 31770, 11718, 6324, 27602, 10642, 16885, 51425, 38414, 47159, 6212, 26467}, new char[]{49435, 19338, 41004, 34724}, new char[]{0, 0, 0, 0}, ViewConfiguration.getTapTimeout() >> 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI((short) TextUtils.getOffsetAfter("", 0), 1342849984 - (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)), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 3, (-1998147209) - Process.getGidForName(""), (byte) Color.green(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 = u + 101;
v = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i6 = u + 51;
v = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.green(0) + 492, View.getDefaultSize(0, 0) + 5, (char) (Process.myPid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aG((char) ExpandableListView.getPackedPositionType(0L), new char[]{3018, 21077, 38943, 58165, 29622, 5448, 56174, 42051, 13856, 3390, 59679, 55431, 31869, 34121, 4326, 17933, 43577, 52806, 57848, 22694, 26821, 23531, 9743, 62984, 49083, 5014, 57892, 56995, 64631, 23139, 61618, 13377, 51456, 24229, 30939, 46149, 8353, 32340, 15770, 33670, 17799, 63822, 56395, 43512, 51514, 25151, 42114, 33374}, new char[]{38255, 52817, 23507, 20654}, new char[]{0, 0, 0, 0}, View.resolveSizeAndState(0, 0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aI((short) (ViewConfiguration.getEdgeSlop() >> 16), 1342849989 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (ViewConfiguration.getTouchSlop() >> 8) + 61, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1998147217, (byte) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI((short) TextUtils.getTrimmedLength(""), 1342850051 + (KeyEvent.getMaxKeyCode() >> 16), 62 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (-1998147220) + (ViewConfiguration.getEdgeSlop() >> 16), (byte) (ViewConfiguration.getScrollBarSize() >> 8), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG((char) ((-1) - TextUtils.lastIndexOf("", '0')), new char[]{45363, 6003, 2928, 29277, 60109, 21624, 49715, 29341, 22591, 15986, 19590, 11087, 2502, 60172, 18298, 31038, 15874, 31348, 49851, 61426, 61064, 13188, 27717, 64343, 43974, 56209, 56019, 13070, 43365, 65251, 44103, 56738, 20987, 22338, 52694, 28768, 17312, 58909, 29171, 31746, 63423, 61148, 50254, 33089, 54594, 42647, 12783, 27887, 10070, 1398, 34043, 35180, 49227, 16124, 13150, 18142, 40451, 23700, 45103, 17212, 14265, 34809, 44874, 49607, 7212, 56370, 57950, 18089, 9684, 58222, 26260, 55826, 19649, 64099}, new char[]{42861, 17409, 53255, 22722}, new char[]{0, 0, 0, 0}, ViewConfiguration.getWindowTouchSlop() >> 8, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI((short) (ViewConfiguration.getLongPressTimeout() >> 16), 1342850114 + ((Process.getThreadPriority(0) + 20) >> 6), TextUtils.lastIndexOf("", '0', 0) + 3, (-1998147261) - TextUtils.indexOf((CharSequence) "", '0'), (byte) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI((short) View.MeasureSpec.getSize(0), 1342850118 + (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 33 - View.resolveSize(0, 0), (-1998147215) + ((byte) KeyEvent.getModifierMetaStateMask()), (byte) (ViewConfiguration.getScrollBarFadeDuration() >> 16), 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(487 - View.resolveSize(0, 0), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 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, objArr9);
} 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 = v + 11;
u = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = v + 29;
u = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}