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

619 lines
45 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.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.kmc.kut.utilities.IpLibUtil;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.deeplink.AddAccountConsentDeepLinkActivity;
import com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
/* renamed from: o.dDu, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8194dDu extends BaseDeepLinkActivity {
private static short[] s;
private boolean b = false;
private static final byte[] $$H = {97, ISO7816.INS_LOAD_KEY_FILE, 14, 49};
private static final int $$I = 74;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int p = 1;
/* renamed from: o, reason: collision with root package name */
private static int f8709o = -255563534;
private static int l = 1406017074;
private static int m = 1342190918;
private static byte[] k = {-2, 101, 107, 103, -111, -104, 71, 71, -34, 97, ISO7816.INS_CHANGE_CHV, -81, -98, -97, -104, 107, -109, 104, -53, 39, -56, 0, ISO7816.INS_WRITE_BINARY, -2, -94, 91, -88, 78, -93, -89, ISOFileInfo.A0, ISOFileInfo.A1, 93, 114, -112, 91, 84, -82, 93, ISOFileInfo.A0, 79, 28, -103, 123, ISOFileInfo.FILE_IDENTIFIER, 120, -86, 83, 84, -122, 86, ISOFileInfo.AB, -87, 99, -81, 85, 82, 86, -101, 125, Byte.MIN_VALUE, 120, -124, 123, -122, 123, ISOFileInfo.CHANNEL_SECURITY, 123, 87, -83, 80, -87, ISOFileInfo.FCI_EXT, 124, 83, ISOFileInfo.FCI_EXT, 121, -124, 121, -81, ISOFileInfo.DATA_BYTES2, 87, -83, 85, 102, ISOFileInfo.FCI_EXT, 120, ISOFileInfo.AB, 80, 12, -7, 2, -47, 3, -6, 51, ISO7816.INS_UPDATE_BINARY, 43, ISO7816.INS_WRITE_BINARY, 0, 40, -47, ISO7816.INS_UNBLOCK_CHV, -45, 41, -1, -47, -8, 1, 2, 40, 2, -47, 41, -3, -41, -2, 41, -47, 3, -3, 2, -11, 10, -6, ISO7816.INS_INCREASE, -50, 7, -2, 2, 46, ISO7816.INS_UPDATE_BINARY, 46, -52, -4, 0, 3, -8, 7, -4, -7, 1, -7, 0, 45, -47, -8, 47, -47, ISO7816.INS_UNBLOCK_CHV, ISO7816.INS_WRITE_RECORD, 41, 0, 12, 51, -52, ISO7816.INS_DELETE_FILE, 51, 28, ISO7816.INS_APPEND_RECORD, ISO7816.INS_UPDATE_BINARY, 45, -47, 16, ISO7816.INS_DELETE_FILE, Ascii.EM, -31, ISO7816.INS_PSO, ISO7816.INS_DELETE_FILE, Ascii.SUB, -56, ISO7816.INS_DECREASE_STAMPED, Ascii.SUB, -44, Ascii.EM, ISO7816.INS_APPEND_RECORD, 28, -29, -25, Ascii.CAN, Ascii.SUB, -25, 51, Ascii.CAN, -55, 55, -52, ISO7816.INS_DELETE_FILE, Ascii.EM, ISO7816.INS_DECREASE_STAMPED, Ascii.CAN, -55, ISO7816.INS_INCREASE, ISO7816.INS_UPDATE_BINARY, 28, ISO7816.INS_CREATE_FILE, Ascii.CAN, -26, 45, -29, -26, -50, -17, Ascii.ESC, 53, Ascii.SUB, -43, 29, ISO7816.INS_CREATE_FILE, ISO7816.INS_PSO, -25, -43, 53, -55, ISO7816.INS_DELETE_FILE, Ascii.US, ISO7816.INS_DECREASE, 54, -83, 84, 91, -67, 67, ISOFileInfo.FMD_BYTE, -81, -18, Ascii.NAK, -23, 83, 92, -84, ISOFileInfo.AB, 87, 104, -108, ISOFileInfo.AB, 93, 96, -112, -84, 94, 103, -101, ISOFileInfo.A1, 67, -66, 86, -84, 93, ISOFileInfo.A0, 67, -66, 92, 107, -24, 83, SignedBytes.MAX_POWER_OF_TWO, -84, -67, 65, -82, ISOFileInfo.A1, 88, -90, Ascii.DC4, -111, -81, 95, -83, -92, 89, -86, 84, -93, 95, -86, 82, -84, 94, -92, 94, -86, -92, Ascii.SYN, 82, -89, -107, 81, -82, 82, 94, -24, -86, ISOFileInfo.FCP_BYTE, -97, 97, 76, 96, ISO7816.INS_READ_BINARY, 72, ISO7816.INS_READ_BINARY2, 81, -81, -101, 84, 96, -99, -97, -86, ISOFileInfo.FCP_BYTE, -98, 97, 96, -103, 85, 99, ISOFileInfo.AB, ISOFileInfo.FMD_BYTE, -105, 99, ISOFileInfo.FCP_BYTE, 101, 75, -82, -100, 79, ISOFileInfo.FCP_BYTE};
private static char[] r = {49093, 49116, 49138, 49092, 49027, 49127, 49091, 49095, 49111, 49094, 49113, 49089, 49119, 49118, 49112, 49053, 49035, 49110, 49034, 49115, 49117, 49098, 49106, 49114, 49104};
private static char q = 35372;
/* 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: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 aP(int r7, int r8, int r9, java.lang.Object[] r10) {
/*
int r7 = r7 + 108
int r8 = r8 + 4
byte[] r0 = o.AbstractActivityC8194dDu.$$H
int r9 = r9 * 2
int r9 = 1 - r9
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L12
r3 = r8
r4 = r2
goto L2a
L12:
r3 = r2
L13:
int r4 = r3 + 1
byte r5 = (byte) r7
int r8 = r8 + 1
r1[r3] = r5
if (r4 != r9) goto L24
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L24:
r3 = r0[r8]
r6 = r8
r8 = r7
r7 = r3
r3 = r6
L2a:
int r7 = -r7
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8194dDu.aP(int, int, int, java.lang.Object[]):void");
}
public AbstractActivityC8194dDu() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dDu.4
private AbstractActivityC8194dDu a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.a.U_();
}
});
}
@Override // o.AbstractActivityC8166dDA
protected final void U_() {
int i = 2 % 2;
int i2 = t + 125;
p = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
if (this.b) {
return;
}
this.b = true;
((dBA) y_()).d((AddAccountConsentDeepLinkActivity) this);
int i3 = t + 113;
p = i3 % 128;
int i4 = i3 % 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) {
int i = 2 % 2;
int i2 = p + 39;
t = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
Object[] objArr = new Object[1];
aN((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), 1559595289 - Color.green(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.common_ndid_select_idp_success_description_end).substring(0, 1).codePointAt(0) - 74, (-63843092) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_kofax_verify_tutorial_dont_desc).substring(0, 2).codePointAt(0) - 8114), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aN((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.banking_deposit_qr_return_to_account_message).substring(42, 43).length() - 1), (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)) + 1559595307, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 72, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.are_you_sure_want_delete_scheduled_group).substring(88, 89).length() - 63843047, (byte) ((-55) - (ViewConfiguration.getDoubleTapTimeout() >> 16)), 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 = t + 107;
p = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aO(new char[]{23, 21, 6, '\r', 3, 21, 5, 18, 21, 7, 5, 16, 4, 22, '\b', 22, 3, 20, 6, 22, '\t', 15, '\f', 16, 23, 7}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 22), ((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_title).substring(0, 13).length() + 13, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aN((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_debit_card_pinlock_description).substring(11, 23).length() - 12), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) + 1559595203, (-40) - (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)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.manage_promptpay_unlink_dialog_message).substring(22, 23).codePointAt(0) - 63843088, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.registration_completed_skip_remark).substring(13, 14).codePointAt(0) + 38), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = p + 15;
t = i6 % 128;
if (i6 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = t + 117;
p = i7 % 128;
int i8 = i7 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 492, 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (Process.getGidForName("") + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aN((short) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1559595317, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.new_deejung_transfer_speedy_cash_about).substring(273, 274).length() - 41, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 63843140, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_ribbon_offline_desc).substring(52, 53).length() + 66), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aN((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.bottomsheet_action_collapse).substring(15, 16).length() - 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) + 1559595267, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 74, (-63843054) - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 128), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aN((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) + IpLibUtil.KIPP_BAD_HISTOGRAM), 1559595429 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length(), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.etb_success_account_type_desc_2).substring(5, 9).length() - 44, Color.green(0) - 63843058, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 48), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aN((short) (ViewConfiguration.getScrollBarSize() >> 8), 1559595472 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, (-41) - TextUtils.lastIndexOf("", '0', 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_kofax_camera_tutorial_no_certificate).substring(0, 2).codePointAt(1) - 63843083, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 37), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aO(new char[]{19, 16, 17, 16, 13790}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 18), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aN((short) View.MeasureSpec.getSize(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1559595546, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_touchpoints_verify_steps_description).substring(18, 19).codePointAt(0) - 72, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 63843088, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 151), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((Process.myTid() >> 22) + 487, 5 - KeyEvent.keyCodeFromString(""), (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@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;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aO(new char[]{23, 21, 6, '\r', 3, 21, 5, 18, 21, 7, 5, 16, 4, 22, '\b', 22, 3, 20, 6, 22, '\t', 15, '\f', 16, 23, 7}, (byte) (Color.blue(0) + 56), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aN((short) (ViewConfiguration.getMaximumFlingVelocity() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.remittance_landing_head_description).substring(51, 52).length() + 1559595311, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 53, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 63843069, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_p2p_introduction_title).substring(0, 13).length() + 59), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = t + 97;
p = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = t + 85;
p = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = t + 51;
p = i6 % 128;
try {
if (i6 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.indexOf("", "", 0, 0), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (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)))).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 - KeyEvent.keyCodeFromString(""), 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (MotionEvent.axisFromString("") + 1))).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(Color.green(0) + 492, 4 - MotionEvent.axisFromString(""), (char) TextUtils.indexOf("", "", 0))).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((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 486, TextUtils.indexOf("", "", 0, 0) + 5, (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(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
int i7 = p + 41;
t = i7 % 128;
int i8 = i7 % 2;
} 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 = p + 17;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aO(new char[]{23, 21, 6, '\r', 3, 21, 5, 18, 21, 7, 5, 16, 4, 22, '\b', 22, 3, 20, 6, 22, '\t', 15, '\f', 16, 23, 7}, (byte) ((ViewConfiguration.getEdgeSlop() >> 16) + 56), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aN((short) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), Process.getGidForName("") + 1559595313, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.manage_scb_promptpay).substring(6, 11).length() - 45, (-63843056) - Color.green(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 38), 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 = t + 13;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 492, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).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((ViewConfiguration.getLongPressTimeout() >> 16) + 487, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
/* JADX WARN: Code restructure failed: missing block: B:34:0x032b, code lost:
if (r0 != true) goto L75;
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x0330, code lost:
r7 = o.AbstractActivityC8194dDu.k;
r1.c = r1.c - 1;
r1.a = (char) (r1.e + (((byte) (((byte) (r7[r8] ^ (-7303220121662775787L))) + r18)) ^ r22));
r7 = o.AbstractActivityC8194dDu.$10 + 43;
o.AbstractActivityC8194dDu.$11 = r7 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:36:0x0358, code lost:
if ((r7 % 2) != 0) goto L74;
*/
/* JADX WARN: Code restructure failed: missing block: B:37:0x035a, code lost:
r7 = 2 / 4;
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x0362, code lost:
r7 = o.AbstractActivityC8194dDu.s;
r1.c = r1.c - 1;
r1.a = (char) (r1.e + (((short) (((short) (r7[r9] ^ (-7303220121662775787L))) + r18)) ^ r22));
*/
/* JADX WARN: Code restructure failed: missing block: B:43:0x032e, code lost:
if (r0 != false) goto L71;
*/
/* JADX WARN: Removed duplicated region for block: B:14:0x0264 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aN(short r18, int r19, int r20, int r21, byte r22, java.lang.Object[] r23) {
/*
Method dump skipped, instructions count: 937
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8194dDu.aN(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;
int i2 = t + 33;
p = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aN((short) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), Color.green(0) + 1559595289, View.resolveSizeAndState(0, 0, 0) - 40, (-63843058) - KeyEvent.keyCodeFromString(""), (byte) (ExpandableListView.getPackedPositionChild(0L) + 113), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aN((short) (ViewConfiguration.getJumpTapTimeout() >> 16), 1559595308 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (-40) - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (-63843045) - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (byte) (View.MeasureSpec.makeMeasureSpec(0, 0) - 55), 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 i4 = t + 65;
p = i4 % 128;
if (i4 % 2 == 0) {
context2 = context.getApplicationContext();
int i5 = 6 / 0;
} else {
context2 = context.getApplicationContext();
}
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 492, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aN((short) (ViewConfiguration.getFadingEdgeLength() >> 16), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 1559595330, (ViewConfiguration.getFadingEdgeLength() >> 16) - 40, (-63843106) - (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)), (byte) (68 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aN((short) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), View.getDefaultSize(0, 0) + 1559595378, (ViewConfiguration.getKeyRepeatTimeout() >> 16) - 40, (-63843054) - TextUtils.indexOf("", "", 0), (byte) ((-24) - (Process.myTid() >> 22)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aN((short) (ViewConfiguration.getTapTimeout() >> 16), (Process.myTid() >> 22) + 1559595442, (-41) - TextUtils.indexOf((CharSequence) "", '0'), (-63843058) - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (byte) (Gravity.getAbsoluteGravity(0, 0) - 14), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aN((short) Color.argb(0, 0, 0, 0), 1559595506 + (ViewConfiguration.getTouchSlop() >> 8), (-40) - TextUtils.getOffsetBefore("", 0), (-63843051) - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (byte) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 71), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aO(new char[]{19, 16, 17, 16, 13790}, (byte) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 51), TextUtils.lastIndexOf("", '0', 0, 0) + 6, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aN((short) (KeyEvent.getMaxKeyCode() >> 16), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 1559595579, (ViewConfiguration.getMaximumFlingVelocity() >> 16) - 40, ImageFormat.getBitsPerPixel(0) - 63843053, (byte) ((-117) - TextUtils.indexOf("", "", 0)), objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getFadingEdgeLength() >> 16), (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) KeyEvent.normalizeMetaState(0))).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 i6 = p + 25;
t = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
}
private static void aO(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = r;
int i5 = -1;
int i6 = 9;
if (cArr2 != null) {
int i7 = $10 + 49;
$11 = i7 % 128;
int i8 = i7 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i9 = 0;
while (i9 < length) {
int i10 = $11 + 45;
$10 = i10 % 128;
if (i10 % i3 != 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i9])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(297 - Process.getGidForName(""), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (ViewConfiguration.getLongPressTimeout() >> 16));
byte b2 = (byte) i5;
Object[] objArr3 = new Object[1];
aP((byte) i6, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
try {
Object[] objArr4 = {Integer.valueOf(cArr2[i9])};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(297 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) Gravity.getAbsoluteGravity(0, 0));
byte b3 = (byte) (-1);
Object[] objArr5 = new Object[1];
aP((byte) 9, b3, (byte) (b3 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
cArr3[i9] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
i9++;
i3 = 2;
i5 = -1;
i6 = 9;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(q)};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(299 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) TextUtils.indexOf("", ""));
byte b4 = (byte) (-1);
Object[] objArr7 = new Object[1];
aP((byte) 9, b4, (byte) (b4 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
char charValue = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
} else {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(822107368);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(Color.alpha(0) + 233, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 22024));
byte b5 = (byte) (-1);
Object[] objArr9 = new Object[1];
aP((byte) 12, b5, (byte) (b5 + 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj4);
}
if (((Integer) ((Method) obj4).invoke(null, objArr8)).intValue() == irs.j) {
int i11 = $11 + 5;
$10 = i11 % 128;
int i12 = i11 % 2;
Object[] objArr10 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(-1152873385);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(327 - ExpandableListView.getPackedPositionType(0L), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) View.MeasureSpec.makeMeasureSpec(0, 0));
byte b6 = (byte) (-1);
Object[] objArr11 = new Object[1];
aP((byte) ($$I & 63), b6, (byte) (b6 + 1), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj5);
}
int intValue = ((Integer) ((Method) obj5).invoke(null, objArr10)).intValue();
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i13];
} else if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i14 = (irs.a * charValue) + irs.f;
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
int i16 = $10 + 19;
$11 = i16 % 128;
int i17 = i16 % 2;
} else {
int i18 = (irs.a * charValue) + irs.j;
int i19 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i18];
cArr4[irs.e + 1] = cArr2[i19];
}
}
irs.e += 2;
}
}
for (int i20 = 0; i20 < i; i20++) {
int i21 = $11 + 67;
$10 = i21 % 128;
int i22 = i21 % 2;
cArr4[i20] = (char) (cArr4[i20] ^ 13722);
}
String str = new String(cArr4);
int i23 = $11 + 69;
$10 = i23 % 128;
if (i23 % 2 != 0) {
throw null;
}
objArr[0] = str;
}
@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 = p + 21;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
int i4 = t + 83;
p = i4 % 128;
int i5 = i4 % 2;
}
}