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

805 lines
43 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
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.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
/* renamed from: o.dKV, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8407dKV extends BaseActivity implements fPA {
private volatile C13073fPt b;
private final Object k = new Object();
private boolean l = false;
private static final byte[] $$E = {ISO7816.INS_MANAGE_CHANNEL, Ascii.SYN, 62, 17};
private static final int $$F = 210;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int p = 1;
private static char[] m = {39993, 40002, 40005, 40058, 40027, 39988, 40042, 40059, 40034, 40047, 40039, 40056, 40033, 40044, 40034, 40032, 40059, 40039, 39991, 40056, 40035, 40045, 40020, 39993, 40040, 40042, 40007, 39996, 39999, 40001, 40006, 40006, 40000, 39997, 40006, 40006, 40005, 40004, 40005, 40040, 40007, 39992, 39992, 39998, 40000, 40042, 40007, 40007, 40041, 40006, 39997, 40000, 40000, 39997, 39996, 39996, 39999, 39999, 39998, 40001, 40002, 39992, 39999, 39992, 40001, 40000, 40007, 40001, 39994, 39993, 39998, 39992, 39999, 39997, 39999, 39999, 39999, 39992, 40006, 40004, 39997, 40000, 40007, 40006, 40006, 40007, 40040, 39955, 39972, 39992, 39992, 39992, 40058, 40131, 40123, 40122, 40122, 40130, 40170, 40128, 40130, 40141, 40140, 40140, 40103, 40142, 40170, 40171, 40149, 40143, 40103, 40101, 40101, 40123, 40102, 40143, 40171, 40140, 40123, 40101, 40096, 40100, 40120, 40128, 40130, 40123, 40141, 40171};
/* renamed from: o, reason: collision with root package name */
private static char[] f8743o = {15901, 15882, 15888, 15886, 15883, 15893, 16074, 15884, 16125, 15903, 15872, 15874, 15877, 16096, 15892, 15889, 15873, 15880, 16077, 16067, 16064, 15902, 16079, 15890, 16069, 16078, 16068, 16066, 16065, 16076, 15887, 16070, 16075, 15881, 15895, 15891, 15885};
private static int s = 1934311100;
private static boolean r = true;
private static boolean t = true;
private static void aJ(int i, short s2, int i2, Object[] objArr) {
byte[] bArr = $$E;
int i3 = s2 + 65;
int i4 = i2 * 3;
int i5 = 4 - (i * 4);
byte[] bArr2 = new byte[1 - i4];
int i6 = 0 - i4;
int i7 = -1;
if (bArr == null) {
i3 = (-i3) + i6;
i5++;
i7 = -1;
}
while (true) {
int i8 = i7 + 1;
bArr2[i8] = (byte) i3;
if (i8 == i6) {
objArr[0] = new String(bArr2, 0);
return;
}
i3 = (-bArr[i5]) + i3;
i5++;
i7 = i8;
}
}
public AbstractActivityC8407dKV() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dKV.4
private AbstractActivityC8407dKV e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.e.r();
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = p + 1;
q = i2 % 128;
int i3 = i2 % 2;
Object y_ = j().y_();
int i4 = q + 115;
p = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 36 / 0;
}
return y_;
}
private C13073fPt j() {
if (this.b == null) {
synchronized (this.k) {
if (this.b == null) {
this.b = new C13073fPt(this);
}
}
}
return this.b;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x001c, code lost:
r4.l = true;
((o.InterfaceC8427dKs) y_()).e((com.scb.phone.view.activity.easycash.introduction.EasycashBaseIntroductionActivity) r4);
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x001a, code lost:
if ((!r4.l) != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if (r4.l == false) goto L9;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
protected void r() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.AbstractActivityC8407dKV.q
int r1 = r1 + 95
int r2 = r1 % 128
o.AbstractActivityC8407dKV.p = r2
int r1 = r1 % r0
r2 = 1
if (r1 != 0) goto L17
boolean r1 = r4.l
r3 = 6
int r3 = r3 / 0
if (r1 != 0) goto L2a
goto L1c
L17:
boolean r1 = r4.l
r1 = r1 ^ r2
if (r1 == 0) goto L2a
L1c:
r4.l = r2
java.lang.Object r1 = r4.y_()
o.dKs r1 = (o.InterfaceC8427dKs) r1
r2 = r4
com.scb.phone.view.activity.easycash.introduction.EasycashBaseIntroductionActivity r2 = (com.scb.phone.view.activity.easycash.introduction.EasycashBaseIntroductionActivity) r2
r1.e(r2)
L2a:
int r1 = o.AbstractActivityC8407dKV.p
int r1 = r1 + 111
int r2 = r1 % 128
o.AbstractActivityC8407dKV.q = r2
int r1 = r1 % r0
if (r1 != 0) goto L36
return
L36:
r0 = 0
r0.hashCode()
throw r0
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8407dKV.r():void");
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
Bundle bundle = null;
if (getIntent() != null) {
int i2 = q + 69;
p = i2 % 128;
if (i2 % 2 == 0) {
getIntent().getExtras();
bundle.hashCode();
throw null;
}
bundle = getIntent().getExtras();
} else {
int i3 = q + 71;
p = i3 % 128;
int i4 = i3 % 2;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x011b, code lost:
if ((r2 % 2) != 0) goto L18;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x011d, code lost:
r1 = r1.getApplicationContext();
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0122, code lost:
r1.getApplicationContext();
r4.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0128, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x0129, code lost:
if (r1 == null) goto L39;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x012b, code lost:
r2 = o.AbstractActivityC8407dKV.q + 59;
o.AbstractActivityC8407dKV.p = r2 % 128;
r2 = r2 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0134, code lost:
r2 = o.xzZ.y.get(125943855);
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0141, code lost:
if (r2 == null) goto L25;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0171, code lost:
r2 = ((java.lang.reflect.Method) r2).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x0177, code lost:
r8 = (java.lang.Object[]) null;
r9 = new java.lang.Object[1];
aI(null, null, ((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.debit_card_request_promo_code_success_title).substring(4, 8).codePointAt(2) + 90, new byte[]{-107, -112, -101, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -99, -103, -107, -102, -106, -106, -112, -104, -109, -101, -99, -109, -109, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -103, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -99, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -100, -104, -103, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -107, -105, -101, -102, -105, -106, -101, -105, -106, -105, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -102, -103, -106, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -104, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -105, -106, -107, -108, -109}, r9);
r7 = (java.lang.String) r9[0];
r10 = new java.lang.Object[1];
aG(new int[]{23, 64, 0, 0}, true, new byte[]{1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, r10);
r8 = (java.lang.String) r10[0];
r11 = new java.lang.Object[1];
aI(null, null, ((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.hml_business_owner_monthly_income_about_additional_info).substring(12, 13).codePointAt(0) + 95, new byte[]{-108, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -101, -99, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -104, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -98, -104, -98, -103, -100, -101, -102, -112, -106, -112, -100, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -104, -105, -99, -98, -99, -109, -109, -102, -99, -99, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -106, -107, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -103, -100, -101, -112, -104, -101, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -102, -108, -98, -109, -98, -104, -106, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -101, -98, -107, -106, -112, -105, -103, -102, -112, -112, -105, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -105, -98, -101, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2}, r11);
r9 = (java.lang.String) r11[0];
r12 = new java.lang.Object[1];
aI(null, null, ((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_open_scbs_account_remark).substring(0, 1).codePointAt(0) + 85, new byte[]{-97, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -126, -112, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_COMPACT, -112, net.sf.scuba.smartcards.ISOFileInfo.A1, -102, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_COMPACT, net.sf.scuba.smartcards.ISOFileInfo.A1, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -97, -112, -92, -126, -122, net.sf.scuba.smartcards.ISOFileInfo.A1, -122, -120, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.A1, -94, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, -112, -124, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -111, net.sf.scuba.smartcards.ISOFileInfo.A5, -97, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -124, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -111, -92, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -97, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -112, -124, -113, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, -93, -126, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -106, -110, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -122, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -124, -112, -94, -94, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -94, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -122, -97, net.sf.scuba.smartcards.ISOFileInfo.A1, net.sf.scuba.smartcards.ISOFileInfo.A1, net.sf.scuba.smartcards.ISOFileInfo.A0, -97, -120, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -113}, r12);
r4 = (java.lang.String) r12[0];
r12 = new java.lang.Object[1];
aG(new int[]{87, 5, 0, 5}, true, new byte[]{0, 0, 0, 0, 1}, r12);
r10 = (java.lang.String) r12[0];
r13 = new java.lang.Object[1];
aG(new int[]{92, 36, 125, 0}, true, new byte[]{0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, r13);
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x027e, code lost:
r12 = new java.lang.Object[]{r1, r7, r8, r9, r4, true, r10, (java.lang.String) r13[0]};
r1 = o.xzZ.y.get(1656189573);
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x02a5, code lost:
if (r1 == null) goto L31;
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x0300, code lost:
((java.lang.reflect.Method) r1).invoke(r2, r12);
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x02a8, code lost:
r1 = ((java.lang.Class) o.xzZ.c(488 - (android.media.AudioTrack.getMaxVolume() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.media.AudioTrack.getMaxVolume() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)), android.graphics.Color.rgb(0, 0, 0) + 16777221, (char) (android.view.ViewConfiguration.getScrollDefaultDelay() >> 16))).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, r1);
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x0144, code lost:
r2 = ((java.lang.Class) o.xzZ.c(android.view.KeyEvent.getDeadChar(0, 0) + 492, 5 - (android.view.ViewConfiguration.getTapTimeout() >> 16), (char) (android.view.ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("a", null);
o.xzZ.y.put(125943855, r2);
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x0306, code lost:
r15 = move-exception;
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x0307, code lost:
r0 = r15.getCause();
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x030b, code lost:
if (r0 != null) goto L37;
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x030d, code lost:
throw r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x030e, code lost:
throw r15;
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x030f, code lost:
super.onCreate(r15);
*/
/* JADX WARN: Code restructure failed: missing block: B:36:0x0312, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:38:0x00a2, code lost:
if (r1 <= 99999) goto L39;
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x009d, 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:0x00a4, code lost:
r1 = getBaseContext();
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x00a8, code lost:
if (r1 != null) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x00aa, code lost:
r1 = o.AbstractActivityC8407dKV.q + 111;
o.AbstractActivityC8407dKV.p = r1 % 128;
r1 = r1 % 2;
r8 = new java.lang.Object[1];
aI(null, null, android.text.TextUtils.getOffsetBefore("", 0) + 127, new byte[]{net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -112, -124, -113, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, net.sf.scuba.smartcards.ISOFileInfo.ENV_TEMP_EF, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -122, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_COMPACT, -122, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -119, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, -120, -120, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -122, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, -124, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -126, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2}, r8);
r1 = java.lang.Class.forName((java.lang.String) r8[0]);
r8 = (java.lang.Object[]) null;
r8 = new java.lang.Object[1];
aI(null, null, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) + 23, new byte[]{-126, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, -122, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -122, -110, -120, -120, -119, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -126, -112, -124, -124, -111, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE}, r8);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r8[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0110, code lost:
if (r1 == null) goto L20;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0112, code lost:
r2 = o.AbstractActivityC8407dKV.p + 21;
o.AbstractActivityC8407dKV.q = r2 % 128;
*/
@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 r15) {
/*
Method dump skipped, instructions count: 1036
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8407dKV.onCreate(android.os.Bundle):void");
}
private static void aI(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = f8743o;
long j = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = $10 + 117;
$11 = i5 % 128;
int i6 = i5 % 2;
int i7 = 0;
while (i7 < length) {
int i8 = $10 + 11;
$11 = i8 % 128;
if (i8 % i3 == 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(336 - TextUtils.indexOf((CharSequence) "", '0'), (ExpandableListView.getPackedPositionForGroup(0) > j ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == j ? 0 : -1)) + 5, (char) ((SystemClock.elapsedRealtimeNanos() > j ? 1 : (SystemClock.elapsedRealtimeNanos() == j ? 0 : -1)) - 1));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aJ(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7 <<= 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i7])};
Object obj2 = xzZ.y.get(-950481649);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(337 - View.MeasureSpec.makeMeasureSpec(0, 0), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) Color.blue(0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aJ(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-950481649, obj2);
}
cArr3[i7] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i7++;
}
i3 = 2;
j = 0;
}
int i9 = $11 + 31;
$10 = i9 % 128;
int i10 = i9 % 2;
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(s)};
Object obj3 = xzZ.y.get(-1521625011);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(283 - Color.alpha(0), (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) (39813 - Color.alpha(0)));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
aJ(b5, (byte) (b5 | 57), b5, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr6)).intValue();
if (!(!t)) {
int i11 = $10 + 35;
$11 = i11 % 128;
int i12 = i11 % 2;
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(40 - View.combineMeasuredStates(0, 0), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
objArr[0] = new String(cArr4);
return;
}
if (r) {
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr9 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 41, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr9);
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i13 = $10 + 91;
$11 = i13 % 128;
if (i13 % 2 == 0) {
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c << 1) + c3614bBe.a] * i] + intValue);
i2 = c3614bBe.a;
} else {
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i2 = c3614bBe.a + 1;
}
c3614bBe.a = i2;
}
objArr[0] = new String(cArr6);
}
@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) {
Object[] objArr = new Object[1];
aI(null, null, (ViewConfiguration.getFadingEdgeLength() >> 16) + 127, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 81, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -110, -120, -120, -119, ISOFileInfo.SECURITY_ATTR_EXP, -126, -112, -124, -124, -111, ISOFileInfo.LCS_BYTE}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = q + 51;
p = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = q + 75;
p = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) TextUtils.getCapsMode("", 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(KeyEvent.keyCodeFromString("") + 487, 4 - TextUtils.lastIndexOf("", '0'), (char) View.resolveSizeAndState(0, 0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = q + 61;
p = i6 % 128;
int i7 = i6 % 2;
} 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) {
Object[] objArr = new Object[1];
aI(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(null, null, ((Process.getThreadPriority(0) + 20) >> 6) + 127, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -110, -120, -120, -119, ISOFileInfo.SECURITY_ATTR_EXP, -126, -112, -124, -124, -111, ISOFileInfo.LCS_BYTE}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = q + 81;
p = i2 % 128;
if (i2 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 32 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i4 = q + 95;
p = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 492, View.combineMeasuredStates(0, 0) + 5, (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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(535 - AndroidCharacter.getMirror('0'), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) View.MeasureSpec.getMode(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - (ViewConfiguration.getEdgeSlop() >> 16), TextUtils.getCapsMode("", 0, 0) + 5, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).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(487 - (ViewConfiguration.getWindowTouchSlop() >> 8), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 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();
}
private static void aG(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
int i2 = 2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr2 = m;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i9 = 0;
while (i9 < length) {
int i10 = $11 + 67;
$10 = i10 % 128;
if (i10 % i2 != 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr2[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - TextUtils.getOffsetAfter("", i4), 5 - TextUtils.getOffsetAfter("", i4), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 41976));
byte b = (byte) i4;
Object[] objArr3 = new Object[1];
aJ(b, (byte) (b | 6), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i9])};
Object obj2 = xzZ.y.get(1645349359);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(222 - TextUtils.lastIndexOf("", '0', 0, 0), 5 - Color.green(0), (char) (TextUtils.indexOf("", "", 0) + 41977));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aJ(b2, (byte) (b2 | 6), b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(1645349359, obj2);
}
cArr3[i9] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i9++;
}
i2 = 2;
i4 = 0;
}
int i11 = $10 + 97;
$11 = i11 % 128;
int i12 = i11 % 2;
cArr2 = cArr3;
}
char[] cArr4 = new char[i6];
System.arraycopy(cArr2, i5, cArr4, 0, i6);
if (bArr != null) {
char[] cArr5 = new char[i6];
tvh.c = 0;
char c = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i13 = $10 + 17;
$11 = i13 % 128;
if (i13 % 2 == 0) {
int i14 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 502, Color.rgb(0, 0, 0) + 16777221, (char) (54 - (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("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr5[i14] = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
throw null;
}
int i15 = tvh.c;
Object[] objArr7 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(850398076);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(501 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (54 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj4);
}
cArr5[i15] = ((Character) ((Method) obj4).invoke(null, objArr7)).charValue();
} else {
int i16 = tvh.c;
Object[] objArr8 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj5 = xzZ.y.get(1084521042);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 14, 5 - TextUtils.indexOf("", ""), (char) (Gravity.getAbsoluteGravity(0, 0) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj5);
}
cArr5[i16] = ((Character) ((Method) obj5).invoke(null, objArr8)).charValue();
}
c = cArr5[tvh.c];
Object[] objArr9 = {tvh, tvh};
Object obj6 = xzZ.y.get(1698744941);
if (obj6 == null) {
Class cls3 = (Class) xzZ.c(402 - Color.argb(0, 0, 0, 0), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (TextUtils.lastIndexOf("", '0') + 21609));
byte b3 = (byte) 0;
Object[] objArr10 = new Object[1];
aJ(b3, (byte) (b3 | 8), b3, objArr10);
obj6 = cls3.getMethod((String) objArr10[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj6);
}
((Method) obj6).invoke(null, objArr9);
}
cArr4 = cArr5;
}
if (i8 > 0) {
int i17 = $11 + 51;
$10 = i17 % 128;
int i18 = i17 % 2;
char[] cArr6 = new char[i6];
System.arraycopy(cArr4, 0, cArr6, 0, i6);
int i19 = i6 - i8;
System.arraycopy(cArr6, 0, cArr4, i19, i8);
System.arraycopy(cArr6, i8, cArr4, 0, i19);
}
if (z) {
int i20 = $10 + 91;
$11 = i20 % 128;
if (i20 % 2 == 0) {
cArr = new char[i6];
i = 0;
} else {
i = 0;
cArr = new char[i6];
}
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
cArr[tvh.c] = cArr4[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr4 = cArr;
}
if (i7 > 0) {
int i21 = $11 + 31;
$10 = i21 % 128;
int i22 = i21 % 2;
int i23 = 0;
while (true) {
tvh.c = i23;
if (tvh.c >= i6) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i23 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x006c, code lost:
if (r1 > 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 r14) {
/*
Method dump skipped, instructions count: 694
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8407dKV.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 = q + 47;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 97;
q = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}