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

674 lines
34 KiB
Java

package com.scb.phone.view.activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC14961gcz;
import o.C14957gcv;
import o.C4593bdB;
import o.IRS;
import o.InterfaceC13393fZL;
import o.InterfaceC14890gbN;
import o.fZZ;
import o.syn;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public final class ErrorPageActivity extends Hilt_ErrorPageActivity {
public static final IeS b;
private static final String l;
private static final String m;
/* renamed from: o, reason: collision with root package name */
private static final String f6525o;
private static long p;
private static char[] q;
private static int u;
private static char w;
private final InterfaceC13393fZL s;
@BindView
protected TextView tvErrorPageMsg;
@BindView
protected TextView tvErrorPageTile;
private static final byte[] $$g = {54, -11, ISOFileInfo.SECURITY_ATTR_COMPACT, 41};
private static final int $$h = 122;
private static int $10 = 0;
private static int $11 = 1;
private static int y = 0;
private String r = "";
private String t = "";
private static void az(int i, byte b2, short s, Object[] objArr) {
int i2 = i + 77;
int i3 = (s * 2) + 4;
int i4 = b2 * 2;
byte[] bArr = $$g;
byte[] bArr2 = new byte[i4 + 1];
int i5 = -1;
if (bArr == null) {
i3++;
i2 += -i4;
}
while (true) {
i5++;
bArr2[i5] = (byte) i2;
if (i5 == i4) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i3++;
i2 += -bArr[i3];
}
}
}
public ErrorPageActivity() {
LWm lWm = LWm.e;
C14957gcv.e(lWm, "");
this.s = new fZZ(lWm);
}
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 401, 5 - Color.red(0), (char) (21608 - TextUtils.indexOf("", "", 0, 0)));
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, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (p ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 238, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b4 = (byte) 1;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
az(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
int i4 = $11 + 97;
$10 = i4 % 128;
int i5 = i4 % 2;
while (c4593bdB.e < cArr.length) {
int i6 = $11 + 31;
$10 = i6 % 128;
if (i6 % 2 != 0) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(238 - (ViewConfiguration.getLongPressTimeout() >> 16), View.MeasureSpec.getSize(0) + 5, (char) TextUtils.getOffsetBefore("", 0));
byte b6 = (byte) 1;
byte b7 = (byte) (b6 - 1);
Object[] objArr7 = new Object[1];
az(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i7 = 62 / 0;
} else {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 238, 5 - Color.green(0), (char) Gravity.getAbsoluteGravity(0, 0));
byte b8 = (byte) 1;
byte b9 = (byte) (b8 - 1);
Object[] objArr9 = new Object[1];
az(b8, b9, b9, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
objArr[0] = new String(cArr2);
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0074, code lost:
if (r4 > 99999) goto L12;
*/
/* JADX WARN: Removed duplicated region for block: B:10:0x037a */
/* JADX WARN: Removed duplicated region for block: B:16:0x0397 */
/* JADX WARN: Removed duplicated region for block: B:19:0x039f */
/* JADX WARN: Removed duplicated region for block: B:22:0x03ae */
/* JADX WARN: Removed duplicated region for block: B:25:0x03c7 */
/* JADX WARN: Removed duplicated region for block: B:35:? A[RETURN, SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:36:0x03b0 */
@Override // com.scb.phone.view.activity.Hilt_ErrorPageActivity, 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 r18) {
/*
Method dump skipped, instructions count: 1446
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ErrorPageActivity.onCreate(android.os.Bundle):void");
}
@OnClick
public final void goToPersonalButtonClick() {
int i = 2 % 2;
int i2 = y + 69;
u = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
PreLoadCheckActivity.f(new Object[]{this}, -1239695439, 1239695444, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 468219922);
} else {
PreLoadCheckActivity.f(new Object[]{this}, -1239695439, 1239695444, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 468219922);
obj.hashCode();
throw null;
}
}
@Override // com.scb.phone.view.activity.Hilt_ErrorPageActivity, 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 + 91;
y = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = y + 13;
u = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay(new char[]{31, ' ', 6, 26, '\"', 1, 4, 19, '!', 23, 25, 19, 5, 17, 20, 3, ')', 0, 18, 16, ',', 16, 21, '\"', '!', 2}, (byte) ((ViewConfiguration.getLongPressTimeout() >> 16) + 17), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_activate_contact_message).substring(35, 37).codePointAt(1) - 29, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{63313, 39332, 10886, 48105, 19675, 56627, 28180, 65350, 32858, 4793, 41856, 13466, 50677, 22228, 59180, 34838, 6509, 43599}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 28353, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i6 = u + 119;
y = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 4 % 2;
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 492, TextUtils.getTrimmedLength("") + 5, (char) (TextUtils.indexOf((CharSequence) "", '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(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.Hilt_ErrorPageActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = y + 15;
u = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new char[]{31, ' ', 6, 26, '\"', 1, 4, 19, '!', 23, 25, 19, 5, 17, 20, 3, ')', 0, 18, 16, ',', 16, 21, '\"', '!', 2}, (byte) (TextUtils.getCapsMode("", 0, 0) + 17), 25 - Process.getGidForName(""), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{63313, 39332, 10886, 48105, 19675, 56627, 28180, 65350, 32858, 4793, 41856, 13466, 50677, 22228, 59180, 34838, 6509, 43599}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 28374, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = u + 55;
y = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = u + 57;
y = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i8 = y + 57;
u = i8 % 128;
try {
if (i8 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (Process.myPid() >> 22))).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(486 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), 5 - Color.red(0), (char) ExpandableListView.getPackedPositionType(0L))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i9 = 0 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0, 0), 4 - ExpandableListView.getPackedPositionChild(0L), (char) ExpandableListView.getPackedPositionGroup(0L))).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(487 - Color.blue(0), TextUtils.lastIndexOf("", '0', 0) + 6, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).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 ay(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
Object obj;
int length;
char[] cArr2;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr3 = q;
long j = 0;
Object obj2 = null;
if (cArr3 != null) {
int i5 = $11 + 77;
$10 = i5 % 128;
if (i5 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
} else {
length = cArr3.length;
cArr2 = new char[length];
}
int i6 = 0;
while (i6 < length) {
int i7 = $10 + 29;
$11 = i7 % 128;
if (i7 % i3 == 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i6])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 298, (-16777211) - Color.rgb(0, 0, 0), (char) ((Process.getElapsedCpuTime() > j ? 1 : (Process.getElapsedCpuTime() == j ? 0 : -1)) - 1));
byte b3 = (byte) 0;
Object[] objArr3 = new Object[1];
az((byte) ($$h & CipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256), b3, b3, objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr2[i6] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i6 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr3[i6])};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(298 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) View.getDefaultSize(0, 0));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) ($$h & CipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256), b4, b4, objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
cArr2[i6] = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
i6++;
}
i3 = 2;
j = 0;
}
cArr3 = cArr2;
}
Object[] objArr6 = {Integer.valueOf(w)};
Object obj5 = xzZ.y.get(-1987398494);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(297 - ((byte) KeyEvent.getModifierMetaStateMask()), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) ($$h & CipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256), b5, b5, objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj5);
}
char charValue = ((Character) ((Method) obj5).invoke(null, objArr6)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
int i8 = $11 + 97;
$10 = i8 % 128;
int i9 = i8 % 2;
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
obj = obj2;
} else {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(822107368);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c(233 - View.MeasureSpec.getSize(0), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (22024 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b6 = (byte) 0;
Object[] objArr9 = new Object[1];
az((byte) 43, b6, b6, objArr9);
obj6 = cls4.getMethod((String) objArr9[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, obj6);
}
if (((Integer) ((Method) obj6).invoke(null, objArr8)).intValue() == irs.j) {
Object[] objArr10 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj7 = xzZ.y.get(-1152873385);
if (obj7 == null) {
Class cls5 = (Class) xzZ.c(327 - View.combineMeasuredStates(0, 0), 5 - TextUtils.getOffsetAfter("", 0), (char) View.combineMeasuredStates(0, 0));
byte b7 = (byte) 0;
Object[] objArr11 = new Object[1];
az($$g[3], b7, b7, objArr11);
obj7 = cls5.getMethod((String) objArr11[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, obj7);
}
obj = null;
int intValue = ((Integer) ((Method) obj7).invoke(null, objArr10)).intValue();
int i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[intValue];
cArr4[irs.e + 1] = cArr3[i10];
} else {
obj = null;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i11 = (irs.a * charValue) + irs.f;
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[i11];
cArr4[irs.e + 1] = cArr3[i12];
} else {
int i13 = (irs.a * charValue) + irs.j;
int i14 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr3[i13];
cArr4[irs.e + 1] = cArr3[i14];
}
}
}
irs.e += 2;
obj2 = obj;
}
}
int i15 = 0;
while (i15 < i) {
int i16 = $10 + 21;
$11 = i16 % 128;
if (i16 % 2 == 0) {
cArr4[i15] = (char) (cArr4[i15] ^ 10004);
i15 += 84;
} else {
cArr4[i15] = (char) (cArr4[i15] ^ 13722);
i15++;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.Hilt_ErrorPageActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{63315, 48709, 25956, 11275, 54073, 39462, 16832, 2227, 49045, 26272, 11750, 54129, 39532, 16664, 2063, 48928, 26321, 11752}, 18713 - (ViewConfiguration.getWindowTouchSlop() >> 8), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{29, 22, '0', 0, 13831}, (byte) (9 - TextUtils.indexOf("", "", 0)), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = u + 123;
y = i2 % 128;
if (i2 % 2 != 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
context2 = context.getApplicationContext();
int i3 = u + 57;
y = i3 % 128;
int i4 = i3 % 2;
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionGroup(0L), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) View.MeasureSpec.getMode(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new char[]{63235, 20304, 34732, 57263, 5717, 28408, 42666, 64768, 13816, 36342, 50258, 7412, 21757, 43777, 58279, 15345, 29184, 51876, 762, 22853, 37285, 59903, 8221, 30888, 45228, 63305, 20467, 34800, 56861, 5802, 28320, 42312, 64931, 13810, 35904, 50332, 7328, 21278, 43982, 58275, 14920, 29339, 51961, 320, 22989, 37371, 59409, 8349}, 47189 - View.resolveSizeAndState(0, 0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{'\"', 14, '!', 29, '\"', 18, '\r', '\f', '!', '#', 11, '\'', 11, '\'', '+', 15, '!', 11, 11, 1, 18, '!', '!', '\t', ' ', '\'', '/', 15, 11, 18, ',', '*', 13768, 13768, '%', '!', ')', '/', 13843, 13843, '\"', 18, 31, '!', '$', '\f', '\"', 18, 6, '/', 15, '#', 20, '/', ')', 19, '/', 20, '\r', '+', '\"', 18, 31, 29}, (byte) (Drawable.resolveOpacity(0, 0) + 27), ((Process.getThreadPriority(0) + 20) >> 6) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{'\"', ',', '.', 22, ' ', 23, 13918, 13918, 11, 18, 21, ' ', 19, '\r', ',', '*', '\"', 16, 15, '*', 15, 1, '\'', 1, 20, '/', 21, '#', '.', '\"', '\f', 4, '\r', 19, '!', '%', '\'', 5, 13834, 13834, '$', '/', '\'', 26, 15, 20, '!', 29, 14, '\"', 6, '.', '\'', 18, '*', 15, ',', 29, 16, NistHelper.SEP_FS, ')', '/', 15, '('}, (byte) (Process.getGidForName("") + 96), 63 - TextUtils.indexOf((CharSequence) "", '0'), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{'\n', 16, 19, 24, '#', 3, 13804, 13804, ')', 3, 29, 23, 15, '!', 13870, 13870, '\"', 21, 20, 5, '%', '\t', 16, '\"', NistHelper.SEP_FS, '\n', 19, 18, '\r', 23, 29, 31, 18, 20, 31, '%', 18, 19, '\t', 27, '\"', 23, 3, '(', '\t', 24, '\"', 23, ' ', 14, 15, '!', 23, 25, '!', 23, 3, 27, 3, '\"', 7, '\"', '-', 24, 21, '&', 3, 25, '#', '*', 29, ' ', 24, '-'}, (byte) (55 - View.MeasureSpec.getSize(0)), (ViewConfiguration.getScrollBarSize() >> 8) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{18, 25, '.', 20, 13852}, (byte) (TextUtils.lastIndexOf("", '0') + 115), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{63319, 16318, 26330, 44481, 54498, 7082, 17032, 35193, 45175, 59217, 11840, 21880, 40012, 49942, 3056, 13027, 31187, 41150, 55221, 7876, 17876, 35878, 45839, 64084, 8504, 26740, 40722, 51116, 3817, 13710, 31895, 41908, 60070, 4490, 22649, 36656}, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 51436, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getEdgeSlop() >> 16), 5 - (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)), (char) View.MeasureSpec.getMode(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
/* loaded from: classes4.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14890gbN<syn> {
public static final LWm e = new LWm();
@Override // o.InterfaceC14890gbN
public final /* synthetic */ syn invoke() {
return new syn();
}
LWm() {
super(0);
}
}
public static final Intent XA_(Context context, String str, String str2, String str3) {
int i = 2 % 2;
C14957gcv.e(context, "");
Intent intent = new Intent(context, (Class<?>) ErrorPageActivity.class);
intent.putExtra(m, str);
intent.putExtra(l, str2);
intent.putExtra(f6525o, str3);
int i2 = y + 45;
u = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 29 / 0;
}
return intent;
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object b(Object[] objArr) {
int i = 2 % 2;
int i2 = y;
int i3 = i2 + 29;
u = i3 % 128;
int i4 = i3 % 2;
String str = f6525o;
int i5 = i2 + 91;
u = i5 % 128;
int i6 = i5 % 2;
return str;
}
static void h() {
p = 6338744090763977972L;
q = new char[]{49033, 49050, 49119, 49138, 49025, 49111, 49114, 49112, 49026, 49115, 49090, 49034, 49031, 49108, 49109, 49098, 49036, 49095, 49053, 49104, 49105, 49048, 49118, 49094, 49052, 49024, 49091, 49089, 49110, 49116, 49106, 49117, 49029, 49037, 49054, 49093, 49028, 49127, 49088, 49039, 49030, 49038, 49126, 49027, 49051, 49049, 49032, 49055, 49035};
w = (char) 35374;
}
@Override // com.scb.phone.view.activity.Hilt_ErrorPageActivity, 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 = u + 13;
y = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = u + 93;
y = i4 % 128;
int i5 = i4 % 2;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = 2 % 2;
int i2 = u + 79;
y = i2 % 128;
int i3 = i2 % 2;
}
public static final /* synthetic */ String j() {
return (String) b(new Object[0]);
}
public static final /* synthetic */ String f() {
int i = 2 % 2;
int i2 = y + 95;
u = i2 % 128;
if (i2 % 2 != 0) {
return l;
}
throw null;
}
static {
u = 1;
h();
b = new IeS((byte) 0);
l = "HEADER_ERROR_PAGE";
f6525o = "MSG_ERROR_PAGE";
m = "ERROR_CODE";
int i = y + 23;
u = i % 128;
int i2 = i % 2;
}
}