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

524 lines
41 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
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.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivityWithFragment;
import com.scb.phone.view.activity.closeaccount.CloseAccountSelectionActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.dzy, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC10292dzy extends BaseActivityWithFragment implements fPA {
private static short[] s;
/* renamed from: o, reason: collision with root package name */
private volatile C13073fPt f8953o;
private static final byte[] $$y = {104, ISO7816.INS_READ_BINARY2, -113, -112};
private static final int $$z = 33;
private static int $10 = 0;
private static int $11 = 1;
private static int x = 0;
private static int w = 1;
private static int m = -2050014196;
private static int k = 1406017035;
private static int r = 1648546101;
private static byte[] p = {-31, 81, 95, 83, ISOFileInfo.A5, -84, 115, 115, -22, 85, 16, -101, -86, ISOFileInfo.AB, -84, 95, -89, 92, -14, -69, 84, -100, 76, -23, -111, 110, 97, -104, -122, 73, -105, -103, 97, -97, 103, ISOFileInfo.FILE_IDENTIFIER, ISO7816.INS_READ_BINARY, ISOFileInfo.DATA_BYTES2, ISO7816.INS_UNBLOCK_CHV, -110, -99, ISOFileInfo.A1, 88, 105, 104, ISOFileInfo.FCI_BYTE, -100, ISOFileInfo.FMD_BYTE, -97, 7, ISO7816.INS_PUT_DATA, 56, ISO7816.INS_GET_RESPONSE, 59, -23, 16, Ascii.ETB, -59, Ascii.NAK, -24, -22, 32, -20, Ascii.SYN, 17, Ascii.NAK, ISO7816.INS_LOAD_KEY_FILE, 62, -61, 59, -57, 56, -59, 56, -51, 56, Ascii.DC4, -18, 19, -22, -60, 63, 16, -60, 58, -57, 58, -20, ISO7816.INS_ENVELOPE, Ascii.DC4, -18, Ascii.SYN, 37, -60, 59, -24, 19, 55, -126, 125, 85, -126, -83, 83, 103, -100, 96, ISOFileInfo.A1, 85, -88, 80, -101, 85, ISOFileInfo.AB, 121, ISOFileInfo.PROP_INFO, ISOFileInfo.AB, 101, -88, 83, -83, 82, 86, -87, ISOFileInfo.AB, 86, -126, -87, 120, -122, 125, 85, -88, ISOFileInfo.PROP_INFO, -87, 120, ISOFileInfo.FILE_IDENTIFIER, 103, -83, 81, -87, 87, -100, 82, 87, Ascii.DEL, 94, -86, -124, ISOFileInfo.AB, ISOFileInfo.FMD_BYTE, -84, 81, -101, 86, ISOFileInfo.FMD_BYTE, -124, 120, 85, -82, ISOFileInfo.DATA_BYTES2, 57, ISO7816.INS_UNBLOCK_CHV, -43, ISO7816.INS_PUT_DATA, 60, ISO7816.INS_ENVELOPE, -27, 46, ISOFileInfo.FCI_BYTE, -108, 104, ISO7816.INS_WRITE_RECORD, -35, 45, ISO7816.INS_PSO, ISO7816.INS_UPDATE_BINARY, -23, Ascii.NAK, ISO7816.INS_PSO, ISO7816.INS_UPDATE_RECORD, -31, 17, 45, -33, -26, Ascii.SUB, 32, ISO7816.INS_ENVELOPE, 63, -41, 45, ISO7816.INS_UPDATE_RECORD, 33, ISO7816.INS_ENVELOPE, 63, -35, -22, 105, ISO7816.INS_WRITE_RECORD, -63, 45, 60, ISO7816.INS_GET_RESPONSE, 47, 32, -39, 39, -107, 16, 46, -34, ISO7816.INS_UNBLOCK_CHV, 37, ISO7816.INS_LOAD_KEY_FILE, 43, -43, ISO7816.INS_MSE, -34, 43, -45, 45, -33, 37, -33, 43, 37, -105, -45, 38, Ascii.DC4, ISO7816.INS_WRITE_BINARY, 47, -45, -33, 19, 14, -58, 59, -59, -24, -60, Ascii.DC4, -20, Ascii.NAK, -11, 11, 63, -16, -60, 57, 59, 14, -58, 58, -59, -60, 61, -15, -57, 15, ISO7816.INS_GET_RESPONSE, 51, -57, -58, -63, -17, 10, 56, -21, -58};
private static long t = 9051040786702654117L;
private static int q = -1658478949;
private static char v = 55973;
private final Object l = new Object();
boolean b = false;
private static void aF(int i, int i2, int i3, Object[] objArr) {
int i4 = (i2 * 4) + 4;
int i5 = i3 + 108;
byte[] bArr = $$y;
int i6 = i * 3;
byte[] bArr2 = new byte[i6 + 1];
int i7 = -1;
if (bArr == null) {
i5 += -i6;
i4++;
}
while (true) {
i7++;
bArr2[i7] = (byte) i5;
if (i7 == i6) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i5 += -bArr[i4];
i4++;
}
}
}
public AbstractActivityC10292dzy() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dzy.4
private AbstractActivityC10292dzy c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC10292dzy abstractActivityC10292dzy = this.c;
if (abstractActivityC10292dzy.b) {
return;
}
abstractActivityC10292dzy.b = true;
((InterfaceC10286dzs) abstractActivityC10292dzy.y_()).d((CloseAccountSelectionActivity) abstractActivityC10292dzy);
}
});
}
@Override // o.fPC
public final Object y_() {
Object y_;
int i = 2 % 2;
int i2 = x + 101;
w = i2 % 128;
if (i2 % 2 == 0) {
y_ = g().y_();
int i3 = 23 / 0;
} else {
y_ = g().y_();
}
int i4 = x + 107;
w = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt g() {
if (this.f8953o == null) {
synchronized (this.l) {
if (this.f8953o == null) {
this.f8953o = new C13073fPt(this);
}
}
}
return this.f8953o;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = w + 59;
x = i2 % 128;
Bundle bundle = null;
if (i2 % 2 != 0) {
super.getDefaultViewModelProviderFactory();
((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
getIntent();
throw null;
}
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
bundle = getIntent().getExtras();
int i3 = w + 23;
x = i3 % 128;
int i4 = i3 % 2;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aE(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i3 = $10 + 13;
$11 = i3 % 128;
int i4 = i3 % 2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 46, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(351 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (52129 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr4 = new Object[1];
aF(b, b2, (byte) (b2 | 7), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 748, 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).getMethod(com.pingan.ai.p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 401, 5 - (Process.myPid() >> 22), (char) (21608 - Color.alpha(0)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aF(b3, b4, (byte) (b4 | 6), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (t ^ 9051040786702654117L)) ^ ((int) (q ^ 9051040786702654117L))) ^ ((char) (v ^ 9051040786702654117L)));
nhs.a++;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i5 = $11 + 59;
$10 = i5 % 128;
if (i5 % 2 == 0) {
objArr[0] = str;
} else {
Object obj5 = null;
obj5.hashCode();
throw null;
}
}
@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 onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = x + 101;
w = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 111), View.MeasureSpec.makeMeasureSpec(0, 0) + 704554471, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 65, (-831311552) + ((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_wrong_file).substring(36, 37).length(), (byte) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 68), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.open_now_gift_msg).substring(4, 5).length() - 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.validate_account_up_personal_loans_type).substring(13, 14).codePointAt(0) + 704554457, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_p2p_introduction_feature_supports_cardx).substring(26, 27).codePointAt(0) - 63, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 831311573, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.debit_card_request_checkbox_physical_card_detail).substring(93, 94).codePointAt(0) + 53), 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];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) + 704554395, Color.argb(0, 0, 0, 0) - 31, TextUtils.lastIndexOf("", '0') - 831311550, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.fund_pay_account_fragment).substring(0, 16).codePointAt(7) - 153), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 50281), new char[]{62554, 1225, 26246, 46118, 38447, 55707, 59340, 7096, 12649, 36550, 3560, 28373, 16899, 48296, 26808, 44535, 13588, 5641}, new char[]{6654, 62508, 38786, 61124}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.marker_phone).substring(0, 25).length() - 25, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = w + 97;
x = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 492, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) Color.red(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 704554507, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_ntb_ekyc_verify_identify_branch_subtitle).substring(57, 59).length() - 33, ((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_successful_unable_to_open_mf_account).substring(48, 49).codePointAt(0) - 831311631, (byte) View.MeasureSpec.getMode(0), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ndid_how_to_verify_biometric_description).substring(0, 2).codePointAt(1) - 32), new char[]{42197, 61648, 47223, 63721, 26302, 22784, 39321, 33744, 62654, 64823, 44642, 65084, 54923, 18390, 8001, 56284, 55680, 59043, 56973, 62379, 8096, 10860, 2584, 18348, 18248, 53035, 50828, 16737, 56958, 33123, 1621, 10233, 37801, 48252, 51361, 11224, 58135, 31914, 12038, 45683, 1641, 54573, 18010, 39873, 40825, 31011, 50971, 54800, 57329, 53583, 37091, 58312, 44819, 61283, 7838, 44589, 60305, 13765, 50309, 64866, 14873, 14526, 7139, 7057}, new char[]{13402, 20678, 6111, 42507}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), 704554568 - KeyEvent.keyCodeFromString(""), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.manage_account_inbound_error_description).substring(57, 58).length() - 32, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_commercial_loan_success_desc).substring(35, 36).codePointAt(0) - 831311583, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.verify_identity_3).substring(0, 3).codePointAt(1) + 21), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD((short) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 704554598, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ntb_user_info_header).substring(17, 18).codePointAt(0) - 63, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 831311557, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.investment_deeplink_my_alert_no_account_dialog_description).substring(67, 68).length() - 59), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE((char) (((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_open_accounts_remark_1).substring(44, 45).codePointAt(0) + 50134), new char[]{19763, 38357, 22715, 59650, 12170}, new char[]{30339, 59807, 63207, 64707}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 404119724, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 46), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 704554706, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.rate_text).substring(0, 12).length() - 43, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 831311581, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.bond_selection_error_description).substring(CipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256, CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256).codePointAt(0) + 15), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 488, TextUtils.getOffsetBefore("", 0) + 5, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@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 onResume() {
int i = 2 % 2;
int i2 = w + 125;
x = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 115), 704554405 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ndid_national_id_input_date_of_birth_placeholder).substring(0, 10).codePointAt(8), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.app_account_deletion_confirm_popup_message).substring(301, 302).length() - 32, View.MeasureSpec.getMode(0) - 831311551, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.successful_qr_code_bill_payment_header).substring(19, 20).codePointAt(0) - 153), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 50314), new char[]{62554, 1225, 26246, 46118, 38447, 55707, 59340, 7096, 12649, 36550, 3560, 28373, 16899, 48296, 26808, 44535, 13588, 5641}, new char[]{6654, 62508, 38786, 61124}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = x + 55;
w = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 491, 5 - View.resolveSize(0, 0), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 487, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) Drawable.resolveOpacity(0, 0))).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();
int i5 = x + 57;
w = i5 % 128;
int i6 = i5 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:52:0x0270, code lost:
if ((!r4) != false) goto L58;
*/
/* JADX WARN: Code restructure failed: missing block: B:53:0x0284, code lost:
r4 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:89:0x0286, code lost:
r4 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:91:0x0282, code lost:
if (r4 != false) goto L57;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aD(short r18, int r19, int r20, int r21, byte r22, java.lang.Object[] r23) {
/*
Method dump skipped, instructions count: 935
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10292dzy.aD(short, int, int, int, byte, java.lang.Object[]):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;
int i2 = x + 33;
w = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 704554460, (-31) - (ViewConfiguration.getPressedStateDuration() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 831311585, (byte) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 121), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.single_form_scbs_open_mf_and_om_checkbox).substring(4, 5).codePointAt(0) + 50295), new char[]{62554, 1225, 26246, 46118, 38447, 55707, 59340, 7096, 12649, 36550, 3560, 28373, 16899, 48296, 26808, 44535, 13588, 5641}, new char[]{6654, 62508, 38786, 61124}, new char[]{0, 0, 0, 0}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1, 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((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 491, View.resolveSizeAndState(0, 0, 0) + 5, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).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(488 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = w + 13;
x = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@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;
int i2 = x + 105;
w = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD((short) (ViewConfiguration.getKeyRepeatDelay() >> 16), 704554471 - (Process.myTid() >> 22), (-30) - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (-831311551) - (ViewConfiguration.getPressedStateDuration() >> 16), (byte) (68 - (Process.myPid() >> 22)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((short) TextUtils.getOffsetBefore("", 0), TextUtils.lastIndexOf("", '0', 0, 0) + 704554490, (-31) - KeyEvent.getDeadChar(0, 0), (-831311539) - (ViewConfiguration.getPressedStateDuration() >> 16), (byte) (85 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)), 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 + 25;
w = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i6 = w + 29;
x = i6 % 128;
if (i6 % 2 != 0) {
context2 = context.getApplicationContext();
int i7 = 56 / 0;
} else {
context2 = context.getApplicationContext();
}
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 492, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) Drawable.resolveOpacity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD((short) KeyEvent.keyCodeFromString(""), Color.alpha(0) + 704554520, (-31) - (Process.myPid() >> 22), Color.rgb(0, 0, 0) - 814534383, (byte) (ViewConfiguration.getWindowTouchSlop() >> 8), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE((char) (MotionEvent.axisFromString("") + 1), new char[]{42197, 61648, 47223, 63721, 26302, 22784, 39321, 33744, 62654, 64823, 44642, 65084, 54923, 18390, 8001, 56284, 55680, 59043, 56973, 62379, 8096, 10860, 2584, 18348, 18248, 53035, 50828, 16737, 56958, 33123, 1621, 10233, 37801, 48252, 51361, 11224, 58135, 31914, 12038, 45683, 1641, 54573, 18010, 39873, 40825, 31011, 50971, 54800, 57329, 53583, 37091, 58312, 44819, 61283, 7838, 44589, 60305, 13765, 50309, 64866, 14873, 14526, 7139, 7057}, new char[]{13402, 20678, 6111, 42507}, new char[]{0, 0, 0, 0}, TextUtils.indexOf("", ""), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD((short) (MotionEvent.axisFromString("") + 1), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 704554568, 17 - AndroidCharacter.getMirror('0'), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 831311552, (byte) (68 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD((short) KeyEvent.keyCodeFromString(""), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 704554632, TextUtils.indexOf((CharSequence) "", '0', 0) - 30, Color.red(0) - 831311544, (byte) ((-58) - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE((char) (50166 - (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))), new char[]{19763, 38357, 22715, 59650, 12170}, new char[]{30339, 59807, 63207, 64707}, new char[]{0, 0, 0, 0}, (-404119690) - Color.red(0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD((short) (ViewConfiguration.getFadingEdgeLength() >> 16), (ViewConfiguration.getWindowTouchSlop() >> 8) + 704554706, (ViewConfiguration.getLongPressTimeout() >> 16) - 31, (ViewConfiguration.getMaximumFlingVelocity() >> 16) - 831311547, (byte) (47 - ExpandableListView.getPackedPositionType(0L)), 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.getFadingEdgeLength() >> 16), (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)) + 5, (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i8 = w + 33;
x = i8 % 128;
int i9 = i8 % 2;
} 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 = x + 57;
w = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}