what-the-bank/sources/o/AbstractActivityC11791elx.java

888 lines
47 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.requesttopay.EnterProxyActivity;
import java.lang.reflect.Method;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* renamed from: o.elx, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11791elx extends BaseActivity implements fPA {
private volatile C13073fPt m;
private static final byte[] $$p = {72, -15, 70, -100};
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 r = 0;
private static int q = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f9047o = {40217, 40187, 40133, 40216, 40196, 40133, 40207, 40194, 40196, 40217, 40207, 40197, 40202, 40216, 40216, 40206, 40200, 40196, 40054, 40182, 40189, 40181, 40193, 40051, 40184, 40191, 40193, 40194, 40193, 40232, 40233, 40235, 40199, 40191, 40195, 40194, 40194, 40194, 40191, 40199, 40194, 40186, 40191, 40191, 40185, 40194, 40199, 40197, 40198, 40192, 40192, 40192, 40198, 40198, 40194, 40187, 40185, 40190, 40184, 40193, 40239, 40233, 40234, 40194, 40185, 40190, 40189, 40192, 40199, 40198, 40192, 39992, 40004, 40005, 40040, 40007, 39992, 39992, 39998, 40000, 40042, 40007, 40007, 40041, 40006, 39997, 40000, 40000, 39997, 39996, 39996, 39999, 39999, 39998, 40001, 40002, 39992, 39999, 39992, 40001, 40000, 40007, 40001, 39994, 39993, 39998, 39992, 39999, 39997, 39999, 39999, 39999, 39992, 40006, 40004, 39997, 40000, 40007, 40006, 40006, 40007, 40040, 40046, 40040, 40042, 40007, 39996, 39999, 40001, 40006, 40006, 40000, 39997, 40006, 40006, 39986, 40056, 40058, 40034, 40038, 40038, 40001, 39995, 40031, 40025, 40026, 40056, 40039, 40045, 40033, 40032, 40007, 40007, 40039, 40035, 40003, 40005, 40037, 40034, 40003, 40002, 40032, 40034, 40032, 40056, 40057, 40032, 40032, 40034, 40032, 40037, 40001, 40026, 40056, 40033, 40041, 40032, 40033, 40040, 40032, 40038, 40037, 40026, 40007, 40039, 40044, 40042, 40044, 40045, 40046, 40045, 40033, 40032, 40034, 40038, 40037, 40034, 40035, 40044, 40046, 40037, 40026, 39972, 39999, 40029, 40058, 40057, 40063, 40037, 40051, 40161, 40161, 40161, 40173};
private static char[] k = {49138, 49127, 49054, 49104, 49142, 49091, 49029, 49097, 49140, 49115, 49094, 49034, 49119, 49111, 49089, 49114, 49106, 49026, 49105, 49098, 49110, 49030, 49141, 49095, 49143, 49028, 49031, 49116, 49093, 49117, 49053, 49025, 49109, 49027, 49035, 49024};
private static char t = 35375;
private final Object l = 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:0x002b). 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(byte r7, byte r8, short r9, java.lang.Object[] r10) {
/*
int r7 = r7 * 4
int r7 = r7 + 4
int r9 = r9 + 71
int r8 = r8 * 4
int r8 = r8 + 1
byte[] r0 = o.AbstractActivityC11791elx.$$p
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r3 = r9
r4 = r2
r9 = r7
goto L2b
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r9
r1[r3] = r5
if (r4 != r8) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
r3 = r0[r7]
r6 = r9
r9 = r7
r7 = r3
r3 = r6
L2b:
int r7 = -r7
int r9 = r9 + 1
int r7 = r7 + r3
r3 = r4
r6 = r9
r9 = r7
r7 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11791elx.aC(byte, byte, short, java.lang.Object[]):void");
}
public AbstractActivityC11791elx() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.elx.3
private AbstractActivityC11791elx d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11791elx abstractActivityC11791elx = this.d;
if (abstractActivityC11791elx.b) {
return;
}
abstractActivityC11791elx.b = true;
((InterfaceC11787elt) abstractActivityC11791elx.y_()).b((EnterProxyActivity) abstractActivityC11791elx);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = r + 95;
q = i2 % 128;
int i3 = i2 % 2;
Object y_ = h().y_();
int i4 = r + 119;
q = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt h() {
if (this.m == null) {
synchronized (this.l) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = r + 73;
q = i2 % 128;
Bundle bundle = null;
if (i2 % 2 == 0) {
super.getDefaultViewModelProviderFactory();
((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
getIntent();
bundle.hashCode();
throw null;
}
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
bundle = getIntent().getExtras();
} else {
int i3 = r + 121;
q = i3 % 128;
int i4 = i3 % 2;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0158, code lost:
if (r1 == null) goto L35;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x015a, code lost:
r2 = o.AbstractActivityC11791elx.q + 101;
o.AbstractActivityC11791elx.r = r2 % 128;
r2 = r2 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0163, code lost:
r2 = o.xzZ.y.get(125943855);
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0170, code lost:
if (r2 == null) goto L21;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x01a4, code lost:
r2 = ((java.lang.reflect.Method) r2).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x01aa, code lost:
r12 = new java.lang.Object[1];
aA(new int[]{23, 48, org.bouncycastle.crypto.tls.CipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256, 0}, false, new byte[]{0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, r12);
r10 = (java.lang.String) r12[0];
r13 = new java.lang.Object[1];
aA(new int[]{71, 64, 0, 51}, true, new byte[]{0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0}, r13);
r11 = (java.lang.String) r13[0];
r14 = (java.lang.Object[]) null;
r15 = new java.lang.Object[1];
aB(new char[]{22, 4, '\"', 30, 17, '\"', 13826, 13826, '#', 7, ' ', 23, 20, 24, '\"', '#', '\f', 22, '!', '\"', 15, '#', 31, 1, 4, '!', 2, 26, 30, '\n', 7, 17, 24, 20, 15, 22, 19, '!', 13742, 13742, 27, 3, 23, '!', '!', 2, '\b', 18, 19, 21, ' ', '#', 7, 6, '\"', '!', '\"', 15, '\"', 14, 22, '!', 1, 27}, (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 96), (android.os.Process.myTid() >> 22) + 64, r15);
r12 = (java.lang.String) r15[0];
r15 = new java.lang.Object[1];
aA(new int[]{135, 74, 0, 0}, true, new byte[]{1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0}, r15);
r13 = (java.lang.String) r15[0];
r9 = new java.lang.Object[1];
aA(new int[]{209, 5, org.bouncycastle.crypto.tls.CipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384, 0}, false, new byte[]{0, 1, 0, 0, 0}, r9);
r9 = (java.lang.String) r9[0];
r7 = new java.lang.Object[1];
aB(new char[]{22, 14, ' ', 25, 17, 7, 27, ' ', 0, '\b', ' ', 21, 20, 0, 25, ' ', 13780, 13780, 4, 14, 19, 21, 4, 3, '!', 1, '\"', '\r', 26, 19, '\t', 27, 27, 20, 14, 23}, (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.point_x_point_value).substring(0, 35).length() + 6), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, r7);
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x029d, code lost:
r4 = new java.lang.Object[]{r1, r10, r11, r12, r13, true, r9, (java.lang.String) r7[0]};
r1 = o.xzZ.y.get(1656189573);
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x02c5, code lost:
if (r1 == null) goto L27;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0321, code lost:
((java.lang.reflect.Method) r1).invoke(r2, r4);
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x0326, code lost:
r1 = o.AbstractActivityC11791elx.q + 53;
o.AbstractActivityC11791elx.r = r1 % 128;
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x02c8, code lost:
r1 = ((java.lang.Class) o.xzZ.c(488 - (android.view.ViewConfiguration.getGlobalActionKeyTimeout() > 0 ? 1 : (android.view.ViewConfiguration.getGlobalActionKeyTimeout() == 0 ? 0 : -1)), 5 - (android.view.ViewConfiguration.getWindowTouchSlop() >> 8), (char) (android.view.ViewConfiguration.getDoubleTapTimeout() >> 16))).getMethod("e", android.content.Context.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.Boolean.TYPE, java.lang.String.class, java.lang.String.class);
o.xzZ.y.put(1656189573, r1);
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0173, code lost:
r2 = ((java.lang.Class) o.xzZ.c(493 - (android.os.SystemClock.elapsedRealtimeNanos() > 0 ? 1 : (android.os.SystemClock.elapsedRealtimeNanos() == 0 ? 0 : -1)), android.text.TextUtils.indexOf((java.lang.CharSequence) "", '0', 0, 0) + 6, (char) android.view.View.getDefaultSize(0, 0))).getMethod("a", null);
o.xzZ.y.put(125943855, r2);
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x0330, code lost:
r0 = move-exception;
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x0331, code lost:
r1 = r0.getCause();
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x0335, code lost:
if (r1 != null) goto L33;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x0337, code lost:
throw r1;
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x0338, code lost:
throw r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x0339, code lost:
super.onCreate(r17);
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x033c, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x00a0, code lost:
if (r1 <= 99999) goto L35;
*/
/* JADX WARN: Code restructure failed: missing block: B:37:0x009b, code lost:
if (r1 >= 99000) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0056, code lost:
if (r1 >= 99000) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x00a2, code lost:
r1 = getBaseContext();
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x00ab, code lost:
if (r1 != null) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x00ad, code lost:
r1 = o.AbstractActivityC11791elx.q + 49;
o.AbstractActivityC11791elx.r = r1 % 128;
r1 = r1 % 2;
r11 = (java.lang.Object[]) null;
r12 = new java.lang.Object[1];
aB(new char[]{17, org.jnbis.internal.NistHelper.SEP_FS, 14, 15, '!', 21, '\f', 31, 17, 4, 0, '#', 1, 4, 21, 17, 27, 16, 18, 20, 3, 7, 20, 26, 17, 14}, (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 11), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, r12);
r1 = java.lang.Class.forName((java.lang.String) r12[0]);
r12 = new java.lang.Object[1];
aB(new char[]{4, '\t', 13914, 13914, 23, 26, 18, 5, 13916, 13916, '\r', 16, 4, 15, 21, 17, org.jnbis.internal.NistHelper.SEP_FS, 24}, (byte) ((android.view.ViewConfiguration.getTapTimeout() >> 16) + 114), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ipo_tab).substring(0, 3).length() + 15, r12);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r12[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0152, code lost:
if (r1 == null) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0154, code lost:
r1 = r1.getApplicationContext();
*/
@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 r17) {
/*
Method dump skipped, instructions count: 1120
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11791elx.onCreate(android.os.Bundle):void");
}
private static void aA(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
char[] cArr;
int i;
int i2;
int i3;
int length;
char[] cArr2;
int i4;
char[] cArr3;
int i5 = 2 % 2;
TVH tvh = new TVH();
int i6 = 0;
int i7 = iArr[0];
int i8 = 1;
int i9 = iArr[1];
int i10 = iArr[2];
int i11 = iArr[3];
char[] cArr4 = f9047o;
long j = 0;
if (cArr4 != null) {
int i12 = $10;
int i13 = i12 + 125;
$11 = i13 % 128;
if (i13 % 2 == 0) {
length = cArr4.length;
cArr2 = new char[length];
i4 = 1;
} else {
length = cArr4.length;
cArr2 = new char[length];
i4 = 0;
}
int i14 = i12 + 59;
$11 = i14 % 128;
int i15 = i14 % 2;
int i16 = i4;
while (i16 < length) {
try {
Object[] objArr2 = new Object[i8];
objArr2[i6] = Integer.valueOf(cArr4[i16]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr3 = cArr4;
} else {
Class cls = (Class) xzZ.c(TextUtils.getOffsetAfter("", i6) + 223, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (41976 - (ExpandableListView.getPackedPositionForChild(i6, i6) > j ? 1 : (ExpandableListView.getPackedPositionForChild(i6, i6) == j ? 0 : -1))));
byte b = (byte) i6;
byte b2 = b;
cArr3 = cArr4;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i16] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i16++;
cArr4 = cArr3;
i6 = 0;
i8 = 1;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr4 = cArr2;
}
char[] cArr5 = new char[i9];
System.arraycopy(cArr4, i7, cArr5, 0, i9);
if (bArr != null) {
char[] cArr6 = new char[i9];
tvh.c = 0;
char c = 0;
while (tvh.c < i9) {
if (bArr[tvh.c] == 1) {
int i17 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - Color.argb(0, 0, 0, 0), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (View.resolveSizeAndState(0, 0, 0) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr6[i17] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i18 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 14, TextUtils.indexOf("", "", 0, 0) + 5, (char) (58134 - (ViewConfiguration.getKeyRepeatDelay() >> 16)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr6[i18] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr6[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getFadingEdgeLength() >> 16), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (21608 - (ViewConfiguration.getTapTimeout() >> 16)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aC(b3, b4, (byte) (b4 + 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr5 = cArr6;
}
if (i11 > 0) {
char[] cArr7 = new char[i9];
System.arraycopy(cArr5, 0, cArr7, 0, i9);
int i19 = i9 - i11;
System.arraycopy(cArr7, 0, cArr5, i19, i11);
System.arraycopy(cArr7, i11, cArr5, 0, i19);
}
if (z) {
int i20 = $11 + 25;
$10 = i20 % 128;
if (i20 % 2 != 0) {
cArr = new char[i9];
i = 1;
} else {
cArr = new char[i9];
i = 0;
}
while (true) {
tvh.c = i;
if (tvh.c >= i9) {
break;
}
int i21 = $10 + 17;
$11 = i21 % 128;
if (i21 % 2 == 0) {
cArr[tvh.c] = cArr5[tvh.c * i9];
i3 = tvh.c;
i2 = 1;
} else {
i2 = 1;
cArr[tvh.c] = cArr5[(i9 - tvh.c) - 1];
i3 = tvh.c;
}
i = i3 + i2;
}
cArr5 = cArr;
}
if (i10 > 0) {
int i22 = 0;
while (true) {
tvh.c = i22;
if (tvh.c >= i9) {
break;
}
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
i22 = tvh.c + 1;
}
}
objArr[0] = new String(cArr5);
}
@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];
aB(new char[]{17, NistHelper.SEP_FS, 14, 15, '!', 21, '\f', 31, 17, 4, 0, '#', 1, 4, 21, 17, 27, 16, 18, 20, 3, 7, 20, 26, 17, 14}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.my_qr_belt).substring(2, 3).length() + 44), TextUtils.indexOf((CharSequence) "", '0') + 27, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{4, '\t', 13914, 13914, 23, 26, 18, 5, 13916, 13916, '\r', 16, 4, 15, 21, 17, NistHelper.SEP_FS, 24}, (byte) ((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 114), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_offline_success_remark_ntb).substring(24, 25).codePointAt(0) - 65, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = r + 17;
q = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = r + 1;
q = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 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((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 486, AndroidCharacter.getMirror('0') - '+', (char) Color.alpha(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Color.argb(0, 0, 0, 0) + 492, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) TextUtils.indexOf("", "", 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@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;
int i2 = r + 113;
q = i2 % 128;
if (i2 % 2 != 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new char[]{17, NistHelper.SEP_FS, 14, 15, '!', 21, '\f', 31, 17, 4, 0, '#', 1, 4, 21, 17, 27, 16, 18, 20, 3, 7, 20, 26, 17, 14}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 11), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mf_onboarding_slip).substring(0, 20).codePointAt(18) - 11, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{4, '\t', 13914, 13914, 23, 26, 18, 5, 13916, 13916, '\r', 16, 4, 15, 21, 17, NistHelper.SEP_FS, 24}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.point_x_on_board_title).substring(56, 57).length() + 113), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_check_eligibility_mf_account).substring(68, 69).codePointAt(0) - 14, 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 - TextUtils.getCapsMode("", 0, 0), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 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(TextUtils.indexOf("", "", 0, 0) + 487, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i3 = q + 15;
r = i3 % 128;
int i4 = i3 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
return;
}
getBaseContext();
throw null;
}
private static void aB(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
boolean z;
char c;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = k;
char c2 = '0';
int i5 = 6;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
int i7 = $10 + 91;
$11 = i7 % 128;
if (i7 % i3 == 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 298, TextUtils.lastIndexOf("", c2) + i5, (char) (TextUtils.indexOf("", c2, 0, 0) + 1));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 | 46), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6 >>= 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i6])};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(297 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), KeyEvent.keyCodeFromString("") + 5, (char) ((-1) - MotionEvent.axisFromString("")));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 | 46), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
cArr3[i6] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i6++;
}
i3 = 2;
c2 = '0';
i5 = 6;
}
cArr2 = cArr3;
}
try {
Object[] objArr6 = {Integer.valueOf(t)};
Object obj3 = xzZ.y.get(-1987398494);
boolean z2 = false;
char c3 = '\b';
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(298 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), Color.green(0) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, (byte) (b7 | 46), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
char charValue = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
z = z2;
c = c3;
} else {
try {
Object[] objArr8 = new Object[13];
objArr8[12] = irs;
objArr8[11] = Integer.valueOf(charValue);
objArr8[10] = irs;
objArr8[9] = irs;
objArr8[c3] = Integer.valueOf(charValue);
objArr8[7] = irs;
objArr8[6] = irs;
objArr8[5] = Integer.valueOf(charValue);
objArr8[4] = irs;
objArr8[3] = irs;
objArr8[2] = Integer.valueOf(charValue);
objArr8[1] = irs;
objArr8[0] = irs;
Object obj4 = xzZ.y.get(822107368);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(233 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - TextUtils.getCapsMode("", 0, 0), (char) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 22024));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
aC(b8, b9, (byte) (b9 | 49), objArr9);
obj4 = 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, obj4);
}
if (((Integer) ((Method) obj4).invoke(null, objArr8)).intValue() == irs.j) {
int i8 = $10 + 99;
$11 = i8 % 128;
int i9 = i8 % 2;
Object[] objArr10 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(-1152873385);
if (obj5 != null) {
z = false;
c = '\b';
} else {
z = false;
Class cls5 = (Class) xzZ.c(326 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - View.resolveSize(0, 0), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1));
byte b10 = (byte) 0;
byte b11 = b10;
Object[] objArr11 = new Object[1];
aC(b10, b11, (byte) (b11 | 47), objArr11);
c = '\b';
obj5 = 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, obj5);
}
int intValue = ((Integer) ((Method) obj5).invoke(null, objArr10)).intValue();
int i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i10];
} else {
z = false;
c = '\b';
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] = cArr2[i11];
cArr4[irs.e + 1] = cArr2[i12];
} else {
int i13 = (irs.a * charValue) + irs.j;
int i14 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i13];
cArr4[irs.e + 1] = cArr2[i14];
}
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
irs.e += 2;
z2 = z;
c3 = c;
}
}
int i15 = 0;
while (i15 < i) {
int i16 = $10 + 103;
$11 = i16 % 128;
if (i16 % 2 == 0) {
cArr4[i15] = (char) (cArr4[i15] ^ 22471);
i15 += 93;
} else {
cArr4[i15] = (char) (cArr4[i15] ^ 13722);
i15++;
}
}
String str = new String(cArr4);
int i17 = $10 + 95;
$11 = i17 % 128;
if (i17 % 2 == 0) {
throw null;
}
objArr[0] = str;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
@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 = r + 39;
q = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
Object obj = null;
aA(new int[]{0, 18, 160, 13}, true, null, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{18, 5, 151, 0}, true, new byte[]{1, 1, 0, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = q + 95;
r = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i6 = q + 75;
r = i6 % 128;
if (i6 % 2 != 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (Process.myPid() >> 22), Color.alpha(0) + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new int[]{23, 48, CipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256, 0}, false, new byte[]{0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new int[]{71, 64, 0, 51}, true, new byte[]{0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new char[]{22, 4, '\"', 30, 17, '\"', 13826, 13826, '#', 7, ' ', 23, 20, 24, '\"', '#', '\f', 22, '!', '\"', 15, '#', 31, 1, 4, '!', 2, 26, 30, '\n', 7, 17, 24, 20, 15, 22, 19, '!', 13742, 13742, 27, 3, 23, '!', '!', 2, '\b', 18, 19, 21, ' ', '#', 7, 6, '\"', '!', '\"', 15, '\"', 14, 22, '!', 1, 27}, (byte) ((ViewConfiguration.getScrollDefaultDelay() >> 16) + 3), TextUtils.getCapsMode("", 0, 0) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{135, 74, 0, 0}, true, new byte[]{1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{209, 5, CipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384, 0}, false, new byte[]{0, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{22, 14, ' ', 25, 17, 7, 27, ' ', 0, '\b', ' ', 21, 20, 0, 25, ' ', 13780, 13780, 4, 14, 19, 21, 4, 3, '!', 1, '\"', '\r', 26, 19, '\t', 27, 27, 20, 14, 23}, (byte) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 41), 36 - Color.blue(0), 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(MotionEvent.axisFromString("") + 488, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) TextUtils.indexOf("", "", 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;
}
}
}
@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 + 61;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = r + 53;
q = i4 % 128;
int i5 = i4 % 2;
}
}