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

720 lines
39 KiB
Java

package com.scb.phone.view.activity;
import android.content.Context;
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 android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
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.fragment.ErrorFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC9734dpV;
import o.C4593bdB;
import o.EV;
import o.TVH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public class ErrorGenericActivity extends AbstractActivityC9734dpV {
private String b = "";
private static final byte[] $$p = {75, ISO7816.INS_UPDATE_RECORD, 11, 77};
private static final int $$q = 106;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f6524o = 0;
private static int l = 1;
private static char[] m = {39996, 40058, 40027, 39988, 40042, 40059, 40034, 40047, 40039, 40056, 40033, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40045, 40152, 40140, 40116, 40141, 40069, 40238, 40231, 40224, 40239, 40233, 40225, 40216, 40218, 40226, 40236, 40232, 40212, 40208, 40232, 40236, 40238, 40236, 39995, 40006, 40004, 40005, 40007, 40007, 40007, 40005, 40005, 40001, 39994, 39992, 39997, 39999, 40000, 40046, 40040, 40041, 40001, 39992, 39997, 39996, 40007, 40006, 40005, 40007, 39993, 39999, 39998, 40000, 40001, 40000, 40047, 40040, 40042, 40006, 39998, 40002, 40001, 40001, 40001, 39998, 40006, 40001, 39993, 39998, 39998, 39992, 39952, 40006, 40006, 39997, 40000, 40040, 40040, 40003, 40000, 40000, 39999, 39996, 39996, 39998, 40000, 40040, 40040, 40006, 40007, 40047, 40007, 39999, 39993, 39993, 39992, 39994, 39994, 39992, 39998, 40000, 40042, 40000, 40007, 40005, 39996, 39996, 40005, 40046, 40004, 40006, 40001, 39999, 39992, 39995, 39995, 40000, 40047, 40042, 40007, 39999, 39993, 40000, 40040, 40007, 39997, 39998, 40000, 40046, 40007, 40001, 40001, 39994, 39999, 40007, 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, 39959, 39992, 39972, 39999, 39992};
private static long k = -2432219354719075335L;
/* 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(byte r7, int r8, int r9, java.lang.Object[] r10) {
/*
int r9 = 78 - r9
int r7 = r7 + 4
int r8 = r8 * 3
int r8 = 1 - r8
byte[] r0 = com.scb.phone.view.activity.ErrorGenericActivity.$$p
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L12
r3 = r8
r5 = r2
goto L29
L12:
r3 = r2
L13:
int r7 = r7 + 1
byte r4 = (byte) r9
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r8) goto L24
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L24:
r3 = r0[r7]
r6 = r3
r3 = r9
r9 = r6
L29:
int r9 = -r9
int r9 = r9 + r3
r3 = r5
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ErrorGenericActivity.aC(byte, int, int, java.lang.Object[]):void");
}
private static void aB(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = $10 + 119;
$11 = i3 % 128;
if (i3 % 2 == 0) {
int i4 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 402, 5 - Color.green(0), (char) (21607 - TextUtils.indexOf((CharSequence) "", '0')));
byte b = (byte) (-1);
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i4] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() + (k & (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (ViewConfiguration.getJumpTapTimeout() >> 16));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
aC(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i5 = c4593bdB.e;
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(403 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (21609 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b5 = (byte) (-1);
byte b6 = (byte) (b5 + 1);
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i5] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (k ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 239, KeyEvent.keyCodeFromString("") + 5, (char) View.MeasureSpec.getMode(0));
byte b7 = (byte) (-1);
byte b8 = (byte) (b7 + 1);
Object[] objArr9 = new Object[1];
aC(b7, b8, b8, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $10 + 1;
$11 = i6 % 128;
if (i6 % 2 == 0) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr10 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(239 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - Color.argb(0, 0, 0, 0), (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b9 = (byte) (-1);
byte b10 = (byte) (b9 + 1);
Object[] objArr11 = new Object[1];
aC(b9, b10, b10, objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
int i7 = 91 / 0;
} else {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr12 = {c4593bdB, c4593bdB};
Object obj6 = xzZ.y.get(-1143917229);
if (obj6 == null) {
Class cls6 = (Class) xzZ.c(286 - AndroidCharacter.getMirror('0'), 5 - (Process.myPid() >> 22), (char) ((-1) - TextUtils.lastIndexOf("", '0')));
byte b11 = (byte) (-1);
byte b12 = (byte) (b11 + 1);
Object[] objArr13 = new Object[1];
aC(b11, b12, b12, objArr13);
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj6);
}
((Method) obj6).invoke(null, objArr12);
}
}
objArr[0] = new String(cArr2);
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0123, code lost:
if (r1 == null) goto L35;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x02c6, code lost:
r0 = (o.EV) getIntent().getParcelableExtra("EXTRA_ERROR_DISPLAY");
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x02d2, code lost:
if (r0 == null) goto L40;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x02d4, code lost:
r17.b = r0.a;
r0 = com.scb.phone.view.activity.ErrorGenericActivity.f6524o + 41;
com.scb.phone.view.activity.ErrorGenericActivity.l = r0 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x02e5, code lost:
if ((r0 % 2) != 0) goto L41;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x02e7, code lost:
r8 = 3 % 4;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x02ee, code lost:
super.onCreate(r18);
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x02f1, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0125, code lost:
r6 = o.xzZ.y.get(125943855);
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x0134, code lost:
if (r6 == null) goto L21;
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x0137, code lost:
r6 = ((java.lang.Class) o.xzZ.c((android.view.ViewConfiguration.getJumpTapTimeout() >> 16) + 492, android.view.KeyEvent.keyCodeFromString("") + 5, (char) (android.os.Process.myPid() >> 22))).getMethod("a", null);
o.xzZ.y.put(125943855, r6);
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0160, code lost:
r0 = ((java.lang.reflect.Method) r6).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x0166, code lost:
r9 = new java.lang.Object[1];
ay(new int[]{41, 48, 0, 26}, false, new byte[]{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, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1}, r9);
r3 = (java.lang.String) r9[0];
r15 = (java.lang.Object[]) null;
r15 = new java.lang.Object[1];
aB(new char[]{53338, 36184, 27139, 51029, 42013, 324, 65045, 23333, 14450, 38183, 29247, 12094, 35889, 26952, 50766, 41797, 'Y', 64862, 23124, 14162, 37944, 29024, 11824, 35704, 26740, 50548, 41613, 8155, 64641, 22935, 13977, 37788, 28840, 11693, 35488, 26609, 50366, 41406, 7907, 64414, 22721, 13712, 37516, 20446, 11478, 35311, 26351, 50102, 41131, 7666, 64163, 22519, 13656, 37390, 20228, 11342, 35103, 26177, 49964, 40992, 7461, 64108, 22376, 13409}, ((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.registration_completed_sub).substring(3, 4).length() + 23812, r15);
r2 = (java.lang.String) r15[0];
r15 = new java.lang.Object[1];
ay(new int[]{89, 64, 0, 64}, true, new byte[]{1, 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);
r6 = (java.lang.String) r15[0];
r7 = new java.lang.Object[1];
ay(new int[]{153, 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}, r7);
r7 = (java.lang.String) r7[0];
r8 = new java.lang.Object[1];
ay(new int[]{227, 5, 0, 3}, false, new byte[]{0, 0, 0, 1, 1}, r8);
r8 = (java.lang.String) r8[0];
r5 = new java.lang.Object[1];
aB(new char[]{53338, 3979, 28583, 20340, 44815, 36655, 61173, 52956, 11962, 3700, 28253, 20093, 44449, 36291, 60845, 52598, 11614, 3371, 27880, 19601, 44281, 35875, 60434, 52273, 11253, 2961, 27567, 19241, 43844, 35707, 60074, 51905, 10923, 2687, 27204, 19013}, ((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.use_withdraw_code).substring(58, 59).codePointAt(0) + 57269, r5);
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x0235, code lost:
r5 = new java.lang.Object[]{r1, r3, r2, r6, r7, true, r8, (java.lang.String) r5[0]};
r1 = o.xzZ.y.get(1656189573);
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x025d, code lost:
if (r1 == null) goto L27;
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x02b7, code lost:
((java.lang.reflect.Method) r1).invoke(r0, r5);
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x0260, code lost:
r1 = ((java.lang.Class) o.xzZ.c((android.widget.ExpandableListView.getPackedPositionForChild(0, 0) > 0 ? 1 : (android.widget.ExpandableListView.getPackedPositionForChild(0, 0) == 0 ? 0 : -1)) + 488, android.text.TextUtils.indexOf("", "", 0, 0) + 5, (char) (((byte) android.view.KeyEvent.getModifierMetaStateMask()) + 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:33:0x02bd, code lost:
r0 = move-exception;
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x02be, code lost:
r1 = r0.getCause();
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x02c2, code lost:
if (r1 != null) goto L33;
*/
/* JADX WARN: Code restructure failed: missing block: B:36:0x02c4, code lost:
throw r1;
*/
/* JADX WARN: Code restructure failed: missing block: B:37:0x02c5, code lost:
throw r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:39:0x00a0, code lost:
if (r1 <= 99999) goto L35;
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x009b, code lost:
if (r1 >= 99000) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x005d, 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:0x00ac, code lost:
if (r1 != null) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x00ae, code lost:
r14 = (java.lang.Object[]) null;
r14 = new java.lang.Object[1];
aB(new char[]{53342, 22206, 56709, 17536, 52204, 29437, 63937, 24728, 59174, 28200, 38169, 7252, 33610, 2687, 45401, 14423, 48825, 9609, 44165, 54267, 23239, 49612, 18631, 53027, 30262, 64780}, ((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.single_form_om_description).substring(51, 52).codePointAt(0) + 34511, r14);
r1 = java.lang.Class.forName((java.lang.String) r14[0]);
r14 = new java.lang.Object[1];
ay(new int[]{23, 18, org.bouncycastle.crypto.tls.CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384, 0}, false, new byte[]{0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, r14);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r14[0], new java.lang.Class[0]).invoke(null, null);
r6 = com.scb.phone.view.activity.ErrorGenericActivity.l + 65;
com.scb.phone.view.activity.ErrorGenericActivity.f6524o = r6 % 128;
r6 = r6 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x011d, code lost:
if (r1 == null) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x011f, code lost:
r1 = r1.getApplicationContext();
*/
@Override // o.AbstractActivityC9734dpV, com.scb.phone.view.activity.BaseActivityWithFragment, 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 r18) {
/*
Method dump skipped, instructions count: 1064
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ErrorGenericActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
protected Fragment M() {
int i = 2 % 2;
int i2 = f6524o + 75;
l = i2 % 128;
int i3 = i2 % 2;
ErrorFragment a = ErrorFragment.a((EV) getIntent().getParcelableExtra("EXTRA_ERROR_DISPLAY"));
int i4 = f6524o + 107;
l = i4 % 128;
if (i4 % 2 != 0) {
return a;
}
throw null;
}
@Override // o.AbstractActivityC9734dpV, com.scb.phone.view.activity.BaseActivityWithFragment, 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) {
int i2 = f6524o + 39;
l = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB(new char[]{53342, 22206, 56709, 17536, 52204, 29437, 63937, 24728, 59174, 28200, 38169, 7252, 33610, 2687, 45401, 14423, 48825, 9609, 44165, 54267, 23239, 49612, 18631, 53027, 30262, 64780}, 34542 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{23, 18, CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384, 0}, false, new byte[]{0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = f6524o + 25;
l = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - ExpandableListView.getPackedPositionChild(0L), View.getDefaultSize(0, 0) + 5, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 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(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) KeyEvent.getDeadChar(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC9734dpV, com.scb.phone.view.activity.BaseActivityWithFragment, 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new char[]{53342, 22206, 56709, 17536, 52204, 29437, 63937, 24728, 59174, 28200, 38169, 7252, 33610, 2687, 45401, 14423, 48825, 9609, 44165, 54267, 23239, 49612, 18631, 53027, 30262, 64780}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_omnibus_add_pay_account_disclaimer).substring(45, 46).length() + 34542, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{23, 18, CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384, 0}, false, new byte[]{0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = f6524o + 89;
l = i2 % 128;
if (i2 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = l + 101;
f6524o = i3 % 128;
int i4 = i3 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.getMode(0), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (ViewConfiguration.getTapTimeout() >> 16))).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(487 - TextUtils.indexOf("", "", 0), 5 - View.MeasureSpec.getSize(0), (char) Color.green(0))).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();
}
private static void ay(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
byte b;
char[] cArr;
char[] cArr2;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = 1;
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr3 = m;
long j = 0;
if (cArr3 != null) {
int length = cArr3.length;
char[] cArr4 = new char[length];
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[i3] = Integer.valueOf(cArr3[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr2 = cArr3;
} else {
Class cls = (Class) xzZ.c(223 - (CdmaCellLocation.convertQuartSecToDecDegrees(i3) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(i3) == 0.0d ? 0 : -1)), 4 - (ExpandableListView.getPackedPositionForChild(i3, i3) > j ? 1 : (ExpandableListView.getPackedPositionForChild(i3, i3) == j ? 0 : -1)), (char) (41977 - (ViewConfiguration.getTapTimeout() >> 16)));
byte b2 = (byte) (-1);
byte b3 = (byte) (b2 + 1);
cArr2 = cArr3;
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 | 7), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr4[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
cArr3 = cArr2;
i3 = 0;
i5 = 1;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
char[] cArr5 = new char[i6];
System.arraycopy(cArr3, i4, cArr5, 0, i6);
if (bArr != null) {
int i10 = $11 + 55;
$10 = i10 % 128;
if (i10 % 2 != 0) {
cArr = new char[i6];
b = 1;
tvh.c = 1;
} else {
b = 1;
cArr = new char[i6];
tvh.c = 0;
}
char c = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == b) {
int i11 = tvh.c;
char c2 = cArr5[tvh.c];
Object[] objArr4 = new Object[2];
objArr4[b] = Integer.valueOf(c);
objArr4[0] = Integer.valueOf(c2);
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - (Process.myTid() >> 22), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 53))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i12 = 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(15 - View.getDefaultSize(0, 0), 5 - KeyEvent.normalizeMetaState(0), (char) (58134 - TextUtils.indexOf("", "", 0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr[i12] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((ViewConfiguration.getPressedStateDuration() >> 16) + 21608));
byte b4 = (byte) (-1);
byte b5 = (byte) (b4 + 1);
Object[] objArr7 = new Object[1];
aC(b4, b5, (byte) (b5 + 5), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
b = 1;
}
cArr5 = cArr;
}
if (i8 > 0) {
char[] cArr6 = new char[i6];
i = 0;
System.arraycopy(cArr5, 0, cArr6, 0, i6);
int i13 = i6 - i8;
System.arraycopy(cArr6, 0, cArr5, i13, i8);
System.arraycopy(cArr6, i8, cArr5, 0, i13);
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i6];
tvh.c = i;
int i14 = $11 + 115;
$10 = i14 % 128;
int i15 = i14 % 2;
while (tvh.c < i6) {
cArr7[tvh.c] = cArr5[(i6 - tvh.c) - 1];
tvh.c++;
}
cArr5 = cArr7;
}
if (i7 > 0) {
int i16 = 0;
while (true) {
tvh.c = i16;
if (tvh.c >= i6) {
break;
}
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
i16 = tvh.c + 1;
}
}
objArr[0] = new String(cArr5);
}
@Override // o.AbstractActivityC9734dpV, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = f6524o + 25;
l = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ay(new int[]{0, 18, 0, 10}, false, new byte[]{1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{18, 5, 96, 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 || intValue > 99999) {
if (context != null) {
context2 = context.getApplicationContext();
int i4 = l + 1;
f6524o = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i6 = l + 111;
f6524o = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.getDefaultSize(0, 0) + 492, TextUtils.lastIndexOf("", '0') + 6, (char) TextUtils.getTrimmedLength(""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{41, 48, 0, 26}, false, new byte[]{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, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new char[]{53338, 36184, 27139, 51029, 42013, 324, 65045, 23333, 14450, 38183, 29247, 12094, 35889, 26952, 50766, 41797, 'Y', 64862, 23124, 14162, 37944, 29024, 11824, 35704, 26740, 50548, 41613, 8155, 64641, 22935, 13977, 37788, 28840, 11693, 35488, 26609, 50366, 41406, 7907, 64414, 22721, 13712, 37516, 20446, 11478, 35311, 26351, 50102, 41131, 7666, 64163, 22519, 13656, 37390, 20228, 11342, 35103, 26177, 49964, 40992, 7461, 64108, 22376, 13409}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 23812, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new int[]{89, 64, 0, 64}, true, new byte[]{1, 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[]{153, 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];
ay(new int[]{227, 5, 0, 3}, false, new byte[]{0, 0, 0, 1, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{53338, 3979, 28583, 20340, 44815, 36655, 61173, 52956, 11962, 3700, 28253, 20093, 44449, 36291, 60845, 52598, 11614, 3371, 27880, 19601, 44281, 35875, 60434, 52273, 11253, 2961, 27567, 19241, 43844, 35707, 60074, 51905, 10923, 2687, 27204, 19013}, 57300 - TextUtils.indexOf((CharSequence) "", '0', 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, Color.blue(0) + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).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.AbstractActivityC9734dpV, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = f6524o + 47;
l = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = l + 97;
f6524o = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
protected final String L() {
int i = 2 % 2;
int i2 = f6524o + 105;
int i3 = i2 % 128;
l = i3;
int i4 = i2 % 2;
String str = this.b;
int i5 = i3 + 59;
f6524o = i5 % 128;
int i6 = i5 % 2;
return str;
}
}