what-the-bank/sources/com/scb/phone/view/activity/registration/onboarding/RegistrationOnboardingActiv...

832 lines
44 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.registration.onboarding;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
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 androidx.fragment.app.Fragment;
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.fragment.registration.onboarding.RegistrationAccountsFragment;
import com.scb.phone.view.fragment.registration.onboarding.RegistrationEmailSetupFragment;
import com.scb.phone.view.fragment.registration.onboarding.RegistrationFingerprintFragment;
import com.scb.phone.view.fragment.registration.onboarding.RegistrationPushNotificationFragment;
import dagger.Lazy;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC11739eky;
import o.AbstractC13482fbE;
import o.BGi;
import o.C5811cAE;
import o.InterfaceC13391fZD;
import o.InterfaceC9031dbz;
import o.InterfaceC9604dmq;
import o.Nhs;
import o.ZI;
import o.cAH;
import o.fJA;
import o.jTb;
import o.xzZ;
/* loaded from: classes5.dex */
public class RegistrationOnboardingActivity extends AbstractActivityC11739eky implements InterfaceC9604dmq, fJA {
@InterfaceC13391fZD
public Lazy<InterfaceC9031dbz> biometricManagerLazy;
@InterfaceC13391fZD
public C5811cAE registrationOnboardingPresenter;
private static final byte[] $$p = {113, ISO7816.INS_READ_BINARY, -18, 43};
private static final int $$q = 188;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int p = 1;
private static char k = 4104;
private static char l = 24091;
/* renamed from: o, reason: collision with root package name */
private static char f7859o = 5296;
private static char m = 29670;
private static long r = 5245941922520770213L;
private static int q = 452713125;
private static char s = 55973;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x002a). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(byte r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 3
int r7 = 4 - r7
byte[] r0 = com.scb.phone.view.activity.registration.onboarding.RegistrationOnboardingActivity.$$p
int r8 = r8 + 66
int r6 = r6 * 3
int r6 = r6 + 1
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L14
r3 = r6
r4 = r2
goto L2a
L14:
r3 = r2
L15:
byte r4 = (byte) r8
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r6) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r4 = r0[r7]
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L2a:
int r8 = -r8
int r8 = r8 + r3
int r7 = r7 + 1
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.registration.onboarding.RegistrationOnboardingActivity.aC(byte, short, short, java.lang.Object[]):void");
}
public static void c(Context context) {
int i = 2 % 2;
context.startActivity(new Intent(context, (Class<?>) RegistrationOnboardingActivity.class));
int i2 = p + 69;
t = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
}
private static void aA(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i4 = $11 + 43;
$10 = i4 % 128;
int i5 = i4 % 2;
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i6 = 58224;
int i7 = i3;
while (i7 < 16) {
int i8 = $10 + 111;
$11 = i8 % 128;
int i9 = i8 % 2;
char c = cArr3[1];
char c2 = cArr3[i3];
char[] cArr4 = cArr3;
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i6) ^ ((c2 << 4) + ((char) (f7859o ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(m)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) KeyEvent.getDeadChar(0, 0));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr4[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i6) ^ ((charValue << 4) + ((char) (k ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(l)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 412, Color.green(0) + 5, (char) TextUtils.getCapsMode("", 0, 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i6 -= 40503;
i7++;
cArr3 = cArr4;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 99, View.combineMeasuredStates(0, 0) + 5, (char) TextUtils.indexOf("", ""));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i3 = 0;
}
String str = new String(cArr2, 0, i);
int i10 = $10 + 17;
$11 = i10 % 128;
int i11 = i10 % 2;
objArr[0] = str;
}
@Override // o.AbstractActivityC11739eky, 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];
aA(new char[]{2977, 6741, 53693, 22803, 20103, 63946, 27318, 36498, 52962, 27414, 5602, 60812, 39189, 39530, 13447, 18066, 48020, 7400}, 18 - (ViewConfiguration.getLongPressTimeout() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{16328, 28799, 49900, 52162, 30923, 43360}, View.MeasureSpec.makeMeasureSpec(0, 0) + 5, 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];
aA(new char[]{2977, 6741, 53693, 22803, 20103, 63946, 27318, 36498, 18739, 30100, 51808, 19406, 15747, 11856, 59658, 8523, 903, 6065, 33053, 36048, 42490, 54782, 24900, 10670, 39970, 43727}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.onboarding_registration_email_sub_title).substring(111, 112).codePointAt(0) - 6, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new char[]{26741, 55000, 24361, 35780, 48042, 19751, 40124, 1165, 40216, 19994, 48678, 55685, 22332, 65411, 59658, 8523, 35774, 56735}, 18 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i2 = p + 7;
t = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = p + 17;
t = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.indexOf("", "", 0), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new char[]{16394, 10802, 19731, 45214, 44791, 17661, 40872, 21054, 11823, 65319, 61481, 37206, 39773, 53395, 9880, 51679, 56598, 23759, 35687, 23962, 38845, 50276, 2072, 50492, 45765, 24580, 28327, 62611, 12671, 15056, 29422, 65518, 9768, 49193, 15672, 40446, 54904, 44440, 64197, 46762, 48365, 24609, 18876, 57356, 34113, 58300, 11125, 37108}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.onboarding_registration_title_push_permission).substring(0, 9).codePointAt(1) - 19, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_suitability_assessment_questionnaire_section_1).substring(88, 89).length() - 1), new char[]{63686, 51981, 22150, 64997, 8022, 64837, 11615, 41410, 48080, 36638, 43082, 63286, 38454, 12977, 58570, 22113, 27149, 9160, 33971, 33734, 63937, 499, 20074, 55650, 21035, 59835, 47801, 21374, 39918, 53094, 21172, 61984, 5300, 35077, 41931, 7679, 41458, 6236, 26155, 29117, 47895, 9719, 32557, 61486, 18543, 15366, 59852, 40545, 42789, 58903, 4136, 6626, 23729, 32884, 57347, 41309, 38348, 10160, 19068, 28010, 53536, 35004, 43049, 24412}, new char[]{35835, 52826, 14042, 15379}, new char[]{64512, 32469, 38342, 13654}, ExpandableListView.getPackedPositionType(0L), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{64931, 20152, 56951, 58435, 34194, 59451, 12396, 16793, 23423, 53819, 12045, 10401, 61833, 38143, 26035, 52700, 57407, 52664, 33952, 10646, 62756, 12992, 45927, 13919, 34113, 58300, 54904, 44440, 63776, 42190, 21026, 2242, 19731, 45214, 7783, 32921, 44360, 55137, 13165, 4771, 56256, 10820, 33864, 1977, 50496, 2451, 42426, 52051, 54208, 61708, 35687, 23962, 55716, 22700, 33813, 51920, 8104, 41909, 40872, 21054, 13247, 15924, 7104, 31414}, TextUtils.indexOf((CharSequence) "", '0', 0) + 65, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.credit_card_block_message).substring(39, 42).length() - 3), new char[]{19074, 10963, 35218, 16875, 54975, 29563, 48546, 2126, 55055, 5348, 31474, 17498, 65266, 27712, 43326, 47176, 1696, 64985, 26277, 53560, 45845, 29607, 16832, 3110, 13485, 32985, 44494, 61605, 42778, 29481, 49072, 34338, 12869, 29577, 57316, 16200, 38234, 62620, 64428, 18228, 20331, 52915, 45893, 39201, 61776, 28676, 32137, 57839, 30405, 5174, 61535, 36543, 53653, 7095, 48368, 57071, 36137, 59122, 48563, 50728, 41952, 32947, 13479, 54343, 1458, 42746, 1116, 23576, 28043, 36703, 19991, 47112, 30477, 15326}, new char[]{13068, 14355, 22691, 23778}, new char[]{64512, 32469, 38342, 13654}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB((char) (((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(1) + 21270), new char[]{42238, 43204, 39120, 14630, 19476}, new char[]{23824, 57215, 14078, 6227}, new char[]{64512, 32469, 38342, 13654}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cardless_invalid_divisible).substring(33, 34).length() - 18907300, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new char[]{50765, 56487, 48365, 24609, 31765, 34764, 43883, 39837, 63927, 22016, 40877, 61443, 41671, 1756, 33049, 61401, 13165, 4771, 54798, 33301, 54208, 61708, 46662, 25741, 30300, 14137, 61481, 37206, 52327, 35861, 28327, 62611, 27247, 53092, 35704, 59098}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 23, 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(487 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 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);
setContentView(R.layout.2131558762);
this.registrationOnboardingPresenter.e((C5811cAE) this);
C5811cAE c5811cAE = this.registrationOnboardingPresenter;
if (c5811cAE.d.a.c() != 1) {
c5811cAE.e.a();
BGi bGi = c5811cAE.e;
bGi.d(bGi.i, new C5811cAE.AnonymousClass3(c5811cAE));
} else {
ZI.IeS ieS = new ZI.IeS() { // from class: o.cAI
@Override // o.ZI.IeS
public final void e(Object obj3) {
((InterfaceC9604dmq) obj3).c();
}
};
if (c5811cAE.f != 0) {
ieS.e(c5811cAE.f);
}
}
}
private static void aB(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 + 33;
$10 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c((Process.myTid() >> 22) + 45, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 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(353 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 5 - TextUtils.indexOf("", "", 0), (char) (View.MeasureSpec.getSize(0) + 52128));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr4 = new Object[1];
aC(b, b2, (byte) (b2 | 49), 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(747 - TextUtils.lastIndexOf("", '0', 0, 0), View.getDefaultSize(0, 0) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '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(401 - ((byte) KeyEvent.getModifierMetaStateMask()), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (View.MeasureSpec.getMode(0) + 21608));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aC(b3, b4, (byte) (b4 | ISO7816.INS_DECREASE), 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]) ^ (r ^ 9051040786702654117L)) ^ ((int) (q ^ 9051040786702654117L))) ^ ((char) (s ^ 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 = $10 + 115;
$11 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public void onDestroy() {
int i = 2 % 2;
int i2 = t + 119;
p = i2 % 128;
int i3 = i2 % 2;
this.registrationOnboardingPresenter.w_();
super.onDestroy();
int i4 = p + 71;
t = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
private void c(Fragment fragment) {
int i = 2 % 2;
int i2 = p + 55;
t = i2 % 128;
int i3 = i2 % 2;
AbstractC13482fbE a = getSupportFragmentManager().a();
a.n = R.anim.2130772001;
a.f9128o = R.anim.2130772000;
a.l = R.anim.2130772001;
a.t = R.anim.2130772000;
a.b(R.id.container, fragment, null, 2);
a.b();
int i4 = p + 77;
t = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9604dmq
public final void c() {
int i = 2 % 2;
int i2 = t + 89;
p = i2 % 128;
int i3 = i2 % 2;
c(RegistrationPushNotificationFragment.j());
if (i3 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9604dmq
public final void e() {
int i = 2 % 2;
int i2 = t + 83;
p = i2 % 128;
int i3 = i2 % 2;
c(RegistrationEmailSetupFragment.i());
int i4 = p + 29;
t = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object a(Object[] objArr) {
RegistrationOnboardingActivity registrationOnboardingActivity = (RegistrationOnboardingActivity) objArr[0];
int i = 2 % 2;
int i2 = p + 53;
t = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
registrationOnboardingActivity.c(RegistrationFingerprintFragment.j());
return null;
}
registrationOnboardingActivity.c(RegistrationFingerprintFragment.j());
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9604dmq
public final void a() {
int i = 2 % 2;
int i2 = p + 97;
t = i2 % 128;
int i3 = i2 % 2;
c(RegistrationAccountsFragment.d());
if (i3 != 0) {
throw null;
}
}
@Override // o.InterfaceC9604dmq
public final void j() {
int i = 2 % 2;
int i2 = t + 65;
p = i2 % 128;
int i3 = i2 % 2;
j(false);
int i4 = t + 39;
p = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC9604dmq
public final void b() {
boolean z;
int i = 2 % 2;
int i2 = t + 5;
p = i2 % 128;
int i3 = i2 % 2;
if (this.biometricManagerLazy.get() != null) {
int i4 = p + 81;
t = i4 % 128;
if (i4 % 2 != 0) {
this.biometricManagerLazy.get().d();
throw null;
}
if (this.biometricManagerLazy.get().d()) {
C5811cAE c5811cAE = this.registrationOnboardingPresenter;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cAJ
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9604dmq) obj).d();
}
};
if (c5811cAE.f != 0) {
int i5 = t + 93;
p = i5 % 128;
int i6 = i5 % 2;
z = true;
} else {
int i7 = p + 93;
t = i7 % 128;
int i8 = i7 % 2;
z = false;
}
if (!(!z)) {
ieS.e(c5811cAE.f);
return;
}
return;
}
}
this.registrationOnboardingPresenter.a();
}
@Override // o.fJA
public final void e(String str) {
int i = 2 % 2;
if ("RegistrationPushNotificationFragment".equalsIgnoreCase(str)) {
C5811cAE c5811cAE = this.registrationOnboardingPresenter;
c5811cAE.e.a();
BGi bGi = c5811cAE.e;
bGi.d(bGi.i, new C5811cAE.AnonymousClass3(c5811cAE));
return;
}
boolean z = true;
if (!"RegistrationEmailSetupFragment".equalsIgnoreCase(str)) {
if ("RegistrationFingerprintFragment".equalsIgnoreCase(str)) {
int i2 = p + 91;
t = i2 % 128;
if (i2 % 2 != 0) {
this.registrationOnboardingPresenter.a();
int i3 = 29 / 0;
} else {
this.registrationOnboardingPresenter.a();
}
}
int i4 = t + 35;
p = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
return;
}
C5811cAE c5811cAE2 = this.registrationOnboardingPresenter;
if (c5811cAE2.d.a.c() != 1) {
c5811cAE2.a();
return;
}
cAH cah = new cAH();
if (c5811cAE2.f != 0) {
int i5 = p + 115;
t = i5 % 128;
int i6 = i5 % 2;
} else {
z = false;
}
if (z) {
int i7 = t + 123;
p = i7 % 128;
if (i7 % 2 != 0) {
cah.e(c5811cAE2.f);
} else {
cah.e(c5811cAE2.f);
int i8 = 18 / 0;
}
}
}
@Override // o.AbstractActivityC11739eky, 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 = p + 113;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new char[]{2977, 6741, 53693, 22803, 20103, 63946, 27318, 36498, 18739, 30100, 51808, 19406, 15747, 11856, 59658, 8523, 903, 6065, 33053, 36048, 42490, 54782, 24900, 10670, 39970, 43727}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 78, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{26741, 55000, 24361, 35780, 48042, 19751, 40124, 1165, 40216, 19994, 48678, 55685, 22332, 65411, 59658, 8523, 35774, 56735}, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (KeyEvent.getMaxKeyCode() >> 16), KeyEvent.getDeadChar(0, 0) + 5, (char) View.MeasureSpec.getMode(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(486 - TextUtils.indexOf((CharSequence) "", '0'), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (TextUtils.lastIndexOf("", '0', 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;
}
}
BGi bGi = this.registrationOnboardingPresenter.e;
if (!bGi.h.isDisposed()) {
int i4 = p + 57;
t = i4 % 128;
int i5 = i4 % 2;
bGi.h.dispose();
}
super.onPause();
}
@Override // o.AbstractActivityC11739eky, 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new char[]{2977, 6741, 53693, 22803, 20103, 63946, 27318, 36498, 18739, 30100, 51808, 19406, 15747, 11856, 59658, 8523, 903, 6065, 33053, 36048, 42490, 54782, 24900, 10670, 39970, 43727}, 26 - (ViewConfiguration.getEdgeSlop() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{26741, 55000, 24361, 35780, 48042, 19751, 40124, 1165, 40216, 19994, 48678, 55685, 22332, 65411, 59658, 8523, 35774, 56735}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.preregistration_pin_title).substring(8, 9).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = p + 73;
t = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = t + 93;
p = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 492, Color.argb(0, 0, 0, 0) + 5, (char) ((-1) - MotionEvent.axisFromString("")))).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 - Color.argb(0, 0, 0, 0), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.MeasureSpec.getMode(0) + 492, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - (ViewConfiguration.getJumpTapTimeout() >> 16), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i5 = t + 85;
p = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
}
@Override // o.AbstractActivityC11739eky, 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 = p + 123;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{2977, 6741, 53693, 22803, 20103, 63946, 27318, 36498, 52962, 27414, 5602, 60812, 39189, 39530, 13447, 18066, 48020, 7400}, 17 - TextUtils.indexOf((CharSequence) "", '0', 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{16328, 28799, 49900, 52162, 30923, 43360}, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = t + 65;
p = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i6 = t + 107;
p = i6 % 128;
if (i6 % 2 == 0) {
context2 = context.getApplicationContext();
int i7 = 58 / 0;
} else {
context2 = context.getApplicationContext();
}
} else {
context2 = context;
}
if (context2 != null) {
int i8 = p + 3;
t = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 492, 5 - TextUtils.getOffsetBefore("", 0), (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new char[]{16394, 10802, 19731, 45214, 44791, 17661, 40872, 21054, 11823, 65319, 61481, 37206, 39773, 53395, 9880, 51679, 56598, 23759, 35687, 23962, 38845, 50276, 2072, 50492, 45765, 24580, 28327, 62611, 12671, 15056, 29422, 65518, 9768, 49193, 15672, 40446, 54904, 44440, 64197, 46762, 48365, 24609, 18876, 57356, 34113, 58300, 11125, 37108}, 47 - ImageFormat.getBitsPerPixel(0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB((char) (ViewConfiguration.getEdgeSlop() >> 16), new char[]{63686, 51981, 22150, 64997, 8022, 64837, 11615, 41410, 48080, 36638, 43082, 63286, 38454, 12977, 58570, 22113, 27149, 9160, 33971, 33734, 63937, 499, 20074, 55650, 21035, 59835, 47801, 21374, 39918, 53094, 21172, 61984, 5300, 35077, 41931, 7679, 41458, 6236, 26155, 29117, 47895, 9719, 32557, 61486, 18543, 15366, 59852, 40545, 42789, 58903, 4136, 6626, 23729, 32884, 57347, 41309, 38348, 10160, 19068, 28010, 53536, 35004, 43049, 24412}, new char[]{35835, 52826, 14042, 15379}, new char[]{64512, 32469, 38342, 13654}, KeyEvent.keyCodeFromString(""), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new char[]{64931, 20152, 56951, 58435, 34194, 59451, 12396, 16793, 23423, 53819, 12045, 10401, 61833, 38143, 26035, 52700, 57407, 52664, 33952, 10646, 62756, 12992, 45927, 13919, 34113, 58300, 54904, 44440, 63776, 42190, 21026, 2242, 19731, 45214, 7783, 32921, 44360, 55137, 13165, 4771, 56256, 10820, 33864, 1977, 50496, 2451, 42426, 52051, 54208, 61708, 35687, 23962, 55716, 22700, 33813, 51920, 8104, 41909, 40872, 21054, 13247, 15924, 7104, 31414}, View.MeasureSpec.getSize(0) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new char[]{19074, 10963, 35218, 16875, 54975, 29563, 48546, 2126, 55055, 5348, 31474, 17498, 65266, 27712, 43326, 47176, 1696, 64985, 26277, 53560, 45845, 29607, 16832, 3110, 13485, 32985, 44494, 61605, 42778, 29481, 49072, 34338, 12869, 29577, 57316, 16200, 38234, 62620, 64428, 18228, 20331, 52915, 45893, 39201, 61776, 28676, 32137, 57839, 30405, 5174, 61535, 36543, 53653, 7095, 48368, 57071, 36137, 59122, 48563, 50728, 41952, 32947, 13479, 54343, 1458, 42746, 1116, 23576, 28043, 36703, 19991, 47112, 30477, 15326}, new char[]{13068, 14355, 22691, 23778}, new char[]{64512, 32469, 38342, 13654}, ViewConfiguration.getMaximumFlingVelocity() >> 16, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((char) (21303 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), new char[]{42238, 43204, 39120, 14630, 19476}, new char[]{23824, 57215, 14078, 6227}, new char[]{64512, 32469, 38342, 13654}, (-18907299) - (KeyEvent.getMaxKeyCode() >> 16), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{50765, 56487, 48365, 24609, 31765, 34764, 43883, 39837, 63927, 22016, 40877, 61443, 41671, 1756, 33049, 61401, 13165, 4771, 54798, 33301, 54208, 61708, 46662, 25741, 30300, 14137, 61481, 37206, 52327, 35861, 28327, 62611, 27247, 53092, 35704, 59098}, 'T' - AndroidCharacter.getMirror('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.getDefaultSize(0, 0) + 487, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) Gravity.getAbsoluteGravity(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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // o.AbstractActivityC11739eky, 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 = t + 51;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 117;
p = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = p + 113;
t = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9604dmq
public final void d() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1347196635;
a(new Object[]{this});
}
}