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

890 lines
44 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity;
import android.content.Context;
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.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.Button;
import android.widget.ExpandableListView;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.kmc.kut.utilities.IpLibUtil;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.custom.login.CustomKeypad;
import com.scb.phone.view.custom.login.CustomPinInput;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC1278Zm;
import o.C3614bBe;
import o.InterfaceC13391fZD;
import o.InterfaceC6629cYg;
import o.TV;
import o.nMh;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public class BaseChangePinActivity<T extends AbstractC1278Zm> extends BaseActivity implements InterfaceC6629cYg {
@BindView
TextView bottomTextView;
@BindView
public Button buttonNext;
@BindView
public CustomKeypad customKeypad;
@BindView
CustomPinInput customPinInput;
@InterfaceC13391fZD
public T presenter;
@BindView
public TextView topTextView;
private static final byte[] $$g = {90, 40, 10, 105};
private static final int $$h = 240;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int q = 1;
private static char[] b = {35373, 49109, 49117, 49031, 49114, 49024, 49034, 49027, 49029, 49104, 49105, 35375, 49053, 35368, 49116, 49106, 49026, 49035, 35360, 49118, 49110, 49028, 49088, 49025, 49123, 49126, 35361, 35363, 49089, 49030, 35371, 35370, 49098, 49111, 35372, 35374};
private static char l = 35375;
private static char[] k = {16294, 16339, 16345, 16343, 16340, 16350, 16275, 16341, 16262, 16344, 16329, 16331, 16334, 16297, 16349, 16346, 16330, 16337, 16295, 16267, 16265, 16270, 16266, 16279, 16268, 16278, 16264, 16277, 16269, 16347, 16328, 16271, 16276, 16338, 16336, 16348, 16342, 16274};
/* renamed from: o, reason: collision with root package name */
private static int f6516o = 1934310981;
private static boolean m = true;
private static boolean p = true;
/* JADX WARN: Removed duplicated region for block: B:10:0x0029 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0021 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0029 -> B:4:0x0032). 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 az(int r6, byte r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.BaseChangePinActivity.$$g
int r6 = r6 * 3
int r1 = 1 - r6
int r8 = r8 * 2
int r8 = 3 - r8
int r7 = r7 + 65
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L16
r3 = r8
r4 = r2
goto L32
L16:
r3 = r2
L17:
r5 = r8
r8 = r7
r7 = r5
int r7 = r7 + 1
byte r4 = (byte) r8
r1[r3] = r4
if (r3 != r6) goto L29
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L29:
int r3 = r3 + 1
r4 = r0[r7]
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L32:
int r7 = -r7
int r7 = r7 + r3
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BaseChangePinActivity.az(int, byte, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * (-1939)) + (i2 * 971);
int i5 = ~i2;
int i6 = ~(i5 | i);
int i7 = ~((~i3) | i2);
int i8 = ~i;
switch (i4 + ((i6 | i7) * (-970)) + ((~(i2 | i8)) * 1940) + (((~(i8 | i5)) | i7) * 970)) {
case 1:
return c(objArr);
case 2:
return a(objArr);
case 3:
return e(objArr);
case 4:
return d(objArr);
case 5:
return j(objArr);
case 6:
return f(objArr);
default:
return b(objArr);
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0336, code lost:
if (r0 > 99999) goto L6;
*/
@Override // 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 void onCreate(android.os.Bundle r23) {
/*
Method dump skipped, instructions count: 3446
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BaseChangePinActivity.onCreate(android.os.Bundle):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: com.scb.phone.view.activity.BaseChangePinActivity$1, reason: invalid class name */
/* loaded from: classes4.dex */
public static /* synthetic */ class AnonymousClass1 {
static final int[] d;
static {
int[] iArr = new int[TV.values().length];
d = iArr;
try {
iArr[TV.WEAK.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
d[TV.FAIR.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
d[TV.GOOD.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
try {
d[TV.ERROR.ordinal()] = 4;
} catch (NoSuchFieldError unused4) {
}
}
}
@Override // o.InterfaceC6629cYg
public void g() {
int i = 2 % 2;
int i2 = r;
int i3 = ((i2 & 12) + (i2 | 12)) - 1;
q = i3 % 128;
if (i3 % 2 != 0) {
setTitle(R.string.set_pin_title);
this.topTextView.setText(R.string.set_pin_instruction);
} else {
setTitle(R.string.set_pin_title);
this.topTextView.setText(R.string.set_pin_instruction);
throw null;
}
}
@Override // o.InterfaceC6629cYg
public void j() {
TextView textView;
int i = 2 % 2;
int i2 = r + 85;
q = i2 % 128;
if (i2 % 2 == 0) {
setTitle(R.string.confirm_pin_title);
textView = this.topTextView;
int i3 = 49 / 0;
} else {
setTitle(R.string.confirm_pin_title);
textView = this.topTextView;
}
textView.setText(R.string.your_confirm_pin);
int i4 = r;
int i5 = i4 & 103;
int i6 = (i4 | 103) & (~i5);
int i7 = -(-(i5 << 1));
int i8 = (i6 & i7) + (i6 | i7);
q = i8 % 128;
if (i8 % 2 == 0) {
throw null;
}
}
private static /* synthetic */ Object f(Object[] objArr) {
BaseChangePinActivity baseChangePinActivity = (BaseChangePinActivity) objArr[0];
int i = 2 % 2;
int i2 = r;
int i3 = ((i2 ^ 51) | (i2 & 51)) << 1;
int i4 = -(((~i2) & 51) | (i2 & (-52)));
int i5 = (i3 ^ i4) + ((i4 & i3) << 1);
q = i5 % 128;
if (i5 % 2 != 0) {
baseChangePinActivity.bottomTextView.setText("");
return null;
}
baseChangePinActivity.bottomTextView.setText("");
throw null;
}
private static /* synthetic */ Object d(Object[] objArr) {
BaseChangePinActivity baseChangePinActivity = (BaseChangePinActivity) objArr[0];
int i = 2 % 2;
int i2 = r;
int i3 = i2 & 85;
int i4 = i3 + ((i2 ^ 85) | i3);
q = i4 % 128;
Object obj = null;
if (i4 % 2 != 0) {
baseChangePinActivity.bottomTextView.setTextColor(nMh.getColor(baseChangePinActivity, R.color.f13582131100866));
int i5 = q;
int i6 = i5 & 71;
int i7 = (i6 - (~((i5 ^ 71) | i6))) - 1;
r = i7 % 128;
if (i7 % 2 != 0) {
baseChangePinActivity.bottomTextView.setText(R.string.pin_mismatch);
throw null;
}
baseChangePinActivity.bottomTextView.setText(R.string.pin_mismatch);
int i8 = r + 121;
q = i8 % 128;
int i9 = i8 % 2;
return null;
}
baseChangePinActivity.bottomTextView.setTextColor(nMh.getColor(baseChangePinActivity, R.color.f13582131100866));
obj.hashCode();
throw null;
}
private static /* synthetic */ Object a(Object[] objArr) {
BaseChangePinActivity baseChangePinActivity = (BaseChangePinActivity) objArr[0];
int intValue = ((Number) objArr[1]).intValue();
int i = 2 % 2;
int i2 = r;
int i3 = (i2 & (-42)) | ((~i2) & 41);
int i4 = -(-((i2 & 41) << 1));
int i5 = (i3 & i4) + (i4 | i3);
q = i5 % 128;
if (i5 % 2 == 0) {
baseChangePinActivity.buttonNext.setVisibility(intValue);
throw null;
}
baseChangePinActivity.buttonNext.setVisibility(intValue);
int i6 = r;
int i7 = ((i6 | 113) << 1) - (i6 ^ 113);
q = i7 % 128;
int i8 = i7 % 2;
return null;
}
private static /* synthetic */ Object e(Object[] objArr) {
BaseChangePinActivity baseChangePinActivity = (BaseChangePinActivity) objArr[0];
int i = 2 % 2;
int i2 = r;
int i3 = i2 & 25;
int i4 = ((((i2 ^ 25) | i3) << 1) - (~(-((i2 | 25) & (~i3))))) - 1;
q = i4 % 128;
(i4 % 2 == 0 ? baseChangePinActivity.buttonNext : baseChangePinActivity.buttonNext).setEnabled(true);
int i5 = r;
int i6 = ((i5 ^ 103) | (i5 & 103)) << 1;
int i7 = -(((~i5) & 103) | (i5 & IpLibUtil.KIPP_BARCODE_DRIVER_FAIL));
int i8 = ((i6 | i7) << 1) - (i7 ^ i6);
q = i8 % 128;
int i9 = i8 % 2;
return null;
}
private static void ax(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = k;
long j = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i3 = 0;
while (i3 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i3])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(338 - (SystemClock.elapsedRealtime() > j ? 1 : (SystemClock.elapsedRealtime() == j ? 0 : -1)), 5 - KeyEvent.normalizeMetaState(0), (char) (KeyEvent.getMaxKeyCode() >> 16));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
az(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i3++;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i4 = $11 + 77;
$10 = i4 % 128;
int i5 = i4 % 2;
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(f6516o)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(283 - (KeyEvent.getMaxKeyCode() >> 16), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (View.MeasureSpec.makeMeasureSpec(0, 0) + 39813));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
az(b4, (byte) (b4 | 57), b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (p) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i6 = $10 + 75;
$11 = i6 % 128;
int i7 = i6 % 2;
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 40, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
if (!m) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i8 = $11 + 71;
$10 = i8 % 128;
if (i8 % 2 != 0) {
cArr6[c3614bBe.a] = (char) (cArr2[cArr[c3614bBe.c / c3614bBe.a] - i] % intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(40 - TextUtils.indexOf("", "", 0, 0), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
} else {
cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 40, TextUtils.getOffsetBefore("", 0) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
}
objArr[0] = new String(cArr6);
}
private static /* synthetic */ Object b(Object[] objArr) {
BaseChangePinActivity baseChangePinActivity = (BaseChangePinActivity) objArr[0];
int i = 2 % 2;
int i2 = q + 11;
r = i2 % 128;
int i3 = i2 % 2;
baseChangePinActivity.buttonNext.setEnabled(false);
int i4 = r;
int i5 = ((i4 | 19) << 1) - (i4 ^ 19);
q = i5 % 128;
int i6 = i5 % 2;
return null;
}
/* JADX WARN: Removed duplicated region for block: B:19:0x0226 */
/* JADX WARN: Removed duplicated region for block: B:22:0x025b */
/* JADX WARN: Removed duplicated region for block: B:25:0x0265 */
/* JADX WARN: Removed duplicated region for block: B:26:0x0230 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static /* synthetic */ java.lang.Object c(java.lang.Object[] r15) {
/*
Method dump skipped, instructions count: 666
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BaseChangePinActivity.c(java.lang.Object[]):java.lang.Object");
}
@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 void onDestroy() {
int i = 2 % 2;
int i2 = r;
int i3 = (((i2 | 44) << 1) - (i2 ^ 44)) - 1;
q = i3 % 128;
if (i3 % 2 == 0) {
super.onDestroy();
this.presenter.w_();
int i4 = 28 / 0;
} else {
super.onDestroy();
this.presenter.w_();
}
}
private static /* synthetic */ Object j(Object[] objArr) {
BaseChangePinActivity baseChangePinActivity = (BaseChangePinActivity) objArr[0];
int i = 2 % 2;
int i2 = q;
int i3 = ((i2 ^ 37) | (i2 & 37)) << 1;
int i4 = -(((~i2) & 37) | (i2 & (-38)));
int i5 = (i3 & i4) + (i4 | i3);
r = i5 % 128;
int i6 = i5 % 2;
baseChangePinActivity.customPinInput.a();
int i7 = q;
int i8 = i7 | 51;
int i9 = i8 << 1;
int i10 = -((~(i7 & 51)) & i8);
int i11 = (i9 ^ i10) + ((i10 & i9) << 1);
r = i11 % 128;
Object obj = null;
if (i11 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
@OnClick
public void onNextClick() {
int i = 2 % 2;
int i2 = q + 113;
r = i2 % 128;
int i3 = i2 % 2;
this.presenter.a();
int i4 = r;
int i5 = (i4 & (-116)) | ((~i4) & 115);
int i6 = -(-((i4 & 115) << 1));
int i7 = (i5 & i6) + (i6 | i5);
q = i7 % 128;
int i8 = i7 % 2;
}
@Override // 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 void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_mailing_address_trok_format).substring(4, 10).codePointAt(2) + 78, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_landing_amount_too_high).substring(11, 12).codePointAt(0) + 95, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -110, -120, -120, -119, ISOFileInfo.SECURITY_ATTR_EXP, -126, -112, -124, -124, -111, ISOFileInfo.LCS_BYTE}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = r + 55;
q = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = q + 23;
r = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 492, 5 - KeyEvent.keyCodeFromString(""), (char) (ViewConfiguration.getKeyRepeatDelay() >> 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((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 487, 5 - TextUtils.getOffsetBefore("", 0), (char) (Process.getGidForName("") + 1))).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();
}
/* JADX WARN: Code restructure failed: missing block: B:40:0x013a, code lost:
if (r2.b == r2.c) goto L39;
*/
/* JADX WARN: Code restructure failed: missing block: B:42:0x018c, code lost:
r12 = new java.lang.Object[13];
r12[12] = r2;
r12[11] = java.lang.Integer.valueOf(r1);
r12[10] = r2;
r12[9] = r2;
r12[r7] = java.lang.Integer.valueOf(r1);
r12[7] = r2;
r12[6] = r2;
r12[5] = java.lang.Integer.valueOf(r1);
r12[4] = r2;
r12[3] = r2;
r12[2] = java.lang.Integer.valueOf(r1);
r12[1] = r2;
r12[0] = r2;
r13 = o.xzZ.y.get(822107368);
*/
/* JADX WARN: Code restructure failed: missing block: B:43:0x01d7, code lost:
if (r13 == null) goto L48;
*/
/* JADX WARN: Code restructure failed: missing block: B:47:0x0263, code lost:
if (((java.lang.Integer) ((java.lang.reflect.Method) r13).invoke(null, r12)).intValue() != r2.j) goto L59;
*/
/* JADX WARN: Code restructure failed: missing block: B:48:0x0265, code lost:
r7 = com.scb.phone.view.activity.BaseChangePinActivity.$11 + 115;
com.scb.phone.view.activity.BaseChangePinActivity.$10 = r7 % 128;
r7 = r7 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:49:0x0271, code lost:
r9 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, java.lang.Integer.valueOf(r1), r2};
r7 = o.xzZ.y.get(-1152873385);
*/
/* JADX WARN: Code restructure failed: missing block: B:50:0x02b0, code lost:
if (r7 == null) goto L56;
*/
/* JADX WARN: Code restructure failed: missing block: B:51:0x02b2, code lost:
r17 = '\b';
*/
/* JADX WARN: Code restructure failed: missing block: B:52:0x032a, code lost:
r7 = ((java.lang.Integer) ((java.lang.reflect.Method) r7).invoke(null, r9)).intValue();
*/
/* JADX WARN: Code restructure failed: missing block: B:53:0x0337, code lost:
r9 = (r2.d * r1) + r2.j;
r5[r2.e] = r3[r7];
r5[r2.e + 1] = r3[r9];
*/
/* JADX WARN: Code restructure failed: missing block: B:55:0x0398, code lost:
r2.e += 2;
r7 = r17;
*/
/* JADX WARN: Code restructure failed: missing block: B:56:0x02b8, code lost:
r7 = (java.lang.Class) o.xzZ.c(327 - android.view.View.getDefaultSize(0, 0), 5 - (android.view.ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) ((-1) - (android.widget.ExpandableListView.getPackedPositionForChild(0, 0) > 0 ? 1 : (android.widget.ExpandableListView.getPackedPositionForChild(0, 0) == 0 ? 0 : -1))));
r12 = (byte) 0;
r14 = new java.lang.Object[1];
az(r12, (byte) (r12 | 53), r12, r14);
r17 = '\b';
r7 = r7.getMethod((java.lang.String) r14[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(-1152873385, r7);
*/
/* JADX WARN: Code restructure failed: missing block: B:57:0x034b, code lost:
r17 = '\b';
*/
/* JADX WARN: Code restructure failed: missing block: B:58:0x0355, code lost:
if (r2.a != r2.d) goto L62;
*/
/* JADX WARN: Code restructure failed: missing block: B:59:0x0357, code lost:
r2.f = ((r2.f + r1) - 1) % r1;
r2.j = ((r2.j + r1) - 1) % r1;
r7 = (r2.a * r1) + r2.f;
r9 = (r2.d * r1) + r2.j;
r5[r2.e] = r3[r7];
r5[r2.e + 1] = r3[r9];
*/
/* JADX WARN: Code restructure failed: missing block: B:61:0x037f, code lost:
r7 = (r2.a * r1) + r2.j;
r9 = (r2.d * r1) + r2.f;
r5[r2.e] = r3[r7];
r5[r2.e + 1] = r3[r9];
*/
/* JADX WARN: Code restructure failed: missing block: B:63:0x01da, code lost:
r13 = (java.lang.Class) o.xzZ.c((android.widget.ExpandableListView.getPackedPositionForGroup(0) > 0 ? 1 : (android.widget.ExpandableListView.getPackedPositionForGroup(0) == 0 ? 0 : -1)) + 233, 5 - android.text.TextUtils.getTrimmedLength(""), (char) (android.widget.ExpandableListView.getPackedPositionType(0) + 22024));
r14 = (byte) 0;
r7 = new java.lang.Object[1];
az(r14, (byte) (r14 | 55), r14, r7);
r13 = r13.getMethod((java.lang.String) r7[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(822107368, r13);
*/
/* JADX WARN: Code restructure failed: missing block: B:65:0x0150, code lost:
r9 = com.scb.phone.view.activity.BaseChangePinActivity.$11 + 79;
com.scb.phone.view.activity.BaseChangePinActivity.$10 = r9 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:66:0x015a, code lost:
if ((r9 % 2) == 0) goto L42;
*/
/* JADX WARN: Code restructure failed: missing block: B:67:0x015c, code lost:
r5[r2.e] = (char) (r2.b << r29);
r5[r2.e] = (char) (r2.c << r29);
*/
/* JADX WARN: Code restructure failed: missing block: B:68:0x0182, code lost:
r17 = r7;
*/
/* JADX WARN: Code restructure failed: missing block: B:70:0x016f, code lost:
r5[r2.e] = (char) (r2.b - r29);
r5[r2.e + 1] = (char) (r2.c - r29);
*/
/* JADX WARN: Code restructure failed: missing block: B:72:0x014e, code lost:
if (r2.b == r2.c) goto L39;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ay(char[] r28, byte r29, int r30, java.lang.Object[] r31) {
/*
Method dump skipped, instructions count: 960
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BaseChangePinActivity.ay(char[], byte, int, java.lang.Object[]):void");
}
@Override // 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 void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_select_account_disclaimer).substring(89, 90).codePointAt(0) + 95, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -110, -120, -120, -119, ISOFileInfo.SECURITY_ATTR_EXP, -126, -112, -124, -124, -111, ISOFileInfo.LCS_BYTE}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = r + 7;
q = i2 % 128;
if (i2 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = r + 5;
q = i3 % 128;
try {
if (i3 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.rgb(0, 0, 0) + 16777708, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -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((ViewConfiguration.getKeyRepeatDelay() >> 16) + 487, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) Color.green(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
int i4 = 61 / 0;
} else {
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - (ViewConfiguration.getTapTimeout() >> 16), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) TextUtils.getCapsMode("", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(Color.green(0) + 487, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // 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 void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = q + 101;
r = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ay(new char[]{14, 3, '\"', 27, 16, 2, 30, 15, 16, 20, 18, 30, 26, 16, '\b', 21, 13866, 13866}, (byte) ((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)) + 65), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{20, 31, NistHelper.SEP_FS, 1, 13895}, (byte) (TextUtils.getOffsetBefore("", 0) + 73), (ViewConfiguration.getScrollBarSize() >> 8) + 5, 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 = r + 11;
q = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i6 = r + 51;
q = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (Process.myTid() >> 22), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new char[]{15, 22, 4, '\t', 3, 11, 3, '\r', 11, 7, 21, 17, 4, 11, 11, 23, 11, 4, 29, 23, 0, 4, '\f', '\t', 2, 7, 11, 27, '\n', 7, '\"', 15, 17, NistHelper.SEP_FS, '\f', 17, 2, 19, 13885, 13885, 21, 5, 11, 24, 11, 15, 21, 2}, (byte) (69 - (ViewConfiguration.getTouchSlop() >> 8)), (ViewConfiguration.getLongPressTimeout() >> 16) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(null, null, 128 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), new byte[]{-112, ISOFileInfo.DATA_BYTES2, -109, -108, -99, -102, ISOFileInfo.LCS_BYTE, -99, -109, -105, -99, ISOFileInfo.LCS_BYTE, -103, -98, -99, ISOFileInfo.FILE_IDENTIFIER, -109, -108, -102, -105, -108, ISOFileInfo.DATA_BYTES2, -109, -108, -109, -109, -99, -105, ISOFileInfo.DATA_BYTES2, -105, -103, -103, -99, -100, -106, -104, ISOFileInfo.LCS_BYTE, -100, -108, -101, -107, ISOFileInfo.DATA_BYTES2, -108, ISOFileInfo.LCS_BYTE, -104, -102, -107, -108, -102, -103, -108, -104, -108, -104, -105, -112, -106, -107, -109, -108, -112, -108, -109, -112}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{16, '\f', 11, 1, 17, 3, 13922, 13922, 18, 11, 2, 23, '\t', 4, 11, '\r', 16, '\t', 7, '\r', '\r', '\n', 22, 18, 11, 15, 2, 19, 14, 11, '\t', 30, 4, '\t', 17, 27, '#', 29, 13838, 13838, 25, 11, '#', 11, 3, 7, 14, 26, '\b', 22, 29, 23, '\t', 7, '\r', 7, '\t', '\r', 3, '\r', '#', 23, 15, 27}, (byte) (99 - KeyEvent.normalizeMetaState(0)), 65 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(null, null, (ViewConfiguration.getPressedStateDuration() >> 16) + 127, new byte[]{-97, ISOFileInfo.SECURITY_ATTR_EXP, -126, -112, ISOFileInfo.SECURITY_ATTR_COMPACT, -112, ISOFileInfo.A1, -104, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.A1, ISOFileInfo.SECURITY_ATTR_EXP, -97, -112, -92, -126, -122, ISOFileInfo.A1, -122, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A1, -94, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, -112, -124, ISOFileInfo.DATA_BYTES2, -111, ISOFileInfo.A5, -97, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.DATA_BYTES2, -111, -92, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -97, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.FCI_EXT, -93, -126, ISOFileInfo.DATA_BYTES2, -109, -110, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.LCS_BYTE, -124, -112, -94, -94, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, -94, ISOFileInfo.DATA_BYTES2, -122, -97, ISOFileInfo.A1, ISOFileInfo.A1, ISOFileInfo.A0, -97, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -113}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(null, null, TextUtils.getTrimmedLength("") + 127, new byte[]{-100, ISOFileInfo.FCI_EXT, -99, ISOFileInfo.FCI_EXT, -106}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(null, null, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 126, new byte[]{-112, -102, -105, -107, -105, ISOFileInfo.LCS_BYTE, -112, -103, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.LCS_BYTE, -104, -90, ISOFileInfo.LCS_BYTE, -112, -109, ISOFileInfo.DATA_BYTES2, -90, -102, -102, -104, -107, -90, -109, -112, -100, -108, -90, -100, -107, -106, ISOFileInfo.FILE_IDENTIFIER, -107, -104, ISOFileInfo.DATA_BYTES2, -112}, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getKeyRepeatDelay() >> 16), TextUtils.indexOf("", "") + 5, (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;
}
}
}
}
@Override // 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 void onStart() {
int i = 2 % 2;
int i2 = q + 29;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 43 / 0;
}
}
@Override // o.InterfaceC6629cYg
public final void b(TV tv) {
c(new Object[]{this, tv}, -245405696, 245405697, ((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) + 534305072);
}
@Override // o.InterfaceC6629cYg
public final void h() {
c(new Object[]{this}, 833364037, -833364033, System.identityHashCode(this));
}
@Override // o.InterfaceC6629cYg
public final void d() {
c(new Object[]{this}, 7337313, -7337308, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1280797777);
}
@Override // o.InterfaceC6629cYg
public final void e() {
c(new Object[]{this}, -764687588, 764687591, System.identityHashCode(this));
}
@Override // o.InterfaceC6629cYg
public final void e(int i) {
c(new Object[]{this, Integer.valueOf(i)}, -1198736516, 1198736518, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 1029836023);
}
@Override // o.InterfaceC6629cYg
public final void b() {
c(new Object[]{this}, 514692658, -514692658, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1471092087);
}
@Override // o.InterfaceC6629cYg
public final void a() {
c(new Object[]{this}, 1770693887, -1770693881, System.identityHashCode(this));
}
}