what-the-bank/sources/com/scb/phone/view/activity/cardmanagement/CardActivationActivity.java

1367 lines
68 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.cardmanagement;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
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.MenuItem;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.widget.ExpandableListView;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.appcompat.widget.Toolbar;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.activity.cardmanagement.ActivationSuccessfulActivity;
import com.scb.phone.view.activity.cardmanagement.CardActivationActivity;
import com.scb.phone.view.fragment.BaseFragment;
import com.scb.phone.view.fragment.cardmanagement.CardActivationFragment;
import com.scb.phone.view.fragment.otppin.OtpPinFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC13482fbE;
import o.C0414Gb;
import o.C0443Gr;
import o.C11560ehe;
import o.C14957gcv;
import o.C16420oGW;
import o.C2840amG;
import o.Heg;
import o.InterfaceC0834Plv;
import o.InterfaceC13391fZD;
import o.InterfaceC8956dad;
import o.InterfaceC8999dbT;
import o.Nhs;
import o.huo;
import o.pwE;
import o.qeC;
import o.rsg;
import o.xzZ;
import o.yRS;
/* loaded from: classes4.dex */
public final class CardActivationActivity extends Hilt_CardActivationActivity implements InterfaceC8999dbT, InterfaceC8956dad, OtpPinFragment.HBt, CardActivationFragment.RVV {
private static int A;
private static int B;
private static int C;
private static short[] D;
private static int H;
public static final LWm b;
private static char v;
private static long w;
private static int y;
private static byte[] z;
private String k;
private rsg l;
private CardActivationFragment m;
/* renamed from: o, reason: collision with root package name */
private String f6621o;
private boolean p;
@InterfaceC13391fZD
public C2840amG presenter;
private C0443Gr q;
private String r;
private huo<Intent> s;
private final String[] t = {"CREDIT_CARD_ACTIVATION_FRAGMENT_TAG", "OTP_MOBILE_LIST_FRAGMENT_TAG", "OTP_PIN_FRAGMENT_TAG"};
private C16420oGW u;
private huo<Intent> x;
private static final byte[] $$y = {67, 119, -105, 2};
private static final int $$z = 16;
private static int $10 = 0;
private static int $11 = 1;
private static int F = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x0029). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aF(short r5, byte r6, int r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 2
int r5 = 4 - r5
int r7 = 115 - r7
int r6 = r6 * 4
int r0 = 1 - r6
byte[] r1 = com.scb.phone.view.activity.cardmanagement.CardActivationActivity.$$y
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L17
r3 = r7
r4 = r2
r7 = r6
goto L29
L17:
r3 = r2
L18:
byte r4 = (byte) r7
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L27
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L27:
r3 = r1[r5]
L29:
int r7 = r7 + r3
int r5 = r5 + 1
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.CardActivationActivity.aF(short, byte, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = (i * (-623)) + (i2 * (-623)) + (i4 * (-624)) + ((i4 | i2) * 624) + ((i | i2) * 624);
if (i5 == 1) {
return a(objArr);
}
if (i5 == 2) {
return c(objArr);
}
if (i5 != 3) {
return i5 != 4 ? d(objArr) : e(objArr);
}
CardActivationActivity cardActivationActivity = (CardActivationActivity) objArr[0];
Heg heg = (Heg) objArr[1];
int i6 = 2 % 2;
int i7 = F + 25;
H = i7 % 128;
int i8 = i7 % 2;
C14957gcv.e(cardActivationActivity, "");
C14957gcv.e(heg, "");
if (-1 == heg.e) {
int i9 = F + 53;
H = i9 % 128;
int i10 = i9 % 2;
cardActivationActivity.setResult(-1, heg.b);
cardActivationActivity.finish();
}
return null;
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
private static void aD(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 + 101;
$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.getTrimmedLength("") + 45, 5 - KeyEvent.getDeadChar(0, 0), (char) (Process.getGidForName("") + 1))).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(351 - Process.getGidForName(""), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (View.MeasureSpec.makeMeasureSpec(0, 0) + 52128));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr4 = new Object[1];
aF(b2, b3, b3, 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(748 - (ViewConfiguration.getTapTimeout() >> 16), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).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(402 - (ViewConfiguration.getWindowTouchSlop() >> 8), 5 - View.combineMeasuredStates(0, 0), (char) (21608 - KeyEvent.normalizeMetaState(0)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
aF(b4, b5, (byte) (b5 + 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]) ^ (w ^ 9051040786702654117L)) ^ ((int) (y ^ 9051040786702654117L))) ^ ((char) (v ^ 9051040786702654117L)));
nhs.a++;
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i6 = $11 + 55;
$10 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r2v29 */
/* JADX WARN: Type inference failed for: r2v30 */
/* JADX WARN: Type inference failed for: r2v37 */
@Override // com.scb.phone.view.activity.cardmanagement.Hilt_CardActivationActivity, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 final void onCreate(Bundle bundle) {
?? r2;
Parcelable parcelable;
CardActivationFragment cardActivationFragment;
int i = 2 % 2;
int i2 = F + 111;
H = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 38513), new char[]{24226, 56285, 60032, 57984, 14246, 24627, 9735, 7864, 16079, 23327, 47458, 37384, 49388, 15421, 52901, 11877, 12074, 42799}, new char[]{14231, 47818, 37676, 4246}, new char[]{12711, 55897, 37321, 35327}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.investment_discover_remark_unable_to_purchase).substring(0, 1).codePointAt(0) - 42, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_answer_fatca).substring(11, 12).codePointAt(0) + 2602), new char[]{17439, 56133, 51922, 12489, 26971}, new char[]{37456, 37843, 27559, '\n'}, new char[]{12711, 55897, 37321, 35327}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_successful_scbs_account).substring(16, 17).codePointAt(0) - 1483484348, 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((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 36382), new char[]{40198, 8085, 52608, 62527, 6273, 16087, 58364, 13250, 50864, 56467, 10207, 48892, 4535, 2367, 2282, 31390, 62171, 20063, 48568, 21538, 51973, 35676, 46775, 36506, 44703, 32382}, new char[]{22250, 23163, 16466, 23182}, new char[]{12711, 55897, 37321, 35327}, ViewConfiguration.getFadingEdgeLength() >> 16, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) + 7), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) + 575923883, Color.alpha(0) - 118, TextUtils.indexOf("", "") - 1015111592, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.product_points_plus_cash_opr).substring(0, 5).codePointAt(4) - 118), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = H + 51;
F = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getLongPressTimeout() >> 16), 5 - KeyEvent.getDeadChar(0, 0), (char) ('0' - AndroidCharacter.getMirror('0')))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE((short) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 127), (ViewConfiguration.getWindowTouchSlop() >> 8) + 575924012, (-118) - (ViewConfiguration.getWindowTouchSlop() >> 8), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 1015111655, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 6), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD((char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1), new char[]{49491, 56446, 55076, 18467, 62540, 27179, 21508, 33106, 18304, 3984, 53189, 25935, 27456, 16368, 33895, 24355, 54027, 19552, 11918, 47216, 28020, 23654, 9529, 4863, 45291, 44898, 27882, 45463, 58374, 40310, 52898, 21257, 57474, 41023, 30636, 9088, 46167, 58058, 61931, 62618, 40343, 10363, 36538, 11577, 22997, 32469, 46025, 33807, 2825, 52846, 12577, 54119, 27827, 50071, 11595, 23582, 38155, 11114, 35697, 2614, 16319, 40862, 13791, 44709}, new char[]{39228, 64661, 31639, 35246}, new char[]{12711, 55897, 37321, 35327}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD((char) (ViewConfiguration.getPressedStateDuration() >> 16), new char[]{4762, 61221, 36602, 46332, 52780, 48250, 37566, 53858, 57708, 53943, 29396, 22674, 13518, 22260, 9675, 38510, 34770, 9075, 2980, 58559, 33845, 41411, 57441, 19562, 46036, 29683, 23270, 29533, 22375, 14657, 36547, 32181, 23707, 33538, 2624, 31738, 9501, 33391, 51072, 38298, 27065, 17733, 37114, 57325, 35573, 51084, 44079, 11297, 58935, 60632, 543, 48340, 32683, 17672, 44497, 51381, 35557, 56992, 53204, 16016, 945, 36299, 45477, 31899}, new char[]{46247, 47034, 8744, 51960}, new char[]{12711, 55897, 37321, 35327}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_personal_info_laser_id_title).substring(0, 15).codePointAt(4) - 114, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 110), new char[]{22070, 14608, 56029, 59989, 55136, 61720, 41754, 59606, 33390, 10776, 27008, 47449, 15195, 31208, 5268, 44954, 24627, 64077, 46767, 35763, 49467, 18518, 59281, 6983, 26862, 14117, 46388, 39991, 3814, 12296, 21113, 47628, 19271, 26376, 51333, 20416, 19604, 47876, 64414, 62156, 50517, 11490, 47995, 43960, 2711, 38585, 848, 25073, 23557, 25603, 58699, 28409, 44040, 44406, 29550, 55595, 58756, 23217, 28855, 9478, 2423, 28872, 40617, 39057, 18287, 40019, 22401, 59474, 63097, 20411, 1804, 9710, 51960, 64259}, new char[]{49202, 60627, 12520, 42938}, new char[]{12711, 55897, 37321, 35327}, ((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];
aD((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_commercial_loan_success_desc).substring(35, 36).codePointAt(0) + 36075), new char[]{58101, 37378, 23483, 61154, 55250}, new char[]{49268, 33213, 2961, 29581}, new char[]{12711, 55897, 37321, 35327}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1853768257, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), new char[]{55439, 21464, 36401, 42163, 6079, 22400, 27324, 57148, 47640, 49180, 48427, 370, 29680, 16051, 16148, 51555, 38739, 57465, 53853, 31182, 21934, 62657, 19185, 46961, 47662, 61070, 63789, 35193, 10233, 18373, 1964, 49009, 14424, 47003, 10362, 34724}, new char[]{51843, 25481, 16081, 17015}, new char[]{12711, 55897, 37321, 35327}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.common_google_play_services_unsupported_text).substring(0, 5).codePointAt(3) - 115, 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.getWindowTouchSlop() >> 8), AndroidCharacter.getMirror('0') - '+', (char) (TextUtils.lastIndexOf("", '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);
View inflate = getLayoutInflater().inflate(R.layout.2131558462, (ViewGroup) null, false);
FrameLayout frameLayout = (FrameLayout) qeC.e(inflate, R.id.container);
if (frameLayout == null) {
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(R.id.container)));
}
LinearLayout linearLayout = (LinearLayout) inflate;
rsg rsgVar = new rsg(linearLayout, frameLayout, linearLayout);
C14957gcv.c(rsgVar, "");
this.l = rsgVar;
C16420oGW c = C16420oGW.c(rsgVar.a);
C14957gcv.c(c, "");
this.u = c;
rsg rsgVar2 = this.l;
if (rsgVar2 == null) {
C14957gcv.a("");
rsgVar2 = null;
}
setContentView(rsgVar2.a);
C16420oGW c16420oGW = this.u;
if (c16420oGW == null) {
int i6 = H + 119;
F = i6 % 128;
int i7 = i6 % 2;
C14957gcv.a("");
c16420oGW = null;
}
Toolbar toolbar = c16420oGW.a;
C16420oGW c16420oGW2 = this.u;
if (c16420oGW2 == null) {
int i8 = F + 101;
H = i8 % 128;
if (i8 % 2 == 0) {
C14957gcv.a("");
throw null;
}
C14957gcv.a("");
r2 = null;
c16420oGW2 = null;
} else {
r2 = null;
}
super.amL_(toolbar, c16420oGW2.b);
ac();
setTitle(R.string.card_activation);
C2840amG c2840amG = this.presenter;
C2840amG c2840amG2 = c2840amG;
if (c2840amG == null) {
C14957gcv.a("");
c2840amG2 = r2;
}
c2840amG2.e((C2840amG) this);
huo<Intent> registerForActivityResult = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.dva
private CardActivationActivity e;
@Override // o.InterfaceC0834Plv
public final void d(Object obj3) {
CardActivationActivity.c(new Object[]{this.e, (Heg) obj3}, 1991387177, -1991387174, (int) System.currentTimeMillis());
}
{
this.e = this;
}
});
C14957gcv.c(registerForActivityResult, "");
this.x = registerForActivityResult;
huo<Intent> registerForActivityResult2 = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.duZ
private CardActivationActivity e;
@Override // o.InterfaceC0834Plv
public final void d(Object obj3) {
CardActivationActivity.b(this.e, (Heg) obj3);
}
{
this.e = this;
}
});
C14957gcv.c(registerForActivityResult2, "");
this.s = registerForActivityResult2;
this.p = getIntent().getBooleanExtra("EXTRA_IS_CARD_X_PRODUCT", false);
Intent intent = getIntent();
C14957gcv.c(intent, "");
if (Build.VERSION.SDK_INT >= 33) {
int i9 = H + 63;
F = i9 % 128;
int i10 = i9 % 2;
Bundle extras = intent.getExtras();
parcelable = extras != null ? (Parcelable) extras.getParcelable("EXTRA_INACTIVE_CARD", C0443Gr.class) : r2;
} else {
Bundle extras2 = intent.getExtras();
Parcelable parcelable2 = extras2 != null ? extras2.getParcelable("EXTRA_INACTIVE_CARD") : r2;
if (!(parcelable2 instanceof C0443Gr)) {
parcelable2 = r2;
}
parcelable = (C0443Gr) parcelable2;
}
C0443Gr c0443Gr = (C0443Gr) parcelable;
if (c0443Gr != null) {
CardActivationFragment.LWm lWm = CardActivationFragment.c;
boolean z2 = this.p;
C14957gcv.e(c0443Gr, "");
CardActivationFragment cardActivationFragment2 = new CardActivationFragment();
Bundle bundle2 = new Bundle();
bundle2.putParcelable("EXTRA_INACTIVE_CARD", c0443Gr);
bundle2.putBoolean("EXTRA_IS_CARD_X_PRODUCT", z2);
cardActivationFragment2.setArguments(bundle2);
this.m = cardActivationFragment2;
}
AbstractC13482fbE a = getSupportFragmentManager().a();
C14957gcv.c(a, "");
rsg rsgVar3 = this.l;
if (rsgVar3 == null) {
C14957gcv.a("");
rsgVar3 = r2;
}
int id = rsgVar3.e.getId();
CardActivationFragment cardActivationFragment3 = this.m;
if (cardActivationFragment3 == null) {
C14957gcv.a("");
cardActivationFragment = r2;
} else {
cardActivationFragment = cardActivationFragment3;
}
a.b(id, cardActivationFragment, "CREDIT_CARD_ACTIVATION_FRAGMENT_TAG", 1);
a.b();
getSupportFragmentManager().d(new yRS.saX(this) { // from class: o.duQ
private CardActivationActivity a;
@Override // o.yRS.saX
public final void a() {
CardActivationActivity.b(this.a);
}
{
this.a = this;
}
});
}
private static /* synthetic */ Object e(Object[] objArr) {
CardActivationActivity cardActivationActivity = (CardActivationActivity) objArr[0];
Toolbar toolbar = (Toolbar) objArr[1];
TextView textView = (TextView) objArr[2];
int i = 2 % 2;
int i2 = F + 95;
H = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
super.amL_(toolbar, textView);
cardActivationActivity.ac();
cardActivationActivity.setTitle(R.string.card_activation);
return null;
}
super.amL_(toolbar, textView);
cardActivationActivity.ac();
cardActivationActivity.setTitle(R.string.card_activation);
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
int i2 = F + 53;
H = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(menuItem, "");
if (menuItem.getItemId() == 16908332) {
int i4 = F + 111;
H = i4 % 128;
if (i4 % 2 == 0) {
super.onBackPressed();
return false;
}
super.onBackPressed();
return true;
}
boolean onOptionsItemSelected = super.onOptionsItemSelected(menuItem);
int i5 = H + 1;
F = i5 % 128;
int i6 = i5 % 2;
return onOptionsItemSelected;
}
/* JADX WARN: Removed duplicated region for block: B:35:0x01c8 */
/* JADX WARN: Removed duplicated region for block: B:54:0x027c */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aE(short r21, int r22, int r23, int r24, byte r25, java.lang.Object[] r26) {
/*
Method dump skipped, instructions count: 752
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.CardActivationActivity.aE(short, int, int, int, byte, java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:13:0x005f, code lost:
if (o.C14957gcv.b((java.lang.Object) r15, (java.lang.Object) "CREDIT_CARD_ACTIVATION_FRAGMENT_TAG") != false) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0061, code lost:
r10.H();
r11.e(r3);
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x0057, code lost:
if (r8 != false) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0053, code lost:
if (r8 != false) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0068, code lost:
r11.c(r3);
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static /* synthetic */ java.lang.Object a(java.lang.Object[] r17) {
/*
Method dump skipped, instructions count: 297
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.CardActivationActivity.a(java.lang.Object[]):java.lang.Object");
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x0021, code lost:
o.C14957gcv.a("");
r2 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x001f, code lost:
if (r2 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0017, code lost:
if (r2 == null) goto L9;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final void d(java.lang.String r5, boolean r6) {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.cardmanagement.CardActivationActivity.H
int r1 = r1 + 59
int r2 = r1 % 128
com.scb.phone.view.activity.cardmanagement.CardActivationActivity.F = r2
int r1 = r1 % r0
if (r1 == 0) goto L1a
r1 = r4
android.app.Activity r1 = (android.app.Activity) r1
o.rsg r2 = r4.l
r3 = 92
int r3 = r3 / 0
if (r2 != 0) goto L27
goto L21
L1a:
r1 = r4
android.app.Activity r1 = (android.app.Activity) r1
o.rsg r2 = r4.l
if (r2 != 0) goto L27
L21:
java.lang.String r2 = ""
o.C14957gcv.a(r2)
r2 = 0
L27:
android.widget.LinearLayout r2 = r2.c
int r2 = r2.getId()
if (r6 == 0) goto L3b
int r6 = com.scb.phone.view.activity.cardmanagement.CardActivationActivity.H
int r6 = r6 + 99
int r3 = r6 % 128
com.scb.phone.view.activity.cardmanagement.CardActivationActivity.F = r3
int r6 = r6 % r0
o.daY r6 = o.EnumC8951daY.SUCCESS
goto L3d
L3b:
o.daY r6 = o.EnumC8951daY.ERROR
L3d:
r4.Xb_(r1, r2, r5, r6)
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.CardActivationActivity.d(java.lang.String, boolean):void");
}
/* JADX WARN: Code restructure failed: missing block: B:24:0x0046, code lost:
if ((r1 instanceof android.os.Parcelable) != false) goto L19;
*/
@Override // com.scb.phone.view.fragment.cardmanagement.CardActivationFragment.RVV
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void h() {
/*
r12 = this;
r0 = 2
int r1 = r0 % r0
android.content.Intent r1 = r12.getIntent()
java.lang.String r2 = ""
o.C14957gcv.c(r1, r2)
int r3 = android.os.Build.VERSION.SDK_INT
r4 = 33
java.lang.String r5 = "EXTRA_IS_CARD_X_ITEM"
r6 = 0
if (r3 < r4) goto L38
android.os.Bundle r1 = r1.getExtras()
if (r1 == 0) goto L49
int r3 = com.scb.phone.view.activity.cardmanagement.CardActivationActivity.H
int r3 = r3 + 51
int r4 = r3 % 128
com.scb.phone.view.activity.cardmanagement.CardActivationActivity.F = r4
int r3 = r3 % r0
if (r3 != 0) goto L2f
java.lang.Class<android.os.Parcelable> r3 = android.os.Parcelable.class
java.lang.Object r1 = r1.getParcelable(r5, r3)
android.os.Parcelable r1 = (android.os.Parcelable) r1
goto L53
L2f:
java.lang.Class<android.os.Parcelable> r0 = android.os.Parcelable.class
java.lang.Object r0 = r1.getParcelable(r5, r0)
android.os.Parcelable r0 = (android.os.Parcelable) r0
throw r6
L38:
android.os.Bundle r1 = r1.getExtras()
if (r1 == 0) goto L43
android.os.Parcelable r1 = r1.getParcelable(r5)
goto L44
L43:
r1 = r6
L44:
boolean r3 = r1 instanceof android.os.Parcelable
if (r3 == 0) goto L49
goto L53
L49:
int r1 = com.scb.phone.view.activity.cardmanagement.CardActivationActivity.F
int r1 = r1 + 101
int r3 = r1 % 128
com.scb.phone.view.activity.cardmanagement.CardActivationActivity.H = r3
int r1 = r1 % r0
r1 = r6
L53:
android.content.Intent r3 = r12.getIntent()
java.lang.String r4 = "EXTRA_CONSENT_FLAG"
r5 = 0
boolean r3 = r3.getBooleanExtra(r4, r5)
android.content.Intent r4 = r12.getIntent()
java.lang.String r7 = "EXTRA_CONSENT_VERSION"
int r4 = r4.getIntExtra(r7, r5)
android.content.Intent r7 = r12.getIntent()
java.lang.String r8 = "EXTRA_IS_CARD_X_PRODUCT"
boolean r7 = r7.getBooleanExtra(r8, r5)
com.scb.phone.view.activity.profilemanagement.accounts.AddAccountValidateActivity$LWm r9 = com.scb.phone.view.activity.profilemanagement.accounts.AddAccountValidateActivity.b
r9 = r12
android.content.Context r9 = (android.content.Context) r9
o.C14957gcv.d(r1, r2)
o.UU r1 = (o.UU) r1
o.C14957gcv.e(r9, r2)
o.C14957gcv.e(r1, r2)
android.content.Intent r10 = new android.content.Intent
java.lang.Class<com.scb.phone.view.activity.profilemanagement.accounts.AddAccountValidateActivity> r11 = com.scb.phone.view.activity.profilemanagement.accounts.AddAccountValidateActivity.class
r10.<init>(r9, r11)
r9 = 603979776(0x24000000, float:2.7755576E-17)
r10.addFlags(r9)
java.lang.String r9 = "com.scb.phone.EXTRA_CONSENT_FLAG"
r10.putExtra(r9, r3)
java.lang.String r3 = "com.scb.phone.EXTRA_CONSENT_VERSION"
r10.putExtra(r3, r4)
java.lang.String r3 = "com.scb.phone.EXTRA_VALIDATE_ACCOUNT"
android.os.Parcelable r1 = (android.os.Parcelable) r1
r10.putExtra(r3, r1)
r10.putExtra(r8, r7)
o.huo<android.content.Intent> r1 = r12.s
if (r1 != 0) goto Lb8
int r1 = com.scb.phone.view.activity.cardmanagement.CardActivationActivity.F
int r1 = r1 + 111
int r3 = r1 % 128
com.scb.phone.view.activity.cardmanagement.CardActivationActivity.H = r3
int r1 = r1 % r0
o.C14957gcv.a(r2)
if (r1 != 0) goto Lb7
r0 = 11
int r0 = r0 / r5
Lb7:
r1 = r6
Lb8:
r1.d(r10, r6)
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.CardActivationActivity.h():void");
}
private static /* synthetic */ Object d(Object[] objArr) {
CardActivationActivity cardActivationActivity = (CardActivationActivity) objArr[0];
int i = 2 % 2;
int i2 = F;
int i3 = i2 + 51;
H = i3 % 128;
int i4 = i3 % 2;
C2840amG c2840amG = cardActivationActivity.presenter;
if (i4 == 0) {
throw null;
}
if (c2840amG != null) {
int i5 = i2 + 31;
H = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
c2840amG = null;
}
c2840amG.e = true;
int i7 = H + 71;
F = i7 % 128;
int i8 = i7 % 2;
return null;
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void a_(String str, String str2) {
int i = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
CardActivationFragment cardActivationFragment = this.m;
C2840amG c2840amG = null;
if (cardActivationFragment == null) {
C14957gcv.a("");
cardActivationFragment = null;
}
cardActivationFragment.y();
C2840amG c2840amG2 = this.presenter;
if (c2840amG2 != null) {
int i2 = H + 111;
F = i2 % 128;
int i3 = i2 % 2;
c2840amG = c2840amG2;
} else {
C14957gcv.a("");
int i4 = H + 99;
F = i4 % 128;
int i5 = i4 % 2;
}
c2840amG.b = this.q;
c2840amG.a = this.f6621o;
c2840amG.c = this.k;
c2840amG.d = this.r;
c2840amG.d(str, str2, this.p);
}
private static /* synthetic */ Object c(Object[] objArr) {
CardActivationActivity cardActivationActivity = (CardActivationActivity) objArr[0];
String str = (String) objArr[1];
int i = 2 % 2;
C14957gcv.e(str, "");
CardActivationFragment cardActivationFragment = cardActivationActivity.m;
if (cardActivationFragment == null) {
C14957gcv.a("");
int i2 = F + 15;
H = i2 % 128;
int i3 = i2 % 2;
cardActivationFragment = null;
}
Dialog dialog = ((BaseFragment) cardActivationFragment).e;
if (dialog != null) {
int i4 = H + 29;
F = i4 % 128;
int i5 = i4 % 2;
if (dialog.isShowing()) {
int i6 = H + 17;
F = i6 % 128;
int i7 = i6 % 2;
((BaseFragment) cardActivationFragment).e.dismiss();
((BaseFragment) cardActivationFragment).e = null;
}
}
cardActivationActivity.d(str, true);
return null;
}
@Override // o.InterfaceC8956dad
public final void c(String str, String str2, String str3) {
int i = 2 % 2;
int i2 = H + 109;
F = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
c(new Object[]{this, str, str2, str3, false}, 87959852, -87959851, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) + 1667784210);
int i4 = H + 63;
F = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC8999dbT
public final void c(C0414Gb c0414Gb) {
int i = 2 % 2;
boolean booleanExtra = getIntent().getBooleanExtra("EXTRA_IS_FROM_DEEPLINK_CARD_ACTIVATE", false);
ActivationSuccessfulActivity.RVV rvv = ActivationSuccessfulActivity.b;
CardActivationActivity cardActivationActivity = this;
C14957gcv.e(cardActivationActivity, "");
Intent intent = new Intent(cardActivationActivity, (Class<?>) ActivationSuccessfulActivity.class);
intent.putExtra("ActivationSuccessfulActivity.KEY_ACTIVATION_DTO", c0414Gb);
intent.putExtra("EXTRA_IS_FROM_DEEPLINK_CARD_ACTIVATE", booleanExtra);
huo<Intent> huoVar = this.x;
if (huoVar == null) {
int i2 = H + 39;
F = i2 % 128;
int i3 = i2 % 2;
C14957gcv.a("");
int i4 = H + 71;
F = i4 % 128;
int i5 = i4 % 2;
huoVar = null;
}
huoVar.d(intent, null);
}
@Override // o.InterfaceC8999dbT
public final void b() {
int i = 2 % 2;
int i2 = F + 35;
H = i2 % 128;
int i3 = i2 % 2;
c(new Object[]{this, "CREDIT_CARD_ACTIVATION_FRAGMENT_TAG", null, null, true}, 87959852, -87959851, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) + 1667784210);
int i4 = F + 73;
H = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC8999dbT
public final void a(String str) {
int i = 2 % 2;
int i2 = F + 95;
H = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
CardActivationFragment cardActivationFragment = this.m;
if (cardActivationFragment == null) {
C14957gcv.a("");
cardActivationFragment = null;
}
Dialog dialog = ((BaseFragment) cardActivationFragment).e;
if (dialog != null) {
int i4 = F + 49;
H = i4 % 128;
int i5 = i4 % 2;
if (dialog.isShowing()) {
((BaseFragment) cardActivationFragment).e.dismiss();
((BaseFragment) cardActivationFragment).e = null;
}
}
d(str, false);
}
@Override // o.InterfaceC8999dbT
public final void e() {
int i = 2 % 2;
int i2 = F + 79;
H = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
throw null;
}
CardActivationFragment cardActivationFragment = this.m;
if (cardActivationFragment == null) {
C14957gcv.a("");
cardActivationFragment = null;
}
Dialog dialog = ((BaseFragment) cardActivationFragment).e;
if (dialog != null) {
int i3 = F + 119;
H = i3 % 128;
if (i3 % 2 != 0) {
if (dialog.isShowing()) {
((BaseFragment) cardActivationFragment).e.dismiss();
((BaseFragment) cardActivationFragment).e = null;
return;
}
return;
}
dialog.isShowing();
obj.hashCode();
throw null;
}
}
@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 final void onDestroy() {
int i = 2 % 2;
huo<Intent> huoVar = this.s;
C2840amG c2840amG = null;
if (huoVar == null) {
C14957gcv.a("");
huoVar = null;
}
huoVar.e();
huo<Intent> huoVar2 = this.x;
if (huoVar2 == null) {
int i2 = H + 51;
F = i2 % 128;
int i3 = i2 % 2;
C14957gcv.a("");
huoVar2 = null;
}
huoVar2.e();
C2840amG c2840amG2 = this.presenter;
if (c2840amG2 != null) {
c2840amG = c2840amG2;
} else {
C14957gcv.a("");
int i4 = F + 7;
H = i4 % 128;
int i5 = i4 % 2;
}
c2840amG.w_();
super.onDestroy();
}
/* JADX WARN: Code restructure failed: missing block: B:32:0x0023, code lost:
r11 = (java.lang.Object[]) null;
r14 = new java.lang.Object[1];
aD((char) ((android.view.ViewConfiguration.getMinimumFlingVelocity() >> 16) + 36416), new char[]{40198, 8085, 52608, 62527, 6273, 16087, 58364, 13250, 50864, 56467, 10207, 48892, 4535, 2367, 2282, 31390, 62171, 20063, 48568, 21538, 51973, 35676, 46775, 36506, 44703, 32382}, new char[]{22250, 23163, 16466, 23182}, new char[]{12711, 55897, 37321, 35327}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_success_result_ncb_slip_text_button).substring(0, 35).length() - 35, r14);
r6 = java.lang.Class.forName((java.lang.String) r14[0]);
r7 = new java.lang.Object[1];
aE((short) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.FaceTec_result_idscan_unsuccess_message).substring(22, 23).length() + 117), 575923994 - (android.view.KeyEvent.getMaxKeyCode() >> 16), (-119) - android.widget.ExpandableListView.getPackedPositionChild(0), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_ntb_pin_expired_description).substring(4, 9).length() - 1015111597, (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 120), r7);
r2 = (android.content.Context) r6.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x0021, code lost:
if (r2 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost:
if (r2 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.cardmanagement.Hilt_CardActivationActivity, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 final void onResume() {
/*
Method dump skipped, instructions count: 522
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.CardActivationActivity.onResume():void");
}
@Override // com.scb.phone.view.activity.cardmanagement.Hilt_CardActivationActivity, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = F + 27;
H = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fatca_error_open_account_title).substring(11, 12).length() + 36415), new char[]{40198, 8085, 52608, 62527, 6273, 16087, 58364, 13250, 50864, 56467, 10207, 48892, 4535, 2367, 2282, 31390, 62171, 20063, 48568, 21538, 51973, 35676, 46775, 36506, 44703, 32382}, new char[]{22250, 23163, 16466, 23182}, new char[]{12711, 55897, 37321, 35327}, ViewConfiguration.getFadingEdgeLength() >> 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ccr_search_all_category).substring(0, 14).codePointAt(13) + 3), 575923952 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.occupation_inline_error_character).substring(0, 1).codePointAt(0), (-117) - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 1015111696, (byte) ((-86) - View.MeasureSpec.getMode(0)), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = H + 27;
F = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = F + 11;
H = i5 % 128;
try {
if (i5 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 492, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (KeyEvent.getMaxKeyCode() >> 16))).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 - View.combineMeasuredStates(0, 0), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) Color.green(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 492, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 487, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.cardmanagement.Hilt_CardActivationActivity, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = H + 27;
F = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD((char) (38547 - (ViewConfiguration.getPressedStateDuration() >> 16)), new char[]{24226, 56285, 60032, 57984, 14246, 24627, 9735, 7864, 16079, 23327, 47458, 37384, 49388, 15421, 52901, 11877, 12074, 42799}, new char[]{14231, 47818, 37676, 4246}, new char[]{12711, 55897, 37321, 35327}, Color.alpha(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 2666), new char[]{17439, 56133, 51922, 12489, 26971}, new char[]{37456, 37843, 27559, '\n'}, new char[]{12711, 55897, 37321, 35327}, View.MeasureSpec.getSize(0) - 1483484270, objArr2);
Object obj = null;
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 = F + 101;
H = i4 % 128;
if (i4 % 2 == 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (Process.myTid() >> 22), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aE((short) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 127), 575924012 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (-118) - View.MeasureSpec.makeMeasureSpec(0, 0), Process.getGidForName("") - 1015111641, (byte) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 28), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD((char) (ViewConfiguration.getJumpTapTimeout() >> 16), new char[]{49491, 56446, 55076, 18467, 62540, 27179, 21508, 33106, 18304, 3984, 53189, 25935, 27456, 16368, 33895, 24355, 54027, 19552, 11918, 47216, 28020, 23654, 9529, 4863, 45291, 44898, 27882, 45463, 58374, 40310, 52898, 21257, 57474, 41023, 30636, 9088, 46167, 58058, 61931, 62618, 40343, 10363, 36538, 11577, 22997, 32469, 46025, 33807, 2825, 52846, 12577, 54119, 27827, 50071, 11595, 23582, 38155, 11114, 35697, 2614, 16319, 40862, 13791, 44709}, new char[]{39228, 64661, 31639, 35246}, new char[]{12711, 55897, 37321, 35327}, ViewConfiguration.getTouchSlop() >> 8, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD((char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1), new char[]{4762, 61221, 36602, 46332, 52780, 48250, 37566, 53858, 57708, 53943, 29396, 22674, 13518, 22260, 9675, 38510, 34770, 9075, 2980, 58559, 33845, 41411, 57441, 19562, 46036, 29683, 23270, 29533, 22375, 14657, 36547, 32181, 23707, 33538, 2624, 31738, 9501, 33391, 51072, 38298, 27065, 17733, 37114, 57325, 35573, 51084, 44079, 11297, 58935, 60632, 543, 48340, 32683, 17672, 44497, 51381, 35557, 56992, 53204, 16016, 945, 36299, 45477, 31899}, new char[]{46247, 47034, 8744, 51960}, new char[]{12711, 55897, 37321, 35327}, Color.blue(0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD((char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new char[]{22070, 14608, 56029, 59989, 55136, 61720, 41754, 59606, 33390, 10776, 27008, 47449, 15195, 31208, 5268, 44954, 24627, 64077, 46767, 35763, 49467, 18518, 59281, 6983, 26862, 14117, 46388, 39991, 3814, 12296, 21113, 47628, 19271, 26376, 51333, 20416, 19604, 47876, 64414, 62156, 50517, 11490, 47995, 43960, 2711, 38585, 848, 25073, 23557, 25603, 58699, 28409, 44040, 44406, 29550, 55595, 58756, 23217, 28855, 9478, 2423, 28872, 40617, 39057, 18287, 40019, 22401, 59474, 63097, 20411, 1804, 9710, 51960, 64259}, new char[]{49202, 60627, 12520, 42938}, new char[]{12711, 55897, 37321, 35327}, TextUtils.getTrimmedLength(""), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD((char) (TextUtils.lastIndexOf("", '0') + 36108), new char[]{58101, 37378, 23483, 61154, 55250}, new char[]{49268, 33213, 2961, 29581}, new char[]{12711, 55897, 37321, 35327}, View.MeasureSpec.makeMeasureSpec(0, 0) - 1853768256, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD((char) TextUtils.getOffsetBefore("", 0), new char[]{55439, 21464, 36401, 42163, 6079, 22400, 27324, 57148, 47640, 49180, 48427, 370, 29680, 16051, 16148, 51555, 38739, 57465, 53853, 31182, 21934, 62657, 19185, 46961, 47662, 61070, 63789, 35193, 10233, 18373, 1964, 49009, 14424, 47003, 10362, 34724}, new char[]{51843, 25481, 16081, 17015}, new char[]{12711, 55897, 37321, 35327}, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 487, (Process.myTid() >> 22) + 5, (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, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
public static /* synthetic */ void b(CardActivationActivity cardActivationActivity) {
int i = 2 % 2;
int i2 = H + 47;
F = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(cardActivationActivity, "");
if (cardActivationActivity.getSupportFragmentManager().t() > 0) {
cardActivationActivity.getSupportActionBar();
pwE supportActionBar = cardActivationActivity.getSupportActionBar();
if (supportActionBar != null) {
int i4 = H + 89;
F = i4 % 128;
int i5 = i4 % 2;
supportActionBar.d(true);
return;
}
return;
}
C16420oGW c16420oGW = cardActivationActivity.u;
C16420oGW c16420oGW2 = null;
if (c16420oGW == null) {
C14957gcv.a("");
c16420oGW = null;
}
Toolbar toolbar = c16420oGW.a;
C16420oGW c16420oGW3 = cardActivationActivity.u;
if (c16420oGW3 == null) {
C14957gcv.a("");
} else {
c16420oGW2 = c16420oGW3;
}
super.amL_(toolbar, c16420oGW2.b);
cardActivationActivity.ac();
cardActivationActivity.setTitle(R.string.card_activation);
int i6 = F + 15;
H = i6 % 128;
int i7 = i6 % 2;
}
public static /* synthetic */ void b(CardActivationActivity cardActivationActivity, Heg heg) {
int i = 2 % 2;
C14957gcv.e(cardActivationActivity, "");
C14957gcv.e(heg, "");
if (-1 != heg.e) {
if (heg.e != 0 || heg.b == null) {
return;
}
int i2 = H + 81;
F = i2 % 128;
int i3 = i2 % 2;
Intent intent = heg.b;
if (intent == null || !intent.getBooleanExtra("com.scb.phone.IS_NAVIGATE_BACK_TO_ADD_ACCOUNT", false)) {
return;
}
cardActivationActivity.finish();
return;
}
C2840amG c2840amG = cardActivationActivity.presenter;
CardActivationFragment cardActivationFragment = null;
if (c2840amG != null) {
int i4 = H + 17;
F = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
c2840amG = null;
}
c2840amG.b = cardActivationActivity.q;
c2840amG.a = cardActivationActivity.f6621o;
c2840amG.c = cardActivationActivity.k;
c2840amG.d = cardActivationActivity.r;
c2840amG.d("", "", cardActivationActivity.p);
CardActivationFragment cardActivationFragment2 = cardActivationActivity.m;
if (cardActivationFragment2 == null) {
int i6 = F + 117;
H = i6 % 128;
if (i6 % 2 == 0) {
C14957gcv.a("");
int i7 = 24 / 0;
} else {
C14957gcv.a("");
}
} else {
cardActivationFragment = cardActivationFragment2;
}
cardActivationFragment.y();
int i8 = F + 53;
H = i8 % 128;
int i9 = i8 % 2;
}
public static final Intent YZ_(Context context, C0443Gr c0443Gr) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) CardActivationActivity.class);
intent.putExtra("EXTRA_INACTIVE_CARD", c0443Gr);
intent.putExtra("EXTRA_IS_FROM_DEEPLINK_CARD_ACTIVATE", true);
int i2 = F + 71;
H = i2 % 128;
if (i2 % 2 != 0) {
return intent;
}
Object obj = null;
obj.hashCode();
throw null;
}
static void j() {
w = -836455198470509822L;
y = 452713125;
v = (char) 55973;
A = -1906178317;
B = 1406017120;
C = 1867480606;
z = new byte[]{-120, ISO7816.INS_GET_DATA, 35, -4, 86, -53, -49, -12, -11, 33, Ascii.SUB, ISO7816.INS_DELETE_FILE, 35, 56, -10, 33, -12, 87, -82, 65, -89, 95, -90, 116, -113, ISOFileInfo.LCS_BYTE, 88, -120, 119, 113, -65, 115, -75, ISOFileInfo.SECURITY_ATTR_COMPACT, -120, 71, -83, 94, -90, 90, -89, 88, -89, 80, -89, ISOFileInfo.SECURITY_ATTR_EXP, 125, ISOFileInfo.CHANNEL_SECURITY, 113, 91, -94, -113, 91, ISOFileInfo.A1, 90, ISOFileInfo.A1, 115, 89, ISOFileInfo.SECURITY_ATTR_EXP, 125, -75, -72, 91, -90, 119, ISOFileInfo.CHANNEL_SECURITY};
}
@Override // com.scb.phone.view.activity.cardmanagement.Hilt_CardActivationActivity, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 final void onStart() {
int i = 2 % 2;
int i2 = H + 31;
F = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = F + 87;
H = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 96 / 0;
}
}
private void c(String str, String str2, String str3, boolean z2) {
c(new Object[]{this, str, str2, str3, Boolean.valueOf(z2)}, 87959852, -87959851, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) + 1667784210);
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void amL_(Toolbar toolbar, TextView textView) {
c(new Object[]{this, toolbar, textView}, 573454114, -573454110, System.identityHashCode(this));
}
@Override // com.scb.phone.view.fragment.cardmanagement.CardActivationFragment.RVV
public final void f() {
c(new Object[]{this}, -249899991, 249899991, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 881186766);
}
@Override // com.scb.phone.view.fragment.cardmanagement.CardActivationFragment.RVV
public final void d(C0443Gr c0443Gr) {
int i = 2 % 2;
int i2 = H;
int i3 = i2 + 117;
F = i3 % 128;
int i4 = i3 % 2;
this.q = c0443Gr;
if (i4 != 0) {
throw null;
}
int i5 = i2 + 59;
F = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.fragment.cardmanagement.CardActivationFragment.RVV
public final void e(String str) {
int i = 2 % 2;
int i2 = F + 29;
int i3 = i2 % 128;
H = i3;
int i4 = i2 % 2;
Object obj = null;
this.r = str;
if (i4 == 0) {
throw null;
}
int i5 = i3 + 109;
F = i5 % 128;
if (i5 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.fragment.cardmanagement.CardActivationFragment.RVV
public final void c(String str) {
int i = 2 % 2;
int i2 = F + 113;
int i3 = i2 % 128;
H = i3;
int i4 = i2 % 2;
Object obj = null;
this.f6621o = str;
if (i4 == 0) {
obj.hashCode();
throw null;
}
int i5 = i3 + 15;
F = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.fragment.cardmanagement.CardActivationFragment.RVV
public final void d(String str) {
int i = 2 % 2;
int i2 = H + 11;
F = i2 % 128;
int i3 = i2 % 2;
this.k = str;
if (i3 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void m(String str) {
c(new Object[]{this, str}, -1655689903, 1655689905, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 892005726);
}
static {
H = 1;
j();
b = new LWm((byte) 0);
int i = F + 77;
H = i % 128;
if (i % 2 == 0) {
throw null;
}
}
}