what-the-bank/sources/com/scb/phone/view/activity/debitcard/reset/DebitCardResetOtpActivity.java

794 lines
40 KiB
Java

package com.scb.phone.view.activity.debitcard.reset;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
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.debitatm.DebitCardDetailActivity;
import com.scb.phone.view.activity.debitcard.reset.DebitCardResetPinSuccessActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC14961gcz;
import o.C0563Jm;
import o.C14957gcv;
import o.C1513aGd;
import o.C15655hX;
import o.InterfaceC13391fZD;
import o.InterfaceC13393fZL;
import o.InterfaceC14890gbN;
import o.InterfaceC9101ddP;
import o.KFu;
import o.bRF;
import o.dQY;
import o.fZZ;
import o.jTb;
import o.xzZ;
import o.zWj;
import org.jmrtd.cbeff.ISO781611;
/* loaded from: classes4.dex */
public final class DebitCardResetOtpActivity extends Hilt_DebitCardResetOtpActivity implements InterfaceC9101ddP.RVV {
public static final IeS b;
private static long l;
/* renamed from: o, reason: collision with root package name */
private static char[] f6804o;
private static char p;
private static int q;
private static char r;
private static char s;
private static char t;
private final InterfaceC13393fZL k;
private C0563Jm m;
@InterfaceC13391fZD
public C1513aGd presenter;
private static final byte[] $$y = {ISO7816.INS_MANAGE_CHANNEL, -2, ISOFileInfo.FCI_EXT, Ascii.ETB};
private static final int $$z = 233;
private static int $10 = 0;
private static int $11 = 1;
private static int w = 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:0x0026). 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 r6, int r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.debitcard.reset.DebitCardResetOtpActivity.$$y
int r8 = r8 * 2
int r8 = r8 + 1
int r6 = 106 - r6
int r7 = r7 * 3
int r7 = 4 - r7
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L14
r3 = r7
r4 = r2
goto L26
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r6
r1[r3] = r5
if (r4 != r8) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r3 = r0[r7]
L26:
int r7 = r7 + 1
int r3 = -r3
int r6 = r6 + r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.debitcard.reset.DebitCardResetOtpActivity.aF(int, int, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * (-129)) + (i2 * ISO781611.CREATION_DATE_AND_TIME_TAG);
int i5 = ~i2;
int i6 = i4 + ((~((~i3) | i5 | i)) * ISO781611.BIOMETRIC_SUBTYPE_TAG);
int i7 = i5 | i;
return (i6 + ((~i7) * (-260))) + (((~((~i) | i2)) | (~(i7 | i3))) * ISO781611.BIOMETRIC_SUBTYPE_TAG) != 1 ? c(objArr) : d(objArr);
}
public DebitCardResetOtpActivity() {
RVV rvv = RVV.b;
C14957gcv.e(rvv, "");
this.k = new fZZ(rvv);
}
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
private static void aD(int i, int i2, char c, Object[] objArr) {
Object method;
int i3 = 2;
int i4 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i5 = $10 + 115;
$11 = i5 % 128;
int i6 = i5 % i3;
int i7 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(f6804o[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(307 - TextUtils.indexOf((CharSequence) "", '0', 0), 5 - TextUtils.indexOf("", "", 0), (char) (TextUtils.indexOf("", "") + 32797));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aF((byte) ($$z & 30), b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
try {
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(l), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((-16776804) - Color.rgb(0, 0, 0), TextUtils.getOffsetBefore("", 0) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aF((byte) 7, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i7] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
try {
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(407 - KeyEvent.getDeadChar(0, 0), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (Gravity.getAbsoluteGravity(0, 0) + 29234));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
aF(b4, b5, b5, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i8 = $11 + 63;
$10 = i8 % 128;
int i9 = i8 % 2;
i3 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i10 = $10 + 3;
$11 = i10 % 128;
if (i10 % 2 == 0) {
cArr[dqy.a] = (char) jArr[dqy.a];
try {
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(407 - View.combineMeasuredStates(0, 0), 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 29233));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr9 = new Object[1];
aF(b6, b7, b7, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
int i11 = 71 / 0;
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
} else {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr10 = {dqy, dqy};
Object obj5 = xzZ.y.get(1071125919);
if (obj5 != null) {
method = obj5;
} else {
Class cls5 = (Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 407, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (29235 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr11 = new Object[1];
aF(b8, b9, b9, objArr11);
method = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(1071125919, method);
}
((Method) method).invoke(null, objArr10);
}
}
objArr[0] = new String(cArr);
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x00c5, code lost:
if (r5 > 99999) goto L10;
*/
@Override // com.scb.phone.view.activity.debitcard.reset.Hilt_DebitCardResetOtpActivity, 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 r22) {
/*
Method dump skipped, instructions count: 1264
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.debitcard.reset.DebitCardResetOtpActivity.onCreate(android.os.Bundle):void");
}
private static /* synthetic */ Object c(Object[] objArr) {
DebitCardResetOtpActivity debitCardResetOtpActivity = (DebitCardResetOtpActivity) objArr[0];
int i = 2 % 2;
int i2 = w + 25;
q = i2 % 128;
int i3 = i2 % 2;
super.m();
((bRF) debitCardResetOtpActivity.k.e()).c(((BaseActivity) debitCardResetOtpActivity).scbAnalytics, "debitcard_resetpin_select_mobile_no_otp");
int i4 = w + 35;
q = i4 % 128;
Object obj = null;
if (i4 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
private static void aE(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i5 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i6 = $11 + 47;
$10 = i6 % 128;
int i7 = i6 % i3;
cArr3[i5] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i8 = 58224;
int i9 = i5;
while (i9 < 16) {
int i10 = $11 + 61;
$10 = i10 % 128;
int i11 = i10 % i3;
char c = cArr3[1];
char c2 = cArr3[i5];
int i12 = (c2 + i8) ^ ((c2 << 4) + ((char) (r ^ 41718355337583039L)));
int i13 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(t);
objArr2[i3] = Integer.valueOf(i13);
objArr2[1] = Integer.valueOf(i12);
objArr2[i5] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - TextUtils.getOffsetBefore("", i5), 5 - Color.argb(i5, i5, i5, i5), (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))));
byte b2 = (byte) i5;
Object[] objArr3 = new Object[1];
aF((byte) ($$z & 62), b2, b2, objArr3);
String str = (String) objArr3[i5];
Class<?>[] clsArr = new Class[4];
clsArr[i5] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i5]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (p ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(s)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(411 - TextUtils.lastIndexOf("", '0', 0), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aF((byte) ($$z & 62), b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i8 -= 40503;
i9++;
int i14 = $11 + 85;
$10 = i14 % 128;
int i15 = i14 % 2;
cArr3 = cArr4;
i3 = 2;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 != null) {
i2 = 2;
} else {
Class cls3 = (Class) xzZ.c(97 - TextUtils.lastIndexOf("", '0', 0), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aF((byte) 39, b4, b4, objArr7);
i2 = 2;
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
i3 = i2;
cArr3 = cArr5;
i5 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.BaseOtpActivity
public final void o() {
int i = 2 % 2;
int i2 = q + 33;
w = i2 % 128;
int i3 = i2 % 2;
super.o();
((bRF) this.k.e()).c(((BaseActivity) this).scbAnalytics, "debitcard_resetpin_otp_input");
int i4 = q + 13;
w = i4 % 128;
if (i4 % 2 != 0) {
return;
}
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;
int i2 = q + 51;
w = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
if (this.m != null) {
C1513aGd c1513aGd = this.presenter;
C0563Jm c0563Jm = null;
if (c1513aGd != null) {
int i4 = w + 45;
q = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
c1513aGd = null;
}
C0563Jm c0563Jm2 = this.m;
if (c0563Jm2 == null) {
C14957gcv.a("");
} else {
c0563Jm = c0563Jm2;
}
C14957gcv.e(c0563Jm, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
if (c1513aGd.f != 0) {
int i6 = w + 25;
int i7 = i6 % 128;
q = i7;
if (i6 % 2 == 0) {
int i8 = i7 + 53;
w = i8 % 128;
if (i8 % 2 == 0) {
c1513aGd.f.y();
int i9 = 32 / 0;
} else {
c1513aGd.f.y();
}
}
}
KFu kFu = new KFu(c0563Jm.e, c0563Jm.c, c0563Jm.a, c0563Jm.d, c0563Jm.b, c1513aGd.b);
C15655hX c15655hX = c1513aGd.e;
C1513aGd.LWm lWm = new C1513aGd.LWm(c1513aGd);
C1513aGd.RVV rvv = new C1513aGd.RVV(c1513aGd);
C14957gcv.e(lWm, "");
C14957gcv.e(rvv, "");
C14957gcv.e(kFu, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
c15655hX.b(c15655hX.c, lWm, rvv, new zWj.LWm(kFu, str, str2));
int i10 = w + 47;
q = i10 % 128;
int i11 = i10 % 2;
}
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.InterfaceC6630cYh
public final void I_() {
int i = 2 % 2;
DebitCardResetPinSuccessActivity.HBt hBt = DebitCardResetPinSuccessActivity.b;
DebitCardResetOtpActivity debitCardResetOtpActivity = this;
C14957gcv.e(debitCardResetOtpActivity, "");
startActivity(new Intent(debitCardResetOtpActivity, (Class<?>) DebitCardResetPinSuccessActivity.class));
int i2 = q + 119;
w = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9101ddP.RVV
public final void b() {
int i = 2 % 2;
int i2 = w + 17;
q = i2 % 128;
int i3 = i2 % 2;
startActivity(DebitCardDetailActivity.aaS_(this));
if (i3 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public final void onDestroy() {
int i = 2 % 2;
int i2 = w + 69;
int i3 = i2 % 128;
q = i3;
int i4 = i2 % 2;
C1513aGd c1513aGd = this.presenter;
if (c1513aGd != null) {
int i5 = i3 + 69;
w = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
} else {
C14957gcv.a("");
c1513aGd = null;
}
c1513aGd.w_();
super.onDestroy();
int i6 = w + 81;
q = i6 % 128;
int i7 = i6 % 2;
}
@Override // com.scb.phone.view.activity.debitcard.reset.Hilt_DebitCardResetOtpActivity, 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();
Object obj = null;
if (baseContext == null) {
int i2 = w + 17;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 93, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.tap_to_retry).substring(11, 12).codePointAt(0) - 6, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.juristic_pin_lock_error_title).substring(0, 4).length() + 29334), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{31557, 3606, 21299, 59887, 21063, 41629, 9205, 9367, 33931, 3219, 64283, 26755, 20964, 43781, 10130, 33903, 45799, 6829}, ((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);
}
if (baseContext != null) {
int i4 = w + 51;
q = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = w + 67;
q = i5 % 128;
try {
if (i5 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.alpha(0) + 492, (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)) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 488, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) KeyEvent.getDeadChar(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 492, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 487, (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)) + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.debitcard.reset.Hilt_DebitCardResetOtpActivity, 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 + 111;
w = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.onboarding_registration_title_push_permission).substring(0, 9).length() + 9, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.abc_menu_function_shortcut_label).substring(0, 9).codePointAt(1) - 91, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 29304), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{31557, 3606, 21299, 59887, 21063, 41629, 9205, 9367, 33931, 3219, 64283, 26755, 20964, 43781, 10130, 33903, 45799, 6829}, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 19, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i3 = q + 109;
w = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((-16776724) - Color.rgb(0, 0, 0), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), Gravity.getAbsoluteGravity(0, 0) + 5, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i5 = w + 115;
q = i5 % 128;
if (i5 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
getBaseContext();
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.debitcard.reset.Hilt_DebitCardResetOtpActivity, 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];
aD((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1, 18 - (KeyEvent.getMaxKeyCode() >> 16), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{40635, 27756, 45199, 10431, 50938, 6754}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = w + 123;
q = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i4 = w + 13;
q = i4 % 128;
if (i4 % 2 != 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i5 = q + 117;
w = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollDefaultDelay() >> 16), Color.green(0) + 5, (char) Color.green(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(TextUtils.getOffsetAfter("", 0) + 44, 48 - TextUtils.indexOf("", "", 0, 0), (char) (KeyEvent.getDeadChar(0, 0) + 31790), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new char[]{675, 1687, 14469, 18070, 26379, 27540, 54854, 12210, 40852, 11544, 26609, 6630, 26609, 6630, 33042, 63768, 62997, 20405, 38659, 22255, 18802, 41991, 22921, 33649, 33200, 10901, 64787, 58999, 2535, 2599, 11054, 29128, 55547, 20668, 2096, 44686, 63859, 58707, 36346, 31577, 26379, 27540, 2542, 17534, 43468, 43442, 26379, 27540, 29098, 64498, 41874, 40693, 29887, 21080, 55945, 56769, 31579, 44551, 43639, 56046, 26379, 27540, 63349, 26995}, TextUtils.indexOf("", "") + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new char[]{28870, 7504, 6772, 42691, 13141, 36241, 14273, 61701, 2535, 2599, 35732, 64140, 23527, 18859, 11054, 29128, 24698, 30239, 37838, 37358, 61886, 26, 27502, 46611, 29887, 21080, 1037, 31598, 376, 3124, 18023, 25685, 14135, 27295, 63850, 24478, 54613, 806, 57583, 7098, 52751, 16200, 55315, 46155, 23184, 17357, 14469, 18070, 55156, 10921, 3780, 47673, 1753, 63951, 15904, 2280, 47885, 25903, 41420, 12499, 63859, 58707, 5255, 38390}, 64 - (ViewConfiguration.getDoubleTapTimeout() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{32681, 6969, 46823, 4201, 42103, 44219, 15119, 57107, 35198, 41043, 5486, 48635, 50153, 1905, 206, 53963, 43195, 2144, 5388, 11844, 51002, 51144, 46212, 4546, 45456, 28794, 860, 58182, 6433, 40466, 23643, 43668, 19169, 32839, 60309, 50303, 19287, 56514, 57352, 54535, 32417, 61490, 36140, 7410, 5788, 38585, 32417, 61490, 28624, 60810, 50153, 1905, 59884, 35244, 21458, 14191, 12345, 49250, 16215, 43261, 53653, 60109, 64697, 20733, 7127, 47861, 13121, 32845, 61273, 10697, 21063, 41629, 60991, 34910}, 75 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(91 - TextUtils.lastIndexOf("", '0'), 5 - Color.red(0), (char) (546 - KeyEvent.getDeadChar(0, 0)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{23643, 43668, 63400, 48399, 61857, 6814, 41168, 43028, 19321, 10747, 12629, 63135, 35080, 1740, 12768, 28258, 57583, 7098, 17446, 31067, 55156, 10921, 49121, 48517, 15452, 7350, 14696, 40798, 13686, 35880, 13303, 40450, 64330, 14476, 8822, 65394}, 36 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 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(488 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ExpandableListView.getPackedPositionChild(0L) + 6, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 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: classes4.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14890gbN<bRF> {
public static final RVV b = new RVV();
@Override // o.InterfaceC14890gbN
public final /* synthetic */ bRF invoke() {
return new bRF();
}
RVV() {
super(0);
}
}
private static /* synthetic */ Object d(Object[] objArr) {
DebitCardResetOtpActivity debitCardResetOtpActivity = (DebitCardResetOtpActivity) objArr[0];
int i = 2 % 2;
int i2 = w + 123;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
int i4 = q + 3;
w = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 13 / 0;
}
return null;
}
static void h() {
f6804o = new char[]{36787, 1049, 39164, 11599, 41257, 13698, 51816, 24191, 53909, 26476, 64398, 36757, 1052, 39132, 11447, 41244, 13809, 51796, 64809, 30339, 60006, 24533, 54195, 18200, 47346, 11493, 40961, 5621, 35146, 64881, 30389, 59978, 24122, 54154, 18286, 47316, 11430, 40974, 5624, 35241, 64788, 30462, 59985, 24113, 62413, 30830, 58498, 20849, 56667, 18854, 46660, 8734, 44726, 6920, 34748, 62346, 30835, 58623, 20681, 56687, 18894, 46650, 8788, 44795, 6955, 34625, 62387, 30742, 58594, 20695, 56669, 18862, 46483, 8820, 44750, 6966, 34669, 62348, 30766, 58434, 20654, 56640, 18912, 46525, 8710, 44709, 6871, 34686, 62403, 32709, 58431, 20611, 36297, 1659, 39554, 12081, 41812};
l = 5971113461121221751L;
p = (char) 45375;
s = (char) 37555;
r = (char) 3232;
t = (char) 5197;
}
@Override // com.scb.phone.view.activity.debitcard.reset.Hilt_DebitCardResetOtpActivity, 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() {
e(new Object[]{this}, -1083687482, 1083687483, ((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) - 1350220014);
}
@Override // com.scb.phone.view.activity.BaseOtpActivity
public final void m() {
e(new Object[]{this}, 1682586769, -1682586769, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1886792367);
}
static {
q = 0;
h();
b = new IeS((byte) 0);
int i = w + 43;
q = i % 128;
if (i % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}