what-the-bank/sources/com/scb/phone/view/activity/ccsof/CcSofOTPActivity.java

767 lines
40 KiB
Java

package com.scb.phone.view.activity.ccsof;
import android.content.Context;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.ccsof.CcSofSuccessActivity;
import java.lang.reflect.Method;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C11847en;
import o.C14957gcv;
import o.C15652hW;
import o.C3407awv;
import o.C3614bBe;
import o.C9119ddh;
import o.EW;
import o.IRS;
import o.InterfaceC13391fZD;
import o.QI;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public final class CcSofOTPActivity extends Hilt_CcSofOTPActivity implements C9119ddh.IeS {
public static final Sts b;
private static int k;
private static char[] l;
private static boolean m;
/* renamed from: o, reason: collision with root package name */
private static boolean f6715o;
private static char p;
private static int q;
private static char[] t;
@InterfaceC13391fZD
public C3407awv presenter;
private static final byte[] $$y = {82, ISO7816.INS_UNBLOCK_CHV, -108, -93};
private static final int $$z = CipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002b). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aF(int r7, short r8, int r9, java.lang.Object[] r10) {
/*
int r8 = r8 * 4
int r8 = r8 + 4
int r7 = r7 * 4
int r7 = 1 - r7
byte[] r0 = com.scb.phone.view.activity.ccsof.CcSofOTPActivity.$$y
int r9 = 122 - r9
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r3 = r9
r4 = r2
r9 = r8
goto L2b
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r9
r1[r3] = r5
if (r4 != r7) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
r3 = r0[r8]
r6 = r9
r9 = r8
r8 = r3
r3 = r6
L2b:
int r8 = -r8
int r9 = r9 + 1
int r8 = r8 + r3
r3 = r4
r6 = r9
r9 = r8
r8 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccsof.CcSofOTPActivity.aF(int, short, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256) + (i2 * CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256);
int i5 = ~i3;
int i6 = ~i;
int i7 = i4 + (((~(i6 | i2)) | i5) * (-192));
int i8 = ~i2;
int i9 = i6 | i8;
int i10 = i5 | i8;
return (i7 + (((~i10) | (~i9)) * (-384))) + (((~((i | i2) | i3)) | ((~(i10 | i)) | (~(i9 | i3)))) * 192) != 1 ? d(objArr) : a(objArr);
}
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0095, code lost:
if (r3 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.ccsof.Hilt_CcSofOTPActivity, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onCreate(android.os.Bundle r17) {
/*
Method dump skipped, instructions count: 1250
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccsof.CcSofOTPActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public final void onDestroy() {
int i = 2 % 2;
int i2 = s + 71;
q = i2 % 128;
C3407awv c3407awv = null;
if (i2 % 2 != 0) {
super.onDestroy();
throw null;
}
super.onDestroy();
C3407awv c3407awv2 = this.presenter;
if (c3407awv2 != null) {
int i3 = q + 69;
s = i3 % 128;
int i4 = i3 % 2;
c3407awv = c3407awv2;
} else {
C14957gcv.a("");
}
c3407awv.w_();
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void a_(String str, String str2) {
int i = 2 % 2;
int i2 = q + 9;
s = i2 % 128;
int i3 = i2 % 2;
C3407awv c3407awv = this.presenter;
String str3 = "";
if (c3407awv == null) {
C14957gcv.a("");
c3407awv = null;
}
String stringExtra = getIntent().getStringExtra("EXTRA_CCSOF_TRANSACTION_TOKEN_REQUEST");
if (c3407awv.f != 0) {
int i4 = s + 49;
q = i4 % 128;
if (i4 % 2 != 0) {
c3407awv.f.y();
int i5 = 53 / 0;
} else {
c3407awv.f.y();
}
}
C15652hW c15652hW = c3407awv.e;
C3407awv.LWm lWm = new C3407awv.LWm(c3407awv);
C3407awv.IeS ieS = new C3407awv.IeS(c3407awv);
if (stringExtra == null) {
int i6 = q + 29;
s = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 2 / 5;
}
} else {
str3 = stringExtra;
}
c15652hW.c(lWm, ieS, new C11847en(str3), str2, str);
}
private static /* synthetic */ Object a(Object[] objArr) {
CcSofOTPActivity ccSofOTPActivity = (CcSofOTPActivity) objArr[0];
EW ew = (EW) objArr[1];
String str = (String) objArr[2];
List list = (List) objArr[3];
int i = 2 % 2;
int i2 = q + 115;
s = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.e(ew, "");
C14957gcv.e(str, "");
CcSofSuccessActivity.LWm lWm = CcSofSuccessActivity.b;
ccSofOTPActivity.startActivity(CcSofSuccessActivity.LWm.aat_(ccSofOTPActivity, ew, str, list));
throw null;
}
C14957gcv.e(ew, "");
C14957gcv.e(str, "");
CcSofSuccessActivity.LWm lWm2 = CcSofSuccessActivity.b;
ccSofOTPActivity.startActivity(CcSofSuccessActivity.LWm.aat_(ccSofOTPActivity, ew, str, list));
int i3 = s + 95;
q = i3 % 128;
int i4 = i3 % 2;
return null;
}
@Override // o.C9119ddh.IeS
public final void e() {
int i = 2 % 2;
int i2 = q + 107;
s = i2 % 128;
if (i2 % 2 != 0) {
setResult(-1);
finish();
int i3 = s + 11;
q = i3 % 128;
int i4 = i3 % 2;
return;
}
setResult(-1);
finish();
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.C9119ddh.IeS
public final void b() {
int i = 2 % 2;
int i2 = q + 41;
s = i2 % 128;
int i3 = i2 % 2;
finish();
int i4 = q + 113;
s = i4 % 128;
int i5 = i4 % 2;
}
private static void aD(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int length;
char[] cArr2;
int i2 = 2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = l;
int i4 = 0;
if (cArr3 != null) {
int i5 = $10 + 47;
$11 = i5 % 128;
if (i5 % 2 == 0) {
length = cArr3.length;
cArr2 = new char[length];
} else {
length = cArr3.length;
cArr2 = new char[length];
}
int i6 = 0;
while (i6 < length) {
int i7 = $11 + 21;
$10 = i7 % 128;
int i8 = i7 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr3[i6]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 337, TextUtils.indexOf("", "") + 5, (char) TextUtils.getTrimmedLength(""));
byte b2 = (byte) i4;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aF(b2, b3, (byte) (b3 | 57), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr2[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
i2 = 2;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(k)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Process.getGidForName("") + 284, View.resolveSize(0, 0) + 5, (char) (39813 - Color.argb(0, 0, 0, 0)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aF(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (!(!f6715o)) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 40, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (AndroidCharacter.getMirror('0') - '0'))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
if (m) {
int i9 = $11 + 79;
$10 = i9 % 128;
int i10 = i9 % 2;
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
int i11 = $11 + 27;
$10 = i11 % 128;
int i12 = i11 % 2;
while (c3614bBe.a < c3614bBe.c) {
int i13 = $11 + 63;
$10 = i13 % 128;
if (i13 % 2 != 0) {
cArr5[c3614bBe.a] = (char) (cArr3[cArr[c3614bBe.c - c3614bBe.a] << i] % intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 40, Process.getGidForName("") + 6, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
} else {
cArr5[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((-16777176) - Color.rgb(0, 0, 0), KeyEvent.keyCodeFromString("") + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
}
objArr[0] = new String(cArr5);
return;
}
int i14 = 0;
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i14;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
}
int i15 = $11 + 25;
$10 = i15 % 128;
int i16 = i15 % 2;
cArr6[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i14 = c3614bBe.a + 1;
}
}
private static /* synthetic */ Object d(Object[] objArr) {
CcSofOTPActivity ccSofOTPActivity = (CcSofOTPActivity) objArr[0];
int i = 2 % 2;
int i2 = q + 33;
s = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
ccSofOTPActivity.getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = ccSofOTPActivity.getBaseContext();
if (baseContext == null) {
int i3 = s + 117;
q = i3 % 128;
int i4 = i3 % 2;
Object[] objArr2 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cinema_and_seat).substring(11, 12).codePointAt(0) + 95, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, ISOFileInfo.LCS_BYTE, -112, ISOFileInfo.FCI_EXT, -113, -113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aE(new char[]{4, 5, 13850, 13850, 7, '\f', 14, 16, 13852, 13852, 23, '\b', 1, 20, '\r', 1, 7, '\b'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 37), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 91, objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null);
int i5 = q + 67;
s = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = s + 93;
q = i7 % 128;
try {
if (i7 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0'), 5 - View.combineMeasuredStates(0, 0), (char) KeyEvent.keyCodeFromString(""))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(488 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) View.MeasureSpec.getMode(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr4);
int i8 = 6 / 0;
} else {
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - TextUtils.getOffsetAfter("", 0), 5 - Color.red(0), (char) (Process.myTid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((-16776729) - Color.rgb(0, 0, 0), Process.getGidForName("") + 6, (char) Color.red(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr5);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onResume();
return null;
}
@Override // com.scb.phone.view.activity.ccsof.Hilt_CcSofOTPActivity, 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;
int i2 = q + 41;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, ISOFileInfo.LCS_BYTE, -112, ISOFileInfo.FCI_EXT, -113, -113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{4, 5, 13850, 13850, 7, '\f', 14, 16, 13852, 13852, 23, '\b', 1, 20, '\r', 1, 7, '\b'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_manage_device).substring(36, 37).length() + 49), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.app_account_deletion_message).substring(0, 3).codePointAt(1) - 28, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 73;
s = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = s + 79;
q = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getJumpTapTimeout() >> 16), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 487, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (Process.getGidForName("") + 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aE(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = t;
long j = 0;
int i4 = 4;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = 0;
while (i5 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(298 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (SystemClock.uptimeMillis() > j ? 1 : (SystemClock.uptimeMillis() == j ? 0 : -1)) + i4, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr3 = new Object[1];
aF(b3, b4, (byte) (b4 + 5), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i5++;
j = 0;
i4 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(p)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 297, 5 - KeyEvent.normalizeMetaState(0), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr5 = new Object[1];
aF(b5, b6, (byte) (b6 + 5), 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 i6 = $10 + 113;
$11 = i6 % 128;
int i7 = i6 % 2;
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);
} 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 - Color.alpha(0), 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (22024 - (ViewConfiguration.getWindowTouchSlop() >> 8)));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr7 = new Object[1];
aF(b7, b8, (byte) (b8 + 2), 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(View.getDefaultSize(0, 0) + 327, 5 - View.getDefaultSize(0, 0), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b9 = (byte) 0;
Object[] objArr9 = new Object[1];
aF(b9, b9, (byte) $$y.length, 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 i8 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i8];
} else if (irs.a == irs.d) {
int i9 = $10 + 83;
$11 = i9 % 128;
int i10 = i9 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i11 = (irs.a * charValue) + irs.f;
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i11];
cArr4[irs.e + 1] = cArr2[i12];
int i13 = $11 + 47;
$10 = i13 % 128;
int i14 = i13 % 2;
} 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++) {
cArr4[i17] = (char) (cArr4[i17] ^ 13722);
}
objArr[0] = new String(cArr4);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // com.scb.phone.view.activity.ccsof.Hilt_CcSofOTPActivity, 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;
int i2 = q + 37;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
Object obj = null;
aD(null, null, (ViewConfiguration.getWindowTouchSlop() >> 8) + 127, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(null, null, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 126, new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, 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 i4 = s + 47;
q = i4 % 128;
if (i4 % 2 != 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i5 = q + 31;
s = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 491, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aE(new char[]{18, 20, 2, 11, '\n', 3, 16, 22, '\n', 7, 11, 24, 14, '\r', 14, 23, '\r', 14, 19, 4, 11, 3, 20, 6, 22, 2, 3, 5, 5, '\n', 0, 19, 18, 5, 20, 19, 22, 7, 13917, 13917, 11, 4, 6, '\t', 4, 20, 3, 2}, (byte) (Color.red(0) + 101), View.MeasureSpec.makeMeasureSpec(0, 0) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD(null, null, View.MeasureSpec.getMode(0) + 127, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -107, -106, -97, -100, ISOFileInfo.LCS_BYTE, -97, -107, -103, -97, ISOFileInfo.LCS_BYTE, -101, ISOFileInfo.A0, -97, ISOFileInfo.FILE_IDENTIFIER, -107, -106, -100, -103, -106, ISOFileInfo.DATA_BYTES2, -107, -106, -107, -107, -97, -103, ISOFileInfo.DATA_BYTES2, -103, -101, -101, -97, -98, -104, -102, ISOFileInfo.LCS_BYTE, -98, -106, -99, -105, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.LCS_BYTE, -102, -100, -105, -106, -100, -101, -106, -102, -106, -102, -103, ISOFileInfo.SECURITY_ATTR_EXP, -104, -105, -107, -106, ISOFileInfo.SECURITY_ATTR_EXP, -106, -107, ISOFileInfo.SECURITY_ATTR_EXP}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new char[]{22, 20, 23, '\n', 23, 11, 13862, 13862, '\n', '\t', '\f', 3, 11, 2, 21, 20, 22, 11, 15, 22, 20, 0, 24, '\r', 4, 20, 22, 7, 20, 23, '\t', 0, 2, 11, 23, 6, '\t', '\r', 13778, 13778, 5, 23, '\r', 18, 15, 2, 2, 7, 17, 7, 19, 4, 20, 7, 22, 15, 21, 22, 16, 22, '\t', 23, 3, 20}, (byte) (ExpandableListView.getPackedPositionType(0L) + 39), (ViewConfiguration.getEdgeSlop() >> 16) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(null, null, 127 - View.MeasureSpec.getSize(0), new byte[]{-120, -111, -126, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.SECURITY_ATTR_EXP, -94, -102, -110, -94, -111, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A5, -126, -122, -94, -122, -113, ISOFileInfo.DATA_BYTES2, -94, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -124, ISOFileInfo.DATA_BYTES2, -90, -89, -120, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.DATA_BYTES2, -90, ISOFileInfo.A5, ISOFileInfo.FCI_EXT, -111, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -111, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -111, ISOFileInfo.FCI_EXT, -92, -126, ISOFileInfo.DATA_BYTES2, -107, -93, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.LCS_BYTE, -124, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, -122, -120, -94, -94, ISOFileInfo.A1, -120, -113, -111, -111, -108}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(null, null, TextUtils.indexOf("", "", 0, 0) + 127, new byte[]{-98, ISOFileInfo.FCI_EXT, -97, ISOFileInfo.FCI_EXT, -104}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(null, null, AndroidCharacter.getMirror('0') + 'O', new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -100, -103, -105, -103, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -101, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -102, -88, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -107, ISOFileInfo.DATA_BYTES2, -88, -100, -100, -102, -105, -88, -107, ISOFileInfo.SECURITY_ATTR_EXP, -98, -106, -88, -98, -105, -104, ISOFileInfo.FILE_IDENTIFIER, -105, -102, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getKeyRepeatDelay() >> 16), Color.blue(0) + 5, (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
static void f() {
l = new char[]{15984, 15981, 15987, 15969, 15982, 15976, 15917, 15970, 15951, 15986, 15988, 15980, 16280, 15940, 15983, 15952, 15971, 15973, 15939, 15991, 15985, 15909, 15907, 15960, 15908, 15905, 15910, 15904, 15906, 15919, 15911, 15989, 15961, 15918, 15979, 15978, 15990, 15972, 15968, 15916};
k = 1934310943;
m = true;
f6715o = true;
t = new char[]{49104, 49031, 49110, 49114, 49111, 49034, 49116, 49117, 49030, 49094, 49091, 49095, 49105, 49024, 49025, 49026, 49089, 49109, 49119, 49138, 49027, 49106, 49029, 49028, 49035};
p = (char) 35372;
}
@Override // com.scb.phone.view.activity.ccsof.Hilt_CcSofOTPActivity, 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() {
e(new Object[]{this}, -1835894194, 1835894194, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 612810648);
}
@Override // com.scb.phone.view.activity.ccsof.Hilt_CcSofOTPActivity, 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 = s + 53;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = q + 23;
s = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.C9119ddh.IeS
public final void c(EW ew, String str, List<QI> list) {
e(new Object[]{this, ew, str, list}, -925207107, 925207108, ((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) + 1306528200);
}
static {
q = 0;
f();
b = new Sts((byte) 0);
int i = s + 1;
q = i % 128;
int i2 = i % 2;
}
}