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

634 lines
32 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.theme;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.HomeActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC11936eoj;
import o.C0930Rt;
import o.C6197cLn;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC8952daZ;
import o.TVH;
import o.xzZ;
import org.bouncycastle.math.Primes;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public class ThemesActivity extends AbstractActivityC11936eoj implements InterfaceC8952daZ {
@InterfaceC13391fZD
public C6197cLn themesPresenter;
private static final byte[] $$p = {39, 45, ISO7816.INS_PUT_DATA, 49};
private static final int $$q = Primes.SMALL_FACTOR_LIMIT;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f7958o = 0;
private static int s = 1;
private static char[] l = {49028, 49095, 49116, 49109, 49098, 49049, 49126, 49030, 49026, 49031, 49110, 49091, 49027, 49029, 49050, 49118, 49034, 49111, 49105, 49051, 49114, 49138, 49048, 49117, 49054, 49025, 49104, 49094, 49119, 49088, 49053, 49024, 49089, 49106, 49035, 49123};
private static char m = 35375;
private static char[] k = {40010, 40072, 40072, 40067, 40065, 40071, 40090, 40070, 40076, 40033, 40035, 40066, 40090, 40059, 40019, 40056, 40071, 40068, 40091, 40091, 40068, 40092, 40076, 40052, 40069, 40071, 39964, 40001, 40037, 40032, 40034, 40032, 40032, 40057, 40056, 40032, 40034, 40032, 40002, 40003, 40034, 40037, 40005, 40003, 40035, 40039, 40007, 40007, 40032, 40033, 40045, 40039, 40056, 40026, 40025, 40031, 39995, 40001, 40038, 40038, 40034, 40058, 40056, 40038, 40037, 40063, 40057, 40058, 40029, 39999, 39972, 40026, 40037, 40046, 40044, 40035, 40034, 40037, 40038, 40034, 40032, 40033, 40045, 40046, 40045, 40044, 40042, 40044, 40039, 40007, 40026, 40037, 40038, 40032, 40040, 40033, 40032, 40041, 40033, 40056, 39964, 39972, 39999, 39992, 39992};
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0029). 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, int r7, byte r8, java.lang.Object[] r9) {
/*
int r8 = r8 + 4
int r6 = r6 * 3
int r0 = r6 + 1
byte[] r1 = com.scb.phone.view.activity.theme.ThemesActivity.$$p
int r7 = r7 + 71
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L12
r3 = r8
r4 = r2
goto L29
L12:
r3 = r2
L13:
byte r4 = (byte) r7
r0[r3] = r4
int r8 = r8 + 1
int r4 = r3 + 1
if (r3 != r6) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L24:
r3 = r1[r8]
r5 = r3
r3 = r8
r8 = r5
L29:
int r8 = -r8
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.theme.ThemesActivity.aC(int, int, byte, java.lang.Object[]):void");
}
public static Intent ami_(Context context, C0930Rt c0930Rt) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) ThemesActivity.class);
intent.putExtra("com.scb.phone.EXTRA_PRELOAD_CHECK", c0930Rt);
int i2 = s + 43;
f7958o = i2 % 128;
int i3 = i2 % 2;
return intent;
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x00c7, code lost:
if (r2 > 99999) goto L6;
*/
@Override // o.AbstractActivityC11936eoj, 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 r17) {
/*
Method dump skipped, instructions count: 1478
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.theme.ThemesActivity.onCreate(android.os.Bundle):void");
}
@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 = f7958o + 73;
s = i2 % 128;
if (i2 % 2 == 0) {
this.themesPresenter.w_();
super.onDestroy();
int i3 = 1 / 0;
} else {
this.themesPresenter.w_();
super.onDestroy();
}
int i4 = s + 41;
f7958o = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC8952daZ
public final void b(C0930Rt c0930Rt) {
int i = 2 % 2;
int i2 = s + 77;
f7958o = i2 % 128;
int i3 = i2 % 2;
HomeActivity.e(new Object[]{this, c0930Rt}, -366349303, 366349309, (int) System.currentTimeMillis());
finish();
int i4 = f7958o + 41;
s = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC11936eoj, 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 = s + 33;
f7958o = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new int[]{0, 26, 33, 2}, false, new byte[]{0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{27, NistHelper.SEP_FS, 13833, 13833, 11, 22, 3, 19, 13835, 13835, 26, 22, 27, ' ', 2, 19, 5, 20}, (byte) (TextUtils.getTrimmedLength("") + 33), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = s + 1;
f7958o = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = s + 45;
f7958o = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 492, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (Process.myTid() >> 22))).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(TextUtils.getTrimmedLength("") + 487, 5 - (Process.myTid() >> 22), (char) ((-1) - TextUtils.lastIndexOf("", '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();
}
private static void aB(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
char[] cArr;
int i = 2;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr2 = k;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i8 = $10 + 87;
$11 = i8 % 128;
int i9 = i8 % 2;
int i10 = 0;
while (i10 < length) {
int i11 = $10 + 121;
$11 = i11 % 128;
int i12 = i11 % i;
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c(224 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 5 - TextUtils.getOffsetBefore("", i3), (char) (41977 - TextUtils.getOffsetAfter("", i3)));
byte b = (byte) i3;
byte b2 = b;
cArr = cArr2;
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
cArr2 = cArr;
i = 2;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i5];
System.arraycopy(cArr2, i4, cArr4, 0, i5);
if (bArr != null) {
char[] cArr5 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i13 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - View.resolveSize(0, 0), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (54 - TextUtils.getTrimmedLength("")))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i13] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i14 = tvh.c;
try {
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(14 - TextUtils.lastIndexOf("", '0'), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) ((ViewConfiguration.getEdgeSlop() >> 16) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i14] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
c = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 403, View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 21607));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 2);
Object[] objArr7 = new Object[1];
aC(b3, b4, (byte) (b4 - 3), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr5;
}
if (i7 > 0) {
char[] cArr6 = new char[i5];
System.arraycopy(cArr4, 0, cArr6, 0, i5);
int i15 = i5 - i7;
System.arraycopy(cArr6, 0, cArr4, i15, i7);
System.arraycopy(cArr6, i7, cArr4, 0, i15);
}
if (z) {
int i16 = $10 + 81;
$11 = i16 % 128;
int i17 = i16 % 2;
char[] cArr7 = new char[i5];
int i18 = 0;
while (true) {
tvh.c = i18;
if (tvh.c >= i5) {
break;
}
cArr7[tvh.c] = cArr4[(i5 - tvh.c) - 1];
i18 = tvh.c + 1;
}
cArr4 = cArr7;
}
if (i6 > 0) {
int i19 = 0;
while (true) {
tvh.c = i19;
if (tvh.c >= i5) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i19 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
@Override // o.AbstractActivityC11936eoj, 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 = f7958o + 67;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = s + 59;
f7958o = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aB(new int[]{0, 26, 33, 2}, false, new byte[]{0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{27, NistHelper.SEP_FS, 13833, 13833, 11, 22, 3, 19, 13835, 13835, 26, 22, 27, ' ', 2, 19, 5, 20}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_deposit_qr_return_to_account_message).substring(42, 43).codePointAt(0) + 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 28, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 5 - Color.blue(0), (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).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 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - TextUtils.getTrimmedLength(""), (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = s + 69;
f7958o = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aA(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object obj;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = l;
Object obj2 = null;
int i4 = 4;
int i5 = -1;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 298, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + i4, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b2 = (byte) 0;
byte b3 = (byte) i5;
Object[] objArr3 = new Object[1];
aC(b2, (byte) (b2 | 46), b3, objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i6] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i6++;
i4 = 4;
i5 = -1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(m)};
Object obj4 = xzZ.y.get(-1987398494);
float f = BitmapDescriptorFactory.HUE_RED;
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(298 - (ViewConfiguration.getScrollDefaultDelay() >> 16), View.resolveSizeAndState(0, 0, 0) + 5, (char) (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)));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
aC(b4, (byte) (b4 | 46), (byte) (-1), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).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 i7 = $10 + 65;
$11 = i7 % 128;
int i8 = i7 % 2;
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
obj = obj2;
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(233 - View.combineMeasuredStates(0, 0), 5 - (TypedValue.complexToFraction(0, f, f) > f ? 1 : (TypedValue.complexToFraction(0, f, f) == f ? 0 : -1)), (char) ((Process.myTid() >> 22) + 22024));
Object[] objArr7 = new Object[1];
aC((byte) 0, $$p[3], (byte) (-1), objArr7);
obj5 = 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, obj5);
}
if (((Integer) ((Method) obj5).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 obj6 = xzZ.y.get(-1152873385);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 326, 4 - TextUtils.lastIndexOf("", '0'), (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
aC(b5, (byte) (b5 | 47), (byte) (-1), objArr9);
obj6 = 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, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i9 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i9];
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
obj = null;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i10 = (irs.a * charValue) + irs.f;
int i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i10];
cArr4[irs.e + 1] = cArr2[i11];
} else {
int i12 = (irs.a * charValue) + irs.j;
int i13 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i12];
cArr4[irs.e + 1] = cArr2[i13];
}
}
}
irs.e += 2;
obj2 = obj;
f = BitmapDescriptorFactory.HUE_RED;
}
}
for (int i14 = 0; i14 < i; i14++) {
cArr4[i14] = (char) (cArr4[i14] ^ 13722);
}
String str = new String(cArr4);
int i15 = $11 + 29;
$10 = i15 % 128;
int i16 = i15 % 2;
objArr[0] = str;
}
@Override // o.AbstractActivityC11936eoj, 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 = s + 123;
f7958o = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{'#', 21, 14, '#', '\b', 26, '\f', '#', 5, 26, 31, 30, 2, '\b', NistHelper.SEP_FS, '\b', 13892, 13892}, (byte) (91 - (ViewConfiguration.getDoubleTapTimeout() >> 16)), 18 - (ViewConfiguration.getTapTimeout() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{16, 3, '\b', 18, 13824}, (byte) (2 - (ViewConfiguration.getLongPressTimeout() >> 16)), Color.alpha(0) + 5, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = s + 23;
f7958o = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
context2 = context.getApplicationContext();
int i6 = s + 113;
f7958o = i6 % 128;
int i7 = i6 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i8 = s + 59;
f7958o = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - ((byte) KeyEvent.getModifierMetaStateMask()), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) Color.red(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new char[]{6, 2, 6, 21, ' ', 25, '\t', 3, 22, '\f', 27, 31, 30, 19, ' ', '#', 19, 30, NistHelper.SEP_FS, 31, '!', 7, '\"', 15, 1, 15, 25, '\b', NistHelper.SEP_FS, 14, 14, 11, '\t', '\b', ' ', '\n', 4, '\t', 13873, 13873, 27, 7, '\r', '\n', NistHelper.SEP_FS, ' ', 11, '\n'}, (byte) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 56), 48 - View.getDefaultSize(0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new char[]{6, 22, 16, 7, '\f', 19, '\n', 15, 11, '\b', 31, 19, 31, 19, 2, 6, 15, 7, 7, 26, 25, 14, 3, 15, 1, 19, 14, 24, NistHelper.SEP_FS, '\r', 16, 30, 13862, 13862, '\t', 31, '\n', 31, 13937, 13937, '\f', 19, 31, 15, '\b', '\t', '\f', 19, 16, '#', 4, 1, NistHelper.SEP_FS, ' ', 6, 19, ' ', NistHelper.SEP_FS, '\n', ' ', '\f', 19, '\"', '\t'}, (byte) (121 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), (ViewConfiguration.getTouchSlop() >> 8) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new char[]{'\"', '#', '\r', 30, '\"', ' ', 13838, 13838, NistHelper.SEP_FS, '\r', '\"', 7, 21, 6, 16, 30, 30, 21, 0, 15, 6, 14, 1, 24, NistHelper.SEP_FS, ' ', 4, '\t', 31, 16, 17, '\f', 6, 21, 31, '\t', '\r', 31, 13754, 13754, 6, '\r', '\r', 1, 2, 27, 16, 7, 22, 6, NistHelper.SEP_FS, 31, 14, 17, 15, 0, 15, 30, '\t', 3, '\n', 31, 24, 2}, (byte) (TextUtils.indexOf("", "", 0, 0) + 15), 64 - Color.red(0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{26, 74, 0, 37}, false, new byte[]{0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{100, 5, 0, 2}, false, new byte[]{0, 0, 1, 1, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{'\t', '\"', 27, 7, '\f', 17, 6, 15, 25, '\f', 16, 6, 24, 30, 7, 27, 13790, 13790, 27, 30, 22, 6, 27, 25, 26, 27, 27, 31, 4, 6, 25, '\b', '\n', '\b', '\t', 11}, (byte) (52 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), 'T' - AndroidCharacter.getMirror('0'), 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(View.getDefaultSize(0, 0) + 487, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) View.combineMeasuredStates(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // o.AbstractActivityC11936eoj, 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 = f7958o + 77;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = f7958o + 45;
s = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}