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

687 lines
43 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.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.google.common.primitives.SignedBytes;
import com.kofax.kmc.kut.utilities.IpLibUtil;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.investment.purchase.FundPurchaseReviewActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
import org.jmrtd.cbeff.ISO781611;
/* renamed from: o.dUE, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC8732dUE extends BaseActivity implements fPA {
private static short[] q;
private volatile C13073fPt l;
private static final byte[] $$p = {78, ISO7816.INS_DELETE_FILE, 113, -27};
private static final int $$q = 120;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int x = 1;
private static int[] m = {857969197, 679735014, -904976498, 1797181413, 18275468, 896385523, -917343057, -1713137258, -1552781811, 1082792374, -1569952383, -1548050932, -1226374375, -2032900015, 887718485, -186632738, -865438010, 2127698753};
private static int k = -838610461;
private static int t = 1406017110;
private static int p = -316766330;
private static byte[] r = {-41, -49, ISOFileInfo.FMD_BYTE, -84, -100, ISO7816.INS_PUT_DATA, 70, 105, 92, 114, 65, 69, ISO7816.INS_REHABILITATE_CHV, 71, 99, ISO7816.INS_READ_RECORD_STAMPED, 84, 105, 104, 82, 99, ISO7816.INS_REHABILITATE_CHV, 125, -8, 46, 76, ISO7816.INS_REHABILITATE_CHV, 73, 63, -108, -99, 67, -109, 60, 62, ISOFileInfo.FMD_BYTE, 56, -110, -105, -109, ISO7816.INS_UNBLOCK_CHV, 74, 65, 73, 77, 76, 67, 76, 91, 76, -112, 58, -111, 62, SignedBytes.MAX_POWER_OF_TWO, 117, -108, SignedBytes.MAX_POWER_OF_TWO, 78, 77, 78, 56, 70, -112, 58, -110, 99, SignedBytes.MAX_POWER_OF_TWO, 73, 60, -111, -24, -88, -15, Ascii.EM, -88, ISOFileInfo.DATA_BYTES2, Ascii.ESC, -49, ISO7816.INS_UPDATE_BINARY, ISO7816.INS_GET_DATA, -75, Ascii.EM, -126, Ascii.SUB, -45, Ascii.EM, ISOFileInfo.FILE_IDENTIFIER, -3, -87, ISOFileInfo.FILE_IDENTIFIER, -55, -126, Ascii.ESC, ISOFileInfo.DATA_BYTES2, Ascii.CAN, 28, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FILE_IDENTIFIER, 28, -88, ISOFileInfo.ENV_TEMP_EF, -14, -84, -15, Ascii.EM, -126, -87, ISOFileInfo.ENV_TEMP_EF, -14, ISOFileInfo.AB, -49, ISOFileInfo.DATA_BYTES2, 5, ISOFileInfo.ENV_TEMP_EF, Ascii.US, ISO7816.INS_UPDATE_BINARY, Ascii.CAN, Ascii.US, -9, Ascii.DC4, Byte.MIN_VALUE, -82, ISOFileInfo.FILE_IDENTIFIER, -50, -122, 5, -45, 28, -50, -82, -14, Ascii.EM, -124, -43, Ascii.DC2, -50, -41, ISO7816.INS_LOAD_KEY_FILE, -2, ISOFileInfo.A0, ISOFileInfo.FCI_EXT, -52, 13, -106, 10, ISO7816.INS_WRITE_BINARY, -33, -49, -56, -44, ISOFileInfo.SECURITY_ATTR_EXP, Ascii.ETB, -56, -34, ISOFileInfo.FILE_IDENTIFIER, 19, -49, -35, -124, Ascii.CAN, ISO7816.INS_ENVELOPE, ISOFileInfo.A0, -3, -43, -49, -34, -61, ISOFileInfo.A0, -3, -33, -120, 11, ISO7816.INS_WRITE_BINARY, -93, -49, -2, -94, -51, ISO7816.INS_ENVELOPE, -37, -59, -105, Ascii.DC2, -52, ISO7816.INS_UPDATE_RECORD, -50, -57, ISO7816.INS_PUT_DATA, -55, -41, ISO7816.INS_GET_RESPONSE, ISO7816.INS_UPDATE_RECORD, -55, -47, -49, -35, -57, -35, -55, -57, -107, -47, -60, Ascii.SYN, ISO7816.INS_WRITE_RECORD, -51, -47, -35};
/* renamed from: o, reason: collision with root package name */
private final Object f8830o = new Object();
boolean b = false;
private static void aC(byte b, int i, byte b2, Object[] objArr) {
int i2 = 110 - (b2 * 2);
byte[] bArr = $$p;
int i3 = 4 - (i * 3);
int i4 = b * 2;
byte[] bArr2 = new byte[i4 + 1];
int i5 = -1;
if (bArr == null) {
i2 += i4;
i3++;
}
while (true) {
i5++;
bArr2[i5] = (byte) i2;
if (i5 == i4) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i2 += bArr[i3];
i3++;
}
}
}
public AbstractActivityC8732dUE() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dUE.2
private AbstractActivityC8732dUE e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8732dUE abstractActivityC8732dUE = this.e;
if (abstractActivityC8732dUE.b) {
return;
}
abstractActivityC8732dUE.b = true;
((InterfaceC8734dUJ) abstractActivityC8732dUE.y_()).c((FundPurchaseReviewActivity) abstractActivityC8732dUE);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = x + 41;
s = i2 % 128;
int i3 = i2 % 2;
Object y_ = j().y_();
int i4 = x + 7;
s = i4 % 128;
if (i4 % 2 == 0) {
return y_;
}
throw null;
}
private C13073fPt j() {
if (this.l == null) {
synchronized (this.f8830o) {
if (this.l == null) {
this.l = new C13073fPt(this);
}
}
}
return this.l;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
int i2 = s + 71;
x = i2 % 128;
int i3 = i2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i4 = x + 57;
s = i4 % 128;
if (i4 % 2 != 0) {
getIntent().getExtras();
throw null;
}
bundle = getIntent().getExtras();
} else {
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i5 = x + 121;
s = i5 % 128;
if (i5 % 2 == 0) {
return aBN_;
}
throw null;
}
@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 = x + 47;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new int[]{1881695088, -1696004847, 599644206, 886761006, -1514885689, -202763171, 2110485947, 1815233509, -361701166, -696604840}, Gravity.getAbsoluteGravity(0, 0) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object obj = null;
Object[] objArr2 = new Object[1];
aB((short) (View.MeasureSpec.getSize(0) - 46), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_select_account_scbs_title).substring(89, 91).codePointAt(0) + 1647456234, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + IpLibUtil.KIPP_BAD_POINTER, 1093625561 - TextUtils.lastIndexOf("", '0', 0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.juristic_request_form_eligibility_info_description_3).substring(0, 3).length() + 84), 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) {
Object[] objArr3 = new Object[1];
aA(new int[]{1881695088, -1696004847, 599644206, 886761006, -1858742494, -1376992350, -150777927, -1918215438, 602846683, 354758927, -911178852, 797581295, -1509075541, -1722969368}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 25, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB((short) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 27), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mtrl_picker_range_header_only_start_selected).substring(0, 7).codePointAt(3) + 1647456156, Color.rgb(0, 0, 0) + 16777148, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.landing_page_learn_more_header).substring(28, 29).codePointAt(0) + 1093625437, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 223), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), Color.red(0) + 5, (char) TextUtils.indexOf("", ""))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 123), 1647456289 - Color.green(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_success_result_description_cdx).substring(0, 115).length() - 183, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_check_eligibility_omnibus_remark).substring(128, ISO781611.BIOMETRIC_SUBTYPE_TAG).codePointAt(0) + 1093625391, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 11), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{415043545, -2136850996, -131335901, 262842998, -579122749, -785159936, -309123753, -121216430, -1485955781, 1340689334, -296580750, -335772490, -1532860940, 896897849, -1753583471, -1856858741, -786862518, 1134032834, 1850969099, 1439663548, -1945039915, 1966871681, 1063391656, -14677166, -1952446906, 2065249694, 103186706, 1404906167, -1155671985, 969842179, 367762855, 1569674114}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_summary_duration_value).substring(0, 9).codePointAt(6) + 14, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_purchase_bond_dlt_popup_message).substring(67, 68).codePointAt(0) - 113), 1647456337 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) - 67, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1093625516, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.common_google_play_services_enable_text).substring(0, 5).length() - 77), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.omnibus_fund_capsule).substring(0, 7).codePointAt(6) - 163), View.getDefaultSize(0, 0) + 1647456401, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.friend_get_friends_regis_successful_success_cc_activation_register).substring(17, 18).codePointAt(0) - 100, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1093625523, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 103), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new int[]{-598125078, -658815921, -713255725, 1289503149}, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new int[]{1174229494, -884189338, -1573838843, -375667176, -1490797512, 869554560, -64918047, -1064113653, 845080952, -488837156, -1481326522, 1444159543, -306456419, 505717438, 1629311290, -173934579, -932791130, 1770230127}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.crop_document_error_blurry).substring(63, 64).length() + 35, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(486 - TextUtils.indexOf((CharSequence) "", '0'), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) View.combineMeasuredStates(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i4 = x + 125;
s = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
private static void aA(int[] iArr, int i, Object[] objArr) {
int i2;
int[] iArr2;
char c;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = m;
char c2 = '0';
int i4 = 1;
char c3 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i5 = $10 + 67;
$11 = i5 % 128;
int i6 = i5 % 2;
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[0] = Integer.valueOf(iArr3[i7]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.lastIndexOf("", c2, 0) + 6, (char) (58134 - TextUtils.indexOf("", "", 0, 0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7++;
c2 = '0';
i4 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = m;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i8 = 0;
while (i8 < length3) {
try {
Object[] objArr3 = new Object[1];
objArr3[c3] = Integer.valueOf(iArr6[i8]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
c = 55346;
} else {
obj2 = ((Class) xzZ.c(15 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) (58133 - TextUtils.lastIndexOf("", '0')))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
c = 55346;
xzZ.y.put(729798706, obj2);
}
iArr7[i8] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i8++;
iArr6 = iArr2;
c3 = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i9 = $10 + 15;
$11 = i9 % 128;
int i10 = i9 % 2;
iArr6 = iArr7;
i2 = 0;
} else {
i2 = 0;
}
System.arraycopy(iArr6, i2, iArr5, i2, length2);
c4403bZM.b = i2;
while (c4403bZM.b < iArr.length) {
cArr[i2] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i11 = 0;
for (int i12 = 16; i11 < i12; i12 = 16) {
c4403bZM.e ^= iArr5[i11];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 118, 5 - KeyEvent.keyCodeFromString(""), (char) View.resolveSizeAndState(0, 0, 0));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr5 = new Object[1];
aC(b, b2, (byte) (b2 + 3), objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i11++;
}
int i13 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i13;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i14 = c4403bZM.e;
int i15 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(98 - (ViewConfiguration.getJumpTapTimeout() >> 16), TextUtils.getOffsetAfter("", 0) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0') + 1));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b3, b3, (byte) $$p.length, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
i2 = 0;
}
String str = new String(cArr2, 0, i);
int i16 = $11 + 111;
$10 = i16 % 128;
if (i16 % 2 != 0) {
Object obj5 = null;
obj5.hashCode();
throw null;
}
objArr[0] = str;
}
@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];
aA(new int[]{1881695088, -1696004847, 599644206, 886761006, -1858742494, -1376992350, -150777927, -1918215438, 602846683, 354758927, -911178852, 797581295, -1509075541, -1722969368}, (ViewConfiguration.getEdgeSlop() >> 16) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((short) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 27), 1647456271 - (ViewConfiguration.getEdgeSlop() >> 16), (-67) - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.omnibus_fund_capsule).substring(0, 7).codePointAt(5) + 1093625467, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 145), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = s + 45;
x = i2 % 128;
if (i2 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 46 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i4 = s + 25;
x = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 492, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) ((Process.getThreadPriority(0) + 20) >> 6))).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((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 486, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) (ImageFormat.getBitsPerPixel(0) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
/* JADX WARN: Code restructure failed: missing block: B:31:0x0022, code lost:
r1 = o.AbstractActivityC8732dUE.x + 49;
o.AbstractActivityC8732dUE.s = r1 % 128;
r1 = r1 % 2;
r8 = (java.lang.Object[]) null;
r8 = new java.lang.Object[1];
aA(new int[]{1881695088, -1696004847, 599644206, 886761006, -1858742494, -1376992350, -150777927, -1918215438, 602846683, 354758927, -911178852, 797581295, -1509075541, -1722969368}, ((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_bo_laser_id_header).substring(30, 31).length() + 25, r8);
r1 = java.lang.Class.forName((java.lang.String) r8[0]);
r6 = new java.lang.Object[1];
aB((short) (((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.point_x_point_value).substring(0, 35).codePointAt(31) - 88), ((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.switch_on_description).substring(4, 5).codePointAt(0) + 1647456239, (-68) - android.view.View.getDefaultSize(0, 0), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1093625539, (byte) (android.view.KeyEvent.normalizeMetaState(0) - 111), r6);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r6[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x0020, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onPause() {
/*
Method dump skipped, instructions count: 492
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8732dUE.onPause():void");
}
private static void aB(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
int i4;
int length;
byte[] bArr;
int i5;
int i6 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(t)};
Object obj = xzZ.y.get(-2092856797);
int i7 = 4;
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 337, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aC(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
if (intValue == -1) {
int i8 = $11 + 97;
$10 = i8 % 128;
int i9 = i8 % 2;
i4 = 1;
} else {
i4 = 0;
}
if (i4 != 0) {
int i10 = $10 + 89;
int i11 = i10 % 128;
$11 = i11;
int i12 = i10 % 2;
byte[] bArr2 = r;
if (bArr2 != null) {
int i13 = i11 + 55;
$10 = i13 % 128;
if (i13 % 2 != 0) {
length = bArr2.length;
bArr = new byte[length];
i5 = 1;
} else {
length = bArr2.length;
bArr = new byte[length];
i5 = 0;
}
while (i5 < length) {
Object[] objArr4 = {Integer.valueOf(bArr2[i5])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(60 - (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)), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + i7, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr[i5] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i5++;
i7 = 4;
}
bArr2 = bArr;
}
if (bArr2 != null) {
int i14 = $11 + 59;
$10 = i14 % 128;
int i15 = i14 % 2;
byte[] bArr3 = r;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(k)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(336 - ExpandableListView.getPackedPositionChild(0L), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (t ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (q[i + ((int) (k ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (t ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
dfy.c = ((i + intValue) - 2) + ((int) (k ^ (-7303220121662775787L))) + i4;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(p), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 748, 4 - Process.getGidForName(""), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj4);
}
((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr4 = r;
if (bArr4 != null) {
int length2 = bArr4.length;
byte[] bArr5 = new byte[length2];
for (int i16 = 0; i16 < length2; i16++) {
bArr5[i16] = (byte) (bArr4[i16] ^ (-7303220121662775787L));
}
int i17 = $11 + 75;
$10 = i17 % 128;
if (i17 % 2 != 0) {
int i18 = 3 / 5;
}
bArr4 = bArr5;
}
boolean z = bArr4 != null;
dfy.d = 1;
while (dfy.d < intValue) {
int i19 = $11 + 25;
$10 = i19 % 128;
if (i19 % 2 != 0) {
throw null;
}
if (z) {
byte[] bArr6 = r;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r8] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = q;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r8] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
}
objArr[0] = sb.toString();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = s + 103;
x = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new int[]{1881695088, -1696004847, 599644206, 886761006, -1514885689, -202763171, 2110485947, 1815233509, -361701166, -696604840}, 18 - Color.blue(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((short) ((-46) - (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))), 1647456265 + (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (-68) - (ViewConfiguration.getDoubleTapTimeout() >> 16), 1093625563 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (byte) (87 - Color.red(0)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = x + 49;
s = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB((short) ((ViewConfiguration.getEdgeSlop() >> 16) - 89), (ViewConfiguration.getFadingEdgeLength() >> 16) + 1647456289, AndroidCharacter.getMirror('0') - 't', ExpandableListView.getPackedPositionType(0L) + 1093625502, (byte) (TextUtils.indexOf("", "", 0, 0) + 45), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new int[]{415043545, -2136850996, -131335901, 262842998, -579122749, -785159936, -309123753, -121216430, -1485955781, 1340689334, -296580750, -335772490, -1532860940, 896897849, -1753583471, -1856858741, -786862518, 1134032834, 1850969099, 1439663548, -1945039915, 1966871681, 1063391656, -14677166, -1952446906, 2065249694, 103186706, 1404906167, -1155671985, 969842179, 367762855, 1569674114}, 65 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB((short) ((-81) - View.resolveSize(0, 0)), 1647456337 - (KeyEvent.getMaxKeyCode() >> 16), Drawable.resolveOpacity(0, 0) - 68, 1093625550 - Color.red(0), (byte) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) - 72), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((short) (TextUtils.indexOf((CharSequence) "", '0', 0) - 79), 1647456401 - TextUtils.getOffsetBefore("", 0), (-69) - ExpandableListView.getPackedPositionChild(0L), 1093625558 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (byte) (116 - TextUtils.indexOf("", "", 0, 0)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{-598125078, -658815921, -713255725, 1289503149}, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{1174229494, -884189338, -1573838843, -375667176, -1490797512, 869554560, -64918047, -1064113653, 845080952, -488837156, -1481326522, 1444159543, -306456419, 505717438, 1629311290, -173934579, -932791130, 1770230127}, Color.red(0) + 36, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 487, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).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.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 = s + 15;
x = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 2 / 0;
}
}
}