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

574 lines
36 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity;
import com.scb.phone.view.activity.deeplink.RtpInputDeepLinkActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public abstract class dDP extends BaseDeepLinkActivity {
private static short[] t;
private boolean b = false;
private static final byte[] $$y = {55, -23, -33, -19};
private static final int $$z = 94;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int s = 1;
private static int k = 126268461;
/* renamed from: o, reason: collision with root package name */
private static int f8702o = 1406017091;
private static int m = -2081875218;
private static byte[] l = {-87, ISOFileInfo.DATA_BYTES2, -73, ISOFileInfo.FILE_IDENTIFIER, -99, -124, -93, -93, 90, ISOFileInfo.ENV_TEMP_EF, ISO7816.INS_GET_RESPONSE, 75, -102, -101, -124, -73, -97, ISO7816.INS_READ_BINARY_STAMPED, -49, ISO7816.INS_UNBLOCK_CHV, -126, ISO7816.INS_PSO, ISOFileInfo.ENV_TEMP_EF, 115, 122, 121, 47, Ascii.DEL, 114, 124, ISOFileInfo.LCS_BYTE, 118, 120, 123, Ascii.DEL, ISO7816.INS_MSE, Byte.MIN_VALUE, 85, ISOFileInfo.ENV_TEMP_EF, 41, -126, 47, -126, 87, -126, 126, ISO7816.INS_MANAGE_CHANNEL, 101, 124, 46, ISOFileInfo.DATA_BYTES2, 122, 46, ISOFileInfo.SECURITY_ATTR_COMPACT, 41, ISOFileInfo.SECURITY_ATTR_COMPACT, 118, 84, 126, ISO7816.INS_MANAGE_CHANNEL, 120, -113, 46, ISOFileInfo.ENV_TEMP_EF, 114, 101, -31, ISO7816.INS_INCREASE, 59, ISO7816.INS_CHANGE_CHV, 2, ISO7816.INS_UNBLOCK_CHV, 75, ISO7816.INS_DECREASE, -15, 122, -10, 60, 35, 51, ISO7816.INS_DECREASE_STAMPED, 56, 119, -5, ISO7816.INS_DECREASE_STAMPED, ISO7816.INS_MSE, 79, -1, 51, 33, 72, ISO7816.INS_DELETE_FILE, 14, ISO7816.INS_UNBLOCK_CHV, 1, 57, 51, ISO7816.INS_MSE, 15, ISO7816.INS_UNBLOCK_CHV, 1, 35, 116, -9, 60, 47, 51, 2, 46, 49, 14, 39, 9, 123, -2, ISO7816.INS_DECREASE, 32, ISO7816.INS_INCREASE, 11, 38, 53, 59, 12, 32, 53, 61, 51, 33, 11, 33, 53, 11, 121, 61, 8, -6, 62, 49, 61, 33, -70, -11, -63, -3, -58};
private static char[] p = {39997, 40056, 40044, 40020, 40045, 40089, 40233, 40232, 40224, 40230, 40213, 40237, 40253, 40229, 40228, 40228, 40229, 40224, 40217, 40188, 40196, 40251, 40227, 40204, 40194, 40237, 40231, 40251, 40224, 40226, 40236, 40011, 40074, 40052, 40074, 40054, 40062, 40050, 40054, 40074, 40072, 40032, 40038, 40079, 40055, 40053, 40078, 40077, 40052, 40029, 40137, 40138, 40103, 40142, 40136, 40098, 40097, 40097, 40097, 40103, 40097, 40098, 40096, 40099, 40108, 40139, 40137, 40138, 40139, 40098, 40097, 40098, 40116, 40139, 40096, 40097, 40097, 40102, 40102, 40103, 40138, 40138, 40103, 40136, 40147, 40137, 40137, 40156, 40138, 40096, 40098, 40098, 40137, 40146, 40143, 40142, 40143, 40136, 40136, 40103, 40138, 40136, 40136, 40139, 40097, 40102, 40137, 40156, 40146, 40144, 40146, 40137, 40136, 40021, 40099, 40091, 40070, 40109, 40109, 40099, 40138, 40108, 40090, 40089, 40099, 40116, 40108, 40069, 40091, 40099, 40118, 40139, 40108, 40071, 40071, 40068, 40091, 40109, 40098, 40096, 40138, 40097, 40088, 40088, 40097, 40099, 40108, 40118, 40108, 40090, 40068, 40070, 40070, 40068, 40069, 40069, 40091, 40099, 40139, 40099, 40098, 40116, 40116, 40108, 40090, 40088, 40088, 40091, 40108, 40108, 40111, 40116, 40116, 40108, 40089, 40098, 40098, 40177, 40239, 40190, 40237, 40190, 40187, 40237, 40227, 40238, 40239, 40187, 40191, 40191, 40190, 40188, 40187, 40238, 40227, 40184, 40178, 40187, 40184, 40188, 40183, 40236, 40188, 40190, 40239, 40227, 40227, 40191, 40179, 40188, 40179, 40237, 40227};
private static void aE(int i, short s2, int i2, Object[] objArr) {
int i3 = i2 * 2;
byte[] bArr = $$y;
int i4 = s2 + 4;
int i5 = i + 71;
byte[] bArr2 = new byte[1 - i3];
int i6 = 0 - i3;
int i7 = -1;
if (bArr == null) {
i5 = i6 + i5;
}
while (true) {
i7++;
i4++;
bArr2[i7] = (byte) i5;
if (i7 == i6) {
objArr[0] = new String(bArr2, 0);
return;
}
i5 += bArr[i4];
}
}
public dDP() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dDP.3
private dDP b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.b.U_();
}
});
}
@Override // o.AbstractActivityC8166dDA
protected final void U_() {
int i = 2 % 2;
int i2 = r + 47;
s = i2 % 128;
int i3 = i2 % 2;
if (!this.b) {
this.b = true;
((InterfaceC8282dGi) y_()).a((RtpInputDeepLinkActivity) this);
}
int i4 = r + 61;
s = i4 % 128;
int i5 = i4 % 2;
}
@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) {
Method method;
int i = 2 % 2;
int i2 = s + 95;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aC((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 95), (-1414048346) + ((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().getResources().getString(com.scb.phone.R.string.prepaid_activation_success_remark).substring(32, 34).codePointAt(1) - 119, 802749286 - KeyEvent.getDeadChar(0, 0), (byte) (TextUtils.lastIndexOf("", '0', 0) + 1), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{0, 5, 0, 0}, false, new byte[]{1, 0, 0, 0, 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) {
int i4 = s + 7;
r = i4 % 128;
if (i4 % 2 != 0) {
Object[] objArr3 = new Object[1];
aD(new int[]{5, 26, 192, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new int[]{31, 18, 19, 18}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
} else {
Object[] objArr5 = new Object[1];
aD(new int[]{5, 26, 192, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr5);
Class<?> cls3 = Class.forName((String) objArr5[0]);
Object[] objArr6 = new Object[1];
aD(new int[]{31, 18, 19, 18}, true, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr6);
method = cls3.getMethod((String) objArr6[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
int i5 = r + 87;
s = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 2 / 5;
}
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), Color.argb(0, 0, 0, 0) + 5, (char) TextUtils.getOffsetAfter("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr7 = new Object[1];
aC((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 119), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 1414048307, View.MeasureSpec.getSize(0) - 87, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 802749126, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mf_onboarding_slip).substring(0, 20).length() - 20), objArr7);
String str = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{49, 64, 118, 60}, false, new byte[]{0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1}, objArr8);
String str2 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new int[]{113, 64, 92, 0}, false, new byte[]{1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0}, objArr9);
String str3 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aC((short) ((-40) - Gravity.getAbsoluteGravity(0, 0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1414048280, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 199, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.idp_select_sharing_account_description).substring(14, 15).length() + 802749292, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr10);
String str4 = (String) objArr10[0];
Object[] objArr11 = new Object[1];
aC((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 21), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1414048173, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 198, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) + 802749131, (byte) KeyEvent.keyCodeFromString(""), objArr11);
String str5 = (String) objArr11[0];
Object[] objArr12 = new Object[1];
aD(new int[]{CipherSuite.TLS_PSK_WITH_NULL_SHA384, 36, CipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256, 29}, true, null, objArr12);
Object[] objArr13 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr12[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollBarSize() >> 8), Color.green(0) + 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, objArr13);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@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 = r + 25;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new int[]{5, 26, 192, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{31, 18, 19, 18}, true, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = s + 77;
r = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getLongPressTimeout() >> 16), 5 - (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)), (char) (ViewConfiguration.getPressedStateDuration() >> 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(487 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - (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)), (char) View.MeasureSpec.getMode(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 492, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 487, 4 - TextUtils.lastIndexOf("", '0'), (char) View.resolveSizeAndState(0, 0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@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 + 57;
s = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new int[]{5, 26, 192, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{31, 18, 19, 18}, true, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = s + 43;
r = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = s + 71;
r = i5 % 128;
try {
if (i5 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 492, Color.green(0) + 5, (char) TextUtils.getCapsMode("", 0, 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(487 - (ViewConfiguration.getScrollDefaultDelay() >> 16), '5' - AndroidCharacter.getMirror('0'), (char) KeyEvent.getDeadChar(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
int i6 = 77 / 0;
} else {
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 492, 5 - (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)), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(486 - TextUtils.lastIndexOf("", '0', 0, 0), 5 - (Process.myPid() >> 22), (char) TextUtils.indexOf("", "", 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
}
} 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) {
char[] cArr;
int i;
char[] cArr2;
char[] cArr3;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr4 = p;
char c = '0';
if (cArr4 != null) {
int length = cArr4.length;
char[] cArr5 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr4[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr3 = cArr4;
} else {
Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), TextUtils.indexOf("", "", i3) + 5, (char) (41976 - TextUtils.indexOf("", c, i3)));
byte b = (byte) i3;
byte b2 = (byte) (b - 1);
cArr3 = cArr4;
Object[] objArr3 = new Object[1];
aE(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr5[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
cArr4 = cArr3;
i3 = 0;
c = '0';
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr4 = cArr5;
}
char[] cArr6 = new char[i5];
System.arraycopy(cArr4, i4, cArr6, 0, i5);
if (bArr != null) {
int i9 = $11 + 119;
$10 = i9 % 128;
if (i9 % 2 != 0) {
cArr2 = new char[i5];
i = 0;
} else {
i = 0;
cArr2 = new char[i5];
}
tvh.c = i;
char c2 = 0;
while (tvh.c < i5) {
int i10 = $10 + 33;
$11 = i10 % 128;
int i11 = i10 % 2;
if (bArr[tvh.c] == 1) {
int i12 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr6[tvh.c]), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (54 - (ViewConfiguration.getLongPressTimeout() >> 16)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr2[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i13 = tvh.c;
try {
Object[] objArr5 = {Integer.valueOf(cArr6[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 16, 4 - TextUtils.lastIndexOf("", '0', 0), (char) (58134 - (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("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr2[i13] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
c2 = cArr2[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((Process.myPid() >> 22) + 402, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (21608 - (ViewConfiguration.getTouchSlop() >> 8)));
byte b3 = (byte) ($$z & 3);
byte b4 = (byte) (b3 - 3);
Object[] objArr7 = new Object[1];
aE(b3, b4, (byte) (b4 + 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
int i14 = $11 + 123;
$10 = i14 % 128;
int i15 = i14 % 2;
cArr6 = cArr2;
}
if (i7 > 0) {
char[] cArr7 = new char[i5];
System.arraycopy(cArr6, 0, cArr7, 0, i5);
int i16 = i5 - i7;
System.arraycopy(cArr7, 0, cArr6, i16, i7);
System.arraycopy(cArr7, i7, cArr6, 0, i16);
}
if (z) {
int i17 = $10 + 71;
$11 = i17 % 128;
if (i17 % 2 == 0) {
cArr = new char[i5];
tvh.c = 1;
} else {
cArr = new char[i5];
tvh.c = 0;
}
while (tvh.c < i5) {
cArr[tvh.c] = cArr6[(i5 - tvh.c) - 1];
tvh.c++;
int i18 = $11 + 47;
$10 = i18 % 128;
int i19 = i18 % 2;
}
cArr6 = cArr;
}
if (i6 > 0) {
int i20 = $10 + 91;
$11 = i20 % 128;
if (i20 % 2 == 0) {
tvh.c = 1;
} else {
tvh.c = 0;
}
while (tvh.c < i5) {
cArr6[tvh.c] = (char) (cArr6[tvh.c] - iArr[2]);
tvh.c++;
}
}
objArr[0] = new String(cArr6);
}
/* JADX WARN: Removed duplicated region for block: B:41:0x01c4 */
/* JADX WARN: Removed duplicated region for block: B:60:0x0295 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(short r18, int r19, int r20, int r21, byte r22, java.lang.Object[] r23) {
/*
Method dump skipped, instructions count: 768
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.dDP.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) {
int i = 2 % 2;
int i2 = r + 53;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aC((short) (108 - View.MeasureSpec.getMode(0)), (-1414048312) - TextUtils.getOffsetAfter("", 0), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 88, 802749286 - TextUtils.indexOf("", ""), (byte) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{0, 5, 0, 0}, false, new byte[]{1, 0, 0, 0, 1}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = s + 43;
r = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.resolveSize(0, 0), 5 - (Process.myTid() >> 22), (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];
aC((short) ((-105) - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))), (ViewConfiguration.getLongPressTimeout() >> 16) - 1414048294, (-86) - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), TextUtils.getOffsetBefore("", 0) + 802749238, (byte) ExpandableListView.getPackedPositionType(0L), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD(new int[]{49, 64, 118, 60}, false, new byte[]{0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new int[]{113, 64, 92, 0}, false, new byte[]{1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aC((short) ((-40) - (KeyEvent.getMaxKeyCode() >> 16)), (-1414048246) - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (-87) - TextUtils.indexOf("", "", 0, 0), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 802749292, (byte) (Process.myPid() >> 22), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aC((short) (Process.getGidForName("") + 35), (-1414048172) - View.resolveSize(0, 0), (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)) - 87, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 802749246, (byte) View.getDefaultSize(0, 0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{CipherSuite.TLS_PSK_WITH_NULL_SHA384, 36, CipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256, 29}, true, null, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - View.resolveSize(0, 0), 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (ViewConfiguration.getScrollDefaultDelay() >> 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);
} 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 + 49;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 27;
r = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}