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

979 lines
47 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.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.google.android.gms.internal.common.zzd;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.ndid.NdidMenuActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C14957gcv;
import o.C4379bYf;
import o.C4403bZM;
import o.InterfaceC13391fZD;
import o.InterfaceC9423djU;
import o.TVH;
import o.ZI;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.PassportService;
/* loaded from: classes5.dex */
public final class NdidIdpMenuSuccessActivity extends Hilt_NdidIdpMenuSuccessActivity implements InterfaceC9423djU.Sts {
private static final byte[] $$p = {Ascii.ESC, 74, ISO7816.INS_UPDATE_RECORD, 124};
private static final int $$q = 21;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
public static final IeS l;
private static char[] m;
/* renamed from: o, reason: collision with root package name */
private static int[] f7616o;
private static int p;
@InterfaceC13391fZD
public C4379bYf presenter;
@BindView
public TextView tvDateTime;
@BindView
public TextView tvDescriptionOne;
@BindView
public TextView tvDescriptionTwo;
@BindView
public TextView tvTitle;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(int r6, short r7, byte r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 3
int r0 = 1 - r8
int r7 = r7 * 2
int r7 = 4 - r7
int r6 = r6 + 71
byte[] r1 = com.scb.phone.view.activity.ndid.NdidIdpMenuSuccessActivity.$$p
byte[] r0 = new byte[r0]
r2 = 0
int r8 = 0 - r8
if (r1 != 0) goto L17
r6 = r7
r4 = r8
r3 = r2
goto L2c
L17:
r3 = r2
r5 = r7
r7 = r6
r6 = r5
L1b:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r8) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L28:
int r3 = r3 + 1
r4 = r1[r6]
L2c:
int r7 = r7 + r4
int r6 = r6 + 1
goto L1b
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndid.NdidIdpMenuSuccessActivity.aC(int, short, byte, java.lang.Object[]):void");
}
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i3;
int i5 = i4 | i;
int i6 = (i * (-51)) + (i2 * 53) + ((~(i5 | i2)) * 52);
int i7 = ~i2;
int i8 = i6 + (((~i5) | (~(i7 | i)) | (~(i7 | i4))) * (-52));
int i9 = ~i;
return i8 + (((~(i9 | i2)) | (~(i4 | i9))) * 52) != 1 ? d(objArr) : c(objArr);
}
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
private static void aA(int[] iArr, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = f7616o;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr2 != null) {
int i7 = $11 + 109;
$10 = i7 % 128;
int i8 = i7 % 2;
int length = iArr2.length;
int[] iArr3 = new int[length];
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[0] = Integer.valueOf(iArr2[i9]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 15, 4 - ImageFormat.getBitsPerPixel(0), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i9] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i9++;
i5 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr2 = iArr3;
}
int length2 = iArr2.length;
int[] iArr4 = new int[length2];
int[] iArr5 = f7616o;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i10 = 0;
while (i10 < length3) {
Object[] objArr3 = new Object[1];
objArr3[i6] = Integer.valueOf(iArr5[i10]);
Object obj2 = xzZ.y.get(Integer.valueOf(i4));
if (obj2 != null) {
i2 = i4;
} else {
Class cls = (Class) xzZ.c(14 - ImageFormat.getBitsPerPixel(i6), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (58134 - View.resolveSizeAndState(i6, i6, i6)));
Class<?>[] clsArr = new Class[1];
clsArr[i6] = Integer.TYPE;
obj2 = cls.getMethod("i", clsArr);
i2 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr6[i10] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i10++;
i4 = i2;
i6 = 0;
}
iArr5 = iArr6;
}
int i11 = i6;
System.arraycopy(iArr5, i11, iArr4, i11, length2);
c4403bZM.b = i11;
while (c4403bZM.b < iArr.length) {
int i12 = $11 + 27;
$10 = i12 % 128;
int i13 = i12 % 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(iArr4);
int i14 = $11 + 67;
$10 = i14 % 128;
int i15 = i14 % 2;
int i16 = 0;
while (i16 < 16) {
int i17 = $11 + 87;
$10 = i17 % 128;
if (i17 % 2 != 0) {
c4403bZM.e ^= iArr4[i16];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(118 - Color.alpha(0), 4 - MotionEvent.axisFromString(""), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1));
byte b = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) 33, b, b, objArr5);
obj3 = cls2.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;
i16 += 105;
} else {
c4403bZM.e ^= iArr4[i16];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 118, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) TextUtils.indexOf("", "", 0, 0));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) 33, b2, b2, objArr7);
obj4 = cls3.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;
i16++;
}
}
int i18 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i18;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[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(iArr4);
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 cls4 = (Class) xzZ.c(98 - KeyEvent.normalizeMetaState(0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1));
byte b3 = (byte) 0;
Object[] objArr9 = new Object[1];
aC((byte) ($$q | 10), b3, b3, objArr9);
obj5 = cls4.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);
}
@Override // com.scb.phone.view.activity.ndid.Hilt_NdidIdpMenuSuccessActivity, 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) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aA(new int[]{-2145463441, 1011084329, -369571996, 1808601935, -362510369, -342055888, -1082281780, 1391331692, 1138706061, -2130671527}, (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)) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
final C4379bYf c4379bYf = null;
Object[] objArr2 = new Object[1];
aA(new int[]{-2122230607, -1990617322, -1124378313, -917945931}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_example_submit_date_time).substring(0, 21).length() - 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 baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aB(new int[]{0, 26, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 25}, false, new byte[]{0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new int[]{-223260320, 1003075973, 1518563694, 1115136753, -191604986, -336490864, -543085689, 476089913, -1912346779, -1517156031}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_offline_success_remark_etb).substring(27, 28).length() + 17, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = k + 9;
p = i2 % 128;
if (i2 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.resolveSize(0, 0) + 492, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new int[]{26, 48, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{615555802, 1748049984, 107200136, -1093224912, 861769638, -702903749, 1358914845, -1327528684, 1556861798, -529726870, 152581511, -65379126, 47432868, 1980271905, -277798043, 256824756, 1512957975, 552714083, 2020102488, 1599763281, 1282539407, 1426059029, 147934223, 568155637, 1177080373, -882477989, 1697493398, -2109396971, -181218777, -934739330, -1470057085, 1550678613}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{-2007559889, -630266105, 176846851, -947169882, -1875359467, 788693847, -1472744275, -1809226504, 1890119060, -1716488475, 1483012991, -70362778, 1124567454, 2046844194, 1060378427, 1947114951, 1399661577, -607231876, 348429408, 1935475648, 1693443983, -1510688425, 1866632335, -402112147, -579838271, -506319092, 1154233951, 206704069, 1040637556, -1344488702, -761051109, 420321866}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{941151341, 985042595, -170599603, 1187503934, -103267047, -1188082955, -1761459667, -2060805184, 29879260, 44415901, 1550336800, 2063017604, 2000609467, 1502877585, -918668929, -932891948, -2070493534, 189319283, 400990132, 1445380796, -1212381466, 933877955, -921017057, -981588893, 349736203, 1801288485, 645863933, 1950161255, -159169799, -1693710721, -283529867, 79148840, 1068770456, 1702667216, -423861701, -575152418, -863141581, 682588728}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 40, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new int[]{-19467355, -795207852, 1687223918, -272169877}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new int[]{74, 36, 0, 0}, true, new byte[]{1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, 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 - View.MeasureSpec.getSize(0), 5 - TextUtils.getOffsetAfter("", 0), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558691);
ButterKnife.Dg_(this);
C4379bYf c4379bYf2 = this.presenter;
if (c4379bYf2 == null) {
C14957gcv.a("");
c4379bYf2 = null;
}
c4379bYf2.e((C4379bYf) this);
final String stringExtra = getIntent().getStringExtra("submit_date_time");
final String stringExtra2 = getIntent().getStringExtra("register_status");
if (stringExtra == null || stringExtra2 == null) {
return;
}
C4379bYf c4379bYf3 = this.presenter;
if (c4379bYf3 != null) {
int i3 = k + 1;
p = i3 % 128;
int i4 = i3 % 2;
c4379bYf = c4379bYf3;
} else {
C14957gcv.a("");
}
C14957gcv.e(stringExtra, "");
C14957gcv.e(stringExtra2, "");
ZI.IeS ieS = new ZI.IeS(c4379bYf, stringExtra, stringExtra2) { // from class: o.bYj
private C4379bYf b;
private String d;
private String e;
@Override // o.ZI.IeS
public final void e(Object obj3) {
C4379bYf.d(this.b, this.e, this.d, (InterfaceC9423djU.Sts) obj3);
}
{
this.b = c4379bYf;
this.e = stringExtra;
this.d = stringExtra2;
}
};
if (c4379bYf.f != 0) {
int i5 = k + 113;
p = i5 % 128;
int i6 = i5 % 2;
ieS.e(c4379bYf.f);
}
}
@Override // o.InterfaceC9423djU.Sts
public final void e(String str) {
int i = 2 % 2;
int i2 = p + 101;
k = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
TextView textView = this.tvDateTime;
if (textView != null) {
int i4 = k + 75;
p = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
textView = null;
}
textView.setText(str);
}
@Override // o.InterfaceC9423djU.Sts
public final void c() {
int i = 2 % 2;
int i2 = k + 67;
p = i2 % 128;
int i3 = i2 % 2;
TextView textView = this.tvTitle;
TextView textView2 = null;
if (textView == null) {
C14957gcv.a("");
int i4 = p + 51;
k = i4 % 128;
int i5 = i4 % 2;
textView = null;
}
textView.setText(getString(R.string.ndid_service_register_success_title));
TextView textView3 = this.tvDescriptionOne;
if (textView3 == null) {
C14957gcv.a("");
textView3 = null;
}
textView3.setText(getString(R.string.ndid_service_register_success_description));
TextView textView4 = this.tvDescriptionTwo;
if (textView4 != null) {
int i6 = p + 83;
k = i6 % 128;
int i7 = i6 % 2;
textView2 = textView4;
} else {
C14957gcv.a("");
}
textView2.setVisibility(8);
}
@Override // o.InterfaceC9423djU.Sts
public final void e() {
int i = 2 % 2;
TextView textView = this.tvTitle;
TextView textView2 = null;
if (textView != null) {
int i2 = p + 57;
k = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
} else {
C14957gcv.a("");
textView = null;
}
textView.setText(getString(R.string.ndid_service_unregister_success_title));
TextView textView3 = this.tvDescriptionOne;
if (textView3 != null) {
int i3 = k + 37;
int i4 = i3 % 128;
p = i4;
if (i3 % 2 == 0) {
textView2.hashCode();
throw null;
}
int i5 = i4 + 83;
k = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
textView3 = null;
}
textView3.setText(getString(R.string.ndid_service_unregister_success_description_one));
TextView textView4 = this.tvDescriptionTwo;
if (textView4 != null) {
int i7 = k + 103;
p = i7 % 128;
int i8 = i7 % 2;
textView2 = textView4;
} else {
C14957gcv.a("");
}
textView2.setText(getString(R.string.ndid_service_unregister_success_description_two));
}
@Override // o.InterfaceC9423djU.Sts
public final void d() {
int i = 2 % 2;
NdidMenuActivity.IeS ieS = NdidMenuActivity.f7624o;
NdidIdpMenuSuccessActivity ndidIdpMenuSuccessActivity = this;
C14957gcv.e(ndidIdpMenuSuccessActivity, "");
Intent intent = new Intent(ndidIdpMenuSuccessActivity, (Class<?>) NdidMenuActivity.class);
intent.addFlags(zzd.zza);
startActivity(intent);
int i2 = p + 71;
k = i2 % 128;
if (i2 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@OnClick
public final void onClickDone() {
boolean z;
int i = 2 % 2;
C4379bYf c4379bYf = this.presenter;
if (c4379bYf == null) {
C14957gcv.a("");
int i2 = k + 85;
p = i2 % 128;
int i3 = i2 % 2;
c4379bYf = null;
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.bYk
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9423djU.Sts) obj).d();
}
};
if (c4379bYf.f != 0) {
int i4 = k + 55;
p = i4 % 128;
int i5 = i4 % 2;
z = true;
} else {
z = false;
}
if (!(!z)) {
int i6 = p + 61;
k = i6 % 128;
int i7 = i6 % 2;
ieS.e(c4379bYf.f);
}
}
@OnClick
public final void onClickReturn() {
int i = 2 % 2;
int i2 = p + 53;
k = i2 % 128;
j(i2 % 2 == 0);
}
private static void aB(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
char[] cArr;
char c;
char[] cArr2;
int i = 2 % 2;
TVH tvh = new TVH();
int i2 = 0;
int i3 = iArr[0];
int i4 = iArr[1];
int i5 = iArr[2];
int i6 = iArr[3];
char[] cArr3 = m;
if (cArr3 != null) {
int length = cArr3.length;
char[] cArr4 = new char[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i2] = Integer.valueOf(cArr3[i7]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr2 = cArr3;
} else {
Class cls = (Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + PassportService.DEFAULT_MAX_BLOCKSIZE, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (41976 - Process.getGidForName("")));
byte b = (byte) i2;
byte b2 = b;
cArr2 = cArr3;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr4[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
cArr3 = cArr2;
i2 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
char[] cArr5 = new char[i4];
System.arraycopy(cArr3, i3, cArr5, 0, i4);
if (bArr != null) {
int i8 = $11 + 25;
$10 = i8 % 128;
if (i8 % 2 != 0) {
cArr = new char[i4];
tvh.c = 1;
c = 1;
} else {
cArr = new char[i4];
tvh.c = 0;
c = 0;
}
while (tvh.c < i4) {
if (bArr[tvh.c] == 1) {
int i9 = $11 + 75;
$10 = i9 % 128;
int i10 = i9 % 2;
int i11 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - TextUtils.indexOf("", ""), 5 - Color.argb(0, 0, 0, 0), (char) (54 - ((Process.getThreadPriority(0) + 20) >> 6)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i12 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Color.green(0) + 15, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (TextUtils.lastIndexOf("", '0', 0) + 58135))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr[i12] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getWindowTouchSlop() >> 8), 4 - TextUtils.lastIndexOf("", '0'), (char) (ImageFormat.getBitsPerPixel(0) + 21609));
byte b3 = (byte) 2;
byte b4 = (byte) (b3 - 2);
Object[] objArr7 = new Object[1];
aC(b3, b4, b4, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr5 = cArr;
}
if (i6 > 0) {
int i13 = $10 + 49;
$11 = i13 % 128;
if (i13 % 2 == 0) {
char[] cArr6 = new char[i4];
System.arraycopy(cArr5, 1, cArr6, 1, i4);
System.arraycopy(cArr6, 0, cArr5, i4 - i6, i6);
System.arraycopy(cArr6, i6, cArr5, 1, i4 * i6);
} else {
char[] cArr7 = new char[i4];
System.arraycopy(cArr5, 0, cArr7, 0, i4);
int i14 = i4 - i6;
System.arraycopy(cArr7, 0, cArr5, i14, i6);
System.arraycopy(cArr7, i6, cArr5, 0, i14);
}
}
if (z) {
int i15 = $11 + 53;
$10 = i15 % 128;
int i16 = i15 % 2;
char[] cArr8 = new char[i4];
int i17 = 0;
while (true) {
tvh.c = i17;
if (tvh.c >= i4) {
break;
}
int i18 = $10 + 87;
$11 = i18 % 128;
if (i18 % 2 == 0) {
cArr8[tvh.c] = cArr5[(i4 << tvh.c) >>> 1];
i17 = tvh.c % 1;
} else {
cArr8[tvh.c] = cArr5[(i4 - tvh.c) - 1];
i17 = tvh.c + 1;
}
}
cArr5 = cArr8;
}
if (i5 > 0) {
int i19 = $11 + 69;
$10 = i19 % 128;
int i20 = i19 % 2;
int i21 = 0;
loop3: while (true) {
tvh.c = i21;
while (tvh.c < i4) {
int i22 = $11 + 45;
$10 = i22 % 128;
if (i22 % 2 != 0) {
cArr5[tvh.c] = (char) (cArr5[tvh.c] << iArr[5]);
tvh.c >>>= 1;
}
}
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
i21 = tvh.c + 1;
}
}
objArr[0] = new String(cArr5);
}
@Override // com.scb.phone.view.activity.ndid.Hilt_NdidIdpMenuSuccessActivity, 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 onResume() {
int i = 2 % 2;
int i2 = p + 39;
k = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = p + 85;
k = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
aB(new int[]{0, 26, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 25}, false, new byte[]{0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{-223260320, 1003075973, 1518563694, 1115136753, -191604986, -336490864, -543085689, 476089913, -1912346779, -1517156031}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.error_wrong_format_pdf).substring(40, 41).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i5 = p + 79;
k = i5 % 128;
if (i5 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i6 = 72 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
int i7 = p + 105;
k = i7 % 128;
int i8 = i7 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getTapTimeout() >> 16), 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - Color.argb(0, 0, 0, 0), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) TextUtils.indexOf("", "", 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i9 = p + 59;
k = i9 % 128;
int i10 = i9 % 2;
}
@Override // com.scb.phone.view.activity.ndid.Hilt_NdidIdpMenuSuccessActivity, 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() {
Method method;
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = p + 51;
k = i2 % 128;
if (i2 % 2 != 0) {
Object[] objArr = new Object[1];
aB(new int[]{0, 26, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 25}, true, new byte[]{0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{-223260320, 1003075973, 1518563694, 1115136753, -191604986, -336490864, -543085689, 476089913, -1912346779, -1517156031}, TextUtils.indexOf("", "") + 41, objArr2);
method = cls.getMethod((String) objArr2[0], new Class[0]);
} else {
Object[] objArr3 = new Object[1];
aB(new int[]{0, 26, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 25}, false, new byte[]{0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new int[]{-223260320, 1003075973, 1518563694, 1115136753, -191604986, -336490864, -543085689, 476089913, -1912346779, -1517156031}, 18 - TextUtils.indexOf("", ""), objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
int i3 = k + 51;
p = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Process.getGidForName("") + 493, Drawable.resolveOpacity(0, 0) + 5, (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getJumpTapTimeout() >> 16), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr5);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static /* synthetic */ Object c(Object[] objArr) {
NdidIdpMenuSuccessActivity ndidIdpMenuSuccessActivity = (NdidIdpMenuSuccessActivity) objArr[0];
Context context = (Context) objArr[1];
int i = 2 % 2;
int i2 = k + 51;
p = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr2 = new Object[1];
aA(new int[]{-2145463441, 1011084329, -369571996, 1808601935, -362510369, -342055888, -1082281780, 1391331692, 1138706061, -2130671527}, 18 - Color.blue(0), objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aA(new int[]{-2122230607, -1990617322, -1124378313, -917945931}, 5 - KeyEvent.normalizeMetaState(0), objArr3);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr3[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i4 = p + 117;
k = i4 % 128;
if (i4 % 2 != 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context = context.getApplicationContext();
}
if (context != null) {
int i5 = k + 53;
p = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 491, TextUtils.indexOf("", "", 0) + 5, (char) ((-1) - MotionEvent.axisFromString("")))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr4 = new Object[1];
aB(new int[]{26, 48, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr4);
String str = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new int[]{615555802, 1748049984, 107200136, -1093224912, 861769638, -702903749, 1358914845, -1327528684, 1556861798, -529726870, 152581511, -65379126, 47432868, 1980271905, -277798043, 256824756, 1512957975, 552714083, 2020102488, 1599763281, 1282539407, 1426059029, 147934223, 568155637, 1177080373, -882477989, 1697493398, -2109396971, -181218777, -934739330, -1470057085, 1550678613}, 64 - KeyEvent.keyCodeFromString(""), objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{-2007559889, -630266105, 176846851, -947169882, -1875359467, 788693847, -1472744275, -1809226504, 1890119060, -1716488475, 1483012991, -70362778, 1124567454, 2046844194, 1060378427, 1947114951, 1399661577, -607231876, 348429408, 1935475648, 1693443983, -1510688425, 1866632335, -402112147, -579838271, -506319092, 1154233951, 206704069, 1040637556, -1344488702, -761051109, 420321866}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 63, objArr6);
String str3 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{941151341, 985042595, -170599603, 1187503934, -103267047, -1188082955, -1761459667, -2060805184, 29879260, 44415901, 1550336800, 2063017604, 2000609467, 1502877585, -918668929, -932891948, -2070493534, 189319283, 400990132, 1445380796, -1212381466, 933877955, -921017057, -981588893, 349736203, 1801288485, 645863933, 1950161255, -159169799, -1693710721, -283529867, 79148840, 1068770456, 1702667216, -423861701, -575152418, -863141581, 682588728}, 74 - KeyEvent.getDeadChar(0, 0), objArr7);
String str4 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{-19467355, -795207852, 1687223918, -272169877}, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), objArr8);
String str5 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new int[]{74, 36, 0, 0}, true, new byte[]{1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr9);
Object[] objArr10 = {context, str, str2, str3, str4, true, str5, (String) objArr9[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 488, 5 - Color.argb(0, 0, 0, 0), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).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, objArr10);
return null;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
}
return null;
}
private static /* synthetic */ Object d(Object[] objArr) {
NdidIdpMenuSuccessActivity ndidIdpMenuSuccessActivity = (NdidIdpMenuSuccessActivity) objArr[0];
int i = 2 % 2;
int i2 = k + 107;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 43;
k = i4 % 128;
if (i4 % 2 == 0) {
return null;
}
throw null;
}
static void h() {
f7616o = new int[]{334452907, 219906893, -995877627, 669356298, -796864421, 1746294798, 1733503719, 1596453427, 1636342854, -545433858, 1738473360, -1356227138, -1739999026, 1662620512, 375428870, 280682682, 2141014601, 1356242167};
m = new char[]{40095, 40232, 40238, 40225, 40237, 40235, 40200, 40202, 40233, 40225, 40194, 40186, 40199, 40238, 40227, 40226, 40226, 40227, 40251, 40235, 40211, 40236, 40238, 40214, 40215, 40215, 39955, 39999, 39998, 40000, 40001, 40000, 40047, 40040, 40042, 40006, 39998, 40002, 40001, 40001, 40001, 39998, 40006, 40001, 39993, 39998, 39998, 39992, 40001, 40006, 40004, 40005, 40007, 40007, 40007, 40005, 40005, 40001, 39994, 39992, 39997, 39999, 40000, 40046, 40040, 40041, 40001, 39992, 39997, 39996, 40007, 40006, 40005, 40007, 39993, 40000, 39992, 39999, 39999, 40007, 40047, 40005, 40007, 40002, 40001, 40001, 39972, 40003, 40047, 40040, 40042, 40012, 39972, 39994, 39994, 39992, 39995, 40012, 40040, 40001, 39992, 39994, 39973, 39993, 39997, 40005, 40007, 39992, 40002, 40040};
}
@Override // com.scb.phone.view.activity.ndid.Hilt_NdidIdpMenuSuccessActivity, 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) {
c(new Object[]{this, context}, -2110363615, 2110363616, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.ndid.Hilt_NdidIdpMenuSuccessActivity, 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() {
c(new Object[]{this}, 1988290794, -1988290794, System.identityHashCode(this));
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = 2 % 2;
int i2 = k + 121;
p = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
static {
p = 1;
h();
l = new IeS((byte) 0);
int i = k + 9;
p = i % 128;
if (i % 2 == 0) {
throw null;
}
}
}