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

769 lines
40 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
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.util.TypedValue;
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.view.activity.BaseActivity;
import com.scb.phone.view.activity.requesttopay.RequestToPayInfoActivity;
import java.lang.reflect.Method;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.elD, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11745elD extends BaseActivity implements fPA {
private volatile C13073fPt k;
private static final byte[] $$g = {119, 73, 35, -58};
private static final int $$h = CipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int q = 1;
private static char[] l = {39986, 40056, 40039, 40047, 40034, 40059, 40042, 39988, 40027, 40058, 40005, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 39997, 40056, 40044, 40020, 40045, 39987, 40058, 40036, 40058, 40038, 40046, 40034, 40038, 40058, 40056, 40016, 40022, 40063, 40039, 40037, 40062, 40061, 40036, 40024, 40117, 40139, 40116, 40117, 40098, 40099, 40110, 40119, 40159, 40158, 40156, 40118, 40109, 40099, 40110, 40104, 40119, 40139, 40139, 40117, 40117, 40117, 40139, 40138, 40116, 40119, 40110, 40108, 40108, 40111, 40119, 40116, 40108, 40119, 40119, 40119, 40112, 40108, 40116, 40152, 40158, 40157, 40118, 40119, 40118, 40108, 40109, 40000, 40103, 40103, 40094, 40097, 40137, 40137, 40108, 40097, 40097, 40088, 40093, 40093, 40095, 40097, 40137, 40137, 40103, 40096, 40136, 40096, 40088, 40090, 40090, 40089, 40091, 40091, 40089, 40095, 40097, 40139, 40097, 40096, 40102, 40093, 40093, 40102, 40143, 40101, 40103, 40098, 40088, 40089, 40068, 40068, 40097, 40136, 40139, 40096, 40088, 40090, 40097, 40137, 40096, 40094, 40095, 40097, 40143, 40096, 40098, 40098, 40091, 40088, 40096};
private static int[] m = {-945745693, -1636370897, 341760650, 2063672660, 1773845517, -1439487431, 1429878357, 1921522784, -1402658725, 1230599628, -2075153532, -1220602002, 994875355, -1675571974, -1866994999, 1533864091, -1499117407, 1964510071};
/* renamed from: o, reason: collision with root package name */
private final Object f9039o = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> 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 az(short r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 2
int r6 = 4 - r6
int r7 = r7 * 4
int r0 = 1 - r7
int r8 = r8 + 71
byte[] r1 = o.AbstractActivityC11745elD.$$g
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L17
r4 = r8
r3 = r2
r8 = r6
goto L2c
L17:
r3 = r2
r5 = r8
r8 = r6
r6 = r5
L1b:
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r7) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L28:
int r3 = r3 + 1
r4 = r1[r8]
L2c:
int r4 = -r4
int r6 = r6 + r4
int r8 = r8 + 1
goto L1b
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11745elD.az(short, int, int, java.lang.Object[]):void");
}
public AbstractActivityC11745elD() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.elD.5
private AbstractActivityC11745elD e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11745elD abstractActivityC11745elD = this.e;
if (abstractActivityC11745elD.b) {
return;
}
abstractActivityC11745elD.b = true;
((InterfaceC11758elQ) abstractActivityC11745elD.y_()).e((RequestToPayInfoActivity) abstractActivityC11745elD);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = q + 87;
p = i2 % 128;
int i3 = i2 % 2;
Object y_ = g().y_();
if (i3 != 0) {
int i4 = 25 / 0;
}
return y_;
}
private C13073fPt g() {
if (this.k == null) {
synchronized (this.f9039o) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = q + 87;
p = i2 % 128;
Bundle bundle = null;
if (i2 % 2 != 0) {
super.getDefaultViewModelProviderFactory();
((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
getIntent();
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();
int i3 = q + 97;
p = i3 % 128;
int i4 = i3 % 2;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void ay(int[] iArr, int i, Object[] objArr) {
char c;
int i2 = 2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = m;
int i4 = 1;
char c2 = 0;
if (iArr2 != null) {
int length = iArr2.length;
int[] iArr3 = new int[length];
int i5 = 0;
while (i5 < length) {
int i6 = $11 + 75;
$10 = i6 % 128;
if (i6 % i2 != 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[c2] = Integer.valueOf(iArr2[i5]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(AndroidCharacter.getMirror('0') - '!', (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) (58135 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i5] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i5 >>>= 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr3 = {Integer.valueOf(iArr2[i5])};
Object obj2 = xzZ.y.get(729798706);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(AndroidCharacter.getMirror('0') - '!', 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) (58134 - Color.red(0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr3[i5] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i5++;
}
i2 = 2;
c2 = 0;
}
iArr2 = iArr3;
}
int length2 = iArr2.length;
int[] iArr4 = new int[length2];
int[] iArr5 = m;
int i7 = 16;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i8 = 0;
while (i8 < length3) {
Object[] objArr4 = new Object[i4];
objArr4[0] = Integer.valueOf(iArr5[i8]);
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
c = 58135;
} else {
c = 58135;
obj3 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> i7) + 15, (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + Ascii.ETB))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj3);
}
iArr6[i8] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i8++;
i7 = 16;
i4 = 1;
}
iArr5 = iArr6;
}
System.arraycopy(iArr5, 0, iArr4, 0, length2);
c4403bZM.b = 0;
int i9 = $10 + 65;
$11 = i9 % 128;
int i10 = i9 % 2;
while (c4403bZM.b < iArr.length) {
cArr[0] = (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(iArr4);
int i11 = 0;
for (int i12 = 16; i11 < i12; i12 = 16) {
c4403bZM.e ^= iArr4[i11];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 118, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) TextUtils.indexOf("", ""));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr6 = new Object[1];
az(b, b2, (byte) (b2 | 33), objArr6);
obj4 = cls.getMethod((String) objArr6[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i11++;
}
int i13 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i13;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i14 = c4403bZM.e;
int i15 = 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(iArr4);
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[] objArr7 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(98 - Color.alpha(0), 5 - TextUtils.indexOf("", ""), (char) Color.argb(0, 0, 0, 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr8 = new Object[1];
az(b3, b4, (byte) (b4 | Ascii.US), objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr7);
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x011a, code lost:
if (r2 == null) goto L34;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x02ac, code lost:
super.onCreate(r17);
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x02af, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x011c, code lost:
r11 = o.xzZ.y.get(125943855);
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x0129, code lost:
if (r11 == null) goto L20;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0151, code lost:
r0 = ((java.lang.reflect.Method) r11).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0157, code lost:
r13 = new java.lang.Object[1];
ax(new int[]{41, 48, 114, 0}, true, new byte[]{0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0}, r13);
r11 = (java.lang.String) r13[0];
r14 = (java.lang.Object[]) null;
r14 = new java.lang.Object[1];
ay(new int[]{1978617297, -470737924, -880577532, -460678923, -1347779011, 125493471, 968831840, -1264241536, -934013703, -1557050227, -616829323, 136913711, -1257467307, 1855862006, 571414696, 929652366, -526446689, -1384471605, -1091959272, 809624967, -892866400, 223511960, 1757462713, 1239129540, 769048274, 1453059001, -259325628, 722039872, 137155075, -1265674651, 661997739, -518120301}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 46, r14);
r12 = (java.lang.String) r14[0];
r15 = new java.lang.Object[1];
ax(new int[]{89, 64, 95, 0}, true, new byte[]{0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1}, r15);
r13 = (java.lang.String) r15[0];
r1 = new java.lang.Object[1];
ay(new int[]{-1541430799, 1536123591, 574427849, -1504312965, 1782276428, 1903252211, -342610133, -146022557, 1738849638, 2064989918, -1446281018, -133439545, 306849101, -1153569122, -506343211, -352797379, -778967223, 1124958769, -1831332180, 1460173637, 1986608310, 489924182, -928220501, -539667746, 488909544, 1760743147, -1035876172, -1569908321, 2104878793, -2014475573, -1281799795, -222984650, 1431450263, 904504413, 2138758892, 1231000553, -969049423, 410027877}, (android.view.ViewConfiguration.getDoubleTapTimeout() >> 16) + 74, r1);
r1 = (java.lang.String) r1[0];
r5 = new java.lang.Object[1];
ay(new int[]{-412376669, -335139581, 616246351, 1794894863}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, r5);
r3 = (java.lang.String) r5[0];
r6 = new java.lang.Object[1];
ay(new int[]{-786981866, 1292675714, 1507985934, 867217433, 1623149837, 2064308500, -1425032176, 604908126, 771279748, -1994411338, -287338560, -965852081, 1911473625, 1905271111, -860469995, -1066965286, -655571337, -1299745102}, android.graphics.Color.green(0) + 36, r6);
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x021d, code lost:
r6 = new java.lang.Object[]{r2, r11, r12, r13, r1, true, r3, (java.lang.String) r6[0]};
r1 = o.xzZ.y.get(1656189573);
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0246, code lost:
if (r1 == null) goto L26;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x029d, code lost:
((java.lang.reflect.Method) r1).invoke(r0, r6);
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0249, code lost:
r1 = ((java.lang.Class) o.xzZ.c(android.graphics.Color.rgb(0, 0, 0) + 16777703, (android.view.ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) (1 - (android.view.ViewConfiguration.getScrollFriction() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.view.ViewConfiguration.getScrollFriction() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).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:26:0x012c, code lost:
r11 = ((java.lang.Class) o.xzZ.c(android.view.Gravity.getAbsoluteGravity(0, 0) + 492, android.view.View.MeasureSpec.getMode(0) + 5, (char) android.text.TextUtils.indexOf("", "", 0))).getMethod("a", null);
o.xzZ.y.put(125943855, r11);
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x02a3, code lost:
r0 = move-exception;
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x02a4, code lost:
r1 = r0.getCause();
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x02a8, code lost:
if (r1 != null) goto L32;
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x02aa, code lost:
throw r1;
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x02ab, code lost:
throw r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x009a, code lost:
if (r2 <= 99999) goto L34;
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x0095, code lost:
if (r2 >= 99000) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0057, code lost:
if (r2 >= 99000) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x009c, code lost:
r2 = getBaseContext();
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x00a5, code lost:
if (r2 != null) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x00a7, code lost:
r12 = (java.lang.Object[]) null;
r12 = new java.lang.Object[1];
ay(new int[]{1217890331, 813964599, -51946895, -218672022, -460697670, -5491339, -1423480091, 919508104, -1344094858, -777360610, 117049078, -1906885454, 1416047056, -798996834}, ((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.hml_landing_result_content).substring(45, 46).length() + 25, r12);
r2 = java.lang.Class.forName((java.lang.String) r12[0]);
r13 = new java.lang.Object[1];
ax(new int[]{23, 18, 3, 0}, true, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, r13);
r2 = (android.content.Context) r2.getMethod((java.lang.String) r13[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x010b, code lost:
if (r2 == null) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x010d, code lost:
r2 = r2.getApplicationContext();
r11 = o.AbstractActivityC11745elD.q + 37;
o.AbstractActivityC11745elD.p = r11 % 128;
r11 = r11 % 2;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
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: 1030
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11745elD.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = q + 45;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = p + 59;
q = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay(new int[]{1217890331, 813964599, -51946895, -218672022, -460697670, -5491339, -1423480091, 919508104, -1344094858, -777360610, 117049078, -1906885454, 1416047056, -798996834}, ((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];
ax(new int[]{23, 18, 3, 0}, true, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i6 = p + 85;
q = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) Gravity.getAbsoluteGravity(0, 0))).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((ViewConfiguration.getFadingEdgeLength() >> 16) + 487, (ViewConfiguration.getPressedStateDuration() >> 16) + 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();
}
private static void ax(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
char[] cArr2;
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[] cArr3 = l;
char c = '0';
if (cArr3 != null) {
int i8 = $10 + 105;
$11 = i8 % 128;
int i9 = i8 % 2;
int length = cArr3.length;
char[] cArr4 = new char[length];
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr3[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr2 = cArr3;
} else {
Class cls = (Class) xzZ.c(View.MeasureSpec.getSize(i3) + 223, Process.getGidForName("") + 6, (char) (TextUtils.indexOf("", c, i3, i3) + 41978));
byte b = (byte) i3;
byte b2 = b;
cArr2 = cArr3;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr4[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
int i11 = $11 + 111;
$10 = i11 % 128;
int i12 = i11 % 2;
cArr3 = cArr2;
i3 = 0;
c = '0';
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
char[] cArr5 = new char[i5];
System.arraycopy(cArr3, i4, cArr5, 0, i5);
if (bArr != null) {
char[] cArr6 = new char[i5];
tvh.c = 0;
char c2 = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i13 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(501 - ExpandableListView.getPackedPositionChild(0L), 5 - TextUtils.getOffsetBefore("", 0), (char) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr6[i13] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i14 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - Gravity.getAbsoluteGravity(0, 0), Color.red(0) + 5, (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 58135))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr6[i14] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c2 = cArr6[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (21608 - (ViewConfiguration.getTouchSlop() >> 8)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
az(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 (i7 > 0) {
char[] cArr7 = new char[i5];
System.arraycopy(cArr5, 0, cArr7, 0, i5);
int i15 = i5 - i7;
System.arraycopy(cArr7, 0, cArr5, i15, i7);
System.arraycopy(cArr7, i7, cArr5, 0, i15);
}
if (z) {
int i16 = $10 + 15;
$11 = i16 % 128;
if (i16 % 2 == 0) {
cArr = new char[i5];
i = 0;
} else {
i = 0;
cArr = new char[i5];
}
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
int i17 = $11 + 69;
$10 = i17 % 128;
if (i17 % 2 != 0) {
cArr[tvh.c] = cArr5[i5 % tvh.c];
i = tvh.c;
} else {
cArr[tvh.c] = cArr5[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
}
cArr5 = cArr;
}
if (i6 > 0) {
int i18 = 0;
while (true) {
tvh.c = i18;
if (tvh.c >= i5) {
break;
}
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
i18 = 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 onPause() {
int i = 2 % 2;
int i2 = p + 17;
q = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new int[]{1217890331, 813964599, -51946895, -218672022, -460697670, -5491339, -1423480091, 919508104, -1344094858, -777360610, 117049078, -1906885454, 1416047056, -798996834}, ((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];
ax(new int[]{23, 18, 3, 0}, true, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i3 = p + 109;
q = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
int i5 = p + 81;
q = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((Process.myPid() >> 22) + 492, 5 - Color.green(0), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 439, 5 - ExpandableListView.getPackedPositionType(0L), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = p + 53;
q = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new int[]{0, 18, 0, 0}, true, new byte[]{1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{18, 5, 0, 0}, false, new byte[]{1, 0, 0, 0, 1}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = p + 3;
q = i4 % 128;
int i5 = i4 % 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((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new int[]{41, 48, 114, 0}, true, new byte[]{0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new int[]{1978617297, -470737924, -880577532, -460678923, -1347779011, 125493471, 968831840, -1264241536, -934013703, -1557050227, -616829323, 136913711, -1257467307, 1855862006, 571414696, 929652366, -526446689, -1384471605, -1091959272, 809624967, -892866400, 223511960, 1757462713, 1239129540, 769048274, 1453059001, -259325628, 722039872, 137155075, -1265674651, 661997739, -518120301}, (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)) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(new int[]{89, 64, 95, 0}, true, new byte[]{0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{-1541430799, 1536123591, 574427849, -1504312965, 1782276428, 1903252211, -342610133, -146022557, 1738849638, 2064989918, -1446281018, -133439545, 306849101, -1153569122, -506343211, -352797379, -778967223, 1124958769, -1831332180, 1460173637, 1986608310, 489924182, -928220501, -539667746, 488909544, 1760743147, -1035876172, -1569908321, 2104878793, -2014475573, -1281799795, -222984650, 1431450263, 904504413, 2138758892, 1231000553, -969049423, 410027877}, 74 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{-412376669, -335139581, 616246351, 1794894863}, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{-786981866, 1292675714, 1507985934, 867217433, 1623149837, 2064308500, -1425032176, 604908126, 771279748, -1994411338, -287338560, -965852081, 1911473625, 1905271111, -860469995, -1066965286, -655571337, -1299745102}, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 35, 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(View.getDefaultSize(0, 0) + 487, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i6 = p + 11;
q = i6 % 128;
int i7 = i6 % 2;
} 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 = p + 31;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 91;
q = i4 % 128;
int i5 = i4 % 2;
}
}