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

897 lines
41 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.debitcard.reset;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MenuItem;
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.debitcard.reset.DebitCardResetOtpActivity;
import com.scb.phone.view.custom.debitcard.CustomPinWithMaxInput;
import java.lang.reflect.Method;
import java.util.concurrent.TimeUnit;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC1278Zm;
import o.AbstractC13163fSk;
import o.AbstractC14961gcz;
import o.C0563Jm;
import o.C14957gcv;
import o.C1517aGh;
import o.C3412ax;
import o.EnumC1253Yzm;
import o.InterfaceC13169fSq;
import o.InterfaceC13393fZL;
import o.InterfaceC14890gbN;
import o.InterfaceC9110ddY;
import o.TVH;
import o.Tve;
import o.UdY;
import o.bRF;
import o.fSS;
import o.fZZ;
import o.wRi;
import o.xWw;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.PassportService;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public final class DebitCardResetPinActivity extends Hilt_DebitCardResetPinActivity<C1517aGh> implements InterfaceC9110ddY {
private static char[] l;
private static int q;
private static int r;
private final InterfaceC13393fZL k;
private boolean m;
/* renamed from: o, reason: collision with root package name */
private String f6805o = "";
private static final byte[] $$p = {53, ISOFileInfo.A5, 77, -13};
private static final int $$q = 69;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
/* 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 aC(int r7, byte r8, int r9, java.lang.Object[] r10) {
/*
int r7 = r7 * 2
int r7 = 1 - r7
int r8 = r8 * 2
int r8 = r8 + 4
byte[] r0 = com.scb.phone.view.activity.debitcard.reset.DebitCardResetPinActivity.$$p
int r9 = r9 + 69
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r3 = r7
r9 = r8
r4 = r2
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 r8 = r8 + r3
int r9 = r9 + 1
r3 = r4
r6 = r9
r9 = r8
r8 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.debitcard.reset.DebitCardResetPinActivity.aC(int, byte, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = (i * (-1831)) + (i2 * 917) + ((~(i4 | i2)) * 2748);
int i6 = i4 | (~i2);
return (i5 + (i6 * (-916))) + (((~(i | i2)) | (~i6)) * 916) != 1 ? e(objArr) : d(objArr);
}
public DebitCardResetPinActivity() {
RVV rvv = RVV.a;
C14957gcv.e(rvv, "");
this.k = new fZZ(rvv);
}
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
private static void aA(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
char[] cArr2;
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr3 = new char[i];
zui.d = 0;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr3[zui.d] = (char) (i2 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i5]), Integer.valueOf(q)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, (Process.myTid() >> 22) + 7, (char) KeyEvent.keyCodeFromString(""));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr3[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - KeyEvent.keyCodeFromString(""), View.resolveSize(0, 0) + 5, (char) TextUtils.getOffsetBefore("", 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 | 7), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $10 + 107;
$11 = i6 % 128;
int i7 = i6 % 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;
}
}
if (i3 > 0) {
zui.a = i3;
char[] cArr4 = new char[i];
System.arraycopy(cArr3, 0, cArr4, 0, i);
System.arraycopy(cArr4, 0, cArr3, i - zui.a, zui.a);
System.arraycopy(cArr4, zui.a, cArr3, 0, i - zui.a);
}
if (z) {
int i8 = $10 + 29;
$11 = i8 % 128;
if (i8 % 2 == 0) {
cArr2 = new char[i];
zui.d = 1;
} else {
cArr2 = new char[i];
zui.d = 0;
}
while (zui.d < i) {
int i9 = $10 + 83;
$11 = i9 % 128;
if (i9 % 2 == 0) {
cArr2[zui.d] = cArr3[zui.d + i + 1];
try {
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(342 - TextUtils.getCapsMode("", 0, 0), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 | 7), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} else {
cArr2[zui.d] = cArr3[(i - zui.d) - 1];
Object[] objArr8 = {zui, zui};
Object obj4 = xzZ.y.get(1294990079);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(342 - (Process.myTid() >> 22), TextUtils.getOffsetBefore("", 0) + 5, (char) KeyEvent.normalizeMetaState(0));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
aC(b7, b8, (byte) (b8 | 7), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
cArr3 = cArr2;
}
objArr[0] = new String(cArr3);
}
/* JADX WARN: Removed duplicated region for block: B:11:0x03ad */
/* JADX WARN: Removed duplicated region for block: B:13:0x03b7 */
/* JADX WARN: Removed duplicated region for block: B:16:0x03c1 */
/* JADX WARN: Removed duplicated region for block: B:21:0x03eb */
/* JADX WARN: Removed duplicated region for block: B:24:0x042b */
/* JADX WARN: Removed duplicated region for block: B:30:0x0439 */
/* JADX WARN: Removed duplicated region for block: B:31:0x03fd */
/* JADX WARN: Removed duplicated region for block: B:36:0x03dd */
/* JADX WARN: Removed duplicated region for block: B:37:0x03b4 */
/* JADX WARN: Removed duplicated region for block: B:8:0x039b */
/*
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[] r24) {
/*
Method dump skipped, instructions count: 1422
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.debitcard.reset.DebitCardResetPinActivity.e(java.lang.Object[]):java.lang.Object");
}
@Override // com.scb.phone.view.activity.debitcard.reset.BaseChangePinWithMaxActivity, o.InterfaceC6629cYg
public final void d() {
int i = 2 % 2;
CustomPinWithMaxInput customPinWithMaxInput = this.customPinInput;
if (customPinWithMaxInput != null) {
int i2 = r + 23;
p = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
customPinWithMaxInput = null;
}
customPinWithMaxInput.a();
int i4 = r + 79;
p = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = r + 45;
p = i2 % 128;
if (i2 % 2 != 0) {
super.Z();
setTitle(R.string.auto_reset_card_pin_page_title);
int i3 = 82 / 0;
} else {
super.Z();
setTitle(R.string.auto_reset_card_pin_page_title);
}
int i4 = r + 7;
p = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 66 / 0;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
C14957gcv.e(menuItem, "");
if (menuItem.getItemId() == 16908332) {
onBackPressed();
int i2 = r + 31;
p = i2 % 128;
int i3 = i2 % 2;
return true;
}
boolean onOptionsItemSelected = super.onOptionsItemSelected(menuItem);
int i4 = r + 53;
p = i4 % 128;
int i5 = i4 % 2;
return onOptionsItemSelected;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = 2 % 2;
int i2 = p + 123;
r = i2 % 128;
int i3 = i2 % 2;
Object obj = this.presenter;
Object obj2 = null;
if (obj == null) {
C14957gcv.a("");
int i4 = p + 37;
r = i4 % 128;
int i5 = i4 % 2;
obj = null;
}
if (((C1517aGh) obj).e == AbstractC1278Zm.IeS.NEW) {
int i6 = r + 119;
p = i6 % 128;
if (i6 % 2 == 0) {
finish();
return;
}
}
Object obj3 = this.presenter;
if (obj3 != null) {
int i7 = p + 17;
r = i7 % 128;
if (i7 % 2 == 0) {
obj2.hashCode();
throw null;
}
obj2 = obj3;
} else {
C14957gcv.a("");
int i8 = r + 75;
p = i8 % 128;
int i9 = i8 % 2;
}
((C1517aGh) obj2).c();
}
@Override // com.scb.phone.view.activity.debitcard.reset.BaseChangePinWithMaxActivity, o.InterfaceC6629cYg
public final void g() {
int i = 2 % 2;
int i2 = p + 29;
r = i2 % 128;
int i3 = i2 % 2;
super.g();
setTitle(R.string.auto_reset_card_pin_page_title);
abk_().setText(R.string.auto_reset_card_pin_instruction);
int i4 = r + 99;
p = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.debitcard.reset.BaseChangePinWithMaxActivity, o.InterfaceC6629cYg
public final void j() {
int i = 2 % 2;
int i2 = p + 65;
r = i2 % 128;
int i3 = i2 % 2;
super.j();
setTitle(R.string.auto_reset_card_pin_page_title);
abk_().setText(R.string.auto_confirm_card_pin_instruction);
int i4 = p + 43;
r = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object d(Object[] objArr) {
AbstractC13163fSk<xWw> c;
DebitCardResetPinActivity debitCardResetPinActivity = (DebitCardResetPinActivity) objArr[0];
String str = (String) objArr[1];
int i = 2 % 2;
int i2 = p + 123;
r = i2 % 128;
int i3 = i2 % 2;
Object obj = debitCardResetPinActivity.presenter;
if (obj != null) {
int i4 = p + 85;
r = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
obj = null;
}
C1517aGh c1517aGh = (C1517aGh) obj;
String str2 = debitCardResetPinActivity.f6805o;
C14957gcv.e(str2, "");
UdY udY = c1517aGh.d;
if (((Tve) udY).a.g()) {
c = ((Tve) udY).a.d(new C3412ax(EnumC1253Yzm.PS10K_RN.a()));
} else {
c = ((Tve) udY).a.c(new C3412ax());
}
AbstractC13163fSk<xWw> delay = c.delay(100L, TimeUnit.MILLISECONDS);
C14957gcv.c(delay, "");
final UdY.IeS ieS = new UdY.IeS(udY, str);
InterfaceC13169fSq map = delay.map(new fSS(ieS) { // from class: o.uVf
private InterfaceC14894gbR a;
@Override // o.fSS
public final Object a(Object obj2) {
InterfaceC14894gbR interfaceC14894gbR = this.a;
C14957gcv.e(interfaceC14894gbR, "");
return (uCB) interfaceC14894gbR.invoke(obj2);
}
{
this.a = ieS;
}
});
C14957gcv.c(map, "");
c1517aGh.d.d((AbstractC13163fSk) map, (wRi.LWm) new C1517aGh.LWm(c1517aGh, str2));
return null;
}
@Override // o.InterfaceC9110ddY
public final void e(C0563Jm c0563Jm) {
int i = 2 % 2;
C14957gcv.e(c0563Jm, "");
DebitCardResetOtpActivity.IeS ieS = DebitCardResetOtpActivity.b;
DebitCardResetPinActivity debitCardResetPinActivity = this;
C14957gcv.e(debitCardResetPinActivity, "");
C14957gcv.e(c0563Jm, "");
Intent putExtra = new Intent(debitCardResetPinActivity, (Class<?>) DebitCardResetOtpActivity.class).putExtra("EXTRA_DEBIT_ENCRYPT_PIN", c0563Jm);
C14957gcv.c(putExtra, "");
startActivity(putExtra);
CustomPinWithMaxInput customPinWithMaxInput = this.customPinInput;
if (customPinWithMaxInput != null) {
int i2 = p;
int i3 = i2 + 71;
r = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 79;
r = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
customPinWithMaxInput = null;
}
customPinWithMaxInput.a();
}
@Override // com.scb.phone.view.activity.debitcard.reset.BaseChangePinWithMaxActivity, 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 = r + 77;
p = i2 % 128;
int i3 = i2 % 2;
Object obj = this.presenter;
if (obj != null) {
int i4 = r + 73;
p = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
int i6 = p + 59;
r = i6 % 128;
int i7 = i6 % 2;
obj = null;
}
((C1517aGh) obj).w_();
super.onDestroy();
}
private static void aB(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int length;
char[] cArr;
int i;
char[] cArr2;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr3 = l;
if (cArr3 != null) {
int i8 = $10 + 95;
$11 = i8 % 128;
if (i8 % 2 == 0) {
length = cArr3.length;
cArr = new char[length];
i = 1;
} else {
length = cArr3.length;
cArr = new char[length];
i = 0;
}
while (i < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr3[i]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr2 = cArr3;
} else {
Class cls = (Class) xzZ.c(Process.getGidForName("") + PassportService.DEFAULT_MAX_BLOCKSIZE, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (View.MeasureSpec.getSize(i3) + 41977));
byte b = (byte) i3;
byte b2 = b;
cArr2 = cArr3;
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 + 2), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr[i] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i++;
cArr3 = cArr2;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr;
}
char[] cArr4 = new char[i5];
System.arraycopy(cArr3, i4, cArr4, 0, i5);
if (bArr != null) {
char[] cArr5 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
int i9 = $10 + 115;
$11 = i9 % 128;
int i10 = i9 % 2;
if (bArr[tvh.c] == 1) {
int i11 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(503 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) ((ViewConfiguration.getLongPressTimeout() >> 16) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i12 = tvh.c;
try {
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - (ViewConfiguration.getFadingEdgeLength() >> 16), (Process.myPid() >> 22) + 5, (char) (TextUtils.lastIndexOf("", '0') + 58135))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i12] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
c = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - View.MeasureSpec.getMode(0), 5 - View.MeasureSpec.getSize(0), (char) (Color.blue(0) + 21608));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b3, b3, (byte) $$p.length, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr5;
}
if (i7 > 0) {
int i13 = $11 + 103;
$10 = i13 % 128;
if (i13 % 2 != 0) {
char[] cArr6 = new char[i5];
System.arraycopy(cArr4, 1, cArr6, 1, i5);
System.arraycopy(cArr6, 1, cArr4, i5 - i7, i7);
System.arraycopy(cArr6, i7, cArr4, 0, i5 / i7);
} else {
char[] cArr7 = new char[i5];
System.arraycopy(cArr4, 0, cArr7, 0, i5);
int i14 = i5 - i7;
System.arraycopy(cArr7, 0, cArr4, i14, i7);
System.arraycopy(cArr7, i7, cArr4, 0, i14);
}
int i15 = $11 + 79;
$10 = i15 % 128;
int i16 = i15 % 2;
}
if (z) {
char[] cArr8 = new char[i5];
int i17 = 0;
while (true) {
tvh.c = i17;
if (tvh.c >= i5) {
break;
}
cArr8[tvh.c] = cArr4[(i5 - tvh.c) - 1];
i17 = tvh.c + 1;
}
cArr4 = cArr8;
}
if (i6 > 0) {
int i18 = 0;
while (true) {
tvh.c = i18;
if (tvh.c >= i5) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i18 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.debitcard.reset.Hilt_DebitCardResetPinActivity, com.scb.phone.view.activity.debitcard.reset.BaseChangePinWithMaxActivity, 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 = p + 121;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(26 - (ViewConfiguration.getJumpTapTimeout() >> 16), new char[]{6, 17, 0, 65502, 65483, '\r', '\r', 65534, 65483, 1, 6, '\f', 15, 1, 11, 65534, 1, 65534, 2, 15, 5, 65521, 22, 17, 6, 19}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + CipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA, true, (ViewConfiguration.getLongPressTimeout() >> 16) + 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{23, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = p + 87;
r = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = r + 65;
p = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 492, TextUtils.indexOf("", "") + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).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(486 - Process.getGidForName(""), 5 - KeyEvent.keyCodeFromString(""), (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.debitcard.reset.Hilt_DebitCardResetPinActivity, com.scb.phone.view.activity.debitcard.reset.BaseChangePinWithMaxActivity, 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 = p + 35;
r = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = r + 53;
p = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aA(26 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), new char[]{6, 17, 0, 65502, 65483, '\r', '\r', 65534, 65483, 1, 6, '\f', 15, 1, 11, 65534, 1, 65534, 2, 15, 5, 65521, 22, 17, 6, 19}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_coin_more_detail_description_3_2).substring(0, 312).length() - 123, true, ExpandableListView.getPackedPositionGroup(0L) + 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{23, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = r + 81;
p = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (Process.myPid() >> 22), 5 - View.combineMeasuredStates(0, 0), (char) TextUtils.indexOf("", ""))).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.getMaximumDrawingCacheSize() >> 24) + 487, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) View.getDefaultSize(0, 0))).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();
}
@Override // com.scb.phone.view.activity.debitcard.reset.Hilt_DebitCardResetPinActivity, com.scb.phone.view.activity.debitcard.reset.BaseChangePinWithMaxActivity, 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];
aB(new int[]{0, 18, 16, 5}, true, null, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{18, 5, CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA, 4}, false, new byte[]{1, 0, 0, 1, 1}, 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 = r + 53;
p = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 47, new char[]{65521, 27, 65516, 65515, 65521, 65516, 65517, 26, 65522, 31, 65519, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65522, 29, 65514, 65514, 65518, 65521, 65514, 31, 30, 27, 27, 65515, 65517, 65522, 65518, NistHelper.SEP_FS, 65521, 30, 65517, 65514, 65520, 65517, 27, 65516, NistHelper.SEP_FS, 31, 26, 27, 65522, 65515, 26, 65516, 27, 65516}, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 160, false, 33 - View.combineMeasuredStates(0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(64 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), new char[]{31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518, 65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30, 65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!', 65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518}, 157 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), false, 43 - TextUtils.indexOf((CharSequence) "", '0'), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(TextUtils.indexOf("", "") + 64, new char[]{' ', 27, 65519, 65522, 29, 65521, 27, 65522, 65514, 65517, 27, 65517, 31, 31, 65516, 65523, 65517, 31, NistHelper.SEP_FS, 65518, 65514, 65522, 27, NistHelper.SEP_FS, ' ', 65514, 65515, 65514, 65521, 65516, 29, 65522, ' ', 31, 65522, 65520, 65523, 30, 65518, NistHelper.SEP_FS, 27, 65519, 65519, 65516, 65515, 65515, 65519, 65514, 65519, 65517, ' ', 29, 65520, 31, NistHelper.SEP_FS, 31, 65516, 65522, 65520, 65523, 65514, ' ', 65514, 27}, 160 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), false, Drawable.resolveOpacity(0, 0) + 6, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{41, 74, 76, 0}, true, new byte[]{1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{115, 5, 48, 0}, false, new byte[]{1, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(36 - TextUtils.getTrimmedLength(""), new char[]{65512, 65521, 65515, ' ', 29, 65512, 65519, 65517, 65516, 65516, 65512, NistHelper.SEP_FS, 29, ' ', 30, 65512, 65517, 30, 65517, NistHelper.SEP_FS, 65522, ' ', 30, 65520, 65519, 65520, 65516, ' ', ' ', NistHelper.SEP_FS, 65517, 65519, 31, 65524, 65519, 65515}, (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)) + CipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, false, Color.alpha(0) + 28, 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((ViewConfiguration.getScrollBarSize() >> 8) + 487, 5 - TextUtils.indexOf("", ""), (char) View.MeasureSpec.getMode(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i4 = p + 27;
r = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
/* loaded from: classes4.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14890gbN<bRF> {
public static final RVV a = new RVV();
@Override // o.InterfaceC14890gbN
public final /* synthetic */ bRF invoke() {
return new bRF();
}
RVV() {
super(0);
}
}
public static final Intent abl_(Context context, String str, boolean z) {
int i = 2 % 2;
C14957gcv.e(context, "");
Intent intent = new Intent(context, (Class<?>) DebitCardResetPinActivity.class);
intent.putExtra("EXTRA_DEBIT_CARD_NUMBER", str);
intent.putExtra("EXTRA_IS_MAGNETIC_CARD", z);
int i2 = p + 61;
r = i2 % 128;
int i3 = i2 % 2;
return intent;
}
static void n() {
l = new char[]{40052, 40073, 40063, 40053, 40058, 40072, 40072, 40062, 40056, 40052, 40073, 40043, 39989, 40072, 40052, 39989, 40063, 40050, 40079, 40188, 40164, 40189, 40179, 39994, 40039, 40056, 40057, 40032, 40034, 40058, 40017, 40019, 40059, 40037, 40033, 40045, 40041, 40033, 40037, 40039, 40037, 40020, 40116, 40118, 40126, 40114, 40114, 40093, 40055, 40107, 40085, 40086, 40116, 40115, 40121, 40125, 40124, 40083, 40083, 40115, 40127, 40095, 40081, 40113, 40126, 40095, 40094, 40124, 40126, 40124, 40116, 40117, 40124, 40124, 40126, 40124, 40113, 40093, 40086, 40116, 40125, 40101, 40124, 40125, 40100, 40124, 40114, 40113, 40086, 40083, 40115, 40120, 40102, 40120, 40121, 40122, 40121, 40125, 40124, 40126, 40114, 40113, 40126, 40127, 40120, 40122, 40113, 40086, 40048, 40075, 40105, 40118, 40117, 40139, 40113, 39999, 40040, 40040, 40040, 40020};
q = 2015661693;
}
@Override // com.scb.phone.view.activity.debitcard.reset.Hilt_DebitCardResetPinActivity, com.scb.phone.view.activity.debitcard.reset.BaseChangePinWithMaxActivity, 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 = r + 11;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = r + 37;
p = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.debitcard.reset.Hilt_DebitCardResetPinActivity, com.scb.phone.view.activity.debitcard.reset.BaseChangePinWithMaxActivity, 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) {
d(new Object[]{this, bundle}, 1194243448, -1194243448, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1868141931);
}
@Override // o.InterfaceC9110ddY
public final void c(String str) {
d(new Object[]{this, str}, 2032696519, -2032696518, ((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) + 1866618215);
}
static {
r = 1;
n();
new HBt((byte) 0);
int i = p + 1;
r = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}