what-the-bank/sources/com/scb/phone/view/activity/ndid/NdidLandingActivity.java

1044 lines
58 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ndid;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.net.Uri;
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 com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.huawei.hms.support.api.entity.common.CommonConstant;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity;
import com.scb.phone.view.custom.common.ProgressStateBar;
import com.scb.phone.view.fragment.ndid.NdidInstructionFragment;
import com.scb.phone.view.fragment.ntb.fatca.FatcaLandingQuestionFragment;
import java.lang.reflect.Method;
import java.util.ArrayList;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC11249ebl;
import o.AbstractC13482fbE;
import o.C4403bZM;
import o.C6853cdJ;
import o.IHF;
import o.IRS;
import o.InterfaceC13391fZD;
import o.Nhs;
import o.SV;
import o.ZI;
import o.cXH;
import o.fIY;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public class NdidLandingActivity extends AbstractActivityC11249ebl implements fIY.RVV {
private static String b = "";
private static long k;
private static int[] l;
private static char m;
/* renamed from: o, reason: collision with root package name */
private static int f7623o;
private static char[] p;
private static int q;
private static char r;
@InterfaceC13391fZD
public C6853cdJ ntbPresenter;
private static final byte[] $$E = {ISO7816.INS_DECREASE_STAMPED, -25, 126, 49};
private static final int $$F = 84;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x002e). 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 aK(short r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 4
byte[] r0 = com.scb.phone.view.activity.ndid.NdidLandingActivity.$$E
int r6 = r6 + 102
int r8 = r8 * 2
int r1 = r8 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L12
r3 = r7
r4 = r2
goto L2e
L12:
r3 = r2
L13:
r5 = r7
r7 = r6
r6 = r5
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r8) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L23:
int r6 = r6 + 1
int r3 = r3 + 1
r4 = r0[r6]
r5 = r7
r7 = r6
r6 = r4
r4 = r3
r3 = r5
L2e:
int r6 = r6 + r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndid.NdidLandingActivity.aK(short, byte, byte, java.lang.Object[]):void");
}
public static Intent ajh_(Context context, String str) {
int i = 2 % 2;
Intent putExtra = new Intent(context, (Class<?>) NdidLandingActivity.class).putExtra("EXTRA_STAGE", str);
int i2 = s + 55;
q = i2 % 128;
int i3 = i2 % 2;
return putExtra;
}
public static Intent aji_(Context context, String str, IHF ihf) {
int i = 2 % 2;
Intent putExtra = new Intent(context, (Class<?>) NdidLandingActivity.class).putExtra("EXTRA_STAGE", str).putExtra("com.scb.phone.EXTRA_NDIDCOMMON_DATA", ihf);
int i2 = s + 9;
q = i2 % 128;
if (i2 % 2 == 0) {
return putExtra;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void aI(char c, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr, 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 = cArr2.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
int i5 = $11 + 51;
$10 = i5 % 128;
int i6 = i5 % 2;
while (nhs.a < length3) {
int i7 = $10 + 63;
$11 = i7 % 128;
int i8 = i7 % i3;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 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(View.getDefaultSize(0, 0) + 352, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.getOffsetBefore("", 0) + 52128));
byte b2 = (byte) (-1);
Object[] objArr4 = new Object[1];
aK((byte) 13, b2, (byte) (b2 + 1), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 747, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) View.resolveSize(0, 0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 != null) {
i2 = 2;
} else {
Class cls2 = (Class) xzZ.c(View.resolveSize(0, 0) + 402, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (21608 - TextUtils.getTrimmedLength("")));
byte b3 = (byte) (-1);
Object[] objArr7 = new Object[1];
aK((byte) 12, b3, (byte) (b3 + 1), objArr7);
i2 = 2;
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] ^ cArr2[nhs.a]) ^ (k ^ 9051040786702654117L)) ^ ((int) (f7623o ^ 9051040786702654117L))) ^ ((char) (m ^ 9051040786702654117L)));
nhs.a++;
i3 = i2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
@Override // o.AbstractActivityC11249ebl, com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, 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];
aJ(new char[]{18, 17, 16, 31, 16, '\f', 14, 15, 16, 27, 20, 2, '!', 16, 22, '\r', 13826, 13826}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 85), 18 - TextUtils.indexOf("", "", 0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new int[]{2025012555, -1959321141, -1252876094, 787732086}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 41, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 55;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aG(new int[]{2092055330, 1777909828, 146409267, 234115585, 1738835706, 987777946, -1230297274, -1716719322, 1589377055, 35338193, 827040582, 165463513, -1921047556, -593126343}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aG(new int[]{-1987419263, -272255910, 1550457833, -252803419, -1565732421, -712161015, 2119320294, 882294139, 1171680564, 346512058}, 17 - TextUtils.indexOf((CharSequence) "", '0', 0), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = s + 95;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 491, TextUtils.getTrimmedLength("") + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aG(new int[]{-1183824544, -621206756, -96216615, 843284496, -6483851, -888997040, -450300458, -806955534, -506879995, -770918917, 565453895, 446991103, 1682818630, -1147271564, 71943009, -110664627, -1634675158, -349325918, 1650569368, -575589846, 174873334, -572067893, 1691584106, -1665170585}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_product_catalog_description_2).substring(44, 45).length() + 47, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new int[]{886888255, -896578275, -460038483, 119397449, -195519510, -1309223030, 1486891211, -453896820, -2028732327, 776523684, -1169605943, 1606924152, -1059618420, 1635296210, -194716432, -2093419188, -1359532673, 494091249, -517213870, -113038738, -685477517, -49638167, -1517939361, 145918016, 1658772964, 755446854, -1261299137, 751383796, -671486784, 19942012, -1642184665, -1931008358}, 63 - Process.getGidForName(""), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aJ(new char[]{18, 21, 30, 27, 18, 29, 13884, 13884, 6, '\b', NistHelper.SEP_FS, '\f', 24, 26, ' ', 21, 29, '#', 30, '\"', 27, 3, '#', 6, 20, 21, '\"', 17, 23, 2, '\r', 19, 26, 24, 21, 11, '\n', 6, 13800, 13800, 15, 3, 6, 27, 31, 23, 4, 17, NistHelper.SEP_FS, 17, '\b', 23, 1, 11, '\"', 30, '#', 21, 5, 29, '\b', 21, 18, 31}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 27), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.lifestyle_tutorial_message_step_10).substring(49, 50).length() + 63, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aJ(new char[]{NistHelper.SEP_FS, 3, 5, 3, 25, 4, 13803, 13803, 29, 16, 19, '#', 21, '\r', 13869, 13869, 22, 4, 23, '\r', 21, 5, '#', 29, 14, 24, 16, 2, NistHelper.SEP_FS, '!', 17, 22, 1, 22, 22, 29, 2, 16, 6, 4, 22, '#', 16, 25, 18, 4, 22, '#', 17, 15, 21, '\r', 30, 7, 20, 5, '\f', 11, '\f', '\r', 16, 22, '\"', '\n', '\f', 24, 6, 7, '\f', 22, 17, '\r', '\n', '\"'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 41), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 61, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aG(new int[]{123474145, -240014552, 502774017, 1931480248}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.qr_code_generation_title).substring(14, 17).codePointAt(1) - 76, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aG(new int[]{-478895922, 711078435, 409722650, -1326656499, 1220181551, -1012250868, 2086262276, 722490919, -1574537558, -687245953, 1453710766, 775129302, -1618348311, 516357798, -1251041335, 2022973564, -1742045299, 2087410994}, 37 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 487, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
this.ntbPresenter.e((C6853cdJ) this);
this.ntbPresenter.b();
}
protected NdidInstructionFragment g() {
int i = 2 % 2;
NdidInstructionFragment ndidInstructionFragment = new NdidInstructionFragment();
int i2 = q + 83;
s = i2 % 128;
int i3 = i2 % 2;
return ndidInstructionFragment;
}
private static void aG(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
char c;
int length;
int[] iArr3;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = l;
int i3 = 16;
int i4 = 1;
int i5 = 0;
if (iArr4 != null) {
int i6 = $10;
int i7 = i6 + 99;
$11 = i7 % 128;
if (i7 % 2 == 0) {
length = iArr4.length;
iArr3 = new int[length];
} else {
length = iArr4.length;
iArr3 = new int[length];
}
int i8 = i6 + 41;
$11 = i8 % 128;
int i9 = i8 % 2;
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[0] = Integer.valueOf(iArr4[i10]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> i3) + 15, 5 - View.resolveSizeAndState(0, 0, 0), (char) (TextUtils.getCapsMode("", 0, 0) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i10] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i10++;
i3 = 16;
i4 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr4 = iArr3;
}
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int[] iArr6 = l;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i11 = 0;
while (i11 < length3) {
try {
Object[] objArr3 = new Object[1];
objArr3[i5] = Integer.valueOf(iArr6[i11]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
c = 55346;
} else {
obj2 = ((Class) xzZ.c(15 - Gravity.getAbsoluteGravity(0, 0), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) ((ViewConfiguration.getTapTimeout() >> 16) + 58134))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
c = 55346;
xzZ.y.put(729798706, obj2);
}
iArr7[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i11++;
iArr6 = iArr2;
i5 = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr6 = iArr7;
}
int i12 = i5;
System.arraycopy(iArr6, i12, iArr5, i12, length2);
c4403bZM.b = i12;
while (c4403bZM.b < iArr.length) {
int i13 = $10 + 39;
$11 = i13 % 128;
int i14 = i13 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i15 = 0;
for (int i16 = 16; i15 < i16; i16 = 16) {
int i17 = $11 + 45;
$10 = i17 % 128;
if (i17 % 2 != 0) {
c4403bZM.e ^= iArr5[i15];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 118, TextUtils.lastIndexOf("", '0') + 6, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1));
byte b2 = (byte) 2;
byte b3 = (byte) (b2 - 3);
Object[] objArr5 = new Object[1];
aK(b2, b3, (byte) (b3 + 1), objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i15 += 13;
} else {
c4403bZM.e ^= iArr5[i15];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(118 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - (Process.myTid() >> 22), (char) (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)));
byte b4 = (byte) 2;
byte b5 = (byte) (b4 - 3);
Object[] objArr7 = new Object[1];
aK(b4, b5, (byte) (b5 + 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i15++;
}
}
int i18 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i18;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i19 = c4403bZM.e;
int i20 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 99, 5 - Drawable.resolveOpacity(0, 0), (char) (AndroidCharacter.getMirror('0') - '0'));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 - 1);
Object[] objArr9 = new Object[1];
aK(b6, b7, (byte) (b7 + 1), objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object a(Object[] objArr) {
boolean z = false;
NdidLandingActivity ndidLandingActivity = (NdidLandingActivity) objArr[0];
SV sv = (SV) objArr[1];
int i = 2 % 2;
int i2 = s + 13;
q = i2 % 128;
if (i2 % 2 == 0) {
final IHF ihf = (IHF) ndidLandingActivity.getIntent().getParcelableExtra("com.scb.phone.EXTRA_NDIDCOMMON_DATA");
boolean equals = ndidLandingActivity.getIntent().getExtras().getString("EXTRA_STAGE", b).equals(cXH.HBt.EnumC0104HBt.FINISHED_FLOW_STATE.toString());
if (ihf == null || !equals) {
NdidInstructionFragment g = ndidLandingActivity.g();
Bundle bundle = new Bundle();
bundle.putString("com.scb.phone.view.fragment.ndid.STAGE_TAG", sv.l);
if (sv.f8363o != null) {
bundle.putStringArrayList("com.scb.phone.view.fragment.ndid.EXTRA_REMARK", new ArrayList<>(sv.f8363o));
}
g.setArguments(bundle);
AbstractC13482fbE a = ndidLandingActivity.getSupportFragmentManager().a();
a.b(R.id.container, g, g.getClass().getName(), 2);
a.b();
ndidLandingActivity.k();
return null;
}
final C6853cdJ c6853cdJ = ndidLandingActivity.ntbPresenter;
ZI.IeS ieS = new ZI.IeS(c6853cdJ, ihf) { // from class: o.cdT
private C6853cdJ b;
private IHF c;
@Override // o.ZI.IeS
public final void e(Object obj) {
r0.b.e(
/* JADX ERROR: Method code generation error
jadx.core.utils.exceptions.CodegenException: Error generate insn: 0x0006: INVOKE
(wrap:o.iJ:0x0000: IGET (r0v0 o.cdJ) A[WRAPPED] o.cdJ.b o.iJ)
(wrap:o.gbN<o.gag>:0x0004: CONSTRUCTOR (r3v1 o.dab$jbe) A[MD:(o.dab$jbe):void (m), WRAPPED] (LINE:1049) call: o.cdM.<init>(o.dab$jbe):void type: CONSTRUCTOR)
(wrap:o.gbN<o.gag>:0x0009: CONSTRUCTOR
(wrap:o.cdJ:0x0000: IGET (r2v0 'this' o.cdT A[IMMUTABLE_TYPE, THIS]) A[WRAPPED] (LINE:65353) o.cdT.b o.cdJ)
(wrap:o.IHF:0x0002: IGET (r2v0 'this' o.cdT A[IMMUTABLE_TYPE, THIS]) A[WRAPPED] o.cdT.c o.IHF)
(wrap:o.dab$jbe:0x0004: CHECK_CAST (o.dab$jbe) (r3v0 'obj' java.lang.Object))
A[MD:(o.cdJ, o.IHF, o.dab$jbe):void (m), WRAPPED] (LINE:65353) call: o.cdO.<init>(o.cdJ, o.IHF, o.dab$jbe):void type: CONSTRUCTOR)
VIRTUAL call: o.iJ.e(o.gbN, o.gbN):void A[MD:(o.gbN<o.gag>, o.gbN<o.gag>):void (m)] (LINE:1049) in method: o.cdT.e(java.lang.Object):void, file: classes4.dex
at jadx.core.codegen.InsnGen.makeInsn(InsnGen.java:310)
at jadx.core.codegen.InsnGen.makeInsn(InsnGen.java:273)
at jadx.core.codegen.RegionGen.makeSimpleBlock(RegionGen.java:94)
at jadx.core.dex.nodes.IBlock.generate(IBlock.java:15)
at jadx.core.codegen.RegionGen.makeRegion(RegionGen.java:66)
at jadx.core.dex.regions.Region.generate(Region.java:35)
at jadx.core.codegen.RegionGen.makeRegion(RegionGen.java:66)
at jadx.core.codegen.MethodGen.addRegionInsns(MethodGen.java:297)
at jadx.core.codegen.MethodGen.addInstructions(MethodGen.java:276)
at jadx.core.codegen.ClassGen.addMethodCode(ClassGen.java:406)
at jadx.core.codegen.ClassGen.addMethod(ClassGen.java:335)
at jadx.core.codegen.ClassGen.lambda$addInnerClsAndMethods$3(ClassGen.java:301)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
at java.base/java.util.stream.SortedOps$RefSortingSink.end(SortedOps.java:395)
at java.base/java.util.stream.Sink$ChainedReference.end(Sink.java:261)
Caused by: jadx.core.utils.exceptions.JadxRuntimeException: Expected class to be processed at this point, class: o.cdM, state: NOT_LOADED
at jadx.core.dex.nodes.ClassNode.ensureProcessed(ClassNode.java:304)
at jadx.core.codegen.InsnGen.inlineAnonymousConstructor(InsnGen.java:781)
at jadx.core.codegen.InsnGen.makeConstructor(InsnGen.java:730)
at jadx.core.codegen.InsnGen.makeInsnBody(InsnGen.java:418)
at jadx.core.codegen.InsnGen.addWrappedArg(InsnGen.java:145)
at jadx.core.codegen.InsnGen.addArg(InsnGen.java:121)
at jadx.core.codegen.InsnGen.addArg(InsnGen.java:108)
at jadx.core.codegen.InsnGen.generateMethodArguments(InsnGen.java:1117)
at jadx.core.codegen.InsnGen.makeInvoke(InsnGen.java:884)
at jadx.core.codegen.InsnGen.makeInsnBody(InsnGen.java:422)
at jadx.core.codegen.InsnGen.makeInsn(InsnGen.java:303)
... 15 more
*/
/*
this = this;
o.cdJ r0 = r2.b
o.IHF r1 = r2.c
o.dab$jbe r3 = (o.InterfaceC8954dab.jbe) r3
o.C6853cdJ.a(r0, r1, r3)
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.C6863cdT.e(java.lang.Object):void");
}
{
this.b = c6853cdJ;
this.c = ihf;
}
};
if (c6853cdJ.f != 0) {
int i3 = q + 53;
s = i3 % 128;
int i4 = i3 % 2;
z = true;
}
if (!(!z)) {
ieS.e(c6853cdJ.f);
}
return null;
}
ndidLandingActivity.getIntent().getExtras().getString("EXTRA_STAGE", b).equals(cXH.HBt.EnumC0104HBt.FINISHED_FLOW_STATE.toString());
throw null;
}
protected void k() {
ProgressStateBar progressStateBar;
int i;
int i2 = 2 % 2;
int i3 = q + 21;
s = i3 % 128;
if (i3 % 2 == 0) {
progressStateBar = this.progressStateBar;
i = 1;
} else {
progressStateBar = this.progressStateBar;
i = 0;
}
progressStateBar.setCurrentState(i);
int i4 = s + 9;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // androidx.appcompat.app.AppCompatActivity, androidx.activity.ComponentActivity, android.app.Activity, android.content.ComponentCallbacks
public void onConfigurationChanged(Configuration configuration) {
int i = 2 % 2;
int i2 = q + 105;
s = i2 % 128;
int i3 = i2 % 2;
super.onConfigurationChanged(configuration);
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = s + 31;
q = i4 % 128;
int i5 = i4 % 2;
}
public void m() {
int i = 2 % 2;
int i2 = s + 61;
q = i2 % 128;
int i3 = i2 % 2;
p(getString(R.string.ntb_ekyc_title));
k();
this.progressStateBar.requestLayout();
int i4 = q + 61;
s = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
public void d() {
int i = 2 % 2;
FatcaLandingQuestionFragment fatcaLandingQuestionFragment = new FatcaLandingQuestionFragment();
Bundle bundle = new Bundle();
bundle.putInt("BUNDLE_FATCA_TYPE", 0);
fatcaLandingQuestionFragment.setArguments(bundle);
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, fatcaLandingQuestionFragment, fatcaLandingQuestionFragment.getClass().getName(), 2);
a.b();
int i2 = q + 89;
s = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC8954dab.jbe
public final void c(String str) {
int i = 2 % 2;
Intent intent = new Intent(CommonConstant.ACTION.HWID_SCHEME_URL);
intent.setData(Uri.parse(str));
startActivity(intent);
int i2 = s + 101;
q = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC8954dab.jbe
public final void a(String str, SV sv) {
int i = 2 % 2;
int i2 = q + 117;
s = i2 % 128;
int i3 = i2 % 2;
if (str != null) {
char normalizeMetaState = (char) (31549 - KeyEvent.normalizeMetaState(0));
Object[] objArr = new Object[1];
aG(new int[]{2092055330, 1777909828, 146409267, 234115585, 1738835706, 987777946, -1230297274, -1716719322, 1589377055, 35338193, 827040582, 165463513, -1921047556, -593126343}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new int[]{-1987419263, -272255910, 1550457833, -252803419, -1565732421, -712161015, 2119320294, 882294139, 1171680564, 346512058}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) - 83, objArr2);
aI(normalizeMetaState, 442902328 + ((Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.add_account_info_title).substring(11, 12).codePointAt(0), new char[]{42588, 26151, 15642, 63355}, new char[]{61502}, new char[]{26422, 28332, 48638, 36418}, new Object[1]);
if ((!((String) r5[0]).intern().equals(str)) && !"RP_INITIAL".equals(str)) {
int i4 = q + 53;
s = i4 % 128;
int i5 = i4 % 2;
if (!"RP_CID_VERIFIED".equals(str)) {
int i6 = q + 21;
s = i6 % 128;
int i7 = i6 % 2;
if (!"RP_PENDING".equals(str)) {
int i8 = s + 43;
q = i8 % 128;
int i9 = i8 % 2;
if (!"RP_LIVENESS".equals(str)) {
BaseNtbInstructionActivity.d(new Object[]{this, str}, 149843351, -149843350, ((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) - 1925334114);
return;
}
}
}
}
}
Object[] objArr3 = {this, sv};
int i10 = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1616142970;
a(objArr3);
}
@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 = s + 71;
q = i2 % 128;
if (i2 % 2 != 0) {
this.ntbPresenter.w_();
super.onDestroy();
int i3 = 28 / 0;
} else {
this.ntbPresenter.w_();
super.onDestroy();
}
}
@Override // o.AbstractActivityC11249ebl, com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = q + 9;
s = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = s + 41;
q = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
aG(new int[]{2092055330, 1777909828, 146409267, 234115585, 1738835706, 987777946, -1230297274, -1716719322, 1589377055, 35338193, 827040582, 165463513, -1921047556, -593126343}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_scbs_open_mf_and_om_checkbox).substring(4, 5).length() + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new int[]{-1987419263, -272255910, 1550457833, -252803419, -1565732421, -712161015, 2119320294, 882294139, 1171680564, 346512058}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.example_tg12123).substring(12, 13).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i5 = q + 55;
s = i5 % 128;
if (i5 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - TextUtils.indexOf("", ""), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - View.combineMeasuredStates(0, 0), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aJ(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = p;
int i4 = 15;
int i5 = 8;
int i6 = -1;
char c = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[c] = Integer.valueOf(cArr2[i7]);
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 298, (ViewConfiguration.getWindowTouchSlop() >> i5) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b3 = (byte) i6;
Object[] objArr3 = new Object[1];
aK((byte) i4, b3, (byte) (b3 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
i4 = 15;
i5 = 8;
i6 = -1;
c = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(r)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 299, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) Color.argb(0, 0, 0, 0));
byte b4 = (byte) (-1);
Object[] objArr5 = new Object[1];
aK((byte) 15, b4, (byte) (b4 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
} else {
i2 = i;
}
if (i2 > 1) {
int i8 = $11 + 111;
$10 = i8 % 128;
int i9 = i8 % 2;
irs.e = 0;
while (irs.e < i2) {
int i10 = $11 + 67;
$10 = i10 % 128;
int i11 = i10 % 2;
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(233 - View.getDefaultSize(0, 0), 5 - View.MeasureSpec.getMode(0), (char) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 22024));
byte b5 = (byte) (-1);
Object[] objArr7 = new Object[1];
aK((byte) 18, b5, (byte) (b5 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(328 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), Process.getGidForName("") + 6, (char) View.combineMeasuredStates(0, 0));
byte b6 = (byte) (-1);
Object[] objArr9 = new Object[1];
aK((byte) ($$F & 56), b6, (byte) (b6 + 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i12];
} else if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i13 = (irs.a * charValue) + irs.f;
int i14 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i13];
cArr4[irs.e + 1] = cArr2[i14];
} else {
int i15 = (irs.a * charValue) + irs.j;
int i16 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i15];
cArr4[irs.e + 1] = cArr2[i16];
}
}
irs.e += 2;
}
}
for (int i17 = 0; i17 < i; i17++) {
int i18 = $10 + 79;
$11 = i18 % 128;
int i19 = i18 % 2;
cArr4[i17] = (char) (cArr4[i17] ^ 13722);
}
objArr[0] = new String(cArr4);
}
/* JADX WARN: Code restructure failed: missing block: B:39:0x0021, code lost:
r7 = (java.lang.Object[]) null;
r7 = new java.lang.Object[1];
aG(new int[]{2092055330, 1777909828, 146409267, 234115585, 1738835706, 987777946, -1230297274, -1716719322, 1589377055, 35338193, 827040582, 165463513, -1921047556, -593126343}, ((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_landing_amount_too_low).substring(11, 12).codePointAt(0) - 6, r7);
r1 = java.lang.Class.forName((java.lang.String) r7[0]);
r7 = new java.lang.Object[1];
aG(new int[]{-1987419263, -272255910, 1550457833, -252803419, -1565732421, -712161015, 2119320294, 882294139, 1171680564, 346512058}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, r7);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@Override // o.AbstractActivityC11249ebl, com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onPause() {
/*
Method dump skipped, instructions count: 532
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndid.NdidLandingActivity.onPause():void");
}
@Override // o.AbstractActivityC11249ebl, com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, 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) {
int i = 2 % 2;
int i2 = s + 3;
q = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aJ(new char[]{18, 17, 16, 31, 16, '\f', 14, 15, 16, 27, 20, 2, '!', 16, 22, '\r', 13826, 13826}, (byte) (24 - ExpandableListView.getPackedPositionChild(0L)), 18 - ((Process.getThreadPriority(0) + 20) >> 6), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new int[]{2025012555, -1959321141, -1252876094, 787732086}, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = s + 91;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.getMode(0) + 492, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aG(new int[]{-1183824544, -621206756, -96216615, 843284496, -6483851, -888997040, -450300458, -806955534, -506879995, -770918917, 565453895, 446991103, 1682818630, -1147271564, 71943009, -110664627, -1634675158, -349325918, 1650569368, -575589846, 174873334, -572067893, 1691584106, -1665170585}, 48 - TextUtils.getTrimmedLength(""), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aG(new int[]{886888255, -896578275, -460038483, 119397449, -195519510, -1309223030, 1486891211, -453896820, -2028732327, 776523684, -1169605943, 1606924152, -1059618420, 1635296210, -194716432, -2093419188, -1359532673, 494091249, -517213870, -113038738, -685477517, -49638167, -1517939361, 145918016, 1658772964, 755446854, -1261299137, 751383796, -671486784, 19942012, -1642184665, -1931008358}, ExpandableListView.getPackedPositionType(0L) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aJ(new char[]{18, 21, 30, 27, 18, 29, 13884, 13884, 6, '\b', NistHelper.SEP_FS, '\f', 24, 26, ' ', 21, 29, '#', 30, '\"', 27, 3, '#', 6, 20, 21, '\"', 17, 23, 2, '\r', 19, 26, 24, 21, 11, '\n', 6, 13800, 13800, 15, 3, 6, 27, 31, 23, 4, 17, NistHelper.SEP_FS, 17, '\b', 23, 1, 11, '\"', 30, '#', 21, 5, 29, '\b', 21, 18, 31}, (byte) (61 - (ViewConfiguration.getKeyRepeatDelay() >> 16)), 64 - View.combineMeasuredStates(0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aJ(new char[]{NistHelper.SEP_FS, 3, 5, 3, 25, 4, 13803, 13803, 29, 16, 19, '#', 21, '\r', 13869, 13869, 22, 4, 23, '\r', 21, 5, '#', 29, 14, 24, 16, 2, NistHelper.SEP_FS, '!', 17, 22, 1, 22, 22, 29, 2, 16, 6, 4, 22, '#', 16, 25, 18, 4, 22, '#', 17, 15, 21, '\r', 30, 7, 20, 5, '\f', 11, '\f', '\r', 16, 22, '\"', '\n', '\f', 24, 6, 7, '\f', 22, 17, '\r', '\n', '\"'}, (byte) (54 - TextUtils.getTrimmedLength("")), MotionEvent.axisFromString("") + 75, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(new int[]{123474145, -240014552, 502774017, 1931480248}, TextUtils.getOffsetAfter("", 0) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new int[]{-478895922, 711078435, 409722650, -1326656499, 1220181551, -1012250868, 2086262276, 722490919, -1574537558, -687245953, 1453710766, 775129302, -1618348311, 516357798, -1251041335, 2022973564, -1742045299, 2087410994}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 35, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - Color.blue(0), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).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;
}
}
}
int i6 = q + 125;
s = i6 % 128;
int i7 = i6 % 2;
}
static void o() {
l = new int[]{-754837798, 629427998, -535515182, 1990217492, -1031688749, 1041135580, -1355145400, -1861604452, 1957566739, -1036250636, -1411793892, -1326539190, -2057784415, -949664398, 896566721, 331256993, 484811016, 1244081170};
p = new char[]{49094, 49033, 49091, 49119, 49095, 49029, 49052, 49034, 49113, 49030, 49108, 49025, 49117, 49111, 49053, 49116, 49110, 49114, 49093, 49104, 49035, 49026, 49090, 49106, 49024, 49031, 49112, 49115, 49088, 49105, 49028, 49118, 49123, 49027, 49089, 49109};
r = (char) 35375;
}
static {
q = 0;
o();
k = -875531924606042733L;
f7623o = 452713125;
m = (char) 55973;
int i = s + 81;
q = i % 128;
if (i % 2 != 0) {
throw null;
}
}
@Override // o.AbstractActivityC11249ebl, com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, 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 = q + 27;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = q + 101;
s = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity
public final void b(SV sv) {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1616142970;
a(new Object[]{this, sv});
}
public String e() {
int i = 2 % 2;
int i2 = q;
int i3 = i2 + 29;
s = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 17;
s = i5 % 128;
if (i5 % 2 != 0) {
return "ndid";
}
throw null;
}
}