what-the-bank/sources/com/scb/phone/view/activity/debitatm/AddAccountOtpActivity.java

688 lines
44 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.debitatm;
import android.content.Context;
import android.content.Intent;
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.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.androidadvance.topsnackbar.TSnackbar;
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.BaseActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC8084dAm;
import o.C12914fKz;
import o.EnumC8951daY;
import o.InterfaceC13391fZD;
import o.InterfaceC9094ddI;
import o.Nhs;
import o.UJ;
import o.aBW;
import o.dQY;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public class AddAccountOtpActivity extends AbstractActivityC8084dAm implements InterfaceC9094ddI.Sts {
@InterfaceC13391fZD
public aBW addAccountOtpPresenter;
private static final byte[] $$y = {40, 9, -20, ISOFileInfo.AB};
private static final int $$z = 26;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int t = 1;
private static char[] b = {36787, 30185, 31516, 24927, 26345, 27666, 21064, 22447, 23829, 17244, 18606, 20005, 13404, 14828, 16151, 9548, 10993, 4100, 36799, 30206, 31533, 24900, 26338, 40252, 26470, 27027, 29648, 29798, 32413, 16583, 17696, 20372, 20944, 23167, 23764, 9952, 11119, 11663, 14287, 14459, 657, 1235, 2411, 5037, 5580, 7777, 57499, 60100, 61300, 36835, 30128, 31564, 24911, 26293, 27672, 21066, 22496, 23832, 17174, 18610, 19988, 13341, 14817, 16199, 9489, 10976, 4164, 5658, 7077, 325, 1823, 3325, 62024, 63564, 64937, 58131, 59664, 61181, 54346, 55872, 57256, 50499, 51986, 45216, 46716, 48192, 41470, 42798, 44355, 37544, 39035, 40473, 33696, 35117, 36635, 29937, 31357, 11204, 53654, 57149, 50491, 49859, 51306, 63083, 62411, 63852, 59241, 60609, 59952, 36975, 40390, 39728, 33131, 36551, 46128, 45674, 49116, 42342, 41838, 43150, 22070, 23658, 23002, 18227, 19765, 19167, 28729, 32359, 31698, 24886, 28515, 5342, 4703, 6240, 1488, 861, 2352, 14047, 15454, 14898, 10192, 11528, 11105, 53457, 56920, 50229, 49628, 53085, 62841, 62086, 63488, 59002, 58240, 59649, 38703, 40146, 39438, 32891, 36226, 35670, 45359, 48887, 17659, 18956, 20570, 22435, 23820, 25357, 26272, 27660, 29266, 31223, 32596, 1288, 2291, 3584, 5205, 7079, 8529, 9994, 10985, 12291, 13919, 15855, 49927, 51469, 52451, 53842, 55300, 57314, 58625, 60249, 61113, 62466, 64001, 33213, 34620, 36183, 37101, 38457, 40020, 41963, 43323, 44881, 45794, 47212, 48644, 17894, 19304, 20740, 21686, 23102, 24641, 26596, 27958, 29512, 30387, 31806, 538, 2482, 3936, 5455, 6383, 7779, 9290, 1988, 64909, 62322, 59683, 61067, 58431, 55933, 57296, 54647, 52024, 49311, 50790, 48179, 45458, 46951, 44346, 41625, 39035, 40501, 37770, 35177, 36665, 33920, 31342, 28730, 30090, 27424, 24879, 26248, 23679, 21055, 22406, 19832, 17210, 14471, 15936, 13356, 10699, 12117, 9514, 6789, 4163, 5690, 2968, 321, 1832, 64651, 62021, 59449, 60871, 58197, 55596, 56965, 54298, 51747, 53151, 50525, 47982, 45191, 46677, 44071, 41352, 42825, 40243, 37571, 34895, 36468, 33724, 31069, 32563, 29943, 27217, 24624, 26082, 36843, 30121, 31552, 24835, 26294};
/* renamed from: o, reason: collision with root package name */
private static long f6766o = 7715613980053632391L;
private static long l = 9051040786702654117L;
private static int m = 452713125;
private static char k = 54730;
private static void aF(int i, short s2, int i2, Object[] objArr) {
int i3 = s2 + 4;
byte[] bArr = $$y;
int i4 = i + 98;
int i5 = i2 * 3;
byte[] bArr2 = new byte[1 - i5];
int i6 = 0 - i5;
int i7 = -1;
if (bArr == null) {
i4 = i6 + i4;
}
while (true) {
i7++;
bArr2[i7] = (byte) i4;
i3++;
if (i7 == i6) {
objArr[0] = new String(bArr2, 0);
return;
}
i4 += bArr[i3];
}
}
public static Intent aaP_(Context context, boolean z) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) AddAccountOtpActivity.class);
intent.putExtra("com.scb.phone.EXTRA_CONSENT_FLAG", z);
int i2 = s + 109;
t = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 65 / 0;
}
return intent;
}
@Override // o.AbstractActivityC8084dAm, 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(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 18, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.min_max_transfer_declaration).substring(16, 17).length() - 1), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_mcmc_feature_information_increase_loan_limit).substring(23, 24).length() - 1), 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 + 45;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aD((ViewConfiguration.getPressedStateDuration() >> 16) + 23, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_cvc_desc).substring(24, 25).length() + 25, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 4738), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE((char) (15707 - ExpandableListView.getPackedPositionGroup(0L)), new char[]{9981, 45197, 24852, 54884, 44790, 16668, 56717, 60347, 57080, 38826, 31488, 24009, 25613, 29998, 50749, 1571, 33551, 24426}, new char[]{24933, 60306, 23500, 39229}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 109, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 55;
t = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = s + 5;
t = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 493, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (TextUtils.lastIndexOf("", '0') + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 15, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.FaceTec_camera_permission_message_auth).substring(34, 35).codePointAt(0) + 16, (char) TextUtils.indexOf("", ""), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 63, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.check_eligibility_resume_dialog_text).substring(17, 18).length() + 63, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 42100), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_airtime_dialog_description).substring(84, 85).codePointAt(0) + 129, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_facial_recognition_description).substring(18, 20).codePointAt(0) + 30, (char) (12612 - TextUtils.indexOf("", "", 0)), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_manage_device).substring(36, 37).codePointAt(0) + CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 40, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 34908), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(299 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), new char[]{49114, 30036, 22498, 8620, 37596, 40976, 42770, 10306, 15365, 19414, 18433, 59061, 24286, 17308, 24773, 56857, 39144, 40169, 41171, 61156, 22391, 54808, 38360, 13500, 30969, 13084, 56811, 9713, 36759, 29290, 17065, 3657, 55317, 45965, 34357, 35342}, new char[]{11663, 48876, 36067, 51857}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_tutorial_just_for_you_title).substring(0, 32).length() - 32, 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(((byte) KeyEvent.getModifierMetaStateMask()) + 488, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) Drawable.resolveOpacity(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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
this.addAccountOtpPresenter.e((aBW) this);
this.addAccountOtpPresenter.d();
}
private static void aD(int i, int i2, char c, Object[] objArr) {
int i3 = 2;
int i4 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i5 = $10 + 57;
$11 = i5 % 128;
if (i5 % i3 == 0) {
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(b[i / dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + 308, (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) (TextUtils.getCapsMode("", 0, 0) + 32797));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
aF(b2, b3, (byte) (b3 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(f6766o), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 412, 5 - View.resolveSizeAndState(0, 0, 0), (char) TextUtils.getOffsetBefore("", 0));
byte b4 = (byte) 1;
byte b5 = (byte) (-b4);
Object[] objArr5 = new Object[1];
aF(b4, b5, (byte) (b5 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 406, ExpandableListView.getPackedPositionChild(0L) + 6, (char) (ExpandableListView.getPackedPositionGroup(0L) + 29234));
byte b6 = (byte) (-1);
Object[] objArr7 = new Object[1];
aF((byte) ($$z & 44), b6, (byte) (b6 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i7 = dqy.a;
try {
Object[] objArr8 = {Integer.valueOf(b[i + dqy.a])};
Object obj4 = xzZ.y.get(1095064095);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(Color.alpha(0) + 308, 5 - Color.alpha(0), (char) ((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 32797));
byte b7 = (byte) 0;
byte b8 = (byte) (b7 - 1);
Object[] objArr9 = new Object[1];
aF(b7, b8, (byte) (b8 + 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE);
xzZ.y.put(1095064095, obj4);
}
Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(f6766o), Integer.valueOf(c)};
Object obj5 = xzZ.y.get(-548438098);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 412, TextUtils.indexOf("", "", 0, 0) + 5, (char) View.combineMeasuredStates(0, 0));
byte b9 = (byte) 1;
byte b10 = (byte) (-b9);
Object[] objArr11 = new Object[1];
aF(b9, b10, (byte) (b10 + 1), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj5);
}
jArr[i7] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue();
Object[] objArr12 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 == null) {
Class cls6 = (Class) xzZ.c(407 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (29233 - ImageFormat.getBitsPerPixel(0)));
byte b11 = (byte) (-1);
Object[] objArr13 = new Object[1];
aF((byte) ($$z & 44), b11, (byte) (b11 + 1), objArr13);
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr12);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
i3 = 2;
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i8 = $11 + 67;
$10 = i8 % 128;
int i9 = i8 % 2;
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr14 = {dqy, dqy};
Object obj7 = xzZ.y.get(1071125919);
if (obj7 == null) {
Class cls7 = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 407, MotionEvent.axisFromString("") + 6, (char) (29235 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))));
byte b12 = (byte) (-1);
Object[] objArr15 = new Object[1];
aF((byte) ($$z & 44), b12, (byte) (b12 + 1), objArr15);
obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj7);
}
((Method) obj7).invoke(null, objArr14);
}
objArr[0] = new String(cArr);
}
/* JADX WARN: Code restructure failed: missing block: B:13:0x001b, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if (getIntent() != null) goto L9;
*/
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void a_(java.lang.String r6, java.lang.String r7) {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.debitatm.AddAccountOtpActivity.s
int r1 = r1 + 31
int r2 = r1 % 128
com.scb.phone.view.activity.debitatm.AddAccountOtpActivity.t = r2
int r1 = r1 % r0
r2 = 1
r3 = 0
if (r1 != 0) goto L17
android.content.Intent r1 = r5.getIntent()
if (r1 == 0) goto L34
goto L1d
L17:
android.content.Intent r1 = r5.getIntent()
if (r1 == 0) goto L33
L1d:
android.content.Intent r1 = r5.getIntent()
java.lang.String r4 = "com.scb.phone.EXTRA_CONSENT_FLAG"
boolean r1 = r1.getBooleanExtra(r4, r3)
if (r1 == 0) goto L33
int r1 = com.scb.phone.view.activity.debitatm.AddAccountOtpActivity.s
int r1 = r1 + 69
int r3 = r1 % 128
com.scb.phone.view.activity.debitatm.AddAccountOtpActivity.t = r3
int r1 = r1 % r0
goto L34
L33:
r2 = r3
L34:
o.aBW r0 = r5.addAccountOtpPresenter
r0.d(r2, r6, r7)
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.debitatm.AddAccountOtpActivity.a_(java.lang.String, java.lang.String):void");
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object d(Object[] objArr) {
AddAccountOtpActivity addAccountOtpActivity = (AddAccountOtpActivity) objArr[0];
String str = (String) objArr[1];
int i = 2 % 2;
int i2 = s + 53;
t = i2 % 128;
int i3 = i2 % 2;
addAccountOtpActivity.Xb_(addAccountOtpActivity, R.id.root_activity, str, EnumC8951daY.ERROR);
int i4 = s + 7;
t = i4 % 128;
Object obj = null;
if (i4 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9094ddI.Sts
public final void a(UJ uj) {
int i = 2 % 2;
Intent intent = new Intent();
intent.putExtra("UNREGISTER_ACCOUNT_LIST", uj);
setResult(-1, intent);
finish();
int i2 = s + 1;
t = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC9094ddI.Sts
public final void a(String str) {
int i = 2 % 2;
TSnackbar.RVV rvv = new TSnackbar.RVV(this) { // from class: com.scb.phone.view.activity.debitatm.AddAccountOtpActivity.4
private AddAccountOtpActivity b;
{
this.b = this;
}
@Override // com.androidadvance.topsnackbar.TSnackbar.RVV
public final void e(TSnackbar tSnackbar, int i2) {
super.e(tSnackbar, i2);
this.b.setResult(0, new Intent());
this.b.finish();
}
};
if (((BaseActivity) this).c) {
int i2 = s + 81;
t = i2 % 128;
if (i2 % 2 != 0) {
C12914fKz.e(new Object[]{this, Integer.valueOf(R.id.root_activity), Integer.valueOf(R.drawable.ic_error_white_24dp), str, Integer.valueOf(R.color.f14042131100912), Integer.valueOf(R.color.f2852131099792), Integer.valueOf(((Integer) C12914fKz.e(new Object[]{this}, 27586478, -27586464, (int) System.currentTimeMillis())).intValue()), rvv}, -12036813, 12036813, R.id.root_activity);
return;
} else {
C12914fKz.e(new Object[]{this, Integer.valueOf(R.id.root_activity), Integer.valueOf(R.drawable.ic_error_white_24dp), str, Integer.valueOf(R.color.f14042131100912), Integer.valueOf(R.color.f2852131099792), Integer.valueOf(((Integer) C12914fKz.e(new Object[]{this}, 27586478, -27586464, (int) System.currentTimeMillis())).intValue()), rvv}, -12036813, 12036813, R.id.root_activity);
throw null;
}
}
C12914fKz.e(new Object[]{this, Integer.valueOf(R.id.root_activity), Integer.valueOf(R.drawable.ic_error_white_24dp), str, Integer.valueOf(R.color.f14042131100912), Integer.valueOf(R.color.f2852131099792), 0, rvv}, -12036813, 12036813, R.id.root_activity);
}
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 = $10 + 67;
$11 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 46, KeyEvent.keyCodeFromString("") + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(353 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), TextUtils.getOffsetAfter("", 0) + 5, (char) (52128 - (ViewConfiguration.getTouchSlop() >> 8)));
byte b2 = (byte) (-1);
Object[] objArr4 = new Object[1];
aF((byte) 17, b2, (byte) (b2 + 1), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
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(TextUtils.lastIndexOf("", '0', 0) + 749, Drawable.resolveOpacity(0, 0) + 5, (char) View.MeasureSpec.getMode(0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
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((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 402, 4 - TextUtils.lastIndexOf("", '0'), (char) (KeyEvent.getDeadChar(0, 0) + 21608));
byte b3 = (byte) (-1);
Object[] objArr7 = new Object[1];
aF((byte) ($$z & 116), b3, (byte) (b3 + 1), 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]) ^ (l ^ 9051040786702654117L)) ^ ((int) (m ^ 9051040786702654117L))) ^ ((char) (k ^ 9051040786702654117L)));
nhs.a++;
int i6 = $11 + 125;
$10 = i6 % 128;
int i7 = i6 % 2;
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
@Override // o.AbstractActivityC8084dAm, 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 = t + 51;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = s + 19;
t = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ccr_more_point_needed).substring(0, 1).length() + 22, 26 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 4717), 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().length() + 15694), new char[]{9981, 45197, 24852, 54884, 44790, 16668, 56717, 60347, 57080, 38826, 31488, 24009, 25613, 29998, 50749, 1571, 33551, 24426}, new char[]{24933, 60306, 23500, 39229}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 115, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) View.MeasureSpec.getSize(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((Process.myTid() >> 22) + 487, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i6 = s + 5;
t = i6 % 128;
if (i6 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC8084dAm, 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 onPause() {
int i = 2 % 2;
int i2 = s + 123;
t = i2 % 128;
if (i2 % 2 != 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.request_money_web_view).substring(0, 326).length() - 303, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 4717), 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().getResources().getString(R.string.receive_statement_inapp).substring(0, 12).length() + 15695), new char[]{9981, 45197, 24852, 54884, 44790, 16668, 56717, 60347, 57080, 38826, 31488, 24009, 25613, 29998, 50749, 1571, 33551, 24426}, new char[]{24933, 60306, 23500, 39229}, new char[]{0, 0, 0, 0}, (-1) - TextUtils.lastIndexOf("", '0'), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = s + 71;
t = i3 % 128;
if (i3 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 492, 4 - ExpandableListView.getPackedPositionChild(0L), (char) Color.red(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 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).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();
int i4 = s + 111;
t = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 17 / 0;
return;
}
return;
}
getBaseContext();
throw null;
}
@Override // o.AbstractActivityC8084dAm, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD((-16777216) - Color.rgb(0, 0, 0), View.getDefaultSize(0, 0) + 18, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(18 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 5 - Gravity.getAbsoluteGravity(0, 0), (char) TextUtils.getOffsetAfter("", 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 i2 = t + 3;
s = i2 % 128;
if (i2 % 2 != 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i3 = t + 75;
s = i3 % 128;
int i4 = i3 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((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)) + 492, 4 - ExpandableListView.getPackedPositionChild(0L), (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];
aD(49 - View.resolveSize(0, 0), 48 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) KeyEvent.keyCodeFromString(""), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD(97 - Drawable.resolveOpacity(0, 0), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 64, (char) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 42099), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD((ViewConfiguration.getFadingEdgeLength() >> 16) + CipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384, (Process.myPid() >> 22) + 64, (char) (TextUtils.indexOf("", "") + 12612), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 225, 74 - (ViewConfiguration.getTapTimeout() >> 16), (char) (ExpandableListView.getPackedPositionChild(0L) + 34943), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD((ViewConfiguration.getDoubleTapTimeout() >> 16) + 299, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (ViewConfiguration.getPressedStateDuration() >> 16), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE((char) (ViewConfiguration.getScrollBarFadeDuration() >> 16), new char[]{49114, 30036, 22498, 8620, 37596, 40976, 42770, 10306, 15365, 19414, 18433, 59061, 24286, 17308, 24773, 56857, 39144, 40169, 41171, 61156, 22391, 54808, 38360, 13500, 30969, 13084, 56811, 9713, 36759, 29290, 17065, 3657, 55317, 45965, 34357, 35342}, new char[]{11663, 48876, 36067, 51857}, new char[]{0, 0, 0, 0}, View.getDefaultSize(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(487 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 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.AbstractActivityC8084dAm, 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 = s + 39;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 67;
t = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9094ddI.Sts
public final void b(String str) {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1289945963;
d(new Object[]{this, str});
}
}