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

541 lines
42 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.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity;
import com.scb.phone.view.activity.deeplink.OprRenewDeepLinkActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import okhttp3.internal.http2.Http2Connection;
import org.bouncycastle.crypto.signers.PSSSigner;
/* loaded from: classes4.dex */
public abstract class dDN extends BaseDeepLinkActivity {
private static short[] q;
private boolean b = false;
private static final byte[] $$y = {46, -23, 1, -23};
private static final int $$z = 82;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int r = 1;
/* renamed from: o, reason: collision with root package name */
private static int f8700o = -1689176442;
private static int k = 1406017042;
private static int l = 1014122546;
private static byte[] m = {-35, -61, -33, -87, ISO7816.INS_WRITE_BINARY, -1, -1, -106, -39, 28, ISOFileInfo.FCI_EXT, ISO7816.INS_UPDATE_BINARY, -41, ISO7816.INS_WRITE_BINARY, -61, ISOFileInfo.AB, ISO7816.INS_GET_RESPONSE, 85, 76, ISO7816.INS_DECREASE_STAMPED, ISO7816.INS_REHABILITATE_CHV, -87, ISOFileInfo.A0, -71, ISO7816.INS_UPDATE_BINARY, ISO7816.INS_LOAD_KEY_FILE, ISOFileInfo.DATA_BYTES2, ISOFileInfo.AB, -47, -71, -45, -69, -33, -50, -39, ISOFileInfo.FCP_BYTE, -84, -35, -7, -106, ISOFileInfo.A1, -90, -93, ISO7816.INS_WRITE_RECORD, -70, -45, -11, -14, -61, -31, ISO7816.INS_GET_DATA, -50, -53, -56, -12, 5, -69, -14, -1, -63, -12, -53, -26, -78, 16, -72, 19, -63, -56, -49, -67, -51, ISO7816.INS_GET_RESPONSE, ISO7816.INS_ENVELOPE, Ascii.CAN, -60, -50, -55, -51, ISO7816.INS_READ_BINARY, Ascii.SYN, -69, 19, -65, 16, -67, 16, ISOFileInfo.A5, 16, -52, -58, -53, ISO7816.INS_ENVELOPE, PSSSigner.TRAILER_IMPLICIT, Ascii.ETB, -56, PSSSigner.TRAILER_IMPLICIT, Ascii.DC2, -65, Ascii.DC2, -60, -70, -52, -58, -50, 29, PSSSigner.TRAILER_IMPLICIT, 19, ISO7816.INS_GET_RESPONSE, -53, -33, ISO7816.INS_WRITE_BINARY, -25, -47, ISO7816.INS_LOAD_KEY_FILE, ISOFileInfo.DATA_BYTES2, ISO7816.INS_DELETE_FILE, -119, -26, ISO7816.INS_UPDATE_BINARY, ISOFileInfo.CHANNEL_SECURITY, -25, -126, -31, -113, -35, -25, -34, -41, ISO7816.INS_WRITE_BINARY, ISOFileInfo.CHANNEL_SECURITY, ISO7816.INS_WRITE_BINARY, -25, -113, -45, -27, ISO7816.INS_UPDATE_RECORD, -113, -25, -47, -45, ISO7816.INS_WRITE_BINARY, -37, -88, ISO7816.INS_LOAD_KEY_FILE, Byte.MIN_VALUE, -20, -43, ISO7816.INS_UPDATE_RECORD, ISO7816.INS_WRITE_BINARY, ISOFileInfo.SECURITY_ATTR_COMPACT, ISO7816.INS_DELETE_FILE, ISOFileInfo.SECURITY_ATTR_COMPACT, ISO7816.INS_APPEND_RECORD, ISO7816.INS_WRITE_RECORD, ISO7816.INS_UPDATE_BINARY, -47, -34, -43, ISO7816.INS_WRITE_RECORD, -33, -41, -33, ISO7816.INS_UPDATE_BINARY, ISOFileInfo.FILE_IDENTIFIER, -25, -34, ISOFileInfo.ENV_TEMP_EF, -25, -126, ISO7816.INS_CREATE_FILE, -113, ISO7816.INS_UPDATE_BINARY, -33, ISO7816.INS_DECREASE_STAMPED, -20, -33, ISO7816.INS_DELETE_FILE, -18, ISO7816.INS_INCREASE, -43, 57, -8, -20, -31, -23, ISO7816.INS_UPDATE_BINARY, -20, -26, ISO7816.INS_DECREASE, ISO7816.INS_UPDATE_RECORD, -26, 60, -31, -18, ISO7816.INS_DELETE_FILE, -17, -29, ISO7816.INS_CREATE_FILE, -26, -29, -33, ISO7816.INS_CREATE_FILE, 49, -45, ISO7816.INS_DECREASE_STAMPED, -20, -31, ISO7816.INS_UPDATE_RECORD, ISO7816.INS_CREATE_FILE, 49, -34, ISO7816.INS_INCREASE, ISO7816.INS_DELETE_FILE, -24, ISO7816.INS_CREATE_FILE, ISO7816.INS_APPEND_RECORD, -43, -17, ISO7816.INS_APPEND_RECORD, 10, -21, -25, -35, -26, 61, -27, -24, ISO7816.INS_UPDATE_BINARY, -29, 61, -35, 49, -20, -5, ISO7816.INS_LOAD_KEY_FILE, 110, 122, -106, 123, 81, Ascii.EM, 4, Ascii.SUB, -9, Ascii.ESC, 43, -13, ISO7816.INS_PSO, ISO7816.INS_GET_DATA, 84, 0, -49, Ascii.ESC, 6, 4, 81, Ascii.EM, 5, Ascii.SUB, Ascii.ESC, 2, -50, Ascii.CAN, 80, Ascii.US, 12, Ascii.CAN, Ascii.EM, 30, -16, 85, 7, -12, Ascii.EM, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private static char[] s = {39999, 40038, 40056, 40058, 40034, 40038, 40038, 40001, 39995, 40031, 40025, 40026, 40056, 40039, 40045, 40033, 40032, 40007, 40007, 40039, 40035, 40003, 40005, 40037, 40034, 40003, 40002, 40032, 40034, 40032, 40056, 40057, 40032, 40032, 40034, 40032, 40037, 40001, 40026, 40056, 40033, 40041, 40032, 40033, 40040, 40032, 40038, 40037, 40026, 40007, 40039, 40044, 40042, 40044, 40045, 40046, 40045, 40033, 40032, 40034, 40038, 40037, 40034, 40035, 40044, 40046, 40037, 40026, 39972, 39999, 40029, 40058, 40057, 40063};
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x002a). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aE(byte r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 71
int r6 = r6 * 2
int r0 = r6 + 1
int r8 = r8 * 2
int r8 = 4 - r8
byte[] r1 = o.dDN.$$y
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r4 = r6
r7 = r8
r3 = r2
goto L2a
L15:
r3 = r2
L16:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r6) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L23:
int r3 = r3 + 1
r4 = r1[r8]
r5 = r8
r8 = r7
r7 = r5
L2a:
int r8 = r8 + r4
int r7 = r7 + 1
r5 = r8
r8 = r7
r7 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.dDN.aE(byte, int, short, java.lang.Object[]):void");
}
public dDN() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dDN.3
private dDN c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.c.U_();
}
});
}
@Override // o.AbstractActivityC8166dDA
protected final void U_() {
int i = 2 % 2;
int i2 = r;
int i3 = i2 + 95;
t = i3 % 128;
int i4 = i3 % 2;
if (!this.b) {
int i5 = i2 + 67;
t = i5 % 128;
int i6 = i5 % 2;
this.b = true;
((InterfaceC8260dFu) y_()).a((OprRenewDeepLinkActivity) this);
}
}
@Override // com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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;
Object[] objArr = new Object[1];
aC((short) ((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)) + 56), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 929093451, 10 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 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.document_upload_required_count).substring(35, 37).codePointAt(1) - 1874613825, (byte) TextUtils.indexOf("", "", 0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aC((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.billpayment_bnpl_coin_more_detail_description_3_1).substring(0, 120).codePointAt(17) - 3687), (ViewConfiguration.getJumpTapTimeout() >> 16) + 929093502, TextUtils.getOffsetBefore("", 0) - 2, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1874613724, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_mcmc_intructions_description).substring(36, 37).length() - 1), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aC((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 37), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.gift_tap_to_edit).substring(0, 1).codePointAt(0) + 929093466, 18 - TextUtils.lastIndexOf("", '0', 0, 0), TextUtils.getCapsMode("", 0, 0) - 1874613702, (byte) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aC((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 3), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 929093497, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 2, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1874613734, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = r + 21;
t = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 492, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aC((short) (40 - View.resolveSizeAndState(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.investment_number_of_funds).substring(0, 3).codePointAt(2) + 929093516, 40 - ImageFormat.getBitsPerPixel(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 1874613848, (byte) (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)), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aC((short) (TextUtils.indexOf((CharSequence) "", '0', 0) + 59), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 929093594, (ViewConfiguration.getFadingEdgeLength() >> 16) + 57, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1874613732, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 111), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aC((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 105), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) + 929093554, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.registration_completed_sub).substring(3, 4).codePointAt(0) + 25, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.deejung_installment_about).substring(25, 26).length() - 1874613703, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.contact_info_mcmc_topup_national_id_exp_header).substring(0, 29).codePointAt(22) - 3611), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{0, 74, 0, 1}, true, new byte[]{0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aC((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_robo_advisor_open_scbs_account_stop_3).substring(0, 1).length() - 122), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_business_url_delete_string_popup_description).substring(28, 29).codePointAt(0) + 929093689, View.resolveSize(0, 0) - 2, ((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_disclaimer_send_sms).substring(85, 86).codePointAt(0) - 1874613774, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.order_cheque_heading3).substring(0, 3).length() - 3), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aC((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.unsubcribe_content).substring(24, 25).codePointAt(0) - 48), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.account_management_product_type).substring(10, 11).length() + 929093724, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 16, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) - 1874613698, (byte) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), 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(((Process.getThreadPriority(0) + 20) >> 6) + 487, TextUtils.lastIndexOf("", '0', 0) + 6, (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("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);
int i4 = r + 125;
t = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 2 / 3;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i6 = r + 115;
t = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 16 / 0;
}
}
@Override // com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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 = t + 105;
r = i2 % 128;
if (i2 % 2 != 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aC((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_business_owner_registration_number_about_subtitle).substring(34, 35).length() + 70), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.no_ebill_subscription).substring(46, 47).codePointAt(0) + 929093398, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 15, TextUtils.indexOf("", "", 0, 0) - 1874613702, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aC((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.credit_value).substring(0, 3).length() + 28), 929093497 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 100, (-1874613722) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.select_investment_screen_robo_advisor).substring(0, 22).length(), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_external_instruction_main_title).substring(21, 22).codePointAt(0) - 32), 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((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 492, 5 - (Process.myPid() >> 22), (char) (ViewConfiguration.getTouchSlop() >> 8))).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(487 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 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();
int i3 = r + 89;
t = i3 % 128;
int i4 = i3 % 2;
return;
}
getBaseContext();
throw null;
}
@Override // com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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 = r + 39;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = t + 23;
r = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aC((short) (71 - (ViewConfiguration.getDoubleTapTimeout() >> 16)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 929093493, (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)) + 19, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1874613736, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aC((short) (31 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.faq_pay_with_point_x_description_part_3).substring(33, 46).codePointAt(7) + 929093486, (ViewConfiguration.getPressedStateDuration() >> 16) + 11, (-1874613699) - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 112), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = r + 17;
t = i6 % 128;
if (i6 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.red(0) + 492, TextUtils.getTrimmedLength("") + 5, (char) Color.blue(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 487, 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) View.resolveSizeAndState(0, 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aD(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2 = 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[] cArr = s;
if (cArr != null) {
int i9 = $10 + 119;
$11 = i9 % 128;
int i10 = i9 % 2;
int length = cArr.length;
char[] cArr2 = new char[length];
int i11 = 0;
while (i11 < length) {
int i12 = $10 + 21;
$11 = i12 % 128;
int i13 = i12 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr[i11]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), Color.rgb(i4, i4, i4) + 16777221, (char) (41978 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))));
byte b = (byte) ($$y[i2] - 1);
byte b2 = b;
Object[] objArr3 = new Object[1];
aE(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i11] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i11++;
i2 = 2;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i6];
System.arraycopy(cArr, i5, cArr3, 0, i6);
if (bArr != null) {
char[] cArr4 = new char[i6];
tvh.c = 0;
char c = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i14 = tvh.c;
try {
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 502, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (54 - (Process.myTid() >> 22)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i14] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i15 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(14 - ((byte) KeyEvent.getModifierMetaStateMask()), 4 - MotionEvent.axisFromString(""), (char) (58134 - KeyEvent.normalizeMetaState(0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i15] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 402, 5 - TextUtils.getOffsetAfter("", 0), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 21609));
byte b3 = (byte) ($$y[2] - 1);
byte b4 = (byte) (b3 + 2);
Object[] objArr7 = new Object[1];
aE(b3, b4, (byte) (b4 - 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i8 > 0) {
char[] cArr5 = new char[i6];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i6);
int i16 = i6 - i8;
System.arraycopy(cArr5, 0, cArr3, i16, i8);
System.arraycopy(cArr5, i8, cArr3, 0, i16);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i6];
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
cArr6[tvh.c] = cArr3[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i7 > 0) {
tvh.c = 0;
while (tvh.c < i6) {
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
tvh.c++;
int i17 = $11 + 77;
$10 = i17 % 128;
int i18 = i17 % 2;
}
}
objArr[0] = new String(cArr3);
}
/* JADX WARN: Removed duplicated region for block: B:52:0x029f */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(short r17, int r18, int r19, int r20, byte r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 781
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.dDN.aC(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aC((short) (56 - (Process.myPid() >> 22)), 929093484 + (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), TextUtils.lastIndexOf("", '0', 0) + 12, (-1874613702) - (ViewConfiguration.getScrollDefaultDelay() >> 16), (byte) (ViewConfiguration.getWindowTouchSlop() >> 8), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aC((short) (Color.green(0) - 69), ExpandableListView.getPackedPositionGroup(0L) + 929093502, ExpandableListView.getPackedPositionChild(0L) - 1, (-1874613690) - TextUtils.getTrimmedLength(""), (byte) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = r + 95;
t = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i4 = t + 49;
r = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - KeyEvent.keyCodeFromString(""), Drawable.resolveOpacity(0, 0) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aC((short) (39 - TextUtils.indexOf((CharSequence) "", '0')), AndroidCharacter.getMirror('0') + 55164, 41 - Drawable.resolveOpacity(0, 0), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1874613751, (byte) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aC((short) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 57), 929093595 - TextUtils.getOffsetAfter("", 0), 57 - Color.red(0), (-1874613698) - TextUtils.getOffsetAfter("", 0), (byte) ExpandableListView.getPackedPositionGroup(0L), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aC((short) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 9), 929093658 - TextUtils.getTrimmedLength(""), (ViewConfiguration.getTouchSlop() >> 8) + 57, (-1874613702) - (ViewConfiguration.getFadingEdgeLength() >> 16), (byte) TextUtils.indexOf("", ""), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new int[]{0, 74, 0, 1}, true, new byte[]{0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aC((short) ((-121) - Color.blue(0)), 929093721 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (Process.myTid() >> 22) - 2, (-1874613742) - Color.argb(0, 0, 0, 0), (byte) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aC((short) (Color.argb(0, 0, 0, 0) - 16), 929093726 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 30 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), Color.blue(0) - 1874613698, (byte) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 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.getTapTimeout() >> 16), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = r + 33;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = r + 59;
t = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 12 / 0;
}
}
}