what-the-bank/sources/com/scb/phone/view/activity/prepaid/PrepaidConfirmPinActivity.java

851 lines
40 KiB
Java

package com.scb.phone.view.activity.prepaid;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import android.widget.TextView;
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.BaseActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC14961gcz;
import o.C1070Uy;
import o.C14957gcv;
import o.C7519cpp;
import o.C9085dd;
import o.Dwh;
import o.GuL;
import o.IRS;
import o.InterfaceC13393fZL;
import o.InterfaceC14890gbN;
import o.InterfaceC9549dlo;
import o.fZZ;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public final class PrepaidConfirmPinActivity extends Hilt_PrepaidConfirmPinActivity<C7519cpp> implements InterfaceC9549dlo.HBt {
/* renamed from: o */
public static final IeS f7766o;
private static char[] q;
private static long r;
private static char s;
private static int u;
private final InterfaceC13393fZL k;
private boolean l;
private String m;
private C1070Uy p;
private String t;
private static final byte[] $$y = {16, ISO7816.INS_MANAGE_CHANNEL, -67, -78};
private static final int $$z = 46;
private static int $10 = 0;
private static int $11 = 1;
private static int v = 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:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aF(int r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 3
int r0 = r6 + 1
int r7 = r7 + 117
int r8 = r8 * 3
int r8 = 3 - r8
byte[] r1 = com.scb.phone.view.activity.prepaid.PrepaidConfirmPinActivity.$$y
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r4 = r6
r7 = r8
r3 = r2
goto L2c
L15:
r3 = r2
L16:
byte r4 = (byte) r7
r0[r3] = r4
int r8 = r8 + 1
if (r3 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L25:
int r3 = r3 + 1
r4 = r1[r8]
r5 = r8
r8 = r7
r7 = r5
L2c:
int r4 = -r4
int r8 = r8 + r4
r5 = r8
r8 = r7
r7 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.PrepaidConfirmPinActivity.aF(int, int, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * (-751)) + (i2 * (-751));
int i5 = ~i;
int i6 = ~i2;
int i7 = i2 | i5;
if (i4 + (((~(i5 | i6)) | (~(i5 | i3))) * 1504) + ((~(i3 | i7)) * (-1504)) + (((~(i | i6)) | (~i7)) * 752) != 1) {
Context context = (Context) objArr[0];
String str = (String) objArr[1];
String str2 = (String) objArr[2];
String str3 = (String) objArr[3];
int i8 = 2 % 2;
C14957gcv.e(context, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
Intent putExtra = new Intent(context, (Class<?>) PrepaidConfirmPinActivity.class).putExtra("EXTRA_PREPAID_CARD_NUMBER", str).putExtra("EXTRA_PREPAID_TITLE_PIN", str2).putExtra("EXTRA_PREPAID_MESSAGE_PIN", str3);
C14957gcv.c(putExtra, "");
int i9 = u + 15;
v = i9 % 128;
int i10 = i9 % 2;
return putExtra;
}
return b(objArr);
}
public PrepaidConfirmPinActivity() {
Sts sts = Sts.e;
C14957gcv.e(sts, "");
this.k = new fZZ(sts);
}
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public static C9085dd akD_(Intent intent) {
Bundle extras;
Parcelable parcelable;
if (intent == null || (extras = intent.getExtras()) == null) {
return null;
}
if (Build.VERSION.SDK_INT >= 33) {
parcelable = (Parcelable) extras.getParcelable("EXTRA_PREPAID_ENCRYPT_PIN_REQUEST", C9085dd.class);
} else {
Parcelable parcelable2 = extras.getParcelable("EXTRA_PREPAID_ENCRYPT_PIN_REQUEST");
parcelable = (C9085dd) (parcelable2 instanceof C9085dd ? parcelable2 : null);
}
return (C9085dd) parcelable;
}
public /* synthetic */ IeS(byte b) {
this();
}
}
private static void aD(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(r ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (guL.a < a.length) {
int i3 = $11 + 93;
$10 = i3 % 128;
int i4 = i3 % 2;
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(r)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c((-16777008) - Color.rgb(0, 0, 0), Color.blue(0) + 5, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + ISOFileInfo.AB));
byte b = (byte) 0;
byte b2 = (byte) (b + 2);
Object[] objArr3 = new Object[1];
aF(b, b2, (byte) (b2 - 2), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(393 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - View.MeasureSpec.getMode(0), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)));
byte length = (byte) $$y.length;
Object[] objArr5 = new Object[1];
aF((byte) 0, length, (byte) (length - 4), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $10 + 79;
$11 = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x00b0, code lost:
if (r3 > 99999) goto L81;
*/
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity, com.scb.phone.view.activity.BaseChangePinActivity, 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 r20) {
/*
Method dump skipped, instructions count: 1604
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.PrepaidConfirmPinActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseChangePinActivity, o.InterfaceC6629cYg
public final void g() {
int i = 2 % 2;
int i2 = u;
int i3 = i2 + 41;
v = i3 % 128;
int i4 = i3 % 2;
String str = this.t;
String str2 = null;
if (str == null) {
int i5 = i2 + 123;
v = i5 % 128;
if (i5 % 2 == 0) {
C14957gcv.a("");
str2.hashCode();
throw null;
}
C14957gcv.a("");
str = null;
}
p(str);
TextView textView = this.topTextView;
String str3 = this.m;
if (str3 == null) {
int i6 = u + 19;
v = i6 % 128;
int i7 = i6 % 2;
C14957gcv.a("");
} else {
str2 = str3;
}
textView.setText(str2);
}
@Override // com.scb.phone.view.activity.BaseChangePinActivity, o.InterfaceC6629cYg
public final void j() {
int i = 2 % 2;
int i2 = u;
int i3 = i2 + 57;
v = i3 % 128;
int i4 = i3 % 2;
String str = this.t;
if (str == null) {
int i5 = i2 + 39;
v = i5 % 128;
if (i5 % 2 == 0) {
C14957gcv.a("");
int i6 = 19 / 0;
} else {
C14957gcv.a("");
}
str = null;
}
p(str);
this.topTextView.setText(R.string.your_confirm_pin);
d(false);
}
private final void d(boolean z) {
String str;
int i = 2 % 2;
if (z) {
if (!this.l) {
int i2 = v + 83;
u = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 5 / 3;
}
str = "planetscb_resetcardpin_newpin_screen";
} else {
int i4 = u + 123;
v = i4 % 128;
int i5 = i4 % 2;
str = "planetscb_activate_newpin_screen";
}
} else if (!this.l) {
str = "planetscb_resetcardpin_confirmpin_screen";
} else {
int i6 = v;
int i7 = i6 + 73;
u = i7 % 128;
int i8 = i7 % 2;
int i9 = i6 + 61;
u = i9 % 128;
int i10 = i9 % 2;
str = "planetscb_activate_confirmpin_screen";
}
((Dwh) this.k.e()).c(((BaseActivity) this).scbAnalytics, str);
}
@Override // o.InterfaceC9549dlo.HBt
public final void e(C9085dd c9085dd) {
String str;
int i = 2 % 2;
Intent intent = new Intent();
if (c9085dd != null) {
int i2 = u + 93;
v = i2 % 128;
if (i2 % 2 == 0) {
intent.putExtra("EXTRA_PREPAID_ENCRYPT_PIN_REQUEST", c9085dd);
Object obj = null;
obj.hashCode();
throw null;
}
intent.putExtra("EXTRA_PREPAID_ENCRYPT_PIN_REQUEST", c9085dd);
}
if (this.p != null) {
str = "planetscb_prepaid_next_setpin";
} else {
str = "planetscb_prepaid_next_resetpin";
int i3 = u + 1;
v = i3 % 128;
int i4 = i3 % 2;
}
((Dwh) this.k.e()).c(((BaseActivity) this).scbAnalytics, str);
setResult(-1, intent);
finish();
int i5 = v + 71;
u = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC9549dlo.HBt
public final void c() {
int i = 2 % 2;
int i2 = v + 21;
u = i2 % 128;
int i3 = i2 % 2;
setResult(0);
finish();
int i4 = u + 111;
v = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
int i2 = v + 17;
u = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.e(menuItem, "");
if (menuItem.getItemId() != 16908332) {
return super.onOptionsItemSelected(menuItem);
}
int i3 = v + 115;
u = i3 % 128;
int i4 = i3 % 2;
onBackPressed();
int i5 = u + 7;
v = i5 % 128;
int i6 = i5 % 2;
return true;
}
C14957gcv.e(menuItem, "");
menuItem.getItemId();
Object obj = null;
obj.hashCode();
throw null;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = 2 % 2;
int i2 = u + 93;
v = i2 % 128;
if (i2 % 2 == 0) {
((C7519cpp) this.presenter).c();
int i3 = 36 / 0;
} else {
((C7519cpp) this.presenter).c();
}
int i4 = v + 21;
u = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.BaseChangePinActivity, 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 = u + 25;
v = i2 % 128;
int i3 = i2 % 2;
((C7519cpp) this.presenter).w_();
super.onDestroy();
int i4 = u + 27;
v = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 27 / 0;
}
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity, com.scb.phone.view.activity.BaseChangePinActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onResume() {
int i = 2 % 2;
int i2 = u + 117;
v = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aE(new char[]{NistHelper.SEP_FS, '*', '+', 18, 3, 26, '+', 4, 26, '*', '+', 5, '\'', 22, 3, 27, 31, 25, 3, '\"', '#', '!', 17, 1, 25, '*'}, (byte) ((ViewConfiguration.getTouchSlop() >> 8) + 111), TextUtils.lastIndexOf("", '0', 0, 0) + 27, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{24, '\'', 13880, 13880, 0, '&', 1, ')', 13882, 13882, '-', 27, 26, 22, 3, 27, 0, '('}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 46), (ViewConfiguration.getEdgeSlop() >> 16) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i3 = v + 55;
u = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = u + 103;
v = i5 % 128;
try {
if (i5 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 492, 5 - Gravity.getAbsoluteGravity(0, 0), (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 439, View.resolveSizeAndState(0, 0, 0) + 5, (char) Color.green(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 444, (-16777211) - Color.rgb(0, 0, 0), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (-16777211) - Color.rgb(0, 0, 0), (char) ((-1) - MotionEvent.axisFromString("")))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aE(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = q;
char c = '0';
int i4 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = $10 + 7;
$11 = i5 % 128;
int i6 = i5 % 2;
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(297 - TextUtils.indexOf("", c, 0, 0), (ViewConfiguration.getJumpTapTimeout() >> 16) + i4, (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aF(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
c = '0';
i4 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i8 = $10 + 83;
$11 = i8 % 128;
int i9 = i8 % 2;
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(s)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 299, Gravity.getAbsoluteGravity(0, 0) + 5, (char) View.combineMeasuredStates(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(-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] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i10 = $11 + 67;
$10 = i10 % 128;
if (i10 % 2 != 0) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e << 1] = (char) (irs.c * b);
} else {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
}
} 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(View.resolveSizeAndState(0, 0, 0) + 233, Gravity.getAbsoluteGravity(0, 0) + 5, (char) (TextUtils.indexOf("", "", 0) + 22024));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 + 3);
Object[] objArr7 = new Object[1];
aF(b6, b7, (byte) (b7 - 3), 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) {
int i11 = $11 + 11;
$10 = i11 % 128;
int i12 = i11 % 2;
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(Color.alpha(0) + 327, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (TextUtils.indexOf((CharSequence) "", '0') + 1));
byte b8 = (byte) 0;
byte b9 = (byte) (b8 + 1);
Object[] objArr9 = new Object[1];
aF(b8, b9, (byte) (b9 - 1), 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 i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i13];
} else if (irs.a == irs.d) {
int i14 = $10 + 7;
$11 = i14 % 128;
int i15 = i14 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i16 = (irs.a * charValue) + irs.f;
int i17 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i16];
cArr4[irs.e + 1] = cArr2[i17];
} else {
int i18 = (irs.a * charValue) + irs.j;
int i19 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i18];
cArr4[irs.e + 1] = cArr2[i19];
}
}
irs.e += 2;
}
}
int i20 = $11 + 87;
$10 = i20 % 128;
int i21 = i20 % 2;
for (int i22 = 0; i22 < i; i22++) {
cArr4[i22] = (char) (cArr4[i22] ^ 13722);
}
objArr[0] = new String(cArr4);
}
private static /* synthetic */ Object b(Object[] objArr) {
PrepaidConfirmPinActivity prepaidConfirmPinActivity = (PrepaidConfirmPinActivity) objArr[0];
int i = 2 % 2;
int i2 = u + 47;
v = i2 % 128;
int i3 = i2 % 2;
Context baseContext = prepaidConfirmPinActivity.getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = v + 13;
u = i4 % 128;
int i5 = i4 % 2;
Object[] objArr2 = new Object[1];
aE(new char[]{NistHelper.SEP_FS, '*', '+', 18, 3, 26, '+', 4, 26, '*', '+', 5, '\'', 22, 3, 27, 31, 25, 3, '\"', '#', '!', 17, 1, 25, '*'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.bulk_transfer_info_text).substring(0, 280).codePointAt(41) + 72), 26 - TextUtils.indexOf("", "", 0), objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aE(new char[]{24, '\'', 13880, 13880, 0, '&', 1, ')', 13882, 13882, '-', 27, 26, 22, 3, 27, 0, '('}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 67), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_mf_and_om_description).substring(4, 9).length() + 13, objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = v + 111;
u = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 492, KeyEvent.getDeadChar(0, 0) + 5, (char) Drawable.resolveOpacity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 487, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr4);
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(487 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) (Process.myTid() >> 22))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr5);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onPause();
int i7 = v + 5;
u = i7 % 128;
if (i7 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity, com.scb.phone.view.activity.BaseChangePinActivity, 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 = v + 71;
u = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new char[]{32126, 33197, 64976, 32031, 64251, 3012, 65090, 36760, 37361, 59868, 7908, 41188, 42193, 54566, 11726, 46458, 48044, 49178, 16547, 50799, 52877, 44902}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{59405, 62588, 27719, 59488, 36669, 39522, 55077, 42724, 1161}, ExpandableListView.getPackedPositionType(0L), 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 = u + 57;
v = i4 % 128;
if (i4 % 2 == 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 492, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(new char[]{46411, 62742, 32505, 46458, 36377, 35005, 16362, 20000, 22936, 40301, 40399, 24835, 27881, 41431, 44795, 29923, 29656, 46252, 50138, 1946, 1705, 56221, 55099, 6906, 5400, 61114, 59464, 11739, 14445, 64856, 64810, 49463, 53000, 'w', 3597, 54291, 53882, 5915, 9137, 59251, 59085, 14955, 13515, 64000, 62905, 20186, 18928, 36279, 39048, 24054, 23180, 41110}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD(new char[]{36726, 26150, 5535, 36627, 7548, 58329, 53611, 41126, 25504, 3676, 63227, 36826, 22227, 13035, 50589, 39477, 18916, 10184, 43192, 59666, 15552, 18602, 48222, 62577, 12149, 32136, 33582, 50007, 517, 28264, 38431, 12256, 62820, 37703, 25919, 15003, 59457, 33833, 18650, 2466, 56483, 43270, 24493, 5249, 53120, 56764, 8910, 25397, 41699, 52943, 12729, 20033, 38290, 62374, 1289, 23924, 34933, 58502, 59514, 43009, 31502, 2365, 65310, 46267, 28256, 14876, 49774, 33734}, (-1) - Process.getGidForName(""), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new char[]{27, 14, ',', '\n', 23, 7, 13879, 13879, '%', ',', '\n', 2, '+', 7, '0', 17, NistHelper.SEP_FS, 0, 3, '.', 24, 3, '\"', 31, 27, 18, 5, 4, 27, ')', '\'', ',', 7, '+', 25, '#', '%', ' ', 13795, 13795, '&', '.', '%', 11, 11, ' ', 31, 6, '-', 0, '\"', 16, 30, ')', '.', 3, '*', 24, 0, 25, ')', 18, 26, ' '}, (byte) (Color.alpha(0) + 56), 64 - (ViewConfiguration.getLongPressTimeout() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{'\"', 0, 5, '0', '!', 19, 13765, 13765, 27, 25, 22, NistHelper.SEP_FS, 26, 4, 13831, 13831, 1, 17, 26, 25, 27, '*', 0, NistHelper.SEP_FS, '*', 14, 2, 0, 29, 14, 0, 24, 4, 27, 22, 27, 0, 2, 17, '%', 22, 14, '/', 25, 3, '#', 22, 14, 4, 2, 26, 4, '\"', '\b', 26, '*', 27, '\n', 21, '&', 17, 2, 27, 5, 11, '\"', '\"', '\t', 4, 31, 0, '&', 5, 27}, (byte) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 16), (ViewConfiguration.getTapTimeout() >> 16) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new char[]{'$', 2, 15, 6, 13766}, (byte) (28 - TextUtils.getOffsetBefore("", 0)), 5 - ExpandableListView.getPackedPositionGroup(0L), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new char[]{49005, 47658, 14184, 48904, 49523, 49450, 35267, 63583, 21481, 53771, 54284, 55163, 26240, 61156, 59240, 49870, 31151, 64479, 35404, 45497, 3292, 38051, 40629, 44170, 8047, 41431, 41435, 39910, 12831, 45617, 46314, 30538, 50554, 20247, 18331, 25150, 55385, 22567, 27177, 20750}, ExpandableListView.getPackedPositionGroup(0L), 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.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 486, Color.green(0) + 5, (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
/* loaded from: classes5.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14890gbN<Dwh> {
public static final Sts e = new Sts();
@Override // o.InterfaceC14890gbN
public final /* synthetic */ Dwh invoke() {
return new Dwh();
}
Sts() {
super(0);
}
}
static void f() {
r = 1965783417241445223L;
q = new char[]{49090, 49053, 49113, 49110, 49109, 49116, 49095, 49112, 49031, 49024, 49107, 48170, 49033, 49052, 48161, 49089, 49108, 49026, 48168, 48175, 49035, 49106, 48171, 48172, 49114, 49104, 49088, 49092, 49115, 49118, 49025, 49098, 49093, 49028, 49029, 49117, 49138, 49034, 49094, 49030, 49127, 48173, 49105, 48174, 48169, 49027, 49111, 49091, 49119};
s = (char) 35374;
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity, com.scb.phone.view.activity.BaseChangePinActivity, 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() {
d(new Object[]{this}, 1033084870, -1033084869, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidConfirmPinActivity, com.scb.phone.view.activity.BaseChangePinActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onStart() {
int i = 2 % 2;
int i2 = v + 59;
u = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = v + 97;
u = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 40 / 0;
}
}
public static final Intent akC_(Context context, String str, String str2, String str3) {
return (Intent) d(new Object[]{context, str, str2, str3}, 1162827911, -1162827911, (int) System.currentTimeMillis());
}
public static final C9085dd akB_(Intent intent) {
int i = 2 % 2;
int i2 = v + 45;
u = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
IeS.akD_(intent);
obj.hashCode();
throw null;
}
C9085dd akD_ = IeS.akD_(intent);
int i3 = v + 65;
u = i3 % 128;
if (i3 % 2 == 0) {
return akD_;
}
obj.hashCode();
throw null;
}
static {
u = 0;
f();
f7766o = new IeS((byte) 0);
int i = v + 69;
u = i % 128;
int i2 = i % 2;
}
}