what-the-bank/sources/com/scb/phone/view/activity/juristic/JuristicResetPinOtpActivity...

662 lines
36 KiB
Java

package com.scb.phone.view.activity.juristic;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
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.BaseActivity;
import com.scb.phone.view.activity.juristic.JuristicSetupResetPinActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC14961gcz;
import o.C1469aF;
import o.C14957gcv;
import o.C15956jt;
import o.C2871aml;
import o.C3974bMb;
import o.EnumC8951daY;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC13393fZL;
import o.InterfaceC14890gbN;
import o.InterfaceC9441djm;
import o.fZZ;
import o.syn;
import o.xzZ;
import okhttp3.internal.http2.Http2Connection;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public final class JuristicResetPinOtpActivity extends Hilt_JuristicResetPinOtpActivity implements InterfaceC9441djm {
public static final IeS b;
private static int k;
private static int l;
private static char[] p;
private static short[] q;
private static byte[] r;
private static char s;
private static int t;
private static int v;
private String m;
/* renamed from: o, reason: collision with root package name */
private final InterfaceC13393fZL f7525o;
@InterfaceC13391fZD
public C3974bMb presenter;
private static final byte[] $$E = {71, -71, -97, 59};
private static final int $$F = CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int y = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0028). 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 aJ(byte r5, int r6, byte r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 3
int r5 = 3 - r5
int r7 = r7 * 2
int r0 = r7 + 1
byte[] r1 = com.scb.phone.view.activity.juristic.JuristicResetPinOtpActivity.$$E
int r6 = r6 + 108
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L14
r4 = r7
r3 = r2
goto L28
L14:
r3 = r2
L15:
byte r4 = (byte) r6
r0[r3] = r4
int r5 = r5 + 1
if (r3 != r7) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L24:
r4 = r1[r5]
int r3 = r3 + 1
L28:
int r6 = r6 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.juristic.JuristicResetPinOtpActivity.aJ(byte, int, byte, java.lang.Object[]):void");
}
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
int i4 = ~((~i) | i2);
int i5 = ~i3;
int i6 = (i * 595) + (i2 * (-1187)) + (((~(i5 | i2)) | i4) * (-1188));
int i7 = ~i2;
int i8 = (~(i3 | i7)) | i4;
int i9 = ~(i5 | i);
return (i6 + ((i8 | i9) * 594)) + ((((~(i | i7)) | (~(i7 | i5))) | i9) * 594) != 1 ? a(objArr) : e(objArr);
}
public JuristicResetPinOtpActivity() {
Sts sts = Sts.d;
C14957gcv.e(sts, "");
this.f7525o = new fZZ(sts);
}
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0168, code lost:
if (r6 > 99999) goto L10;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static /* synthetic */ java.lang.Object e(java.lang.Object[] r27) {
/*
Method dump skipped, instructions count: 2014
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.juristic.JuristicResetPinOtpActivity.e(java.lang.Object[]):java.lang.Object");
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.InterfaceC8956dad
public final void c(String str, String str2, String str3) {
int i = 2 % 2;
int i2 = v + 121;
y = i2 % 128;
if (i2 % 2 != 0) {
super.c(str, str2, str3);
((syn) this.f7525o.e()).c(((BaseActivity) this).scbAnalytics, "forgot_juristic_pin_otp");
} else {
super.c(str, str2, str3);
((syn) this.f7525o.e()).c(((BaseActivity) this).scbAnalytics, "forgot_juristic_pin_otp");
Object obj = null;
obj.hashCode();
throw 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, "");
C3974bMb c3974bMb = this.presenter;
Object obj = null;
if (c3974bMb != null) {
int i2 = y + 5;
v = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
c3974bMb = null;
}
String str3 = this.m;
if (str3 == null) {
C14957gcv.a("");
str3 = null;
}
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
if (c3974bMb.f != 0) {
int i4 = y + 39;
v = i4 % 128;
if (i4 % 2 != 0) {
c3974bMb.f.y();
obj.hashCode();
throw null;
}
c3974bMb.f.y();
int i5 = v + 19;
y = i5 % 128;
int i6 = i5 % 2;
}
C15956jt c15956jt = c3974bMb.e;
C3974bMb.RVV rvv = new C3974bMb.RVV(c3974bMb, str3);
C3974bMb.HBt hBt = new C3974bMb.HBt(c3974bMb);
C1469aF c1469aF = new C1469aF(str3);
C14957gcv.e(rvv, "");
C14957gcv.e(hBt, "");
C14957gcv.e(str2, "");
C14957gcv.e(str, "");
C14957gcv.e(c1469aF, "");
c15956jt.b(c15956jt.e, rvv, hBt, new C2871aml.LWm(str2, str, c1469aF));
}
@Override // o.InterfaceC9441djm
public final void c() {
int i = 2 % 2;
int i2 = v + 15;
y = i2 % 128;
if (i2 % 2 != 0) {
String string = getString(R.string.wrong_pin);
C14957gcv.c((Object) string, "");
Xb_(this, R.id.root_activity, string, EnumC8951daY.ERROR);
int i3 = v + 1;
y = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 12 / 0;
return;
}
return;
}
String string2 = getString(R.string.wrong_pin);
C14957gcv.c((Object) string2, "");
Xb_(this, R.id.root_activity, string2, EnumC8951daY.ERROR);
throw null;
}
@Override // o.InterfaceC9441djm
public final void d(String str) {
int i = 2 % 2;
int i2 = v + 13;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
Xb_(this, R.id.root_activity, str, EnumC8951daY.ERROR);
int i4 = y + 75;
v = i4 % 128;
int i5 = i4 % 2;
}
private static /* synthetic */ Object a(Object[] objArr) {
JuristicResetPinOtpActivity juristicResetPinOtpActivity = (JuristicResetPinOtpActivity) objArr[0];
String str = (String) objArr[1];
int i = 2 % 2;
C14957gcv.e(str, "");
JuristicSetupResetPinActivity.Sts sts = JuristicSetupResetPinActivity.k;
JuristicResetPinOtpActivity juristicResetPinOtpActivity2 = juristicResetPinOtpActivity;
C14957gcv.e(juristicResetPinOtpActivity2, "");
C14957gcv.e(str, "");
Intent intent = new Intent(juristicResetPinOtpActivity2, (Class<?>) JuristicSetupResetPinActivity.class);
intent.putExtra("RESET_TOKEN_ID", str);
juristicResetPinOtpActivity.startActivity(intent);
int i2 = y + 97;
v = i2 % 128;
int i3 = i2 % 2;
return null;
}
@Override // com.scb.phone.view.activity.juristic.Hilt_JuristicResetPinOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = y + 79;
v = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1335292570, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 95, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_how_to_verify_biometric_description).substring(0, 2).codePointAt(0) - 134667682, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{17, '\n', 13904, 13904, 1, 14, NistHelper.SEP_FS, 20, 13906, 13906, ' ', 7, 15, 22, ' ', 14, 19, '\f'}, (byte) (105 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.no_credit_card_enough_balance).substring(22, 23).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = y + 109;
v = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
int i6 = v + 1;
y = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) Color.blue(0))).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(KeyEvent.normalizeMetaState(0) + 487, 5 - View.resolveSizeAndState(0, 0, 0), (char) (ViewConfiguration.getTapTimeout() >> 16))).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();
}
@Override // com.scb.phone.view.activity.juristic.Hilt_JuristicResetPinOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aG((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cross_border_review_amount_with_currency).substring(0, 5).length() - 5), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 1335292646, (-60) - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 134659490, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 109), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{17, '\n', 13904, 13904, 1, 14, NistHelper.SEP_FS, 20, 13906, 13906, ' ', 7, 15, 22, ' ', 14, 19, '\f'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_travel_approximate).substring(0, 1).length() + 103), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = y + 59;
v = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = y + 29;
v = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.combineMeasuredStates(0, 0), Color.argb(0, 0, 0, 0) + 5, (char) (Process.myTid() >> 22))).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(488 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), Drawable.resolveOpacity(0, 0) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = v + 117;
y = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
/* JADX WARN: Code restructure failed: missing block: B:41:0x01d6, code lost:
if ((!r4) != true) goto L47;
*/
/* JADX WARN: Code restructure failed: missing block: B:42:0x01ec, code lost:
r4 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:81:0x01ea, code lost:
r4 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:83:0x01e8, code lost:
if (r4 != false) goto L47;
*/
/* JADX WARN: Removed duplicated region for block: B:14:0x009c */
/* JADX WARN: Removed duplicated region for block: B:38:0x01bb */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aG(short r17, int r18, int r19, int r20, byte r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 791
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.juristic.JuristicResetPinOtpActivity.aG(short, int, int, int, byte, java.lang.Object[]):void");
}
private static void aI(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
Object obj;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = p;
Object obj2 = null;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
for (int i4 = 0; i4 < length; i4++) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i4])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(298 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 5 - Color.argb(0, 0, 0, 0), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24));
byte b3 = (byte) 0;
Object[] objArr3 = new Object[1];
aJ(b3, (byte) (b3 | 9), b3, objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i4] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(s)};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 299, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
aJ(b4, (byte) (b4 | 9), b4, objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).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 i5 = $10 + 57;
$11 = i5 % 128;
if (i5 % 2 == 0) {
irs.e = 1;
} else {
irs.e = 0;
}
while (irs.e < i2) {
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);
int i6 = $11 + 49;
$10 = i6 % 128;
int i7 = i6 % 2;
obj = obj2;
} 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 obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(233 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (((Process.getThreadPriority(0) + 20) >> 6) + 22024));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
aJ(b5, (byte) (b5 | 12), b5, objArr7);
obj5 = 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, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
int i8 = $10 + 115;
$11 = i8 % 128;
int i9 = i8 % 2;
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 326, ImageFormat.getBitsPerPixel(0) + 6, (char) (Process.myTid() >> 22));
byte b6 = (byte) 0;
Object[] objArr9 = new Object[1];
aJ(b6, (byte) (b6 | 10), b6, objArr9);
obj6 = 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, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i10];
} else {
obj = null;
if (irs.a == irs.d) {
int i11 = $10 + 25;
$11 = i11 % 128;
int i12 = i11 % 2;
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];
int i15 = $11 + 121;
$10 = i15 % 128;
int i16 = i15 % 2;
} else {
int i17 = (irs.a * charValue) + irs.j;
int i18 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i17];
cArr4[irs.e + 1] = cArr2[i18];
}
}
}
irs.e += 2;
obj2 = obj;
}
}
for (int i19 = 0; i19 < i; i19++) {
cArr4[i19] = (char) (cArr4[i19] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.juristic.Hilt_JuristicResetPinOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG((short) (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)), (-1335292557) + (ViewConfiguration.getFadingEdgeLength() >> 16), (-69) - ExpandableListView.getPackedPositionGroup(0L), (-134659456) - TextUtils.getOffsetBefore("", 0), (byte) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG((short) TextUtils.indexOf("", "", 0), (-1335292539) - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (-82) - (ViewConfiguration.getDoubleTapTimeout() >> 16), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 134659444, (byte) (AndroidCharacter.getMirror('0') - '0'), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = y + 101;
v = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i4 = y + 41;
v = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - KeyEvent.keyCodeFromString(""), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aI(new char[]{26, '#', '\"', 4, NistHelper.SEP_FS, '\r', 3, 27, ' ', 22, '!', 18, NistHelper.SEP_FS, 31, NistHelper.SEP_FS, 1, 31, NistHelper.SEP_FS, '\"', 0, 26, 29, 22, 21, 31, 21, 17, '\r', 14, 22, 17, 26, 24, 17, 5, NistHelper.SEP_FS, ' ', 3, 13933, 13933, '\"', 24, 18, 14, 22, '\n', 4, 26}, (byte) ((ViewConfiguration.getEdgeSlop() >> 16) + 117), 48 - (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)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aI(new char[]{4, ' ', 20, 1, 22, 31, 26, 22, 0, 14, 31, 18, 31, 18, '#', 26, 22, 25, 24, '#', '\r', 22, 22, 27, 31, 25, 4, '\f', ' ', 18, 1, 5, 13799, 13799, 15, 18, 16, 0, 13874, 13874, 22, 31, 22, 20, 17, 24, 22, 31, 16, 2, '\"', '!', 22, '\n', 16, 30, '\n', 22, NistHelper.SEP_FS, 5, 22, 31, 20, 3}, (byte) (KeyEvent.keyCodeFromString("") + 58), 64 - TextUtils.getTrimmedLength(""), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aG((short) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)), (-1335292511) - TextUtils.getOffsetAfter("", 0), TextUtils.lastIndexOf("", '0', 0) - 22, (-134659456) - View.MeasureSpec.getSize(0), (byte) KeyEvent.getDeadChar(0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new char[]{NistHelper.SEP_FS, 27, 29, ' ', '\r', '\t', 13849, 13849, 14, '\t', 18, 27, '\f', 22, 13915, 13915, 4, '\b', 14, '\n', 19, '!', '!', 22, '\f', 7, 2, 29, NistHelper.SEP_FS, '\t', 3, 20, NistHelper.SEP_FS, 14, 27, 21, 29, 2, 5, '\t', 22, '\t', 15, 16, '\n', 6, 22, '\t', 3, 0, '\f', 22, 29, '\f', 23, '!', 11, 14, 7, 14, 4, 3, 14, 27, '\r', 5, '#', '\f', 3, 2, 1, 14, 27, 14}, (byte) (View.MeasureSpec.makeMeasureSpec(0, 0) + 100), KeyEvent.getDeadChar(0, 0) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG((short) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE), (-1335292449) - TextUtils.lastIndexOf("", '0', 0, 0), (-82) - ((Process.getThreadPriority(0) + 20) >> 6), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 134659496, (byte) View.getDefaultSize(0, 0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG((short) (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)), Process.getGidForName("") - 1335292443, Color.argb(0, 0, 0, 0) - 51, (-134659451) - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) ((-1) - TextUtils.indexOf((CharSequence) "", '0')), objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - TextUtils.getTrimmedLength(""), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
/* loaded from: classes5.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14890gbN<syn> {
public static final Sts d = new Sts();
@Override // o.InterfaceC14890gbN
public final /* synthetic */ syn invoke() {
return new syn();
}
Sts() {
super(0);
}
}
static void f() {
l = 475589784;
k = 1406017090;
t = 1539875828;
r = new byte[]{Ascii.NAK, Ascii.ESC, Ascii.ETB, -31, -24, 55, 55, -82, 17, 84, -33, -18, -17, -24, Ascii.ESC, -29, Ascii.CAN, -18, 1, -55, Ascii.EM, Ascii.SYN, -23, -26, Ascii.US, 1, -50, 16, 30, -26, Ascii.CAN, ISO7816.INS_CREATE_FILE, 4, 55, 6, ISOFileInfo.AB, Ascii.NAK, Ascii.SUB, 38, -33, -18, -17, -24, Ascii.ESC, -29, Ascii.CAN, -63, 62, Ascii.SYN, -63, -18, 16, ISO7816.INS_CHANGE_CHV, -33, 35, ISO7816.INS_APPEND_RECORD, Ascii.SYN, -21, 19, ISO7816.INS_LOAD_KEY_FILE, Ascii.SYN, -24, 58, -58, -24, 38, -21, 16, -18, 17, Ascii.NAK, -22, -24, Ascii.NAK, -63, -22, 59, -59, 62, Ascii.SYN, -21, -58, -22, 59, ISO7816.INS_GET_RESPONSE, ISO7816.INS_CHANGE_CHV, -18, Ascii.DC2, -22, Ascii.DC4, -33, 17, Ascii.DC4, 60, 29, -23, -57, -24, 39, -17, Ascii.DC2, ISO7816.INS_LOAD_KEY_FILE, Ascii.NAK, 39, -57, 59, Ascii.SYN, -19, ISO7816.INS_ENVELOPE, Ascii.ETB, -29, Ascii.US, ISO7816.INS_CREATE_FILE, 33, -23, Ascii.DC4, -22, -57, -21, 59, -61, 58, ISO7816.INS_PUT_DATA, ISO7816.INS_CHANGE_CHV, 16, -33, -21, Ascii.SYN, Ascii.DC4, 33, -23, Ascii.NAK, -22, -21, Ascii.DC2, -34, -24, 32, -17, 28, -24, -23, -18, ISO7816.INS_GET_RESPONSE, 37, Ascii.ETB, -60, -23, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
p = new char[]{49027, 49093, 49110, 49108, 49035, 49053, 49112, 49033, 49114, 49090, 49089, 49094, 49030, 49117, 49111, 49088, 49104, 49052, 49116, 49029, 49034, 49106, 49138, 49049, 49118, 49024, 49095, 49115, 49031, 49026, 49025, 49119, 49028, 49109, 49105, 49091};
s = (char) 35375;
}
@Override // com.scb.phone.view.activity.juristic.Hilt_JuristicResetPinOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onStart() {
int i = 2 % 2;
int i2 = v + 47;
y = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
int i4 = v + 59;
y = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 79 / 0;
}
}
@Override // com.scb.phone.view.activity.juristic.Hilt_JuristicResetPinOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onCreate(Bundle bundle) {
c(new Object[]{this, bundle}, -1809065264, 1809065265, ((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) - 1406428181);
}
@Override // o.InterfaceC9441djm
public final void b(String str) {
c(new Object[]{this, str}, -1751767500, 1751767500, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 92405848);
}
static {
v = 0;
f();
b = new IeS((byte) 0);
int i = y + 61;
v = i % 128;
int i2 = i % 2;
}
}