what-the-bank/sources/com/scb/phone/view/activity/mwpartner/MwCurrentUserEwalletActivit...

552 lines
42 KiB
Java

package com.scb.phone.view.activity.mwpartner;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
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 butterknife.ButterKnife;
import butterknife.OnClick;
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.R;
import com.scb.phone.view.activity.investment.scbs.AddAccountConsentActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC8874dYi;
import o.C4403bZM;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.cbeff.ISO781611;
import org.jmrtd.lds.CVCAFile;
/* loaded from: classes5.dex */
public class MwCurrentUserEwalletActivity extends AbstractActivityC8874dYi {
private static short[] t;
private static final byte[] $$p = {63, -89, -19, -14};
private static final int $$q = 85;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int s = 1;
private static int k = -1336519346;
private static int l = 1406017066;
/* renamed from: o, reason: collision with root package name */
private static int f7578o = 918970081;
private static byte[] m = {-58, 120, 118, 122, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.PROP_INFO, 90, 90, -61, 124, 57, -78, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.PROP_INFO, 118, ISOFileInfo.CHANNEL_SECURITY, 117, -45, 56, -41, Ascii.US, -49, -50, ISO7816.INS_UPDATE_RECORD, 35, ISO7816.INS_UNBLOCK_CHV, -43, -53, 4, ISO7816.INS_PUT_DATA, -44, ISO7816.INS_UNBLOCK_CHV, ISO7816.INS_WRITE_RECORD, ISO7816.INS_PSO, -50, -3, -52, 97, -33, ISO7816.INS_WRITE_BINARY, -20, Ascii.NAK, ISO7816.INS_CHANGE_CHV, 37, ISO7816.INS_MSE, -47, 41, ISO7816.INS_WRITE_RECORD, -58, Ascii.DEL, -122, 117, -109, 126, 122, 125, 124, Byte.MIN_VALUE, -81, 77, -122, -119, 115, Byte.MIN_VALUE, 125, -110, ISO7816.INS_DELETE_FILE, -18, 12, -12, 15, -35, ISO7816.INS_CHANGE_CHV, 35, -15, 33, ISO7816.INS_UPDATE_RECORD, -34, Ascii.DC4, ISO7816.INS_LOAD_KEY_FILE, ISO7816.INS_MSE, 37, 33, -20, 10, -9, 15, -13, 12, -15, 12, -7, 12, 32, ISO7816.INS_PUT_DATA, 39, -34, -16, 11, ISO7816.INS_CHANGE_CHV, -16, 14, -13, 14, ISO7816.INS_LOAD_KEY_FILE, -10, 32, ISO7816.INS_PUT_DATA, ISO7816.INS_MSE, 17, -16, 15, ISO7816.INS_UPDATE_RECORD, 39, Ascii.DC4, -33, ISO7816.INS_CHANGE_CHV, -9, 37, ISO7816.INS_UPDATE_RECORD, Ascii.NAK, -16, 13, -10, 38, 14, -9, 10, -11, 15, -39, -9, -34, 39, ISO7816.INS_CHANGE_CHV, 14, ISO7816.INS_CHANGE_CHV, -9, 15, -37, -15, ISO7816.INS_LOAD_KEY_FILE, 15, -9, 37, -37, ISO7816.INS_CHANGE_CHV, -45, ISO7816.INS_UNBLOCK_CHV, ISO7816.INS_UPDATE_RECORD, Ascii.DC4, -24, 33, ISO7816.INS_LOAD_KEY_FILE, ISO7816.INS_CHANGE_CHV, 8, -16, 8, -22, ISO7816.INS_PUT_DATA, 38, 37, -34, 33, ISO7816.INS_PUT_DATA, -33, 39, -33, 38, 11, -9, -34, 9, -9, 10, -12, 15, 38, Ascii.DC4, -98, 97, 73, -98, ISO7816.INS_READ_BINARY2, 79, 123, Byte.MIN_VALUE, 124, -67, 73, ISO7816.INS_READ_BINARY_STAMPED, 76, ISOFileInfo.FCI_EXT, 73, -73, 101, -103, -73, 121, ISO7816.INS_READ_BINARY_STAMPED, 79, ISO7816.INS_READ_BINARY2, 78, 74, -75, -73, 74, -98, -75, ISOFileInfo.FMD_BYTE, -102, 97, 73, ISO7816.INS_READ_BINARY_STAMPED, -103, -75, ISOFileInfo.FMD_BYTE, -97, 123, ISO7816.INS_READ_BINARY2, 77, -75, 75, Byte.MIN_VALUE, 78, 75, 99, CVCAFile.CAR_TAG, ISO7816.INS_READ_RECORD_STAMPED, -104, -73, 120, ISO7816.INS_READ_BINARY, 77, ISOFileInfo.FCI_EXT, 74, 120, -104, ISOFileInfo.FMD_BYTE, 73, -78, -99, 30, 29, ISO7816.INS_DELETE_FILE, -21, 13, -13, -44, Ascii.US, 94, ISOFileInfo.A5, 89, -29, -20, 28, Ascii.ESC, -25, ISO7816.INS_LOAD_KEY_FILE, ISO7816.INS_CHANGE_CHV, Ascii.ESC, -19, ISO7816.INS_WRITE_BINARY, 32, 28, -18, -41, 43, 17, -13, 14, -26, 28, -19, 16, -13, 14, -20, -37, 88, -29, -16, 28, 13, -15, 30, 17, -24, Ascii.SYN, -92, 33, Ascii.US, -17, 29, Ascii.DC4, -23, Ascii.SUB, ISO7816.INS_DELETE_FILE, 19, -17, Ascii.SUB, ISO7816.INS_APPEND_RECORD, 28, -18, Ascii.DC4, -18, Ascii.SUB, Ascii.DC4, -90, ISO7816.INS_APPEND_RECORD, Ascii.ETB, 37, -31, 30, ISO7816.INS_APPEND_RECORD, -18, -45, Ascii.EM, -19, 17, -18};
private static int[] r = {-1761736706, -1904957796, -886805527, 2000137088, -1846129238, 238951698, -1806317430, -1279483140, -1762930323, -1175394080, 1548368417, 1739010437, -528178514, 191555715, -796553449, 1021963992, 1597611724, 507730395};
/* JADX WARN: Removed duplicated region for block: B:10:0x0029 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0021 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0029 -> B:4:0x0031). 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(byte r6, int r7, byte r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 4
int r0 = 1 - r7
byte[] r1 = com.scb.phone.view.activity.mwpartner.MwCurrentUserEwalletActivity.$$p
int r8 = r8 * 2
int r8 = 3 - r8
int r6 = r6 * 2
int r6 = 110 - r6
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L19
r6 = r7
r3 = r8
r4 = r2
goto L31
L19:
r3 = r2
L1a:
byte r4 = (byte) r6
r0[r3] = r4
int r8 = r8 + 1
if (r3 != r7) goto L29
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L29:
int r3 = r3 + 1
r4 = r1[r8]
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L31:
int r6 = r6 + r8
r8 = r3
r3 = r4
goto L1a
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwCurrentUserEwalletActivity.aC(byte, int, byte, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC8874dYi, 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((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fastpay_manage_qr_changing_option_dialog_title).substring(34, 35).length() - 1), 476558500 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_personal_info_last_name_hint).substring(10, 11).length(), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 77, (-1695039635) + (ViewConfiguration.getTapTimeout() >> 16), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_email_unable_to_proceed_body).substring(16, 17).length() + 108), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mf_port_suit_toggle_retake_suitability_test_description).substring(40, 41).length() - 1), 476558520 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.edit_email_things_you_should_know_description).substring(127, ISO781611.BIOMETRIC_SUBTYPE_TAG).length() - 67, (-1695039623) - View.resolveSizeAndState(0, 0, 0), (byte) ((-42) - KeyEvent.normalizeMetaState(0)), 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 = s + 1;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_moa_list_text).substring(111, 112).codePointAt(0) + 476558492, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 176, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_csent_sensitive_deny_message).substring(CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, CipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384).length() - 1695039636, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_select_purchase_pts).substring(0, 5).codePointAt(3) - 169), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA((short) (Process.myTid() >> 22), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_single_device_info1).substring(15, 16).codePointAt(0) + 476558518, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deejung_amortization_email_notification_description).substring(71, 72).length() - 65, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 1695039745, (byte) ((-107) - (ViewConfiguration.getScrollDefaultDelay() >> 16)), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 9;
s = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = s + 55;
q = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - ImageFormat.getBitsPerPixel(0), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 476558534, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 179, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1695039717, (byte) (53 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), (ViewConfiguration.getLongPressTimeout() >> 16) + 476558616, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_summary_duration_value).substring(0, 9).length() - 73, (ViewConfiguration.getScrollDefaultDelay() >> 16) - 1695039631, (byte) (Drawable.resolveOpacity(0, 0) - 50), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_completed_error).substring(29, 30).codePointAt(0) - 32), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_date_rate_change_title).substring(0, 19).codePointAt(2) + 476558581, (-64) - Color.argb(0, 0, 0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1695039669, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 20), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA((short) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1), 476558744 - TextUtils.indexOf("", "", 0), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 65, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1695039662, (byte) ((ViewConfiguration.getEdgeSlop() >> 16) - 9), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.point_x_on_board_title).substring(56, 57).length() - 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) + 476558703, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 168, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.wealth4u).substring(0, 8).codePointAt(2) - 1695039740, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_management_mutual_fund_errror_message).substring(6, 7).length() + 13), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new int[]{-273692180, 333022088, 439623327, 592153533, -1570662713, -2023902253, 1739267892, 1327582268, 1695655555, -464400469, -1397794358, 1054892729, -1956870741, -1906137217, -88455623, 546171234, -26626597, -2079160697}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.app_account_deletion_sub_title).substring(7, 8).codePointAt(0) + 4, 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(Color.blue(0) + 487, TextUtils.lastIndexOf("", '0') + 6, (char) (ViewConfiguration.getKeyRepeatDelay() >> 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.2131558670);
ButterKnife.Dg_(this);
Z();
setTitle(R.string.mw_current_ewallet_title);
ac();
}
@OnClick
public void onAddWalletClick() {
int i = 2 % 2;
int i2 = q + 37;
s = i2 % 128;
int i3 = i2 % 2;
AddAccountConsentActivity.a((Context) this);
int i4 = s + 27;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = q + 23;
s = i2 % 128;
j(i2 % 2 == 0);
}
private static void aB(int[] iArr, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = r;
int i4 = 729798706;
int i5 = 16;
int i6 = 1;
int i7 = 0;
if (iArr2 != null) {
int length = iArr2.length;
int[] iArr3 = new int[length];
int i8 = $11 + 81;
$10 = i8 % 128;
if (i8 % 2 != 0) {
int i9 = 5 / 4;
}
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = {Integer.valueOf(iArr2[i10])};
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - (ViewConfiguration.getMinimumFlingVelocity() >> i5), ExpandableListView.getPackedPositionType(0L) + 5, (char) (58134 - ((Process.getThreadPriority(0) + 20) >> 6)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i10] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i10++;
i5 = 16;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr2 = iArr3;
}
int length2 = iArr2.length;
int[] iArr4 = new int[length2];
int[] iArr5 = r;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i11 = 0;
while (i11 < length3) {
Object[] objArr3 = new Object[i6];
objArr3[i7] = Integer.valueOf(iArr5[i11]);
Object obj2 = xzZ.y.get(Integer.valueOf(i4));
if (obj2 != null) {
i2 = i4;
} else {
Class cls = (Class) xzZ.c(15 - TextUtils.getCapsMode("", i7, i7), 5 - KeyEvent.getDeadChar(i7, i7), (char) (58134 - (ViewConfiguration.getFadingEdgeLength() >> 16)));
Class<?>[] clsArr = new Class[1];
clsArr[i7] = Integer.TYPE;
obj2 = cls.getMethod("i", clsArr);
i2 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr6[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i11++;
int i12 = $10 + 85;
$11 = i12 % 128;
if (i12 % 2 == 0) {
int i13 = 4 / 3;
}
i4 = i2;
i6 = 1;
i7 = 0;
}
iArr5 = iArr6;
}
int i14 = i7;
System.arraycopy(iArr5, i14, iArr4, i14, length2);
c4403bZM.b = i14;
while (c4403bZM.b < iArr.length) {
int i15 = $11 + 81;
$10 = i15 % 128;
int i16 = i15 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr4);
int i17 = 0;
for (int i18 = 16; i17 < i18; i18 = 16) {
c4403bZM.e ^= iArr4[i17];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 118, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1));
byte b = (byte) 3;
byte b2 = (byte) (b - 3);
Object[] objArr5 = new Object[1];
aC(b, b2, b2, objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i17++;
}
int i19 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i19;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i20 = c4403bZM.e;
int i21 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr4);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(98 - (ViewConfiguration.getPressedStateDuration() >> 16), 5 - View.getDefaultSize(0, 0), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)));
byte length4 = (byte) $$p.length;
byte b3 = (byte) (length4 - 4);
Object[] objArr7 = new Object[1];
aC(length4, b3, b3, objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.AbstractActivityC8874dYi, 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 = s + 109;
q = 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];
aA((short) (ViewConfiguration.getScrollBarFadeDuration() >> 16), 476558524 + (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)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 175, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1695039669, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_review_repayment_term_amount).substring(0, 9).length() - 63), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.to_stay_actively_in_control_of_your_money_and_more_accounts_to_display_in_scb_easy_app).substring(78, 79).length() - 1), TextUtils.indexOf("", "", 0) + 476558550, (-64) - (ViewConfiguration.getLongPressTimeout() >> 16), ImageFormat.getBitsPerPixel(0) - 1695039632, (byte) ((-16777323) - Color.rgb(0, 0, 0)), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = s + 21;
q = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), Color.argb(0, 0, 0, 0) + 5, (char) TextUtils.indexOf("", "", 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((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 486, ExpandableListView.getPackedPositionChild(0L) + 6, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
int i5 = s + 99;
q = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC8874dYi, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 37;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA((short) (ViewConfiguration.getWindowTouchSlop() >> 8), 476558525 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 98, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_select_account_disclaimer).substring(89, 90).length() - 1695039636, (byte) ((TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 54), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) (ViewConfiguration.getFadingEdgeLength() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.taking_photo_details_blurry_card).substring(30, 31).length() + 476558549, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.material_hour_suffix).substring(0, 5).codePointAt(1) - 113, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deposit_export_success_format).substring(0, 3).length() - 1695039636, (byte) ((ViewConfiguration.getJumpTapTimeout() >> 16) - 107), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 25;
s = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) ('0' - AndroidCharacter.getMirror('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 - TextUtils.getTrimmedLength(""), MotionEvent.axisFromString("") + 6, (char) (Process.myPid() >> 22))).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:14:0x008f */
/* JADX WARN: Removed duplicated region for block: B:40:0x01df */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aA(short r17, int r18, int r19, int r20, byte r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 757
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwCurrentUserEwalletActivity.aA(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC8874dYi, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA((short) (ViewConfiguration.getTouchSlop() >> 8), 476558502 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (-65) - MotionEvent.axisFromString(""), (-1695039635) - (ViewConfiguration.getEdgeSlop() >> 16), (byte) (109 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) (ViewConfiguration.getScrollBarFadeDuration() >> 16), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 476558519, (-65) - MotionEvent.axisFromString(""), Process.getGidForName("") - 1695039622, (byte) ((-42) - (ViewConfiguration.getFadingEdgeLength() >> 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) {
if (context != null) {
int i2 = s + 111;
q = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i4 = q + 123;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getFadingEdgeLength() >> 16), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (Process.myTid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA((short) Color.red(0), View.MeasureSpec.getMode(0) + 476558568, ExpandableListView.getPackedPositionChild(0L) - 63, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1695039684, (byte) (52 - Color.blue(0)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA((short) View.MeasureSpec.getMode(0), 476558615 + (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (-64) - (ViewConfiguration.getFadingEdgeLength() >> 16), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1695039632, (byte) ((-50) - View.MeasureSpec.getMode(0)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA((short) (ViewConfiguration.getScrollBarFadeDuration() >> 16), 476558680 + (ViewConfiguration.getKeyRepeatDelay() >> 16), (-64) - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (-1695039635) - TextUtils.getOffsetAfter("", 0), (byte) (95 - (KeyEvent.getMaxKeyCode() >> 16)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA((short) ((-1) - MotionEvent.axisFromString("")), 476558744 + (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.indexOf("", "", 0) - 64, ExpandableListView.getPackedPositionType(0L) - 1695039628, (byte) ((-10) - ExpandableListView.getPackedPositionChild(0L)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA((short) ((-1) - Process.getGidForName("")), 476558818 - (Process.myPid() >> 22), (ViewConfiguration.getPressedStateDuration() >> 16) - 64, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1695039676, (byte) (TextUtils.indexOf("", "", 0) + 14), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{-273692180, 333022088, 439623327, 592153533, -1570662713, -2023902253, 1739267892, 1327582268, 1695655555, -464400469, -1397794358, 1054892729, -1956870741, -1906137217, -88455623, 546171234, -26626597, -2079160697}, 36 - Color.red(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(486 - TextUtils.lastIndexOf("", '0'), TextUtils.getCapsMode("", 0, 0) + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 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 // o.AbstractActivityC8874dYi, 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 = q + 121;
s = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 == 0) {
throw null;
}
int i4 = s + 57;
q = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
}