what-the-bank/sources/com/scb/phone/view/activity/chequemanagement/activatecheque/ActivateChequeReviewActivit...

493 lines
37 KiB
Java

package com.scb.phone.view.activity.chequemanagement.activatecheque;
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.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.AbstractActivityC10196dyH;
import o.C1189Xo;
import o.C16500oqI;
import o.C3449axk;
import o.GuL;
import o.InterfaceC13391fZD;
import o.cYE;
import o.dBO;
import o.xzZ;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public class ActivateChequeReviewActivity extends AbstractActivityC10196dyH implements cYE.HBt {
private static short[] s;
@InterfaceC13391fZD
public C3449axk presenter;
private static final byte[] $$y = {59, 92, ISOFileInfo.FCI_BYTE, -78};
private static final int $$z = 32;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int r = 1;
private static long b = -112132969233766071L;
private static int m = -300673181;
/* renamed from: o, reason: collision with root package name */
private static int f6730o = 1406017129;
private static int k = 1534059441;
private static byte[] l = {3, 58, ISO7816.INS_APPEND_RECORD, ISO7816.INS_INCREASE, 29, Ascii.DC4, -19, Ascii.SUB, 12, -11, Ascii.US, 5, -19, 7, -17, 3, ISO7816.INS_INCREASE, 13, ISO7816.INS_UPDATE_BINARY, 16, 1, 45, ISO7816.INS_PUT_DATA, Ascii.NAK, -22, Ascii.ETB, 6, -18, 7, -71, -90, -73, -43, -66, -78, -65, PSSSigner.TRAILER_IMPLICIT, -72, -55, ISOFileInfo.FCI_BYTE, -90, -93, -75, -72, -65, -86, ISO7816.INS_MANAGE_CHANNEL, ISO7816.INS_UPDATE_BINARY, 126, -47, ISOFileInfo.FCI_EXT, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, 115, ISOFileInfo.FILE_IDENTIFIER, -122, Byte.MIN_VALUE, -34, -102, ISOFileInfo.SECURITY_ATTR_COMPACT, -113, ISOFileInfo.FILE_IDENTIFIER, 118, -44, 121, -47, 125, ISO7816.INS_UPDATE_BINARY, 115, ISO7816.INS_UPDATE_BINARY, 123, ISO7816.INS_UPDATE_BINARY, -126, -124, -119, Byte.MIN_VALUE, 114, -43, ISOFileInfo.CHANNEL_SECURITY, 114, ISO7816.INS_WRITE_BINARY, 125, ISO7816.INS_WRITE_BINARY, -102, 120, -126, -124, ISOFileInfo.SECURITY_ATTR_COMPACT, -45, 114, -47, -122, -119, ISO7816.INS_READ_RECORD2, -72, ISOFileInfo.A5, ISOFileInfo.FILE_IDENTIFIER, -83, -56, ISO7816.INS_READ_BINARY2, 118, -5, 119, -67, ISOFileInfo.A0, ISO7816.INS_READ_BINARY, -75, -71, -12, 120, -75, -93, -52, 124, ISO7816.INS_READ_BINARY, -90, -55, 101, -113, -83, -122, -66, ISO7816.INS_READ_BINARY, -93, ISOFileInfo.SECURITY_ATTR_COMPACT, -83, -122, ISOFileInfo.A0, -11, 116, -67, -84, ISO7816.INS_READ_BINARY, ISOFileInfo.FILE_IDENTIFIER, -81, ISO7816.INS_READ_RECORD_STAMPED, -113, -92, ISOFileInfo.CHANNEL_SECURITY, -8, Ascii.DEL, ISO7816.INS_READ_BINARY2, ISOFileInfo.A1, ISO7816.INS_READ_RECORD2, -120, -89, ISOFileInfo.LCS_BYTE, -72, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.A1, ISOFileInfo.LCS_BYTE, -78, ISO7816.INS_READ_BINARY, -90, -120, -90, ISOFileInfo.LCS_BYTE, -120, -2, -78, -119, 123, -65, ISO7816.INS_READ_RECORD_STAMPED, -78, -90, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Type inference failed for: r6v2, types: [int] */
/* JADX WARN: Type inference failed for: r6v3 */
/* JADX WARN: Type inference failed for: r6v4, types: [int] */
/* JADX WARN: Type inference failed for: r6v5, types: [int] */
/* JADX WARN: Type inference failed for: r7v1, types: [int] */
/* JADX WARN: Type inference failed for: r7v4, types: [int] */
/* 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 aF(byte r5, byte r6, byte r7, java.lang.Object[] r8) {
/*
int r7 = 121 - r7
byte[] r0 = com.scb.phone.view.activity.chequemanagement.activatecheque.ActivateChequeReviewActivity.$$y
int r5 = r5 * 4
int r1 = r5 + 1
int r6 = r6 * 4
int r6 = 4 - r6
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L15
r4 = r7
r3 = r2
r7 = r6
goto L27
L15:
r3 = r2
L16:
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r5) goto L23
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L23:
r4 = r0[r6]
int r3 = r3 + 1
L27:
int r6 = r6 + 1
int r7 = r7 + r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.chequemanagement.activatecheque.ActivateChequeReviewActivity.aF(byte, byte, byte, java.lang.Object[]):void");
}
private static void aD(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(b ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (guL.a < a.length) {
int i3 = $10 + 3;
$11 = i3 % 128;
int i4 = i3 % 2;
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(b)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 208, View.getDefaultSize(0, 0) + 5, (char) (1706 - View.MeasureSpec.getSize(0)));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aF(b2, b3, (byte) (b3 + 2), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Color.alpha(0) + 392, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aF(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $10 + 57;
$11 = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 4 % 3;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
@Override // o.AbstractActivityC10196dyH, com.scb.phone.view.activity.chequemanagement.ChequeReviewActivity, o.AbstractActivityC10238dyx, 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[] objArr = new Object[1];
aD(new char[]{31959, 31926, 57769, 4305, 15663, 57191, 27042, 47762, 47328, 42454, 31111, 65046, 62472, 26980, 46485, 12800, 12717, 11936, 61488, 18829, 28100, 4820}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE((short) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 28), 1109784170 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_error_merchant).substring(27, 28).codePointAt(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_decline_ncb_result_description_cdx).substring(0, 158).length() - 277, (-144833951) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.marker_address).substring(0, 20).length() - 20), 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 = t + 41;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aE((short) (ExpandableListView.getPackedPositionType(0L) - 5), 1109784206 - View.MeasureSpec.makeMeasureSpec(0, 0), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 99, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_product_method).substring(0, 13).length() - 144833872, (byte) (ViewConfiguration.getScrollBarFadeDuration() >> 16), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 49), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.juristic_request_form_eligibility_info_description_3).substring(0, 3).length() + 1109784228, (-107) - TextUtils.lastIndexOf("", '0', 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 144833870, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_set_detail_concent_contactual_acknowledge).substring(CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA, CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA).length() - 1), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = t + 109;
r = i4 % 128;
if (i4 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 71 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - TextUtils.indexOf("", "", 0, 0), (char) (Process.getGidForName("") + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) + 7), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_coupon_review_time_warning).substring(6, 8).codePointAt(1) + 1109784138, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 89, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 144833920, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new char[]{9880, 9981, 40505, 28493, 24123, 48161, 53152, 7303, 58102, 55873, 6801, 22531, 44621, 5822, 54991, 37988, 27554, 20837, 37666, 61403, 14286, 27919, 20380, 11056, 62275, 43445, 2980, 26478, 48315, 58461, 49197, 41617, 30914, 8202, 64645, 65074, 1135, 31916, 47352, 14787, 49589, 46939, 29959, 30104, 36318, 62377, 12764, 45348, 18789, 4002, 60899, 36040, 4828, 19011, 43531, 51445, 56963, 34555, 26288, 1144, 39536, 49864, 8940, 24458, 42886, 7441, 57108, 39855}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new char[]{58090, 57995, 48372, 19930, 15631, 57107, 30700, 42141, 9939, 63623, 31218, 57363, 27240, 13349, 46588, 11387, 44928, 29680, 61463, 22430, 62443, 20430, 11513, 37758, 14179, 35620, 26816, 57124, 30873, 50884, 41801, 6875, 48314, 658, 40894, 17954, 49182, 24174, 56222, 33243, 1479, 38342, 5734, 52615, 18863, 53612, 21178, 2413, 36164, 11623, 36561, 13443, 54952, 26761, 51565, 28854, 6820, 42093, 1415, 48176, 24074, 57437, 16777, 59295, 25591, 16348, 48164, 9137}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.greater_than_fullpay_message).substring(11, 12).length() + 88), TextUtils.indexOf("", "", 0, 0) + 1109784295, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 84, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.preregistration_pin_body_bulk).substring(43, 44).length() - 144833853, (byte) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new char[]{49940, 49965, 43914, 23218, 64324, 6480, 9385, 63429, 1916}, ImageFormat.getBitsPerPixel(0) + 1, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(new char[]{20641, 20676, 36978, 24837, 25595, 33253, 20491, 33661, 38045, 54354, 10069, 51105, 55356, 6389, 60169, 2972, 7627, 24374, 44773, 28787, 16880, 25410, 29252, 46280, 34171, 42926, 13922, 63708, 51843, 59968, 65003, 15672, 3838, 11806, 49426, 24980, 29269, 29414, 34104, 42604}, View.combineMeasuredStates(0, 0), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - ImageFormat.getBitsPerPixel(0), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
this.presenter.e((C3449axk) this);
}
@Override // com.scb.phone.view.activity.chequemanagement.ChequeReviewActivity
public final void d(C1189Xo c1189Xo) {
int i = 2 % 2;
int i2 = r + 21;
t = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
boolean z = this.presenter.d;
obj.hashCode();
throw null;
}
C3449axk c3449axk = this.presenter;
if (!c3449axk.d) {
c3449axk.d = true;
if (c3449axk.f != 0) {
int i3 = r + 19;
t = i3 % 128;
if (i3 % 2 != 0) {
c3449axk.f.y();
throw null;
}
c3449axk.f.y();
}
dBO e = dBO.e();
e.e = c1189Xo.a();
c3449axk.a.b(e);
C16500oqI c16500oqI = c3449axk.a;
c16500oqI.d(c16500oqI.i, new C3449axk.HBt(c3449axk, c1189Xo));
int i4 = r + 43;
t = i4 % 128;
int i5 = i4 % 2;
}
int i6 = t + 125;
r = i6 % 128;
int i7 = i6 % 2;
}
@Override // o.AbstractActivityC10196dyH, com.scb.phone.view.activity.chequemanagement.ChequeReviewActivity, o.AbstractActivityC10238dyx, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = r + 101;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = t + 41;
r = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_purchase_bond_dlt_popup_message).substring(67, 68).length() - 6), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1109784172, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 132, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 144833872, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.marker_title).substring(4, 18).length() - 14), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE((short) (View.resolveSize(0, 0) + 83), 1109784197 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.slip_qr_code_transfer_header).substring(42, 43).codePointAt(0) - 138, (-144833889) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.onboarding_success_scbs_will_send).substring(0, 5).codePointAt(4), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = t + 15;
r = i6 % 128;
try {
if (i6 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 492, 4 - MotionEvent.axisFromString(""), (char) (Process.myTid() >> 22))).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((ViewConfiguration.getKeyRepeatDelay() >> 16) + 487, TextUtils.lastIndexOf("", '0', 0) + 6, (char) TextUtils.indexOf("", ""))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 493, ((Process.getThreadPriority(0) + 20) >> 6) + 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, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 487, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC10196dyH, com.scb.phone.view.activity.chequemanagement.ChequeReviewActivity, o.AbstractActivityC10238dyx, 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 = r + 95;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 116), 1109784206 - KeyEvent.normalizeMetaState(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.scbs_account_detail_screen_empty_state).substring(45, 46).codePointAt(0) - 130, (-144833859) - ((Process.getThreadPriority(0) + 20) >> 6), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 49), 1109784197 + ((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().getPackageName().length() - 119, (-144833857) - (Process.myPid() >> 22), (byte) (ViewConfiguration.getScrollBarSize() >> 8), 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 + 1;
r = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) View.getDefaultSize(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 - (ViewConfiguration.getPressedStateDuration() >> 16), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) KeyEvent.keyCodeFromString(""))).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:45:0x023c */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aE(short r16, int r17, int r18, int r19, byte r20, java.lang.Object[] r21) {
/*
Method dump skipped, instructions count: 872
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.chequemanagement.activatecheque.ActivateChequeReviewActivity.aE(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC10196dyH, com.scb.phone.view.activity.chequemanagement.ChequeReviewActivity, o.AbstractActivityC10238dyx, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new char[]{31959, 31926, 57769, 4305, 15663, 57191, 27042, 47762, 47328, 42454, 31111, 65046, 62472, 26980, 46485, 12800, 12717, 11936, 61488, 18829, 28100, 4820}, TextUtils.indexOf("", ""), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE((short) ((-28) - TextUtils.indexOf((CharSequence) "", '0', 0)), AndroidCharacter.getMirror('0') + 63066, (-119) - (ViewConfiguration.getEdgeSlop() >> 16), View.MeasureSpec.getMode(0) - 144833847, (byte) (TextUtils.lastIndexOf("", '0') + 1), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = r + 19;
t = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i4 = r + 125;
t = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
int i6 = t + 51;
r = i6 % 128;
int i7 = i6 % 2;
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.alpha(0) + 492, 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE((short) ((KeyEvent.getMaxKeyCode() >> 16) + 106), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 1109784248, (-77) - TextUtils.lastIndexOf("", '0', 0), (-144833907) - Drawable.resolveOpacity(0, 0), (byte) (ViewConfiguration.getPressedStateDuration() >> 16), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD(new char[]{9880, 9981, 40505, 28493, 24123, 48161, 53152, 7303, 58102, 55873, 6801, 22531, 44621, 5822, 54991, 37988, 27554, 20837, 37666, 61403, 14286, 27919, 20380, 11056, 62275, 43445, 2980, 26478, 48315, 58461, 49197, 41617, 30914, 8202, 64645, 65074, 1135, 31916, 47352, 14787, 49589, 46939, 29959, 30104, 36318, 62377, 12764, 45348, 18789, 4002, 60899, 36040, 4828, 19011, 43531, 51445, 56963, 34555, 26288, 1144, 39536, 49864, 8940, 24458, 42886, 7441, 57108, 39855}, ViewConfiguration.getScrollDefaultDelay() >> 16, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new char[]{58090, 57995, 48372, 19930, 15631, 57107, 30700, 42141, 9939, 63623, 31218, 57363, 27240, 13349, 46588, 11387, 44928, 29680, 61463, 22430, 62443, 20430, 11513, 37758, 14179, 35620, 26816, 57124, 30873, 50884, 41801, 6875, 48314, 658, 40894, 17954, 49182, 24174, 56222, 33243, 1479, 38342, 5734, 52615, 18863, 53612, 21178, 2413, 36164, 11623, 36561, 13443, 54952, 26761, 51565, 28854, 6820, 42093, 1415, 48176, 24074, 57437, 16777, 59295, 25591, 16348, 48164, 9137}, (-1) - ExpandableListView.getPackedPositionChild(0L), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE((short) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 88), 1109784295 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 51, Color.alpha(0) - 144833852, (byte) (ViewConfiguration.getPressedStateDuration() >> 16), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new char[]{49940, 49965, 43914, 23218, 64324, 6480, 9385, 63429, 1916}, TextUtils.indexOf("", "", 0, 0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new char[]{20641, 20676, 36978, 24837, 25595, 33253, 20491, 33661, 38045, 54354, 10069, 51105, 55356, 6389, 60169, 2972, 7627, 24374, 44773, 28787, 16880, 25410, 29252, 46280, 34171, 42926, 13922, 63708, 51843, 59968, 65003, 15672, 3838, 11806, 49426, 24980, 29269, 29414, 34104, 42604}, View.resolveSize(0, 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(View.MeasureSpec.makeMeasureSpec(0, 0) + 487, KeyEvent.keyCodeFromString("") + 5, (char) View.combineMeasuredStates(0, 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);
int i8 = r + 13;
t = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // o.AbstractActivityC10196dyH, com.scb.phone.view.activity.chequemanagement.ChequeReviewActivity, o.AbstractActivityC10238dyx, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = r + 33;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}