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

575 lines
41 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.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.google.common.primitives.SignedBytes;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.investment.discover.DiscoverActivity;
import com.scb.phone.view.activity.investment.discover.NtbDiscoverActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import org.jmrtd.cbeff.ISO781611;
import org.jmrtd.lds.CVCAFile;
/* loaded from: classes5.dex */
public abstract class dTM extends DiscoverActivity {
private static short[] t;
private boolean b = false;
private static final byte[] $$y = {30, 79, -15, -75};
private static final int $$z = 215;
private static int $10 = 0;
private static int $11 = 1;
private static int w = 0;
private static int u = 1;
private static char[] l = {16258, 16319, 16261, 16307, 16304, 16314, 15999, 16308, 16273, 16260, 16262, 16310, 16309, 15970, 16305, 16317, 16313, 15979, 15984, 16318, 16259, 16316, 16312, 16306, 16311, 15987, 15978, 15977, 15985};
private static int m = 1934310945;
/* renamed from: o, reason: collision with root package name */
private static boolean f8824o = true;
private static boolean k = true;
private static int p = -1766334775;
private static int q = 1406017140;
private static int r = -2136860411;
private static byte[] s = {-90, -59, ISOFileInfo.ENV_TEMP_EF, -3, ISO7816.INS_MANAGE_CHANNEL, -69, ISOFileInfo.A0, 73, 67, -104, 114, 72, ISOFileInfo.A0, 74, -94, 70, -111, SignedBytes.MAX_POWER_OF_TWO, -27, 119, 116, 96, -119, -72, -71, -70, 117, -83, 74, -19, 79, 7, CVCAFile.CAR_TAG, 60, 87, 46, Ascii.CAN, 40, 63, 61, 103, 51, 41, 84, 40, -17, 65, Ascii.SUB, CVCAFile.CAR_TAG, 30, 79, Ascii.CAN, 79, 16, 79, 43, 49, ISO7816.INS_PSO, 61, Ascii.ESC, 70, 87, Ascii.ESC, 77, 30, 77, 51, 5, 43, 49, 41, 120, Ascii.ESC, CVCAFile.CAR_TAG, 63, ISO7816.INS_PSO, -86, -3, -126, -4, -43, -20, ISOFileInfo.DATA_BYTES2, 4, ISOFileInfo.FILE_IDENTIFIER, -13, Ascii.ESC, -126, Ascii.US, ISOFileInfo.SECURITY_ATTR_COMPACT, Ascii.SUB, -88, -126, ISOFileInfo.AB, -14, -3, Ascii.ESC, -3, -126, Ascii.SUB, -82, Byte.MIN_VALUE, -87, Ascii.SUB, -126, -4, -82, -3, -90, -27, -43, -19, -71, -16, -87, -3, Ascii.EM, ISOFileInfo.DATA_BYTES2, Ascii.EM, -65, -81, -13, -4, ISOFileInfo.AB, -16, -81, -86, -14, -86, -13, 30, -126, ISOFileInfo.AB, Ascii.CAN, -126, Ascii.US, ISOFileInfo.ENV_TEMP_EF, Ascii.SUB, -13, -25, ISO7816.INS_UPDATE_BINARY, ISOFileInfo.CHANNEL_SECURITY, -25, 6, ISO7816.INS_READ_BINARY_STAMPED, ISO7816.INS_LOAD_KEY_FILE, -15, -59, Ascii.SUB, ISOFileInfo.CHANNEL_SECURITY, 13, -75, -4, ISOFileInfo.CHANNEL_SECURITY, 12, ISO7816.INS_WRITE_RECORD, -2, 12, -34, 13, ISO7816.INS_READ_BINARY_STAMPED, 6, -73, ISOFileInfo.SECURITY_ATTR_EXP, 2, 12, ISOFileInfo.SECURITY_ATTR_EXP, -25, 2, -35, -5, ISO7816.INS_UPDATE_BINARY, ISOFileInfo.CHANNEL_SECURITY, 13, -2, 2, -35, ISO7816.INS_DELETE_FILE, ISO7816.INS_LOAD_KEY_FILE, 6, ISOFileInfo.LCS_BYTE, 2, -120, -15, -73, -120, ISO7816.INS_WRITE_BINARY, ISO7816.INS_READ_RECORD2, 15, -7, 12, -39, 1, ISOFileInfo.LCS_BYTE, -4, ISOFileInfo.SECURITY_ATTR_EXP, -39, -7, -35, ISOFileInfo.CHANNEL_SECURITY, 3, -6, Ascii.DC4, -84, 33, -93, -10, -94, Ascii.DC2, ISO7816.INS_GET_DATA, 19, -13, 17, 37, -2, -94, 39, 33, Ascii.DC4, -84, 32, -93, -94, 59, -1, -83, Ascii.NAK, -82, 57, -83, -84, -81, -11, 16, 38, -15, -84, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0028). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aF(int r5, short r6, int r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 2
int r0 = 1 - r5
byte[] r1 = o.dTM.$$y
int r7 = r7 * 4
int r7 = 4 - r7
int r6 = r6 + 65
byte[] r0 = new byte[r0]
r2 = 0
int r5 = 0 - r5
if (r1 != 0) goto L16
r4 = r5
r3 = r2
goto L28
L16:
r3 = r2
L17:
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r5) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L24:
int r3 = r3 + 1
r4 = r1[r7]
L28:
int r7 = r7 + 1
int r4 = -r4
int r6 = r6 + r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: o.dTM.aF(int, short, int, java.lang.Object[]):void");
}
public dTM() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dTM.4
private dTM a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.a.j();
}
});
}
@Override // o.dTI
protected final void j() {
int i = 2 % 2;
int i2 = w + 115;
u = i2 % 128;
int i3 = i2 % 2;
if (this.b) {
return;
}
this.b = true;
((dTO) y_()).a((NtbDiscoverActivity) this);
int i4 = w + 63;
u = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.investment.discover.DiscoverActivity, o.dTI, 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 = w + 87;
u = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(null, null, ((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).codePointAt(69) - 3512, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE((short) ((-74) - (ViewConfiguration.getWindowTouchSlop() >> 8)), TextUtils.getOffsetAfter("", 0) + 981876516, TextUtils.lastIndexOf("", '0') - 91, 747895132 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.juristic_unlock_business_pin).substring(15, 16).length(), (byte) (((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_review_mf_account).substring(17, 18).length() - 111), 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) {
int i4 = w + 27;
u = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aE((short) (118 - View.MeasureSpec.makeMeasureSpec(0, 0)), 981876520 - Color.blue(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 169, MotionEvent.axisFromString("") + 747895122, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 74), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_contact_call_center).substring(10, 11).codePointAt(0) + 19, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -112, -113, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = w + 117;
u = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0'), View.getDefaultSize(0, 0) + 5, (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 64), 981876544 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 50, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 747895039, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.taking_photo_details_blurry_slip).substring(30, 31).length() + 9), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.favorite_add_suggestion_bulk_transfer).substring(55, 56).length() - 83), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 981876558, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 67, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 747895091, (byte) (105 - (ViewConfiguration.getEdgeSlop() >> 16)), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_landing_amount_too_low).substring(11, 12).length() - 92), 965099439 - Color.rgb(0, 0, 0), (-33) - (ViewConfiguration.getScrollDefaultDelay() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_biller_search_bnpl_initial_state).substring(0, 2).length() + 747895119, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.prepaid_message_m_card).substring(0, 7).codePointAt(1) + 30), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(null, null, ((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_message).substring(0, 3).length() + 124, new byte[]{-120, ISOFileInfo.ENV_TEMP_EF, -126, ISOFileInfo.SECURITY_ATTR_EXP, -103, ISOFileInfo.SECURITY_ATTR_EXP, -109, -102, -103, -109, ISOFileInfo.ENV_TEMP_EF, -120, ISOFileInfo.SECURITY_ATTR_EXP, -105, -126, -122, -109, -122, -113, ISOFileInfo.DATA_BYTES2, -109, -108, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -124, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_COMPACT, -104, -120, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_COMPACT, -105, ISOFileInfo.FCI_EXT, ISOFileInfo.ENV_TEMP_EF, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -111, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, -106, -126, ISOFileInfo.DATA_BYTES2, -107, -112, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.LCS_BYTE, -124, ISOFileInfo.SECURITY_ATTR_EXP, -108, -108, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, -108, ISOFileInfo.DATA_BYTES2, -122, -120, -109, -109, -110, -120, -113, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, -111}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.edit_email_things_you_should_know_description).substring(127, ISO781611.BIOMETRIC_SUBTYPE_TAG).codePointAt(1) + 11, new byte[]{-99, ISOFileInfo.FCI_EXT, -100, ISOFileInfo.FCI_EXT, -101}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE((short) ((-118) - (ViewConfiguration.getFadingEdgeLength() >> 16)), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 981876718, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 172, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.request_to_pay_input_hint).substring(19, 20).length() + 747895124, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_outcome_counter_attention_text).substring(70, 71).codePointAt(0) - 97), 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(486 - ImageFormat.getBitsPerPixel(0), (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 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, objArr11);
int i8 = w + 101;
u = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.investment.discover.DiscoverActivity, o.dTI, 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) {
int i2 = w + 87;
u = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 105), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.taking_photo_details_blurry_card).substring(30, 31).length() + 981876519, (-71) - ExpandableListView.getPackedPositionType(0L), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mtrl_picker_invalid_format_use).substring(3, 9).codePointAt(2) + 747895084, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 150), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -112, -113, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = w + 37;
u = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
int i6 = w + 69;
u = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollBarSize() >> 8), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) ExpandableListView.getPackedPositionType(0L))).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();
}
private static void aD(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int length;
char[] cArr2;
int i2;
int i3 = 2;
int i4 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = l;
char c = '0';
int i5 = 0;
if (cArr3 != null) {
int i6 = $11 + 105;
$10 = i6 % 128;
if (i6 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
i2 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i2 = 0;
}
while (i2 < length) {
int i7 = $10 + 31;
$11 = i7 % 128;
if (i7 % i3 == 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(cArr3[i2]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(336 - TextUtils.indexOf("", c, i5, i5), 5 - TextUtils.indexOf("", ""), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b = (byte) i5;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr2[i2] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr3[i2])};
Object obj2 = xzZ.y.get(-950481649);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((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)) + 337, Drawable.resolveOpacity(0, 0) + 5, (char) TextUtils.getOffsetAfter("", 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aF(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-950481649, obj2);
}
cArr2[i2] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i2++;
}
i3 = 2;
c = '0';
i5 = 0;
}
cArr3 = cArr2;
}
Object[] objArr6 = {Integer.valueOf(m)};
Object obj3 = xzZ.y.get(-1521625011);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 283, ExpandableListView.getPackedPositionChild(0L) + 6, (char) (View.getDefaultSize(0, 0) + 39813));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
aF(b5, (byte) (b5 | 57), b5, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr6)).intValue();
if (!(!k)) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 40, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
objArr[0] = new String(cArr4);
return;
}
if (!(!f8824o)) {
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr9 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(View.getDefaultSize(0, 0) + 40, 4 - TextUtils.lastIndexOf("", '0', 0), (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr9);
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
int i8 = 0;
while (true) {
c3614bBe.a = i8;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
}
int i9 = $10 + 101;
$11 = i9 % 128;
int i10 = i9 % 2;
cArr6[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i8 = c3614bBe.a + 1;
}
}
@Override // com.scb.phone.view.activity.investment.discover.DiscoverActivity, o.dTI, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aE((short) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 118), 981876520 - (ViewConfiguration.getWindowTouchSlop() >> 8), (ViewConfiguration.getScrollDefaultDelay() >> 16) - 71, ((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).length() + 747895120, (byte) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) - 40), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -112, -113, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = w + 91;
u = i2 % 128;
if (i2 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 13 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i4 = w + 65;
u = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 492, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) View.resolveSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - Process.getGidForName(""), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = 57 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 491, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 487, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) Color.red(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i6 = u + 29;
w = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 63 / 0;
}
}
/* JADX WARN: Code restructure failed: missing block: B:42:0x01da, code lost:
if (r13 != false) goto L47;
*/
/* JADX WARN: Code restructure failed: missing block: B:43:0x01f2, code lost:
r0 = r0 + 19;
o.dTM.$11 = r0 % 128;
r0 = r0 % 2;
r0 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:81:0x01f0, code lost:
r0 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:83:0x01ee, code lost:
if ((!r13) != true) goto L47;
*/
/* JADX WARN: Removed duplicated region for block: B:71:0x02cd */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aE(short r21, int r22, int r23, int r24, byte r25, java.lang.Object[] r26) {
/*
Method dump skipped, instructions count: 833
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.dTM.aE(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.investment.discover.DiscoverActivity, o.dTI, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(null, null, 127 - (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 byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE((short) ((-74) - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)), 981876516 - Drawable.resolveOpacity(0, 0), KeyEvent.normalizeMetaState(0) - 92, 747895133 - (ViewConfiguration.getEdgeSlop() >> 16), (byte) (KeyEvent.normalizeMetaState(0) - 110), 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 = w + 95;
u = i2 % 128;
if (i2 % 2 == 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 492, (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) View.getDefaultSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE((short) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 52), 981876544 + (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (-49) - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 747895072 - ((byte) KeyEvent.getModifierMetaStateMask()), (byte) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 10), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE((short) ((-82) - (ViewConfiguration.getWindowTouchSlop() >> 8)), 981876592 + (ViewConfiguration.getJumpTapTimeout() >> 16), TextUtils.lastIndexOf("", '0', 0) - 32, Drawable.resolveOpacity(0, 0) + 747895125, (byte) ((ViewConfiguration.getPressedStateDuration() >> 16) + 105), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE((short) (View.combineMeasuredStates(0, 0) - 91), 981876656 + Process.getGidForName(""), (-33) - Gravity.getAbsoluteGravity(0, 0), 747895121 - TextUtils.getOffsetBefore("", 0), (byte) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 67), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(null, null, 127 - View.combineMeasuredStates(0, 0), new byte[]{-120, ISOFileInfo.ENV_TEMP_EF, -126, ISOFileInfo.SECURITY_ATTR_EXP, -103, ISOFileInfo.SECURITY_ATTR_EXP, -109, -102, -103, -109, ISOFileInfo.ENV_TEMP_EF, -120, ISOFileInfo.SECURITY_ATTR_EXP, -105, -126, -122, -109, -122, -113, ISOFileInfo.DATA_BYTES2, -109, -108, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -124, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_COMPACT, -104, -120, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_COMPACT, -105, ISOFileInfo.FCI_EXT, ISOFileInfo.ENV_TEMP_EF, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -111, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, -106, -126, ISOFileInfo.DATA_BYTES2, -107, -112, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.LCS_BYTE, -124, ISOFileInfo.SECURITY_ATTR_EXP, -108, -108, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, -108, ISOFileInfo.DATA_BYTES2, -122, -120, -109, -109, -110, -120, -113, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, -111}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(null, null, 127 - Color.blue(0), new byte[]{-99, ISOFileInfo.FCI_EXT, -100, ISOFileInfo.FCI_EXT, -101}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE((short) ((ViewConfiguration.getScrollBarSize() >> 8) - 118), 981876718 + (ViewConfiguration.getScrollBarSize() >> 8), (-60) - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 747895125 - Gravity.getAbsoluteGravity(0, 0), (byte) ((ViewConfiguration.getEdgeSlop() >> 16) - 65), 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(Color.argb(0, 0, 0, 0) + 487, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i3 = u + 9;
w = i3 % 128;
int i4 = i3 % 2;
}
@Override // com.scb.phone.view.activity.investment.discover.DiscoverActivity, o.dTI, 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 = u + 51;
w = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}