what-the-bank/sources/com/scb/phone/view/activity/investment/redeem/FundRedeemOtpActivity.java

648 lines
38 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.investment.redeem;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
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.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.activity.investment.FundActionsSuccessActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C0865Qg;
import o.C17809ztu;
import o.InterfaceC13391fZD;
import o.InterfaceC9382dig;
import o.Nhs;
import o.OI;
import o.TVH;
import o.X;
import o.bFZ;
import o.dUN;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class FundRedeemOtpActivity extends dUN implements InterfaceC9382dig {
@InterfaceC13391fZD
public bFZ presenter;
private static final byte[] $$y = {65, 0, ISO7816.INS_CHANGE_CHV, ISOFileInfo.FMD_BYTE};
private static final int $$z = 198;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
private static int r = 1;
private static char[] b = {40017, 40112, 40118, 40116, 40143, 40139, 40113, 40086, 40105, 40142, 40111, 40088, 40126, 40143, 40118, 40115, 40139, 40140, 39993, 40045, 40020, 40044, 40056, 40180, 40177, 40164, 40183, 40164, 40177, 40162, 40140, 40127, 40189, 40189, 40172, 40127, 40161, 40164, 40190, 40179, 40161, 40191, 40172, 40161, 40172, 40160, 40179, 40165, 40145, 40093, 40248, 40242, 40252, 40253, 40208, 40178, 40191, 40221, 40248, 40225, 40231, 40230, 40229, 40248, 40249, 40229, 40251, 40228, 40224, 40225, 40224, 40231, 40237, 40231, 40250, 40218, 40221, 40248, 40249, 40251, 40227, 40228, 40251, 40236, 40228, 40243, 40221, 40196, 40248, 40251, 40229, 40251, 40251, 40252, 40243, 40251, 40229, 40251, 40197, 40198, 40229, 40248, 40216, 40198, 40230, 40250, 40218, 40218, 40251, 40228, 40224, 40250, 40243, 40221, 40220, 40210, 40190, 40196, 40249, 40249, 40229, 40253, 40243, 39955, 39972, 39992, 39992, 39992, 39953, 39993, 39973, 39994, 39992, 40001, 40040, 40012, 39995, 39992, 39994, 39994, 39972, 40012, 40042, 40040, 40047, 40003, 39972, 40001, 40001, 40002, 40007, 40005, 40047, 40007, 39999, 39999, 39992, 40000, 40046, 40040, 40002, 39992, 40007, 40005};
/* renamed from: o, reason: collision with root package name */
private static long f7481o = -7883391651916879118L;
private static int l = 452713125;
private static char k = 55973;
private static void aF(byte b2, int i, short s, Object[] objArr) {
int i2 = 115 - b2;
byte[] bArr = $$y;
int i3 = s * 4;
int i4 = i + 4;
byte[] bArr2 = new byte[1 - i3];
int i5 = 0 - i3;
int i6 = -1;
if (bArr == null) {
i2 = i5 + i2;
}
while (true) {
i6++;
bArr2[i6] = (byte) i2;
i4++;
if (i6 == i5) {
objArr[0] = new String(bArr2, 0);
return;
}
i2 += bArr[i4];
}
}
public static Intent ahu_(Context context, String str, C0865Qg c0865Qg) {
int i = 2 % 2;
Intent putExtra = new Intent(context, (Class<?>) FundRedeemOtpActivity.class).putExtra("EXTRA_REDEEM_VERIFICATION_DISPLAY", c0865Qg).putExtra("EXTRA_STATEMENT_OF_HOLDING", str);
int i2 = m + 97;
r = i2 % 128;
int i3 = i2 % 2;
return putExtra;
}
private static void aE(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i4 = $11 + 49;
$10 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 46, Color.blue(0) + 5, (char) (Process.getGidForName("") + 1))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
try {
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 352, MotionEvent.axisFromString("") + 6, (char) (52127 - ExpandableListView.getPackedPositionChild(0L)));
byte b2 = $$y[1];
byte b3 = b2;
Object[] objArr4 = new Object[1];
aF(b3, (byte) (b3 - 1), b2, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
try {
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(749 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), Color.green(0) + 5, (char) Color.argb(0, 0, 0, 0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
try {
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 402, View.getDefaultSize(0, 0) + 5, (char) (((Process.getThreadPriority(0) + 20) >> 6) + 21608));
byte b4 = $$y[1];
byte b5 = (byte) (b4 + 1);
Object[] objArr7 = new Object[1];
aF(b5, (byte) (-b5), b4, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (f7481o ^ 9051040786702654117L)) ^ ((int) (l ^ 9051040786702654117L))) ^ ((char) (k ^ 9051040786702654117L)));
nhs.a++;
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
String str = new String(cArr6);
int i6 = $11 + 121;
$10 = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
objArr[0] = str;
}
@Override // o.dUN, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 int[]{0, 18, 84, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{18, 5, 0, 0}, true, new byte[]{0, 1, 0, 0, 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) {
Object[] objArr3 = new Object[1];
aD(new int[]{23, 26, 134, 20}, true, null, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 12652), new char[]{33540, 53395, 16747, 62778, 25798, 16627, 58027, 64324, 41827, 17619, 55287, 57190, 63497, 18256, 49811, 3065, 20758, 18168}, new char[]{5868, 54888, 36586, 44081}, new char[]{12375, 39117, 20651, 61187}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_mcmc_car_registration_no_title).substring(18, 19).codePointAt(0) - 3585, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = r + 1;
m = i2 % 128;
if (i2 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 98 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i4 = m + 77;
r = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0'), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) TextUtils.getTrimmedLength(""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.error_description_open_mf_account).substring(23, 24).length() - 1), new char[]{19453, 8388, 32806, 58779, 3416, 38920, 34609, 45292, 53958, 35712, 23000, 51461, 55758, 20248, 40482, 13905, 21800, 61849, 15077, 31165, 12521, 6875, 10886, 22932, 53772, 59225, 42835, 65080, 42846, 39428, 46288, 13340, 17155, 10744, 18195, 16988, 16065, 12089, 50767, 26638, 34821, 28365, 45163, 58427, 60768, 10899, 45012, 17507}, new char[]{63989, 30892, 59973, 52297}, new char[]{12375, 39117, 20651, 61187}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 99, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), new char[]{61359, 13170, 21393, 62020, 3428, 11421, 22479, 54542, 59041, 8899, 33908, 1613, 26683, 10709, 49056, 29633, 4825, 20481, 18331, 41292, 20212, 28083, 44706, 35277, 5167, 42475, 30697, 64151, 16898, 3189, 43931, 46295, 30086, 16293, 17462, 63982, 34245, 38143, 12353, 43536, 41644, 29815, 13269, 11547, 10822, 14467, 24214, 50113, 58974, 10330, 59555, 29001, 31667, 47815, 49913, 24899, 24734, 36025, 46270, 25114, 802, 18622, 56388, 59617}, new char[]{36993, 65374, 48842, 51352}, new char[]{12375, 39117, 20651, 61187}, ((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];
aE((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), new char[]{34321, 4725, 34970, 62293, 46196, 9605, 58068, 63823, 38408, 18955, 42365, 35620, 2509, 52928, 8273, 9375, 36999, 51785, 17029, 17880, 43822, 4658, 2280, 735, 10086, 28480, 29202, 43499, 453, 61875, 57247, 46760, 58094, 950, 59782, 28988, 64822, 24841, 17819, 34990, 21074, 9831, 23988, 3816, 11021, 50234, 49853, 49799, 56928, 10221, 15308, 54222, 27624, 34210, 47226, 58099, 31464, 27595, 43558, 26889, 12249, 59847, 23576, 39518}, new char[]{24630, 63518, 14517, 14405}, new char[]{12375, 39117, 20651, 61187}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_do_not_have_mf).substring(27, 28).codePointAt(0) - 32, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{49, 74, CipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256, 0}, false, new byte[]{1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new int[]{123, 5, 0, 5}, true, new byte[]{0, 0, 0, 0, 1}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(new int[]{128, 36, 0, 30}, false, new byte[]{0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1}, 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((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 486, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (ViewConfiguration.getDoubleTapTimeout() >> 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
this.presenter.e((bFZ) this);
bFZ bfz = this.presenter;
String stringExtra = getIntent().getStringExtra("EXTRA_STATEMENT_OF_HOLDING");
C0865Qg c0865Qg = (C0865Qg) getIntent().getParcelableExtra("EXTRA_REDEEM_VERIFICATION_DISPLAY");
bfz.b = stringExtra;
bfz.e = c0865Qg;
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void a_(String str, String str2) {
int i = 2 % 2;
bFZ bfz = this.presenter;
if (bfz.f != 0) {
int i2 = r + 33;
m = i2 % 128;
int i3 = i2 % 2;
bfz.f.y();
int i4 = r + 37;
m = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 2 / 4;
}
}
X x = new X();
x.d = bfz.b;
x.c = bfz.e.g;
bfz.d.c(x, str, str2);
C17809ztu c17809ztu = bfz.d;
c17809ztu.d(c17809ztu.i, new bFZ.Sts(bfz, (byte) 0));
}
@Override // o.InterfaceC9382dig
public final void c(OI oi) {
int i = 2 % 2;
Intent intent = new Intent(this, (Class<?>) FundActionsSuccessActivity.class);
intent.putExtra("com.scb.phone.ARGS_SUCCESS_DATA", oi);
startActivity(intent);
int i2 = r + 11;
m = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.dUN, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 + 11;
m = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = m + 43;
r = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aD(new int[]{23, 26, 134, 20}, true, null, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 12640), new char[]{33540, 53395, 16747, 62778, 25798, 16627, 58027, 64324, 41827, 17619, 55287, 57190, 63497, 18256, 49811, 3065, 20758, 18168}, new char[]{5868, 54888, 36586, 44081}, new char[]{12375, 39117, 20651, 61187}, ((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) {
int i6 = r + 107;
m = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
int i8 = m + 123;
r = i8 % 128;
int i9 = i8 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(540 - AndroidCharacter.getMirror('0'), 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - Gravity.getAbsoluteGravity(0, 0), 5 - KeyEvent.getDeadChar(0, 0), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i10 = m + 67;
r = i10 % 128;
int i11 = i10 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aD(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2;
char[] cArr;
int i3;
int i4 = 2;
int i5 = 2 % 2;
TVH tvh = new TVH();
char c = 0;
int i6 = iArr[0];
int i7 = iArr[1];
int i8 = iArr[2];
int i9 = iArr[3];
char[] cArr2 = b;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i10 = 0;
while (i10 < length) {
int i11 = $11 + 1;
$10 = i11 % 128;
if (i11 % i4 != 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[c] = Integer.valueOf(cArr2[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
i3 = length;
} else {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 223, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (41977 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b2 = $$y[1];
i3 = length;
Object[] objArr3 = new Object[1];
aF((byte) 44, (byte) (b2 - 1), b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
i3 = length;
Object[] objArr4 = {Integer.valueOf(cArr2[i10])};
Object obj2 = xzZ.y.get(1645349359);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 223, 5 - Drawable.resolveOpacity(0, 0), (char) (41976 - TextUtils.indexOf((CharSequence) "", '0', 0)));
byte b3 = $$y[1];
Object[] objArr5 = new Object[1];
aF((byte) 44, (byte) (b3 - 1), b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(1645349359, obj2);
}
cArr3[i10] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i10++;
}
length = i3;
i4 = 2;
c = 0;
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i7];
System.arraycopy(cArr2, i6, cArr4, 0, i7);
if (bArr != null) {
char[] cArr5 = new char[i7];
tvh.c = 0;
char c2 = 0;
while (tvh.c < i7) {
if (bArr[tvh.c] == 1) {
int i12 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Color.green(0) + 502, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (53 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr5[i12] = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
} else {
int i13 = tvh.c;
try {
Object[] objArr7 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 14, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 58133))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr5[i13] = ((Character) ((Method) obj4).invoke(null, objArr7)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
c2 = cArr5[tvh.c];
Object[] objArr8 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(402 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), Gravity.getAbsoluteGravity(0, 0) + 5, (char) (21607 - TextUtils.indexOf((CharSequence) "", '0')));
byte b4 = $$y[1];
Object[] objArr9 = new Object[1];
aF((byte) 42, (byte) (b4 - 1), b4, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
cArr4 = cArr5;
}
if (i9 > 0) {
char[] cArr6 = new char[i7];
System.arraycopy(cArr4, 0, cArr6, 0, i7);
int i14 = i7 - i9;
System.arraycopy(cArr6, 0, cArr4, i14, i9);
System.arraycopy(cArr6, i9, cArr4, 0, i14);
}
if (z) {
int i15 = $10 + 37;
$11 = i15 % 128;
if (i15 % 2 == 0) {
cArr = new char[i7];
i2 = 0;
} else {
i2 = 0;
cArr = new char[i7];
}
while (true) {
tvh.c = i2;
if (tvh.c >= i7) {
break;
}
int i16 = $11 + 23;
$10 = i16 % 128;
int i17 = i16 % 2;
cArr[tvh.c] = cArr4[(i7 - tvh.c) - 1];
i2 = tvh.c + 1;
}
int i18 = $11 + 89;
$10 = i18 % 128;
i = 2;
int i19 = i18 % 2;
cArr4 = cArr;
} else {
i = 2;
}
if (i8 > 0) {
int i20 = $10 + 61;
$11 = i20 % 128;
int i21 = i20 % i;
int i22 = 0;
while (true) {
tvh.c = i22;
if (tvh.c >= i7) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[i]);
i22 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
/* JADX WARN: Code restructure failed: missing block: B:27:0x0021, code lost:
r1 = com.scb.phone.view.activity.investment.redeem.FundRedeemOtpActivity.r + 53;
com.scb.phone.view.activity.investment.redeem.FundRedeemOtpActivity.m = r1 % 128;
r1 = r1 % 2;
r5 = new java.lang.Object[1];
aD(new int[]{23, 26, 134, 20}, true, null, r5);
r1 = java.lang.Class.forName((java.lang.String) r5[0]);
r10 = (java.lang.Object[]) null;
r5 = new java.lang.Object[1];
aE((char) ((android.view.ViewConfiguration.getWindowTouchSlop() >> 8) + 12686), new char[]{33540, 53395, 16747, 62778, 25798, 16627, 58027, 64324, 41827, 17619, 55287, 57190, 63497, 18256, 49811, 3065, 20758, 18168}, new char[]{5868, 54888, 36586, 44081}, new char[]{12375, 39117, 20651, 61187}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, r5);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r5[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@Override // o.dUN, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onPause() {
/*
Method dump skipped, instructions count: 360
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.redeem.FundRedeemOtpActivity.onPause():void");
}
@Override // o.dUN, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = m + 35;
r = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 84, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{18, 5, 0, 0}, true, new byte[]{0, 1, 0, 0, 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) {
if (context != null) {
int i4 = r + 19;
m = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), Color.argb(0, 0, 0, 0) + 5, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE((char) ExpandableListView.getPackedPositionType(0L), new char[]{19453, 8388, 32806, 58779, 3416, 38920, 34609, 45292, 53958, 35712, 23000, 51461, 55758, 20248, 40482, 13905, 21800, 61849, 15077, 31165, 12521, 6875, 10886, 22932, 53772, 59225, 42835, 65080, 42846, 39428, 46288, 13340, 17155, 10744, 18195, 16988, 16065, 12089, 50767, 26638, 34821, 28365, 45163, 58427, 60768, 10899, 45012, 17507}, new char[]{63989, 30892, 59973, 52297}, new char[]{12375, 39117, 20651, 61187}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE((char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1), new char[]{61359, 13170, 21393, 62020, 3428, 11421, 22479, 54542, 59041, 8899, 33908, 1613, 26683, 10709, 49056, 29633, 4825, 20481, 18331, 41292, 20212, 28083, 44706, 35277, 5167, 42475, 30697, 64151, 16898, 3189, 43931, 46295, 30086, 16293, 17462, 63982, 34245, 38143, 12353, 43536, 41644, 29815, 13269, 11547, 10822, 14467, 24214, 50113, 58974, 10330, 59555, 29001, 31667, 47815, 49913, 24899, 24734, 36025, 46270, 25114, 802, 18622, 56388, 59617}, new char[]{36993, 65374, 48842, 51352}, new char[]{12375, 39117, 20651, 61187}, TextUtils.getOffsetBefore("", 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE((char) KeyEvent.keyCodeFromString(""), new char[]{34321, 4725, 34970, 62293, 46196, 9605, 58068, 63823, 38408, 18955, 42365, 35620, 2509, 52928, 8273, 9375, 36999, 51785, 17029, 17880, 43822, 4658, 2280, 735, 10086, 28480, 29202, 43499, 453, 61875, 57247, 46760, 58094, 950, 59782, 28988, 64822, 24841, 17819, 34990, 21074, 9831, 23988, 3816, 11021, 50234, 49853, 49799, 56928, 10221, 15308, 54222, 27624, 34210, 47226, 58099, 31464, 27595, 43558, 26889, 12249, 59847, 23576, 39518}, new char[]{24630, 63518, 14517, 14405}, new char[]{12375, 39117, 20651, 61187}, ViewConfiguration.getJumpTapTimeout() >> 16, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new int[]{49, 74, CipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256, 0}, false, new byte[]{1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new int[]{123, 5, 0, 5}, true, new byte[]{0, 0, 0, 0, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{128, 36, 0, 30}, false, new byte[]{0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1}, 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(488 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (TextUtils.indexOf((CharSequence) "", '0', 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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.dUN, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 = m + 35;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = r + 7;
m = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
}