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

666 lines
36 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
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.google.common.base.Ascii;
import com.google.common.primitives.SignedBytes;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.prelogin.quicktopup.SetupQuickTopUpActivity;
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.lds.CVCAFile;
import org.jnbis.internal.NistHelper;
/* renamed from: o.eho, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11570eho extends BaseActivity implements fPA {
private static short[] q;
private volatile C13073fPt k;
private static final byte[] $$g = {ISOFileInfo.FCI_BYTE, -31, ISO7816.INS_MANAGE_CHANNEL, 54};
private static final int $$h = CipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int y = 0;
private static int x = 1;
private static int m = -476527566;
private static int l = 1406017081;
private static int r = 1154794577;
private static byte[] t = {SignedBytes.MAX_POWER_OF_TWO, 118, CVCAFile.CAR_TAG, 92, 71, ISOFileInfo.FCP_BYTE, ISOFileInfo.FCP_BYTE, 5, 76, ISOFileInfo.FILE_IDENTIFIER, 10, 69, 90, 71, 118, 94, 119, Ascii.DC2, Ascii.NAK, ISO7816.INS_APPEND_RECORD, Ascii.ESC, 13, ISO7816.INS_GET_DATA, 28, Ascii.SUB, ISO7816.INS_APPEND_RECORD, 4, -20, 0, 51, 2, -41, 17, 6, ISO7816.INS_MSE, -37, -22, -21, Ascii.DC4, 7, -17, 4, ISO7816.INS_UPDATE_RECORD, -88, -60, -87, 11, -13, -2, -4, -87, -3, 13, -43, 12, -84, 14, -6, ISOFileInfo.A1, -3, -8, -2, 11, -13, -1, -4, -3, ISO7816.INS_DELETE_FILE, ISOFileInfo.A0, -14, 10, -15, -26, -14, -13, -16, -86, 15, -7, -82, -13, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private static char[] p = {49033, 49052, 49108, 49119, 49032, 49094, 49116, 49095, 49098, 49088, 49028, 49093, 49104, 49117, 49138, 49051, 49114, 49024, 49048, 49091, 49109, 49115, 49038, 49029, 49025, 49031, 49111, 49035, 49041, 49034, 49105, 49106, 49037, 49118, 49027, 49049, 49050, 49110, 49036, 49026, 49039, 49030, 49112, 49054, 49053, 49055, 49089, 49126, 49090};
private static char s = 35374;
/* renamed from: o, reason: collision with root package name */
private final Object f9011o = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x0027). 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 az(byte r5, int r6, byte r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 4
int r7 = 4 - r7
int r5 = r5 * 3
int r0 = r5 + 1
int r6 = r6 + 108
byte[] r1 = o.AbstractActivityC11570eho.$$g
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r4 = r6
r3 = r2
r6 = r5
goto L27
L15:
r3 = r2
L16:
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r5) goto L23
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L23:
int r3 = r3 + 1
r4 = r1[r7]
L27:
int r6 = r6 + r4
int r7 = r7 + 1
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11570eho.az(byte, int, byte, java.lang.Object[]):void");
}
public AbstractActivityC11570eho() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.eho.4
private AbstractActivityC11570eho a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11570eho abstractActivityC11570eho = this.a;
if (abstractActivityC11570eho.b) {
return;
}
abstractActivityC11570eho.b = true;
((InterfaceC11575eht) abstractActivityC11570eho.y_()).d((SetupQuickTopUpActivity) abstractActivityC11570eho);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = x + 49;
y = i2 % 128;
int i3 = i2 % 2;
Object y_ = f().y_();
int i4 = x + 101;
y = i4 % 128;
if (i4 % 2 == 0) {
return y_;
}
throw null;
}
private C13073fPt f() {
if (this.k == null) {
synchronized (this.f9011o) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
@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 = x + 123;
y = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
} else {
int i4 = x + 21;
y = i4 % 128;
int i5 = i4 % 2;
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x00cf, code lost:
if (r6 > 99999) goto L10;
*/
@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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onCreate(android.os.Bundle r24) {
/*
Method dump skipped, instructions count: 1712
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11570eho.onCreate(android.os.Bundle):void");
}
@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;
int i2 = x + 125;
y = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.point_exchange_rate).substring(0, 12).codePointAt(10) - 36), Process.getGidForName("") + 1336485355, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 19, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 387635717, (byte) (ViewConfiguration.getMinimumFlingVelocity() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{19, '\f', 13833, 13833, ')', '\t', 14, 21, 13835, 13835, 2, 17, '\n', '!', '\t', 14, '\r', 20}, (byte) (33 - View.resolveSize(0, 0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.terminal_id).substring(0, 9).codePointAt(7) - 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = x + 43;
y = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = y + 105;
x = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 492, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) View.combineMeasuredStates(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 487, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -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();
}
/* JADX WARN: Code restructure failed: missing block: B:29:0x0022, code lost:
r1 = o.AbstractActivityC11570eho.x + 79;
o.AbstractActivityC11570eho.y = r1 % 128;
r1 = r1 % 2;
r11 = (java.lang.Object[]) null;
r14 = new java.lang.Object[1];
ax((short) (android.view.View.getDefaultSize(0, 0) - 4), android.widget.ExpandableListView.getPackedPositionType(0) + 1336485354, android.graphics.Color.blue(0) - 18, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 387635787, (byte) (android.widget.ExpandableListView.getPackedPositionForGroup(0) > 0 ? 1 : (android.widget.ExpandableListView.getPackedPositionForGroup(0) == 0 ? 0 : -1)), r14);
r7 = java.lang.Class.forName((java.lang.String) r14[0]);
r10 = new java.lang.Object[1];
ay(new char[]{19, '\f', 13833, 13833, ')', '\t', 14, 21, 13835, 13835, 2, 17, '\n', '!', '\t', 14, '\r', 20}, (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 20), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_facial_locked_warning_message).substring(63, 64).codePointAt(0) - 14, r10);
r1 = (android.content.Context) r7.getMethod((java.lang.String) r10[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x0020, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost:
if (r1 == null) goto L9;
*/
@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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onPause() {
/*
Method dump skipped, instructions count: 434
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11570eho.onPause():void");
}
private static void ax(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
int i4;
int length;
byte[] bArr;
int i5;
int i6 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(l)};
Object obj = xzZ.y.get(-2092856797);
if (obj == null) {
Class cls = (Class) xzZ.c(MotionEvent.axisFromString("") + 338, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) Color.blue(0));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 2);
Object[] objArr3 = new Object[1];
az(b2, b3, (byte) (b3 - 2), 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();
int i7 = intValue == -1 ? 1 : 0;
if (i7 != 0) {
int i8 = $11 + 87;
int i9 = i8 % 128;
$10 = i9;
int i10 = i8 % 2;
byte[] bArr2 = t;
if (bArr2 != null) {
int i11 = i9 + 105;
$11 = i11 % 128;
if (i11 % 2 == 0) {
length = bArr2.length;
bArr = new byte[length];
i5 = 1;
} else {
length = bArr2.length;
bArr = new byte[length];
i5 = 0;
}
for (int i12 = i5; i12 < length; i12++) {
Object[] objArr4 = {Integer.valueOf(bArr2[i12])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 60, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
az(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr[i12] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
}
bArr2 = bArr;
}
if (bArr2 != null) {
byte[] bArr3 = t;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(m)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 338, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) (ViewConfiguration.getPressedStateDuration() >> 16));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 + 2);
Object[] objArr7 = new Object[1];
az(b6, b7, (byte) (b7 - 2), 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) (l ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (q[i + ((int) (m ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (l ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
dfy.c = ((i + intValue) - 2) + ((int) (m ^ (-7303220121662775787L))) + i7;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(r), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(749 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (Process.myTid() >> 22))).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 = t;
if (bArr4 != null) {
int i13 = $11 + 79;
$10 = i13 % 128;
int i14 = i13 % 2;
int length2 = bArr4.length;
byte[] bArr5 = new byte[length2];
for (int i15 = 0; i15 < length2; i15++) {
bArr5[i15] = (byte) (bArr4[i15] ^ (-7303220121662775787L));
}
bArr4 = bArr5;
}
boolean z = bArr4 != null;
dfy.d = 1;
int i16 = $10 + 109;
$11 = i16 % 128;
int i17 = 2;
int i18 = i16 % 2;
while (dfy.d < intValue) {
int i19 = $10 + 105;
int i20 = i19 % 128;
$11 = i20;
if (i19 % i17 == 0) {
throw null;
}
if (z) {
int i21 = i20 + 63;
$10 = i21 % 128;
if (i21 % i17 != 0) {
byte[] bArr6 = t;
dfy.c = dfy.c;
i4 = dfy.e - (((byte) (((byte) (bArr6[r7] - 7303220121662775787L)) << s2)) ^ b);
} else {
byte[] bArr7 = t;
dfy.c = dfy.c - 1;
i4 = dfy.e + (((byte) (((byte) (bArr7[r7] ^ (-7303220121662775787L))) + s2)) ^ b);
}
dfy.a = (char) i4;
} else {
short[] sArr = q;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
i17 = 2;
}
}
String sb2 = sb.toString();
int i22 = $10 + 89;
$11 = i22 % 128;
if (i22 % 2 == 0) {
throw null;
}
objArr[0] = sb2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
private static void ay(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
char c;
Object obj;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = p;
Object obj2 = null;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = 0;
while (i5 < length) {
int i6 = $11 + 41;
$10 = i6 % 128;
if (i6 % i3 != 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(MotionEvent.axisFromString("") + 299, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
az(b2, (byte) (b2 | 9), b2, objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i5] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
try {
Object[] objArr4 = {Integer.valueOf(cArr2[i5])};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(298 - View.MeasureSpec.makeMeasureSpec(0, 0), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
az(b3, (byte) (b3 | 9), b3, objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
cArr3[i5] = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
i5++;
i3 = 2;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(s)};
Object obj5 = xzZ.y.get(-1987398494);
char c2 = '0';
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(AndroidCharacter.getMirror('0') + 250, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) Drawable.resolveOpacity(0, 0));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b4, (byte) (b4 | 9), b4, objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj5);
}
char charValue = ((Character) ((Method) obj5).invoke(null, objArr6)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i7 = $10 + 97;
$11 = i7 % 128;
int i8 = i7 % 2;
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
int i9 = $10 + 53;
$11 = i9 % 128;
int i10 = i9 % 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);
obj = obj2;
c = c2;
} else {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(822107368);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c(View.resolveSize(0, 0) + 233, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (22023 - TextUtils.indexOf("", c2, 0, 0)));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
az(b5, (byte) (b5 | 12), b5, objArr9);
obj6 = cls4.getMethod((String) objArr9[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, obj6);
}
if (((Integer) ((Method) obj6).invoke(null, objArr8)).intValue() == irs.j) {
Object[] objArr10 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj7 = xzZ.y.get(-1152873385);
if (obj7 != null) {
c = '0';
} else {
c = '0';
Class cls5 = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 327, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16));
byte b6 = (byte) 0;
Object[] objArr11 = new Object[1];
az(b6, (byte) (b6 | 10), b6, objArr11);
obj7 = cls5.getMethod((String) objArr11[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, obj7);
}
obj = null;
int intValue = ((Integer) ((Method) obj7).invoke(null, objArr10)).intValue();
int i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i11];
} else {
c = '0';
obj = null;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i12 = (irs.a * charValue) + irs.f;
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i12];
cArr4[irs.e + 1] = cArr2[i13];
} else {
int i14 = (irs.a * charValue) + irs.j;
int i15 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
}
}
}
irs.e += 2;
c2 = c;
obj2 = obj;
}
}
int i16 = 0;
while (i16 < i) {
int i17 = $10 + 73;
$11 = i17 % 128;
if (i17 % 2 == 0) {
cArr4[i16] = (char) (cArr4[i16] ^ 16448);
i16 += 52;
} else {
cArr4[i16] = (char) (cArr4[i16] ^ 13722);
i16++;
}
}
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) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((short) ((-85) - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1336485338, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 27, 9805 - AndroidCharacter.getMirror('0'), (byte) TextUtils.getCapsMode("", 0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{29, '\f', ',', 19, 13865}, (byte) (AndroidCharacter.getMirror('0') - 5), TextUtils.indexOf("", "", 0, 0) + 5, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = y + 35;
x = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
int i4 = y + 13;
x = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
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 - Gravity.getAbsoluteGravity(0, 0), (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new char[]{'&', 11, 23, ' ', 19, '\n', 17, '\"', 31, 30, 31, '&', 16, 31, 20, 24, 31, 16, 25, 21, 18, 24, ' ', 30, 16, 27, '\r', '(', '\b', '!', 25, '(', '(', '#', 25, ')', 16, ')', 13868, 13868, 25, 26, '\"', '$', '\r', 26, '\'', 23}, (byte) (51 - TextUtils.lastIndexOf("", '0', 0, 0)), 48 - (ViewConfiguration.getFadingEdgeLength() >> 16), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{',', '%', 30, ',', 30, '%', 22, ' ', '&', '#', 25, 24, 25, 24, 11, '&', 24, 26, '&', 25, '\t', 26, ' ', 24, 16, 24, '!', '\r', 22, 31, ')', '\"', 13781, 13781, '&', '\"', '0', '\"', 13856, 13856, 30, '%', 30, 24, '#', '(', 30, '%', 27, 21, 17, '\r', '\r', 26, '%', '\"', 26, '\r', ')', 25, 30, '%', 30, '&'}, (byte) (View.MeasureSpec.getSize(0) + 40), 64 - TextUtils.indexOf("", "", 0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{'\"', 24, 31, 20, '&', 24, 13946, 13946, 22, 31, 16, '&', ' ', 23, ')', '\"', ' ', 31, 27, ')', ')', ' ', 17, 31, '\r', 26, 16, ')', 21, 24, '!', 22, 23, ' ', '\"', '&', '&', 27, 13862, 13862, '0', ')', '&', 20, 19, '\r', 30, ',', '%', ',', 25, 21, 22, 30, ')', 27, NistHelper.SEP_FS, ' ', 17, '\"', '0', '\"', '\r', 11}, (byte) (123 - (ViewConfiguration.getWindowTouchSlop() >> 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];
ay(new char[]{NistHelper.SEP_FS, 14, '\f', 14, 7, 2, 13803, 13803, 16, 23, ' ', '\"', '\r', 5, 13869, 13869, '\'', ',', '\t', 19, '&', '\n', 31, ' ', 7, '0', '*', '\t', 25, '*', '&', 30, '\b', '\r', 30, '\n', '\t', '*', 3, 6, ' ', '-', 23, '\f', '/', 6, ' ', '-', ',', 2, '\r', 5, 29, 5, '!', 17, 15, 2, 20, '\t', '\t', ',', '\n', '\b', 4, '\b', 22, 3, '\'', '\t', ')', '\t', '\b', '\n'}, (byte) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 54), 74 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((short) ((ViewConfiguration.getLongPressTimeout() >> 16) + 57), Drawable.resolveOpacity(0, 0) + 1336485379, (-39) - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (Process.myTid() >> 22) - 387635723, (byte) (AndroidCharacter.getMirror('0') - '0'), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((short) (22 - (Process.myTid() >> 22)), 1336485383 - View.MeasureSpec.getSize(0), (-8) - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (-387635679) - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) Drawable.resolveOpacity(0, 0), objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - TextUtils.lastIndexOf("", '0'), KeyEvent.normalizeMetaState(0) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i6 = y + 111;
x = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // com.scb.phone.view.activity.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 = y + 83;
x = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = y + 19;
x = i4 % 128;
int i5 = i4 % 2;
}
}