what-the-bank/sources/com/scb/phone/view/activity/landingpage/PredictiveTilesLearnMoreAct...

373 lines
22 KiB
Java

package com.scb.phone.view.activity.landingpage;
import android.content.Context;
import android.graphics.Color;
import android.media.AudioTrack;
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.R;
import com.scb.phone.view.fragment.landingpage.PredictiveTilesLearnMoreFragment;
import java.lang.reflect.Method;
import o.dWY;
import o.jTb;
import o.xzZ;
/* loaded from: classes5.dex */
public class PredictiveTilesLearnMoreActivity extends dWY {
private PredictiveTilesLearnMoreFragment l;
private static final byte[] $$p = {38, -57, 91, -63};
private static final int $$q = 14;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int s = 1;
/* renamed from: o, reason: collision with root package name */
private static char f7535o = 55932;
private static char m = 23649;
private static char k = 12905;
private static char p = 35189;
private static char[] q = {26412, 37266, 35392, 34006, 48525, 36787, 30998, 25314, 27742, 21781, 24297, 18506, 12634, 15075, 9304, 11526, 5810, 'k', 2323, 62186, 64589, 58628, 61169, 55378, 49461, 51918, 46152, 48444, 42737, 36931, 39212, 36785, 30989, 25332, 27742, 21791, 24302, 18522, 12597, 15090, 9304, 11546, 5877, 'I', 2321, 62186, 64589, 58653, 61174, 61959, 1194, 7936, 4601, 10492, 9042, 13738, 19709, 18263, 22957, 20724, 27418, 32168, 29942, 36633, 33189, 39156, 37660, 42407, 48334, 46921, 51622, 49311, 56080, 60833, 58574, 65302, 61935, 2248, 793, 5566, 11468, 10005, 14783, 12483, 19261, 23999, 21704, 28476, 25062, 30916, 29498, 34279, 40154, 38767, 43441, 41176, 47926, 52710, 50384, 57136, 53643, 59529, 58216, 62859, 3206, 1898, 6619, 4311, 11124, 15756, 13442, 20271, 16849, 36787, 31040, 25270, 27679, 21787, 24243, 18507, 12561, 15024, 9233, 11589, 5881, 'H', 2372, 62126, 64540, 58643, 61178, 55360, 49532, 51883, 46096, 48505, 42662, 36929, 39280, 33520, 35929, 30066, 32422, 26631, 20768, 23206, 17498, 19751, 14041, 8207, 10610, 4831, 7173, 1399, 3800, 63491, 57711, 60044, 54355, 56680, 50817, 45136, 47421, 41684, 44084, 38252, 40665, 34878, 28978, 31442, 25705, 27952, 22173, 16447, 18792, 12957, 15411, 32431, 34834, 37882, 40262, 41998};
private static long r = -4395272214729098888L;
private static void aC(short s2, short s3, byte b, Object[] objArr) {
int i = 3 - (s3 * 3);
byte[] bArr = $$p;
int i2 = s2 + 66;
int i3 = b * 4;
byte[] bArr2 = new byte[i3 + 1];
int i4 = -1;
if (bArr == null) {
i2 = i3 + i2;
}
while (true) {
i4++;
i++;
bArr2[i4] = (byte) i2;
if (i4 == i3) {
objArr[0] = new String(bArr2, 0);
return;
}
i2 += bArr[i];
}
}
/* JADX WARN: Removed duplicated region for block: B:69:0x028f */
/* JADX WARN: Removed duplicated region for block: B:70:0x0290 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aB(int r19, int r20, char r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 665
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.landingpage.PredictiveTilesLearnMoreActivity.aB(int, int, char, java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x00b1, code lost:
if (r3 > 99999) goto L10;
*/
@Override // o.dWY, 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 r22) {
/*
Method dump skipped, instructions count: 1324
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.landingpage.PredictiveTilesLearnMoreActivity.onCreate(android.os.Bundle):void");
}
private static void aA(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i4 = 58224;
int i5 = i3;
while (i5 < 16) {
int i6 = $11 + 119;
$10 = i6 % 128;
int i7 = i6 % 2;
char c = cArr3[1];
char c2 = cArr3[i3];
char[] cArr4 = cArr3;
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i4) ^ ((c2 << 4) + ((char) (k ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(p)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - (ViewConfiguration.getJumpTapTimeout() >> 16), TextUtils.indexOf("", "", 0, 0) + 5, (char) View.MeasureSpec.getSize(0));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr4[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i4) ^ ((charValue << 4) + ((char) (f7535o ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(m)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - (ViewConfiguration.getFadingEdgeLength() >> 16), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i4 -= 40503;
i5++;
int i8 = $11 + 107;
$10 = i8 % 128;
int i9 = i8 % 2;
cArr3 = cArr4;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 97, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b5 = (byte) 1;
byte b6 = (byte) (b5 - 1);
Object[] objArr7 = new Object[1];
aC(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i3 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.dWY, 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 = t + 47;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fill_information_title_breadcrumb_en).substring(0, 19).length() + 7, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_ncb_slip_title).substring(0, 26).codePointAt(23) - 3617), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(31 - (ViewConfiguration.getScrollBarSize() >> 8), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 17, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_outcome_pending_aip_not_finalized).substring(0, 1).length() - 1), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 37;
t = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 491, (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) TextUtils.getTrimmedLength(""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getEdgeSlop() >> 16), 4 - MotionEvent.axisFromString(""), (char) View.MeasureSpec.makeMeasureSpec(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();
int i6 = s + 63;
t = i6 % 128;
int i7 = i6 % 2;
}
@Override // o.dWY, 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 = t + 19;
s = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB((ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, 26 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_success_result_ncb_slip_text_button).substring(0, 35).codePointAt(22) - 3648), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fixed_transfer_deposit_interest_rate).substring(13, 17).codePointAt(2) - 6, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 17, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i3 = t + 117;
s = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
int i5 = t + 55;
s = i5 % 128;
int i6 = i5 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = s + 9;
t = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 492, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (Process.myTid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(535 - AndroidCharacter.getMirror('0'), Color.green(0) + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).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();
int i9 = t + 49;
s = i9 % 128;
int i10 = i9 % 2;
}
@Override // o.dWY, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{11719, 64489, 38941, 13097, 46198, 48626, 23158, 17354, 5053, 57560, 56721, 43740, 4275, 37990, 58608, 5600, 8000, 13527}, 17 - (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];
aB(Color.blue(0), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (59538 - TextUtils.lastIndexOf("", '0', 0, 0)), objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = s + 79;
t = i2 % 128;
if (i2 % 2 != 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i3 = s + 13;
t = i3 % 128;
int i4 = i3 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i5 = t + 87;
s = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Process.getGidForName("") + 493, 4 - TextUtils.lastIndexOf("", '0'), (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new char[]{26990, 6545, 11502, 22417, 50321, 36525, 46371, 27753, 5421, 20917, 15849, 33461, 34868, 2297, 6496, 12226, 3636, 19535, 27532, 55431, 14344, 56252, 26141, 44487, 58886, 43713, 22551, 40690, 61768, 6004, 32082, 29131, 65457, 38372, 11436, 39461, 52751, 9836, 65339, 6643, 7160, 41072, 47735, 33611, 43624, 1554, 59707, 43128}, 49 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB((ViewConfiguration.getLongPressTimeout() >> 16) + 49, 65 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (32176 - TextUtils.indexOf("", "", 0)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(113 - Color.red(0), 64 - TextUtils.getOffsetBefore("", 0), (char) View.combineMeasuredStates(0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{11866, 33977, 59765, 19205, 61268, 181, 8715, 4748, 22649, 63425, 61662, 29174, 9477, 51889, 65102, 43349, 42423, 21269, 58691, 48802, 45453, 51456, 20005, 23496, 26975, 38773, 32735, 16758, 55047, 44562, 54284, 27750, 23124, 13167, 24270, 65425, 61438, 45862, 61240, 49489, 21709, 2624, 41709, 25617, 39602, 60037, 21709, 2624, 42130, 20926, 9477, 51889, 34431, 751, 30947, 28760, 25948, 43834, 33367, 37513, 17419, 51057, 50565, 30417, 41107, 55561, 46055, 8660, 53364, 54340, 48116, 48532, 41663, 57173}, 74 - KeyEvent.keyCodeFromString(""), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(177 - (ViewConfiguration.getScrollBarSize() >> 8), TextUtils.indexOf("", "", 0) + 5, (char) (61764 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{54284, 27750, 7160, 41072, 41871, 13621, 35813, 47772, 10907, 47646, 17268, 51868, 32407, 18166, 5016, 42782, 42129, 24504, 60558, 62073, 44635, 4761, 24248, 19215, 49132, 44023, 15849, 33461, 25452, 59745, 22551, 40690, 24020, 15641, 64282, 6679}, 36 - ((Process.getThreadPriority(0) + 20) >> 6), 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(486 - TextUtils.lastIndexOf("", '0', 0), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16))).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 // o.dWY, 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 = t + 15;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 77;
t = i4 % 128;
int i5 = i4 % 2;
}
}