what-the-bank/sources/com/scb/phone/view/activity/transferandpay/NewTransactionActivity.java

530 lines
42 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.transferandpay;
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.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.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.R;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC11981epb;
import o.C3614bBe;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.lds.CVCAFile;
/* loaded from: classes5.dex */
public class NewTransactionActivity extends AbstractActivityC11981epb {
private static short[] t;
private static final byte[] $$p = {126, ISO7816.INS_INCREASE, 86, Ascii.DEL};
private static final int $$q = 20;
private static int $10 = 0;
private static int $11 = 1;
private static int w = 0;
private static int x = 1;
private static char[] l = {16101, 15890, 15896, 15894, 15891, 15901, 16082, 15895, 16116, 16103, 15897, 15892, 16069, 15880, 15882, 15885, 16104, 15900, 16085, 16075, 16072, 16102, 16087, 15898, 16077, 16086, 16076, 16074, 16073, 16084};
private static int m = 1934311044;
private static boolean k = true;
/* renamed from: o, reason: collision with root package name */
private static boolean f7974o = true;
private static int r = -1850251337;
private static int q = 1406017069;
private static int s = -325436203;
private static byte[] p = {ISO7816.INS_LOAD_KEY_FILE, -55, ISO7816.INS_WRITE_RECORD, -22, ISO7816.INS_PUT_DATA, -49, -55, Byte.MIN_VALUE, -13, -107, -56, -52, -53, ISO7816.INS_GET_DATA, -122, -71, -37, Byte.MIN_VALUE, -97, -11, -122, -53, -108, 29, -35, -6, -75, -5, ISO7816.INS_WRITE_RECORD, -21, ISOFileInfo.CHANNEL_SECURITY, 3, ISO7816.INS_READ_BINARY_STAMPED, ISO7816.INS_DELETE_FILE, 12, -75, 0, ISOFileInfo.SECURITY_ATTR_EXP, 13, -41, -75, ISO7816.INS_UPDATE_RECORD, -27, -6, 12, -6, -75, 13, -47, -113, ISO7816.INS_UPDATE_BINARY, 13, -75, -5, -47, -6, -87, ISO7816.INS_APPEND_RECORD, ISO7816.INS_WRITE_RECORD, -22, -90, -1, ISO7816.INS_UPDATE_BINARY, -6, 6, ISOFileInfo.CHANNEL_SECURITY, 6, ISOFileInfo.A0, ISO7816.INS_WRITE_BINARY, ISO7816.INS_DELETE_FILE, -5, ISO7816.INS_UPDATE_RECORD, -1, ISO7816.INS_WRITE_BINARY, -35, -27, -35, ISO7816.INS_DELETE_FILE, 1, -75, ISO7816.INS_UPDATE_RECORD, 7, -75, 0, ISOFileInfo.LCS_BYTE, 13, ISO7816.INS_DELETE_FILE, 7, 69, ISOFileInfo.FCP_BYTE, -109, 117, 123, -110, 71, 4, -83, 1, 107, 106, 90, 67, ISOFileInfo.FCI_BYTE, -122, ISO7816.INS_MSE, 67, -107, -98, 46, 90, -108, -97, 83, 89, 123, 116, 108, 90, -107, 94, 123, 116, 106, ISOFileInfo.FILE_IDENTIFIER, 6, 107, 126, 90, 117, 121, ISO7816.INS_REHABILITATE_CHV, 89, -106, 92, -94, 41, 71, -105, 69, 82, -111, SignedBytes.MAX_POWER_OF_TWO, ISOFileInfo.FCP_BYTE, 91, -105, SignedBytes.MAX_POWER_OF_TWO, 104, 90, -108, 82, -108, SignedBytes.MAX_POWER_OF_TWO, 82, -84, 104, 95, 45, 105, ISO7816.INS_REHABILITATE_CHV, 104, -108, ISO7816.INS_LOAD_KEY_FILE, ISO7816.INS_MSE, 94, 58, 93, -7, 70, 14, 61, 11, -20, 8, 88, ISO7816.INS_CREATE_FILE, 91, -5, 77, 49, ISO7816.INS_DELETE_FILE, 8, 63, 61, 70, 14, ISO7816.INS_INCREASE, 11, 8, 51, -25, 9, 65, ISO7816.INS_DECREASE_STAMPED, 37, 9, 14, 55, -31, CVCAFile.CAR_TAG, 60, -19, 14};
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x0027). 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 aC(short r5, byte r6, short r7, java.lang.Object[] r8) {
/*
int r6 = r6 + 65
int r5 = r5 * 2
int r5 = r5 + 4
int r7 = r7 * 3
int r0 = r7 + 1
byte[] r1 = com.scb.phone.view.activity.transferandpay.NewTransactionActivity.$$p
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r6 = r5
r4 = r7
r3 = r2
goto L27
L15:
r3 = r2
L16:
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r7) goto L23
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L23:
int r3 = r3 + 1
r4 = r1[r5]
L27:
int r5 = r5 + 1
int r4 = -r4
int r6 = r6 + r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.transferandpay.NewTransactionActivity.aC(short, byte, short, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC11981epb, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
Object obj = null;
Object[] objArr = new Object[1];
aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) + 17, 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];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.bulk_transfer_info_text).substring(0, 280).length() - 370), 1032226364 + ((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().getApplicationInfo().targetSdkVersion - 91, 1085005120 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.zxing_app_name).substring(0, 15).codePointAt(8) + 38), 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 i2 = x + 85;
w = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aA(null, null, 175 - AndroidCharacter.getMirror('0'), new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB((short) (((Process.getThreadPriority(0) + 20) >> 6) - 56), 1032226291 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 91, 1085005136 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_scb_promptpay).substring(6, 11).codePointAt(1), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 78), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = w + 107;
x = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = w + 81;
x = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - ((Process.getThreadPriority(0) + 20) >> 6), TextUtils.getTrimmedLength("") + 5, (char) TextUtils.getCapsMode("", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.juristic_unlink_device_message).substring(24, 25).codePointAt(0) + 95, new byte[]{-107, ISOFileInfo.SECURITY_ATTR_EXP, -101, ISOFileInfo.LCS_BYTE, -99, -103, -107, -102, -106, -106, ISOFileInfo.SECURITY_ATTR_EXP, -104, -109, -101, -99, -109, -109, ISOFileInfo.FILE_IDENTIFIER, -103, ISOFileInfo.LCS_BYTE, -99, ISOFileInfo.LCS_BYTE, -100, -104, -103, ISOFileInfo.DATA_BYTES2, -107, -105, -101, -102, -105, -106, -101, -105, -106, -105, ISOFileInfo.DATA_BYTES2, -102, -103, -106, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.LCS_BYTE, -105, -106, -107, -108, -109}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 136), 1032226367 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.verify_identity_6).substring(0, 3).codePointAt(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.onboarding_input_address_house_no_is_not_allowed).substring(29, 30).codePointAt(0) - 89, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.new_transaction_successful).substring(23, 24).codePointAt(0) + 1085005106, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_idp_verify_identity_note_one).substring(65, 66).length() + 105), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-108, ISOFileInfo.LCS_BYTE, -101, -99, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.DATA_BYTES2, -98, -104, -98, -103, -100, -101, -102, ISOFileInfo.SECURITY_ATTR_EXP, -106, ISOFileInfo.SECURITY_ATTR_EXP, -100, ISOFileInfo.LCS_BYTE, -104, -105, -99, -98, -99, -109, -109, -102, -99, -99, ISOFileInfo.DATA_BYTES2, -106, -107, ISOFileInfo.FILE_IDENTIFIER, -103, -100, -101, ISOFileInfo.SECURITY_ATTR_EXP, -104, -101, ISOFileInfo.LCS_BYTE, -102, -108, -98, -109, -98, -104, -106, ISOFileInfo.DATA_BYTES2, -101, -98, -107, -106, ISOFileInfo.SECURITY_ATTR_EXP, -105, -103, -102, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -105, ISOFileInfo.DATA_BYTES2, -105, -98, -101, ISOFileInfo.DATA_BYTES2}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((short) (MotionEvent.axisFromString("") + IpLibUtil.KIPP_BAD_POINTER), 1032226453 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.gift_about_part2_description).substring(18, 19).codePointAt(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 91, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_open_scbs_remark_2).substring(CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384, CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256).codePointAt(0) + 1085005192, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 9), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_success_subtitle_successfull_request_speedy_loan_top_up).substring(23, 24).length() + 67), TextUtils.getOffsetBefore("", 0) + 1032226559, AndroidCharacter.getMirror('0') - 'i', View.MeasureSpec.makeMeasureSpec(0, 0) + 1085005177, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_top_up_registration_address).substring(0, 41).codePointAt(10) - 3489), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB((short) (((byte) KeyEvent.getModifierMetaStateMask()) + 94), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_withdraw_qr_return_to_account_message).substring(42, 43).length() + 1032226563, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_landing_info_item_2).substring(17, 18).codePointAt(0) - 89, MotionEvent.axisFromString("") + 1085005222, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 137), 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(487 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (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);
setContentView(R.layout.2131558697);
}
@Override // o.AbstractActivityC11981epb, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = w + 79;
x = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = w + 37;
x = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aA(null, null, 127 - (ViewConfiguration.getWindowTouchSlop() >> 8), new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, 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];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.are_you_sure_want_delete_scheduled_group).substring(88, 89).codePointAt(0) - 88), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.zxing_app_name).substring(0, 15).length() + 1032226388, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.enter_input_exceed).substring(38, 39).length() - 58, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1085005185, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_facial_locked_warning_message).substring(63, 64).length() + 90), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = w + 77;
x = i6 % 128;
if (i6 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - Drawable.resolveOpacity(0, 0), View.combineMeasuredStates(0, 0) + 5, (char) Color.blue(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 487, 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) TextUtils.getCapsMode("", 0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aA(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = l;
int i4 = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = $11 + 75;
$10 = i5 % 128;
int i6 = i5 % 2;
int i7 = 0;
while (i7 < length) {
int i8 = $10 + 5;
$11 = i8 % 128;
if (i8 % i2 == 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr2[i7]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), Color.red(i4) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b = (byte) i4;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i7] = ((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(cArr2[i7])};
Object obj2 = xzZ.y.get(-950481649);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(337 - View.getDefaultSize(0, 0), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (TextUtils.lastIndexOf("", '0') + 1));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-950481649, obj2);
}
cArr3[i7] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i7++;
}
i2 = 2;
i4 = 0;
}
cArr2 = cArr3;
}
try {
Object[] objArr6 = {Integer.valueOf(m)};
Object obj3 = xzZ.y.get(-1521625011);
long j = 0;
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(AndroidCharacter.getMirror('0') + 235, Process.getGidForName("") + 6, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 39812));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(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 (f7974o) {
int i9 = $11 + 47;
$10 = i9 % 128;
int i10 = i9 % 2;
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr2[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(40 - View.getDefaultSize(0, 0), Drawable.resolveOpacity(0, 0) + 5, (char) KeyEvent.getDeadChar(0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
objArr[0] = new String(cArr4);
return;
}
int i11 = 0;
if (k) {
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i12 = $10 + 57;
$11 = i12 % 128;
if (i12 % 2 == 0) {
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c % 0) - c3614bBe.a] >> i] % intValue);
Object[] objArr9 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(View.MeasureSpec.getMode(0) + 40, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) ('0' - AndroidCharacter.getMirror('0')))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr9);
} else {
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr10 = {c3614bBe, c3614bBe};
Object obj6 = xzZ.y.get(1779759091);
if (obj6 == null) {
obj6 = ((Class) xzZ.c(Process.getGidForName("") + 41, 5 - ExpandableListView.getPackedPositionType(j), (char) View.MeasureSpec.getMode(0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj6);
}
((Method) obj6).invoke(null, objArr10);
}
j = 0;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i11;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
}
int i13 = $11 + 45;
$10 = i13 % 128;
int i14 = i13 % 2;
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i11 = c3614bBe.a + 1;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // o.AbstractActivityC11981epb, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = x + 113;
w = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = x + 27;
w = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, 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];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 69), 1032226402 - TextUtils.lastIndexOf("", '0', 0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 91, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1085005185, (byte) (Color.argb(0, 0, 0, 0) + 91), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.red(0) + 492, 5 - View.resolveSizeAndState(0, 0, 0), (char) View.resolveSizeAndState(0, 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(487 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - TextUtils.indexOf("", ""), (char) (ViewConfiguration.getPressedStateDuration() >> 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: Removed duplicated region for block: B:43:0x01c4 */
/* JADX WARN: Removed duplicated region for block: B:51:0x0209 */
/* JADX WARN: Removed duplicated region for block: B:55:0x0264 */
/* JADX WARN: Removed duplicated region for block: B:61:0x027d */
/* JADX WARN: Removed duplicated region for block: B:65:0x0290 */
/* JADX WARN: Removed duplicated region for block: B:73:0x0289 */
/* JADX WARN: Removed duplicated region for block: B:75:0x020a A[Catch: all -> 0x02ed, TryCatch #0 {all -> 0x02ed, blocks: (B:19:0x00a4, B:22:0x00f7, B:24:0x00bc, B:35:0x011a, B:38:0x0181, B:40:0x0138, B:49:0x01e6, B:52:0x024e, B:75:0x020a), top: B:18:0x00a4 }] */
/* JADX WARN: Removed duplicated region for block: B:79:0x0306 */
/* JADX WARN: Removed duplicated region for block: B:81:0x030c */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aB(short r21, int r22, int r23, int r24, byte r25, java.lang.Object[] r26) {
/*
Method dump skipped, instructions count: 792
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.transferandpay.NewTransactionActivity.aB(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC11981epb, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
Object obj = null;
aA(null, null, 128 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 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];
aB((short) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) - 89), 1032226398 - View.resolveSizeAndState(0, 0, 0), (-56) - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 1085005230 + TextUtils.lastIndexOf("", '0'), (byte) ((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)) + 121), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = w + 123;
x = i2 % 128;
if (i2 % 2 == 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i3 = x + 121;
w = i3 % 128;
int i4 = i3 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 492, 4 - ExpandableListView.getPackedPositionChild(0L), (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(null, null, 128 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), new byte[]{-107, ISOFileInfo.SECURITY_ATTR_EXP, -101, ISOFileInfo.LCS_BYTE, -99, -103, -107, -102, -106, -106, ISOFileInfo.SECURITY_ATTR_EXP, -104, -109, -101, -99, -109, -109, ISOFileInfo.FILE_IDENTIFIER, -103, ISOFileInfo.LCS_BYTE, -99, ISOFileInfo.LCS_BYTE, -100, -104, -103, ISOFileInfo.DATA_BYTES2, -107, -105, -101, -102, -105, -106, -101, -105, -106, -105, ISOFileInfo.DATA_BYTES2, -102, -103, -106, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.LCS_BYTE, -105, -106, -107, -108, -109}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB((short) ((-89) - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))), 1032226421 - Color.green(0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) - 57, 1085005222 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) (Drawable.resolveOpacity(0, 0) + 106), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(null, null, 127 - Color.argb(0, 0, 0, 0), new byte[]{-108, ISOFileInfo.LCS_BYTE, -101, -99, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.DATA_BYTES2, -98, -104, -98, -103, -100, -101, -102, ISOFileInfo.SECURITY_ATTR_EXP, -106, ISOFileInfo.SECURITY_ATTR_EXP, -100, ISOFileInfo.LCS_BYTE, -104, -105, -99, -98, -99, -109, -109, -102, -99, -99, ISOFileInfo.DATA_BYTES2, -106, -107, ISOFileInfo.FILE_IDENTIFIER, -103, -100, -101, ISOFileInfo.SECURITY_ATTR_EXP, -104, -101, ISOFileInfo.LCS_BYTE, -102, -108, -98, -109, -98, -104, -106, ISOFileInfo.DATA_BYTES2, -101, -98, -107, -106, ISOFileInfo.SECURITY_ATTR_EXP, -105, -103, -102, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -105, ISOFileInfo.DATA_BYTES2, -105, -98, -101, ISOFileInfo.DATA_BYTES2}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((short) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + IpLibUtil.KIPP_BARCODE_DRIVER_FAIL), 1032226485 - View.combineMeasuredStates(0, 0), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 58, 1085005224 - (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) (TextUtils.getCapsMode("", 0, 0) + 22), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((short) (68 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1))), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 1032226559, ExpandableListView.getPackedPositionChild(0L) - 56, ImageFormat.getBitsPerPixel(0) + 1085005178, (byte) (121 - View.MeasureSpec.getMode(0)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((short) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 92), (KeyEvent.getMaxKeyCode() >> 16) + 1032226564, (-57) - Color.argb(0, 0, 0, 0), (ViewConfiguration.getJumpTapTimeout() >> 16) + 1085005221, (byte) ((-124) - Color.green(0)), objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Color.argb(0, 0, 0, 0) + 487, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getFadingEdgeLength() >> 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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // o.AbstractActivityC11981epb, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = x + 79;
w = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = x + 45;
w = i4 % 128;
int i5 = i4 % 2;
}
}