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

668 lines
37 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.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
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.device.DeviceSettingsActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import org.jnbis.internal.NistHelper;
/* renamed from: o.dHq, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8322dHq extends BaseActivity implements fPA {
private volatile C13073fPt l;
private static final byte[] $$p = {45, 3, ISO7816.INS_READ_RECORD2, ISO7816.INS_PSO};
private static final int $$q = 78;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int y = 1;
private static char[] m = {49109, 49118, 49110, 49089, 49029, 49094, 48169, 49126, 49093, 49034, 49127, 49088, 49030, 49091, 49111, 49053, 49027, 49138, 49035, 49025, 49031, 49114, 49105, 49115, 49098, 49106, 49119, 49028, 49026, 49117, 49116, 49095, 49108, 49024, 49104, 49123};
private static char k = 35375;
private static char t = 17177;
private static char s = 4769;
private static char p = 30341;
private static char q = 32320;
/* renamed from: o, reason: collision with root package name */
private final Object f8726o = 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: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(int r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r6 = 120 - r6
byte[] r0 = o.AbstractActivityC8322dHq.$$p
int r7 = r7 * 2
int r7 = 1 - r7
int r8 = r8 + 4
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L13
r6 = r7
r3 = r8
r4 = r2
goto L2b
L13:
r3 = r2
L14:
byte r4 = (byte) r6
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r7) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L23:
int r8 = r8 + 1
r4 = r0[r8]
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L2b:
int r6 = r6 + r8
r8 = r3
r3 = r4
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8322dHq.aC(int, byte, short, java.lang.Object[]):void");
}
public AbstractActivityC8322dHq() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dHq.1
private AbstractActivityC8322dHq c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8322dHq abstractActivityC8322dHq = this.c;
if (abstractActivityC8322dHq.b) {
return;
}
abstractActivityC8322dHq.b = true;
((InterfaceC8323dHr) abstractActivityC8322dHq.y_()).c((DeviceSettingsActivity) abstractActivityC8322dHq);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = y + 39;
r = i2 % 128;
int i3 = i2 % 2;
Object y_ = f().y_();
if (i3 != 0) {
int i4 = 77 / 0;
}
return y_;
}
private C13073fPt f() {
if (this.l == null) {
synchronized (this.f8726o) {
if (this.l == null) {
this.l = new C13073fPt(this);
}
}
}
return this.l;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x003d, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0026, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0048, code lost:
r3 = o.AbstractActivityC8322dHq.y + 75;
o.AbstractActivityC8322dHq.r = r3 % 128;
r3 = r3 % 2;
r0 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x003f, code lost:
r0 = getIntent().getExtras();
*/
@Override // androidx.activity.ComponentActivity, o.GvH
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public o.VLM.LWm getDefaultViewModelProviderFactory() {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.AbstractActivityC8322dHq.y
int r1 = r1 + 125
int r2 = r1 % 128
o.AbstractActivityC8322dHq.r = r2
int r1 = r1 % r0
if (r1 == 0) goto L29
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r2 = o.C13068fPo.Sts.class
java.lang.Object r2 = o.fOV.c(r5, r2)
o.fPo$Sts r2 = (o.C13068fPo.Sts) r2
o.fPo$LWm r2 = r2.a()
android.content.Intent r3 = r5.getIntent()
r4 = 8
int r4 = r4 / 0
if (r3 == 0) goto L48
goto L3f
L29:
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r2 = o.C13068fPo.Sts.class
java.lang.Object r2 = o.fOV.c(r5, r2)
o.fPo$Sts r2 = (o.C13068fPo.Sts) r2
o.fPo$LWm r2 = r2.a()
android.content.Intent r3 = r5.getIntent()
if (r3 == 0) goto L48
L3f:
android.content.Intent r0 = r5.getIntent()
android.os.Bundle r0 = r0.getExtras()
goto L52
L48:
int r3 = o.AbstractActivityC8322dHq.y
int r3 = r3 + 75
int r4 = r3 % 128
o.AbstractActivityC8322dHq.r = r4
int r3 = r3 % r0
r0 = 0
L52:
o.VLM$LWm r0 = r2.aBN_(r5, r0, r1)
return r0
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8322dHq.getDefaultViewModelProviderFactory():o.VLM$LWm");
}
private static void aB(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i4 = $11 + 73;
$10 = i4 % 128;
if (i4 % 2 != 0) {
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b << 1];
} else {
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
}
int i5 = 58224;
int i6 = i3;
while (i6 < 16) {
int i7 = $11 + 23;
$10 = i7 % 128;
int i8 = i7 % 2;
char c = cArr3[1];
char c2 = cArr3[i3];
char[] cArr4 = cArr3;
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i5) ^ ((c2 << 4) + ((char) (p ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(q)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - (ViewConfiguration.getKeyRepeatDelay() >> 16), TextUtils.indexOf("", "") + 5, (char) Drawable.resolveOpacity(0, 0));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aC((byte) 54, b, (byte) (b - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr4[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i5) ^ ((charValue << 4) + ((char) (t ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(s)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 413, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) View.MeasureSpec.getSize(0));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) 54, b2, (byte) (b2 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i5 -= 40503;
i6++;
cArr3 = cArr4;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(MotionEvent.axisFromString("") + 99, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) 53, b3, (byte) (b3 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i3 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@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 = r + 111;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{26, 24, 15, 2, '!', 18, 15, 16, '#', 6, 17, '!', 0, '!', ' ', 4, 13876, 13876}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 41), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 97, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{0, 25, '\t', 19, 13913}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 57), ((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).codePointAt(0) - 8771, 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 = r + 53;
y = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aA(new char[]{26, 24, 15, 2, '!', 18, 15, 16, 31, 19, 14, 16, 16, '#', '!', 19, '\t', 20, 30, 25, 11, 22, 4, 3, 26, '\r'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.credit_card_message_m_card).substring(0, 7).codePointAt(3) - 3), 26 - (ViewConfiguration.getTapTimeout() >> 16), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new char[]{'#', 4, 13839, 13839, 5, 26, '#', '\r', 13841, 13841, 27, 20, 31, NistHelper.SEP_FS, '!', 19, '#', 24}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 73), 18 - View.resolveSize(0, 0), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = y + 95;
r = 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(493 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - View.resolveSize(0, 0), (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new char[]{13058, 57756, 528, 60772, 47679, 46279, 25895, 4159, 35775, 26407, 1349, 26141, 43586, 21206, 46015, 21490, 58225, 21760, 3817, 40236, 8111, 34226, 46763, 9181, 19381, 31984, 13784, 53179, 28826, 46845, 64617, 25884, 43628, 65074, 55764, 28907, 60562, 2830, 46533, 53851, 25456, 20520, 26578, 24629, 53134, 31761, 9540, 25314}, 48 - TextUtils.getOffsetBefore("", 0), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{22799, 28879, 9505, 47872, 64389, 47108, 11182, 9883, 54194, 23163, 5361, 17427, 5361, 17427, 35891, 43022, 43436, 12801, 35932, 48249, 33798, 16067, 2929, 51728, 8810, 2585, 6543, 41515, 10586, 38055, 32720, 29481, 60513, 62067, 6842, 31626, 37814, 23301, 46533, 53851, 64389, 47108, 2542, 61986, 45634, 50444, 64389, 47108, 54835, 13375, 58807, 47161, 53134, 31761, 7511, 243, 55546, 31829, 35605, 47413, 64389, 47108, 18120, 56948}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mw_shop_address_error_inline).substring(35, 37).codePointAt(1) + 32, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{24, 19, 15, '\"', 27, 31, 13901, 13901, 21, 7, ' ', 3, 23, 21, '\f', 22, NistHelper.SEP_FS, 19, 4, '\f', '\"', 22, 25, 21, 30, 22, 1, 3, 22, 0, '\b', 15, 21, 23, 24, '\r', '\r', 18, 13817, 13817, '\r', 17, 15, 30, 4, 30, 5, 3, 20, 4, 20, 19, 3, '\n', '\f', 4, '\r', NistHelper.SEP_FS, 1, 24, 18, 24, '!', NistHelper.SEP_FS}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 44), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{31509, 42200, 52463, 1434, 39226, 29164, 32485, 30922, 7340, 52236, 35932, 35265, 33120, 59626, 19428, 42854, 64880, 5624, 32163, 7233, 29377, 55298, 21087, 58437, 21918, 38911, 7565, 28162, 37616, 42099, 41500, 40470, 22475, 59656, 28961, 49326, 51315, 62295, 58032, 14067, 25117, 45037, 46662, 26511, 31135, 39838, 25117, 45037, 39014, 44555, 33120, 59626, 36087, 60041, 2835, 24125, 42332, 25779, 53036, 64047, 52795, 19723, 18623, 51867, 57976, 59478, 50272, 58846, 16857, 65387, 57020, 53554, 54134, 46423}, 73 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new char[]{43650, 11164, 31820, 42143, 54535, 44978}, 5 - (Process.myTid() >> 22), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new char[]{41500, 40470, 25456, 20520, 54007, 43444, 63889, 7375, 60421, 31483, 27529, 64255, 43645, 53985, 47782, 52749, 17043, 8756, 25536, 6160, 23012, 60208, 62217, 15990, 3512, 42374, 1349, 26141, 56555, 55249, 13784, 53179, 30306, 32770, 58371, 29610}, 36 - (ViewConfiguration.getWindowTouchSlop() >> 8), 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(487 - (ViewConfiguration.getTapTimeout() >> 16), (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) TextUtils.getOffsetAfter("", 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();
if (baseContext == null) {
int i2 = r + 25;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{26, 24, 15, 2, '!', 18, 15, 16, 31, 19, 14, 16, 16, '#', '!', 19, '\t', 20, 30, 25, 11, 22, 4, 3, 26, '\r'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.addition_document_scb_account_instruction).substring(26, 27).length() + 28), 25 - Process.getGidForName(""), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{'#', 4, 13839, 13839, 5, 26, '#', '\r', 13841, 13841, 27, 20, 31, NistHelper.SEP_FS, '!', 19, '#', 24}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 5), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.announce_cheque_detail).substring(24, 25).codePointAt(0) - 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = y + 37;
r = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = r + 111;
y = i6 % 128;
try {
if (i6 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 492, TextUtils.lastIndexOf("", '0') + 6, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).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', 0) + 488, ImageFormat.getBitsPerPixel(0) + 6, (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - View.resolveSizeAndState(0, 0, 0), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(486 - TextUtils.lastIndexOf("", '0', 0, 0), Color.argb(0, 0, 0, 0) + 5, (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.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 = r + 37;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{26, 24, 15, 2, '!', 18, 15, 16, 31, 19, 14, 16, 16, '#', '!', 19, '\t', 20, 30, 25, 11, 22, 4, 3, 26, '\r'}, (byte) (Drawable.resolveOpacity(0, 0) + 29), 26 - (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)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{'#', 4, 13839, 13839, 5, 26, '#', '\r', 13841, 13841, 27, 20, 31, NistHelper.SEP_FS, '!', 19, '#', 24}, (byte) (TextUtils.indexOf((CharSequence) "", '0') + 40), View.MeasureSpec.getSize(0) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = y + 55;
r = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.resolveSize(0, 0) + 492, 4 - ImageFormat.getBitsPerPixel(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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 487, 5 - ExpandableListView.getPackedPositionType(0L), (char) ((-1) - MotionEvent.axisFromString("")))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = 51 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Process.getGidForName("") + 493, TextUtils.getTrimmedLength("") + 5, (char) TextUtils.getTrimmedLength(""))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 488, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i6 = r + 29;
y = i6 % 128;
int i7 = i6 % 2;
}
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;
if (cArr2 != null) {
int i4 = $10 + 103;
$11 = i4 % 128;
int i5 = i4 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
for (int i6 = 0; i6 < length; i6++) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(297 - MotionEvent.axisFromString(""), 5 - Drawable.resolveOpacity(0, 0), (char) View.MeasureSpec.makeMeasureSpec(0, 0));
byte b2 = $$p[1];
byte b3 = (byte) (b2 - 3);
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(k)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 298, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) TextUtils.getCapsMode("", 0, 0));
byte b4 = $$p[1];
byte b5 = (byte) (b4 - 3);
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 - 1), 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) {
int i7 = $10 + 77;
$11 = i7 % 128;
if (i7 % 2 == 0) {
i2 = i + 63;
cArr4[i2] = (char) (cArr[i2] * b);
} else {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
}
} else {
i2 = i;
}
if (i2 > 1) {
int i8 = $11 + 125;
$10 = i8 % 128;
if (i8 % 2 != 0) {
irs.e = 1;
} else {
irs.e = 0;
}
while (irs.e < i2) {
int i9 = $10 + 111;
$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);
} 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((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 233, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 22024));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, (byte) (b7 - 1), 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) {
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(327 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), AndroidCharacter.getMirror('0') - '+', (char) View.MeasureSpec.getSize(0));
byte b8 = (byte) ($$q & 3);
byte b9 = (byte) (b8 - 2);
Object[] objArr9 = new Object[1];
aC(b8, b9, (byte) (b9 - 1), 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 i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i11];
} else if (irs.a == irs.d) {
int i12 = $10 + 93;
$11 = i12 % 128;
int i13 = i12 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i14 = (irs.a * charValue) + irs.f;
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
int i16 = $11 + 1;
$10 = i16 % 128;
int i17 = i16 % 2;
} else {
int i18 = (irs.a * charValue) + irs.j;
int i19 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i18];
cArr4[irs.e + 1] = cArr2[i19];
}
}
irs.e += 2;
}
}
for (int i20 = 0; i20 < i; i20++) {
cArr4[i20] = (char) (cArr4[i20] ^ 13722);
}
objArr[0] = new String(cArr4);
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0089, code lost:
if (r2 > 99999) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0083, code lost:
if (r2 > 99999) goto L11;
*/
@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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r17) {
/*
Method dump skipped, instructions count: 876
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8322dHq.attachBaseContext(android.content.Context):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 onStart() {
int i = 2 % 2;
int i2 = r + 41;
y = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = y + 125;
r = i4 % 128;
int i5 = i4 % 2;
}
}