what-the-bank/sources/com/scb/phone/view/activity/juristic/Hilt_JuristicSetupResetPinA...

810 lines
47 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.juristic;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Bundle;
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.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseChangePinActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC1278Zm;
import o.C13068fPo;
import o.C13073fPt;
import o.C4403bZM;
import o.IRS;
import o.InterfaceC17278vUG;
import o.InterfaceC8797dWN;
import o.VLM;
import o.fOV;
import o.fPA;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public abstract class Hilt_JuristicSetupResetPinActivity<T extends AbstractC1278Zm> extends BaseChangePinActivity<T> implements fPA {
private volatile C13073fPt l;
private static final byte[] $$p = {Ascii.US, -107, 35, 49};
private static final int $$q = CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int s = 1;
private static int[] k = {64289386, 79418648, 366542168, 385854234, -661159499, -608507908, 1499744616, -226189739, -1837090772, 1424137418, 1423998711, -375354694, -83705704, -537071218, -1575796858, 1189438168, -2107844381, -495211720};
private static char[] m = {35370, 49106, 49054, 49117, 49027, 49114, 49026, 49091, 49035, 49025, 49024, 49034, 49138, 35373, 35375, 49111, 49119, 49105, 49028, 49116, 35360, 35374, 35371, 35361, 49031, 35372, 35368, 49109, 49053, 49094, 49110, 49104, 49030, 49089, 49029, 49095};
private static char r = 35375;
/* renamed from: o, reason: collision with root package name */
private final Object f7517o = new Object();
boolean b = false;
/* 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 aC(int r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 4
int r0 = r8 + 1
int r6 = r6 + 102
byte[] r1 = com.scb.phone.view.activity.juristic.Hilt_JuristicSetupResetPinActivity.$$p
int r7 = r7 * 3
int r7 = 3 - r7
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r3 = r7
r6 = r8
r4 = r2
goto L2c
L15:
r3 = r2
L16:
byte r4 = (byte) r6
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r8) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L25:
int r7 = r7 + 1
r3 = r1[r7]
r5 = r3
r3 = r7
r7 = r5
L2c:
int r7 = -r7
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.juristic.Hilt_JuristicSetupResetPinActivity.aC(int, byte, short, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_JuristicSetupResetPinActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.juristic.Hilt_JuristicSetupResetPinActivity.4
private Hilt_JuristicSetupResetPinActivity a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_JuristicSetupResetPinActivity hilt_JuristicSetupResetPinActivity = this.a;
if (hilt_JuristicSetupResetPinActivity.b) {
return;
}
hilt_JuristicSetupResetPinActivity.b = true;
((InterfaceC8797dWN) hilt_JuristicSetupResetPinActivity.y_()).e((JuristicSetupResetPinActivity) hilt_JuristicSetupResetPinActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = s + 43;
p = i2 % 128;
int i3 = i2 % 2;
Object y_ = f().y_();
int i4 = p + 9;
s = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 45 / 0;
}
return y_;
}
private C13073fPt f() {
if (this.l == null) {
synchronized (this.f7517o) {
if (this.l == null) {
this.l = new C13073fPt(this);
}
}
}
return this.l;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i2 = s + 125;
p = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
int i4 = p + 39;
s = i4 % 128;
int i5 = i4 % 2;
} else {
int i6 = p + 53;
s = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 5 / 4;
}
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aA(int[] iArr, int i, Object[] objArr) {
Object method;
int[] iArr2;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = k;
int i3 = 58134;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr3 != null) {
int i7 = $10 + 113;
$11 = i7 % 128;
int i8 = i7 % 2;
int length = iArr3.length;
int[] iArr4 = new int[length];
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[0] = Integer.valueOf(iArr3[i9]);
Object obj = xzZ.y.get(Integer.valueOf(i4));
if (obj == null) {
obj = ((Class) xzZ.c(15 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (TextUtils.indexOf("", "", 0, 0) + i3))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i9] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i9++;
int i10 = $10 + 25;
$11 = i10 % 128;
int i11 = i10 % 2;
i3 = 58134;
i4 = 729798706;
i5 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i12 = $11 + 85;
$10 = i12 % 128;
int i13 = i12 % 2;
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = k;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i14 = 0;
while (i14 < length3) {
Object[] objArr3 = new Object[1];
objArr3[i6] = Integer.valueOf(iArr6[i14]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
} else {
obj2 = ((Class) xzZ.c(TextUtils.indexOf("", "") + 15, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) (((Process.getThreadPriority(0) + 20) >> 6) + 58134))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
xzZ.y.put(729798706, obj2);
}
iArr7[i14] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i14++;
iArr6 = iArr2;
i6 = 0;
}
iArr6 = iArr7;
}
int i15 = i6;
System.arraycopy(iArr6, i15, iArr5, i15, length2);
c4403bZM.b = i15;
while (c4403bZM.b < iArr.length) {
cArr[i15] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i16 = 0;
for (int i17 = 16; i16 < i17; i17 = 16) {
int i18 = $10 + 5;
$11 = i18 % 128;
if (i18 % 2 == 0) {
c4403bZM.e ^= iArr5[i16];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c(Color.red(0) + 118, ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1));
byte b = (byte) 2;
byte b2 = (byte) (b - 2);
Object[] objArr5 = new Object[1];
aC(b, b2, b2, objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i16 += 34;
} else {
c4403bZM.e ^= iArr5[i16];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 != null) {
method = obj4;
} else {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf("", "", 0) + 118, 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1));
byte b3 = (byte) 2;
byte b4 = (byte) (b3 - 2);
Object[] objArr7 = new Object[1];
aC(b3, b4, b4, objArr7);
method = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, method);
}
int intValue2 = ((Integer) ((Method) method).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i16++;
}
}
int i19 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i19;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i20 = c4403bZM.e;
int i21 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 98, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr9 = new Object[1];
aC(b5, b6, b6, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
i15 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // 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 void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = p + 5;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new int[]{-550535872, -1480335891, 318926334, 954091289, 1815401985, -98696216, -976969799, -864517422, -2041114514, -333873902}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{809242238, 2092910518, -1274355598, 1534207721}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.abc_menu_meta_shortcut_label).substring(0, 5).length(), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = p + 11;
s = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aA(new int[]{-550535872, -1480335891, 318926334, 954091289, 186084595, -1658884041, 1650099049, -1491219167, -800976739, -488607389, 2087846, 1362218367, 1117122695, -2112004442}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 26, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(new char[]{'#', 25, 13803, 13803, '!', 0, 30, 17, 13805, 13805, 17, 4, 1, 7, 5, 11, 21, 1}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 31), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_success_result_description_b2k).substring(0, 115).length() - 97, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = s + 55;
p = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
int i8 = p + 85;
s = i8 % 128;
int i9 = i8 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) KeyEvent.getDeadChar(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new char[]{'\f', 24, 29, '\f', 7, '\"', 25, 3, 23, 17, 7, 3, 11, 16, 11, '\t', 16, 11, '\n', '\t', 6, NistHelper.SEP_FS, 5, 7, NistHelper.SEP_FS, '!', ' ', '!', '#', 7, '\f', '\t', '\b', 30, '\t', 7, 24, '!', 13838, 13838, 6, 27, '\b', '#', ' ', 7, 0, 30}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_commercial_loan_success_desc).substring(35, 36).length() + 21), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deejung_installment_cc_about).substring(30, 31).codePointAt(0) + 16, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{'#', '\f', '#', 31, '#', 16, 29, 6, 31, '!', '\n', '!', '\n', '!', 24, '\f', 30, NistHelper.SEP_FS, 7, '\n', ' ', '#', 0, 25, 16, 4, 1, '\"', '\n', 6, 2, '\n', 13857, 13857, 31, 2, 2, 14, 13932, 13932, '#', 16, 4, 31, 30, '\b', '#', 16, 14, '\t', 24, 21, ' ', 7, '#', 14, 7, ' ', 7, '\t', '#', 16, 0, 31}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_summary_request_value).substring(0, 5).codePointAt(4) + 84), 64 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{-1280686457, 362704809, -1512984118, 238274106, -554114942, -1511534568, 290775265, -991076104, 1492962609, 327887216, -1908502979, 105543054, -1229148670, -1228629680, 1210506423, -924102891, 94486363, 17819266, -1208120529, -89219504, 1895009997, 167575842, 131944541, -1307045516, 120751167, 1391987522, -1189779516, -2097086159, -203609298, 1639001656, 1298808306, 154051220}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_request_review_caution_line4).substring(18, 19).length() + 63, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{-1528482699, 621399627, -651467057, 1667228291, 1204670465, -1033609364, -977599495, 1675074764, 407745112, 1790018153, -1422322866, 1261159842, 1690582829, 1841353963, 990290782, 1316791811, -1751162081, -1057147935, 1837136160, -408490282, -540555753, 131088079, -157324660, -1183243380, -1080202367, -1383404478, -1752465880, 845772396, 1794394830, -1188181774, 229047587, -2027124325, 489491972, -756260175, -520767734, 557980276, 1049550645, 1946091457}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_suitability_assessment_questionnaire_section_2_3_sub_title).substring(0, 1).codePointAt(0) + 34, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new char[]{'\n', 29, '\n', 26, 13848}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_company_search_add_dialog_error).substring(16, 17).length() + 109), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deejung_transfer_email_notification_message).substring(33, 34).codePointAt(0) - 27, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new char[]{31, 0, 6, 27, 17, '\t', NistHelper.SEP_FS, 0, 4, ' ', 0, '\"', 14, 5, 27, 6, 13778, 13778, 3, 2, '\f', '#', ' ', 1, 7, '!', 7, 3, 24, 0, ' ', '!', 26, 30, '\f', 0}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 5), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - ExpandableListView.getPackedPositionGroup(0L), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) TextUtils.getTrimmedLength(""))).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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i10 = s + 99;
p = i10 % 128;
int i11 = i10 % 2;
}
@Override // 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 void onResume() {
int i = 2 % 2;
int i2 = p + 63;
s = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new int[]{-550535872, -1480335891, 318926334, 954091289, 186084595, -1658884041, 1650099049, -1491219167, -800976739, -488607389, 2087846, 1362218367, 1117122695, -2112004442}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{'#', 25, 13803, 13803, '!', 0, 30, 17, 13805, 13805, 17, 4, 1, 7, 5, 11, 21, 1}, (byte) (View.resolveSize(0, 0) + 3), 18 - (ViewConfiguration.getLongPressTimeout() >> 16), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = p + 83;
s = i3 % 128;
if (i3 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i4 = 12 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i5 = p + 13;
s = i5 % 128;
try {
if (i5 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf("", "") + 492, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Color.blue(0) + 487, 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - View.resolveSizeAndState(0, 0, 0), (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 487, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.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 void onPause() {
int i = 2 % 2;
int i2 = s + 37;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new int[]{-550535872, -1480335891, 318926334, 954091289, 186084595, -1658884041, 1650099049, -1491219167, -800976739, -488607389, 2087846, 1362218367, 1117122695, -2112004442}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{'#', 25, 13803, 13803, '!', 0, 30, 17, 13805, 13805, 17, 4, 1, 7, 5, 11, 21, 1}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.export_deposite_title_bar).substring(6, 7).length() + 2), 18 - TextUtils.getOffsetAfter("", 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = p + 45;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = p + 65;
s = i6 % 128;
try {
if (i6 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((Process.myTid() >> 22) + 492, 5 - KeyEvent.getDeadChar(0, 0), (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).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(488 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), View.MeasureSpec.getMode(0) + 5, (char) Color.green(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - TextUtils.indexOf("", "", 0, 0), ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 486, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) TextUtils.indexOf("", ""))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aB(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
char c;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = m;
int i4 = 15;
long j = 0;
int i5 = 4;
if (cArr2 != null) {
int i6 = $11 + 111;
$10 = i6 % 128;
int i7 = i6 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i8])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.red(0) + 298, (Process.getElapsedCpuTime() > j ? 1 : (Process.getElapsedCpuTime() == j ? 0 : -1)) + i5, (char) Color.blue(0));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aC((byte) i4, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
i4 = 15;
j = 0;
i5 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(r)};
Object obj2 = xzZ.y.get(-1987398494);
char c2 = 5;
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(299 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 5 - TextUtils.indexOf("", ""), (char) TextUtils.getCapsMode("", 0, 0));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) 15, b3, b3, 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) {
int i9 = $11 + 43;
$10 = i9 % 128;
if (i9 % 2 != 0) {
irs.e = 1;
} else {
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 = $10 + 45;
$11 = i10 % 128;
int i11 = i10 % 2;
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
c = c2;
} else {
try {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[6] = irs;
objArr6[c2] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 233, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (Color.alpha(0) + 22024));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) 18, b4, b4, 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) {
try {
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) {
c = 5;
} else {
Class cls4 = (Class) xzZ.c(Color.red(0) + 327, 5 - TextUtils.getCapsMode("", 0, 0), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
aC((byte) 16, b5, b5, objArr9);
c = 5;
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 i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i12];
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
c = 5;
if (irs.a == irs.d) {
int i13 = $10 + 65;
$11 = i13 % 128;
int i14 = i13 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i15 = (irs.a * charValue) + irs.f;
int i16 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i15];
cArr4[irs.e + 1] = cArr2[i16];
} else {
int i17 = (irs.a * charValue) + irs.j;
int i18 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i17];
cArr4[irs.e + 1] = cArr2[i18];
}
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
irs.e += 2;
c2 = c;
}
}
int i19 = 0;
while (i19 < i) {
int i20 = $11 + 89;
$10 = i20 % 128;
if (i20 % 2 != 0) {
cArr4[i19] = (char) (cArr4[i19] ^ 9455);
i19 += 65;
} else {
cArr4[i19] = (char) (cArr4[i19] ^ 13722);
i19++;
}
}
objArr[0] = new String(cArr4);
}
@Override // 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 void attachBaseContext(Context context) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new int[]{-550535872, -1480335891, 318926334, 954091289, 1815401985, -98696216, -976969799, -864517422, -2041114514, -333873902}, ((Process.getThreadPriority(0) + 20) >> 6) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{809242238, 2092910518, -1274355598, 1534207721}, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = s + 77;
p = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 491, Process.getGidForName("") + 6, (char) View.getDefaultSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new char[]{'\f', 24, 29, '\f', 7, '\"', 25, 3, 23, 17, 7, 3, 11, 16, 11, '\t', 16, 11, '\n', '\t', 6, NistHelper.SEP_FS, 5, 7, NistHelper.SEP_FS, '!', ' ', '!', '#', 7, '\f', '\t', '\b', 30, '\t', 7, 24, '!', 13838, 13838, 6, 27, '\b', '#', ' ', 7, 0, 30}, (byte) ((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 22), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new char[]{'#', '\f', '#', 31, '#', 16, 29, 6, 31, '!', '\n', '!', '\n', '!', 24, '\f', 30, NistHelper.SEP_FS, 7, '\n', ' ', '#', 0, 25, 16, 4, 1, '\"', '\n', 6, 2, '\n', 13857, 13857, 31, 2, 2, 14, 13932, 13932, '#', 16, 4, 31, 30, '\b', '#', 16, 14, '\t', 24, 21, ' ', 7, '#', 14, 7, ' ', 7, '\t', '#', 16, 0, 31}, (byte) (117 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))), ((Process.getThreadPriority(0) + 20) >> 6) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new int[]{-1280686457, 362704809, -1512984118, 238274106, -554114942, -1511534568, 290775265, -991076104, 1492962609, 327887216, -1908502979, 105543054, -1229148670, -1228629680, 1210506423, -924102891, 94486363, 17819266, -1208120529, -89219504, 1895009997, 167575842, 131944541, -1307045516, 120751167, 1391987522, -1189779516, -2097086159, -203609298, 1639001656, 1298808306, 154051220}, ExpandableListView.getPackedPositionGroup(0L) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{-1528482699, 621399627, -651467057, 1667228291, 1204670465, -1033609364, -977599495, 1675074764, 407745112, 1790018153, -1422322866, 1261159842, 1690582829, 1841353963, 990290782, 1316791811, -1751162081, -1057147935, 1837136160, -408490282, -540555753, 131088079, -157324660, -1183243380, -1080202367, -1383404478, -1752465880, 845772396, 1794394830, -1188181774, 229047587, -2027124325, 489491972, -756260175, -520767734, 557980276, 1049550645, 1946091457}, AndroidCharacter.getMirror('0') + 26, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{'\n', 29, '\n', 26, 13848}, (byte) (((byte) KeyEvent.getModifierMetaStateMask()) + ISOFileInfo.FCI_BYTE), Color.blue(0) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{31, 0, 6, 27, 17, '\t', NistHelper.SEP_FS, 0, 4, ' ', 0, '\"', 14, 5, 27, 6, 13778, 13778, 3, 2, '\f', '#', ' ', 1, 7, '!', 7, 3, 24, 0, ' ', '!', 26, 30, '\f', 0}, (byte) (39 - Gravity.getAbsoluteGravity(0, 0)), (ViewConfiguration.getTapTimeout() >> 16) + 36, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - TextUtils.indexOf("", "", 0), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) ExpandableListView.getPackedPositionGroup(0L))).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);
int i4 = p + 77;
s = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // 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 void onStart() {
int i = 2 % 2;
int i2 = s + 37;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 59;
p = i4 % 128;
int i5 = i4 % 2;
}
}