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

738 lines
39 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
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.scb.phone.view.activity.BaseActivityWithFragment;
import com.scb.phone.view.activity.investment.scbs.open.CheckSCBSEligibilityActivity;
import java.lang.reflect.Method;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.cbeff.ISO781611;
/* renamed from: o.dVu, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC8787dVu extends BaseActivityWithFragment implements fPA {
private volatile C13073fPt m;
private static final byte[] $$y = {118, -18, 54, 121};
private static final int $$z = 37;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int r = 1;
private static char[] l = {39986, 40059, 40039, 40045, 40002, 40005, 40058, 40027, 39988, 40042, 40059, 40034, 40047, 40039, 40056, 40033, 40044, 40034, 39997, 40056, 40044, 40020, 40045, 39996, 40034, 40032, 40059, 40039, 40045, 40002, 40012, 40035, 40059, 40004, 39996, 40025, 40032, 40037, 40036, 40036, 40037, 40061, 40045, 40021, 40038, 40032, 40040, 40041, 40041, 40051, 40172, 40168, 40162, 40172, 40162, 40174, 40150, 40170, 40174, 40162, 40160, 40152, 40158, 40167, 40175, 40173, 40166, 40033, 40161, 40172, 40154, 40159, 40162, 40181, 40203, 40201, 40203, 40162, 40161, 40161, 40162, 40163, 40152, 40167, 40161, 40155, 40154, 40154, 40154, 40152, 40154, 40155, 40153, 40132, 40133, 40172, 40162, 40163, 40172, 40155, 40154, 40155, 40173, 40172, 40153, 40154, 40154, 40159, 40159, 40152, 40163, 40163, 40152, 40161, 40180, 40162, 40162, 40181, 40163, 40153, 40155, 40155, 40162, 40203, 40160, 40167, 40160, 40161, 40161, 40152, 40163, 40027, 40071, 40070, 40070, 40061, 40064, 40104, 40104, 40067, 40064, 40064, 40063, 40060, 40060, 40062, 40064, 40104, 40104, 40070, 40071, 40111, 40071, 40063, 40057, 40057, 40056, 40058, 40058, 40056, 40062, 40064, 40106, 40064, 40071, 40069, 40060, 40060, 40069, 40110, 40068, 40070, 40065, 40063, 40056, 40059, 40059, 40064, 40111, 40106, 40071, 40063, 40057, 40064, 40104, 40071, 40061, 40062, 40064, 40110, 40071, 40065, 40065, 40058, 40063};
/* renamed from: o, reason: collision with root package name */
private static char f8847o = 39272;
private static char t = 4805;
private static char q = 45020;
private static char s = 43257;
private final Object k = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x002a */
/* JADX WARN: Removed duplicated region for block: B:7:0x0022 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002a -> B:4:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aF(short r7, byte r8, short r9, java.lang.Object[] r10) {
/*
int r8 = r8 * 4
int r8 = 1 - r8
byte[] r0 = o.AbstractActivityC8787dVu.$$y
int r7 = r7 * 2
int r7 = 3 - r7
int r9 = r9 + 66
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r9 = r7
r3 = r8
r4 = r2
goto L2c
L15:
r3 = r2
r6 = r9
r9 = r7
r7 = r6
L19:
int r4 = r3 + 1
byte r5 = (byte) r7
int r9 = r9 + 1
r1[r3] = r5
if (r4 != r8) goto L2a
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L2a:
r3 = r0[r9]
L2c:
int r3 = -r3
int r7 = r7 + r3
r3 = r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8787dVu.aF(short, byte, short, java.lang.Object[]):void");
}
public AbstractActivityC8787dVu() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dVu.4
private AbstractActivityC8787dVu b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8787dVu abstractActivityC8787dVu = this.b;
if (abstractActivityC8787dVu.b) {
return;
}
abstractActivityC8787dVu.b = true;
((InterfaceC8788dVv) abstractActivityC8787dVu.y_()).a((CheckSCBSEligibilityActivity) abstractActivityC8787dVu);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = p + 119;
r = i2 % 128;
int i3 = i2 % 2;
Object y_ = h().y_();
int i4 = r + 107;
p = i4 % 128;
if (i4 % 2 == 0) {
return y_;
}
throw null;
}
private C13073fPt h() {
if (this.m == null) {
synchronized (this.k) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
/* 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 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x003f, code lost:
r3 = 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.AbstractActivityC8787dVu.p
int r1 = r1 + 117
int r2 = r1 % 128
o.AbstractActivityC8787dVu.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 = 20
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 r3 = r5.getIntent()
android.os.Bundle r3 = r3.getExtras()
goto L49
L48:
r3 = 0
L49:
o.VLM$LWm r1 = r2.aBN_(r5, r3, r1)
int r2 = o.AbstractActivityC8787dVu.p
int r2 = r2 + 101
int r3 = r2 % 128
o.AbstractActivityC8787dVu.r = r3
int r2 = r2 % r0
return r1
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8787dVu.getDefaultViewModelProviderFactory():o.VLM$LWm");
}
private static void aE(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
jtb.b = 0;
char[] cArr3 = new char[2];
int i3 = $10 + 119;
$11 = i3 % 128;
int i4 = i3 % 2;
while (jtb.b < cArr.length) {
int i5 = $11 + 93;
$10 = i5 % 128;
int i6 = i5 % 2;
cArr3[0] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i7 = 58224;
int i8 = 0;
while (i8 < 16) {
char c = cArr3[1];
char c2 = cArr3[0];
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i7) ^ ((c2 << 4) + ((char) (q ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(s)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) ((Process.getThreadPriority(0) + 20) >> 6));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, b2, 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();
cArr3[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr3[0]), Integer.valueOf((charValue + i7) ^ ((charValue << 4) + ((char) (f8847o ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(t)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 412, TextUtils.lastIndexOf("", '0') + 6, (char) ((-1) - MotionEvent.axisFromString("")));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aF(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr3[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i7 -= 40503;
i8++;
int i9 = $10 + 41;
$11 = i9 % 128;
int i10 = i9 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2[jtb.b] = cArr3[0];
cArr2[jtb.b + 1] = cArr3[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(98 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) TextUtils.indexOf("", "", 0));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aF(b5, b6, (byte) (b6 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
String str = new String(cArr2, 0, i);
int i11 = $11 + 121;
$10 = i11 % 128;
if (i11 % 2 == 0) {
objArr[0] = str;
} else {
int i12 = 15 / 0;
objArr[0] = str;
}
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x00ef, code lost:
if (r1 == null) goto L34;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x02e4, code lost:
super.onCreate(r17);
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x02e7, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x00f1, code lost:
r2 = o.xzZ.y.get(125943855);
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x00ff, code lost:
if (r2 == null) goto L20;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x012d, code lost:
r2 = ((java.lang.reflect.Method) r2).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0133, code lost:
r11 = (java.lang.Object[]) null;
r11 = new java.lang.Object[1];
aE(new char[]{35732, 60945, 62404, 62329, 10677, 53319, 8272, '^', 43680, 9481, 32467, 37865, 56332, 10576, 36780, 50138, 10180, 25428, 64768, 26973, 18207, 47738, 45726, 25336, 9894, 27083, 43493, 29754, 48019, 62490, 17420, 3973, 55045, 43600, 3890, 39470, 38196, 56865, 27599, 26009, 63309, 44745, 24025, 45426, 7815, 54023, 32913, 14718}, ((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_single_form_check_eligibility_open_accounts_remark_1).substring(44, 45).length() + 47, r11);
r3 = (java.lang.String) r11[0];
r15 = new java.lang.Object[1];
aD(new int[]{67, 64, org.bouncycastle.crypto.tls.CipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384, 8}, false, new byte[]{1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1}, r15);
r10 = (java.lang.String) r15[0];
r15 = new java.lang.Object[1];
aD(new int[]{org.jmrtd.cbeff.ISO781611.CREATION_DATE_AND_TIME_TAG, 64, 64, 1}, true, new byte[]{1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0}, r15);
r11 = (java.lang.String) r15[0];
r15 = new java.lang.Object[1];
aE(new char[]{8613, 41311, 30479, 1831, 57235, 59625, 37249, 63704, 33920, 52421, 39920, 8246, 3686, 35644, 35342, 53028, 43522, 34976, 61975, 54274, 34022, 37869, 35911, 3209, 35859, 9229, 42705, 7120, 44528, 60585, 2369, 34210, 29856, 3654, 55656, 49082, 29417, 6604, 27902, 13143, 233, 51172, 23355, 39194, 19800, 65132, 233, 51172, 41148, 16221, 3686, 35644, 4017, 51603, 9782, 37023, 19172, 56328, 47023, 61659, 33119, 9831, 12741, 12026, 25132, 24493, 11993, 37759, 32270, 13047, 1084, 32784, 42123, 38185}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 36, r15);
r0 = (java.lang.String) r15[0];
r5 = new java.lang.Object[1];
aE(new char[]{46701, 41353, 61794, 63107, 37088, 9077}, ((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_direct_debit_decline_terms_and_conditions_description).substring(31, 32).codePointAt(0) - 27, r5);
r4 = (java.lang.String) r5[0];
r12 = new java.lang.Object[1];
aE(new char[]{2369, 34210, 63309, 44745, 26678, 24226, 64272, 44187, 19378, 15564, 824, 46927, 44450, 34704, 16573, 16195, 40812, 26219, 37013, 1837, 45354, 34649, 63057, 46146, 41478, 27323, 32467, 37865, 49545, 64530, 43493, 29754, 11051, 29232, 2591, 12212}, ((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.cash_rewards_eta).substring(20, 21).codePointAt(0) + 4, r12);
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x024d, code lost:
r6 = new java.lang.Object[]{r1, r3, r10, r11, r0, true, r4, (java.lang.String) r12[0]};
r0 = o.xzZ.y.get(1656189573);
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0275, code lost:
if (r0 == null) goto L26;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x02d5, code lost:
((java.lang.reflect.Method) r0).invoke(r2, r6);
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0278, code lost:
r0 = ((java.lang.Class) o.xzZ.c((android.view.ViewConfiguration.getScrollFriction() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.view.ViewConfiguration.getScrollFriction() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 486, 5 - ((android.os.Process.getThreadPriority(0) + 20) >> 6), (char) (android.text.TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod("e", android.content.Context.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.Boolean.TYPE, java.lang.String.class, java.lang.String.class);
o.xzZ.y.put(1656189573, r0);
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x0102, code lost:
r2 = ((java.lang.Class) o.xzZ.c(((byte) android.view.KeyEvent.getModifierMetaStateMask()) + 493, 6 - (android.os.SystemClock.uptimeMillis() > 0 ? 1 : (android.os.SystemClock.uptimeMillis() == 0 ? 0 : -1)), (char) android.view.View.getDefaultSize(0, 0))).getMethod("a", null);
o.xzZ.y.put(125943855, r2);
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x02db, code lost:
r0 = move-exception;
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x02dc, code lost:
r1 = r0.getCause();
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x02e0, code lost:
if (r1 != null) goto L32;
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x02e2, code lost:
throw r1;
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x02e3, code lost:
throw r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x009a, code lost:
if (r1 <= 99999) goto L34;
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x0095, code lost:
if (r1 >= 99000) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0057, code lost:
if (r1 >= 99000) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x009c, code lost:
r1 = getBaseContext();
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x00a0, code lost:
if (r1 != null) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x00a2, code lost:
r1 = o.AbstractActivityC8787dVu.r + 63;
o.AbstractActivityC8787dVu.p = r1 % 128;
r1 = r1 % 2;
r3 = new java.lang.Object[1];
aD(new int[]{23, 26, 0, 25}, false, new byte[]{0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1}, r3);
r1 = java.lang.Class.forName((java.lang.String) r3[0]);
r4 = new java.lang.Object[1];
aD(new int[]{49, 18, 123, 2}, true, new byte[]{0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0}, r4);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r4[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x00e9, code lost:
if (r1 == null) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x00eb, code lost:
r1 = r1.getApplicationContext();
*/
@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 r17) {
/*
Method dump skipped, instructions count: 1072
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8787dVu.onCreate(android.os.Bundle):void");
}
/* JADX WARN: Code restructure failed: missing block: B:31:0x0021, code lost:
r6 = new java.lang.Object[1];
aD(new int[]{23, 26, 0, 25}, false, new byte[]{0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1}, r6);
r1 = java.lang.Class.forName((java.lang.String) r6[0]);
r7 = new java.lang.Object[1];
aD(new int[]{49, 18, 123, 2}, true, new byte[]{0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0}, r7);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@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 onResume() {
/*
Method dump skipped, instructions count: 307
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8787dVu.onResume():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 onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = p + 45;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{23, 26, 0, 25}, false, new byte[]{0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{49, 18, 123, 2}, true, new byte[]{0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0}, 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(492 - Color.alpha(0), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) Color.blue(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.getMaximumDrawingCacheSize() >> 24) + 487, 5 - Color.argb(0, 0, 0, 0), (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = p + 85;
r = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aD(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2;
int i3 = 2;
int i4 = 2 % 2;
TVH tvh = new TVH();
int i5 = 0;
int i6 = iArr[0];
int i7 = iArr[1];
int i8 = iArr[2];
int i9 = iArr[3];
char[] cArr = l;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i10 = 0;
while (i10 < length) {
int i11 = $11 + 55;
$10 = i11 % 128;
if (i11 % i3 != 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(cArr[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
i2 = length;
} else {
Class cls = (Class) xzZ.c(223 - (CdmaCellLocation.convertQuartSecToDecDegrees(i5) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(i5) == 0.0d ? 0 : -1)), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (41976 - TextUtils.lastIndexOf("", '0', i5, i5)));
byte b = (byte) i5;
byte b2 = b;
i2 = length;
Object[] objArr3 = new Object[1];
aF(b, b2, (byte) (b2 + 5), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10 /= 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
i2 = length;
Object[] objArr4 = {Integer.valueOf(cArr[i10])};
Object obj2 = xzZ.y.get(1645349359);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 222, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 41977));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aF(b3, b4, (byte) (b4 + 5), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(1645349359, obj2);
}
cArr2[i10] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i10++;
}
length = i2;
i3 = 2;
i5 = 0;
}
cArr = cArr2;
}
char[] cArr3 = new char[i7];
System.arraycopy(cArr, i6, cArr3, 0, i7);
if (bArr != null) {
char[] cArr4 = new char[i7];
tvh.c = 0;
char c = 0;
while (tvh.c < i7) {
if (bArr[tvh.c] == 1) {
int i12 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(502 - (KeyEvent.getMaxKeyCode() >> 16), 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 53))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i12] = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
int i13 = $10 + 7;
$11 = i13 % 128;
int i14 = i13 % 2;
} else {
int i15 = tvh.c;
Object[] objArr7 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(15 - TextUtils.indexOf("", ""), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (Gravity.getAbsoluteGravity(0, 0) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr4[i15] = ((Character) ((Method) obj4).invoke(null, objArr7)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr8 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 402, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (21609 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr9 = new Object[1];
aF(b5, b6, (byte) (b6 | 7), objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
cArr3 = cArr4;
}
if (i9 > 0) {
char[] cArr5 = new char[i7];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i7);
int i16 = i7 - i9;
System.arraycopy(cArr5, 0, cArr3, i16, i9);
System.arraycopy(cArr5, i9, cArr3, 0, i16);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i7];
tvh.c = i;
int i17 = $10 + 1;
$11 = i17 % 128;
int i18 = i17 % 2;
while (tvh.c < i7) {
cArr6[tvh.c] = cArr3[(i7 - tvh.c) - 1];
tvh.c++;
}
cArr3 = cArr6;
}
if (i8 > 0) {
tvh.c = 0;
int i19 = $10 + 95;
$11 = i19 % 128;
int i20 = i19 % 2;
while (tvh.c < i7) {
int i21 = $10 + 75;
$11 = i21 % 128;
int i22 = i21 % 2;
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
tvh.c++;
}
}
objArr[0] = new String(cArr3);
}
@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) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 0, 15}, false, new byte[]{0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{18, 5, 0, 0}, false, new byte[]{1, 0, 0, 0, 1}, 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) {
context2 = context.getApplicationContext();
int i2 = p + 21;
r = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 4 % 2;
}
} else {
context2 = context;
}
if (context2 != null) {
int i4 = p + 95;
r = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionType(0L), TextUtils.getTrimmedLength("") + 5, (char) TextUtils.indexOf("", "", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE(new char[]{35732, 60945, 62404, 62329, 10677, 53319, 8272, '^', 43680, 9481, 32467, 37865, 56332, 10576, 36780, 50138, 10180, 25428, 64768, 26973, 18207, 47738, 45726, 25336, 9894, 27083, 43493, 29754, 48019, 62490, 17420, 3973, 55045, 43600, 3890, 39470, 38196, 56865, 27599, 26009, 63309, 44745, 24025, 45426, 7815, 54023, 32913, 14718}, (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)) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD(new int[]{67, 64, CipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384, 8}, false, new byte[]{1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new int[]{ISO781611.CREATION_DATE_AND_TIME_TAG, 64, 64, 1}, true, new byte[]{1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{8613, 41311, 30479, 1831, 57235, 59625, 37249, 63704, 33920, 52421, 39920, 8246, 3686, 35644, 35342, 53028, 43522, 34976, 61975, 54274, 34022, 37869, 35911, 3209, 35859, 9229, 42705, 7120, 44528, 60585, 2369, 34210, 29856, 3654, 55656, 49082, 29417, 6604, 27902, 13143, 233, 51172, 23355, 39194, 19800, 65132, 233, 51172, 41148, 16221, 3686, 35644, 4017, 51603, 9782, 37023, 19172, 56328, 47023, 61659, 33119, 9831, 12741, 12026, 25132, 24493, 11993, 37759, 32270, 13047, 1084, 32784, 42123, 38185}, 74 - View.resolveSize(0, 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new char[]{46701, 41353, 61794, 63107, 37088, 9077}, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{2369, 34210, 63309, 44745, 26678, 24226, 64272, 44187, 19378, 15564, 824, 46927, 44450, 34704, 16573, 16195, 40812, 26219, 37013, 1837, 45354, 34649, 63057, 46146, 41478, 27323, 32467, 37865, 49545, 64530, 43493, 29754, 11051, 29232, 2591, 12212}, 35 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), 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(487 - (ViewConfiguration.getJumpTapTimeout() >> 16), 4 - MotionEvent.axisFromString(""), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 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);
} 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 = p + 65;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
}
}