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

595 lines
37 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.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
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.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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.CCRBaseActivity;
import com.scb.phone.view.activity.ccrredemption.mileage.MileageReviewRedemptionActivity;
import java.lang.reflect.Method;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.dxd, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC10165dxd extends CCRBaseActivity {
private boolean b = false;
private static final byte[] $$y = {39, 47, 87, -72};
private static final int $$z = CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
private static int r = 1;
/* renamed from: o, reason: collision with root package name */
private static int[] f8921o = {2065478799, -1106820081, -343086040, 631037062, 1934706730, -1383668049, 1356098980, 1487661293, 163814320, -1386596898, -196946318, -1859988778, -1089721407, -298817015, -631729554, 1161252600, -712895325, 292558408};
private static char[] k = {36799, 51870, 1517, 16420, 39778, 36835, 51920, 1420, 16431, 39733, 54712, 4234, 27584, 42520, 57654, 15346, 30452, 45469, 3073, 18183, 33265, 56544, 5988, 21082, 44293, 59333, 8895, 32061, 47144, 62284, 19913, 35027, 50032, 7805, 22762, 37760, 61064, 10563, 25650, 48864, 63964, 13504, 36638, 51822, 1187, 24488, 39579, 54617, 4096, 27309, 42427, 57393, 15197, 60591, 43421, 26262, 9008, 63528, 46753, 29632, 2176, 50439, 33314, 22762, 5563, 53892, 28493, 9243, 58080, 49068, 29819, 12609, 52759, 33933, 16805, 7717, 56125, 36865, 11985, 60312, 41022, 32052, 15346, 61644, 36249, 19037, 1832, 56821, 39572, 22411, 60507, 43382, 26555, 15540, 63957, 46617, 29467, 2531, 50858, 33658, 22547, 5470, 54231, 26870, 9586, 57965, 48907, 30161, 13003, 53098, 33892, 17145, 8133, 54416, 37129, 11901, 58532, 33034, 50211, 2940, 20109, 38341, 56145, 7795, 25918, 43193, 61398, 13585, 30792, 49021, 700, 18921, 36628, 53847, 6549, 23739, 41956, 59687, 11351, 29582, 46784, 65012, 17188, 34350, 52609, 4294, 22033, 40241, 57448, 10166, 27348, 45065, 63278, 14946, 33253, 50395, 2564, 20811, 37997, 56244, 7926, 25615, 43846, 61061, 13739, 30967, 48745, 1371, 18562, 36811, 53940, 6189, 24433, 41619, 59776, 12041, 29243, 47465, 64678, 17351, 35101, 52237, 4961, 22266, 40338, 58131, 9821, 28025, 45247, 63486, 15628, 36843, 51913, 1408, 16483, 39734};
private static long l = -3141825163582387481L;
/* 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:0x0028). 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 aF(short r5, short r6, byte r7, java.lang.Object[] r8) {
/*
byte[] r0 = o.AbstractActivityC10165dxd.$$y
int r6 = 106 - r6
int r5 = r5 * 3
int r1 = 1 - r5
int r7 = r7 * 2
int r7 = r7 + 4
byte[] r1 = new byte[r1]
r2 = 0
int r5 = 0 - r5
if (r0 != 0) goto L16
r4 = r5
r3 = r2
goto L28
L16:
r3 = r2
L17:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r5) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L24:
int r3 = r3 + 1
r4 = r0[r7]
L28:
int r4 = -r4
int r6 = r6 + r4
int r7 = r7 + 1
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10165dxd.aF(short, short, byte, java.lang.Object[]):void");
}
public AbstractActivityC10165dxd() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dxd.3
private AbstractActivityC10165dxd b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.b.g();
}
});
}
@Override // o.AbstractActivityC9738dpZ
public final void g() {
int i = 2 % 2;
if (!this.b) {
int i2 = r + 85;
m = i2 % 128;
int i3 = i2 % 2;
this.b = true;
((InterfaceC10171dxj) y_()).e((MileageReviewRedemptionActivity) this);
}
int i4 = m + 57;
r = i4 % 128;
int i5 = i4 % 2;
}
private static void aE(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(k[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", "", 0) + 308, 5 - View.MeasureSpec.getSize(0), (char) (Color.green(0) + 32797));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aF(b, (byte) (b | 8), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(l), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.indexOf("", "", 0) + 5, (char) (ViewConfiguration.getKeyRepeatDelay() >> 16));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aF(b2, (byte) (b2 | 7), b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i4] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(408 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (Color.alpha(0) + 29234));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aF(b3, b4, b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i5 = $10 + 47;
$11 = i5 % 128;
int i6 = i5 % 2;
cArr[dqy.a] = (char) jArr[dqy.a];
try {
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((-16776809) - Color.rgb(0, 0, 0), Color.green(0) + 5, (char) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 29234));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr9 = new Object[1];
aF(b5, b6, b6, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
int i7 = $10 + 85;
$11 = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr);
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{-997373286, 836206723, -1799193459, 1463110995, 1121668195, 1795993985, -2037575327, -117650694, 391462080, -908693597}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.deejung_transfer_about).substring(55, 56).length() + 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, View.MeasureSpec.getMode(0) + 5, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.gift_sender).substring(6, 7).codePointAt(0) - 58), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = r + 77;
m = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aD(new int[]{-997373286, 836206723, -1799193459, 1463110995, -429007778, -304208064, -1592846830, -1513738676, 1669244797, -152202331, 1622441663, 181722451, 1811342894, 227220754}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new int[]{-1994418715, 118471605, -1995140216, -174053861, -119922124, -1030838074, -14886008, 1338578335, -1063848952, -389016318}, 17 - ExpandableListView.getPackedPositionChild(0L), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = r + 87;
m = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 491, AndroidCharacter.getMirror('0') - '+', (char) Color.argb(0, 0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 14, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.order_cheque_input_note).substring(26, 27).codePointAt(0) - 32), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(((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_property_scbs_header).substring(31, 32).length() + 52, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 64, (char) (25368 - ((Process.getThreadPriority(0) + 20) >> 6)), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new int[]{1378424454, 1091082206, -602100450, 99322076, 111065884, 408283592, 1724337576, 1981347166, -1803501433, -1625713488, 497573695, -1991678232, -604444096, 179144981, -372498340, 992673729, 532064786, -274792202, -1249271265, -1609905928, 490751466, -1548380203, -1025517741, 239866751, 82190540, 1315972655, -441002228, 925989657, 303667510, 2011311323, -1795415044, -1112146630}, TextUtils.indexOf("", "", 0, 0) + 64, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 116, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 61, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_success_result_description_b2k).substring(0, 115).codePointAt(24) + CipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(191 - ExpandableListView.getPackedPositionGroup(0L), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, (char) View.resolveSizeAndState(0, 0, 0), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(new int[]{-1413358297, -1335931621, 1988700337, -111711924, 1462618057, -1781869527, 706332929, 1284167326, -501370891, -902968428, 183589434, -170127190, 79786163, -1254589157, -1659186261, 1198174925, -1072387986, 2138418980}, (ViewConfiguration.getEdgeSlop() >> 16) + 36, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((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)) + 487, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (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)))).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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void aD(int[] iArr, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = f8921o;
long j = 0;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr2 != null) {
int i7 = $11 + 65;
$10 = i7 % 128;
int i8 = i7 % 2;
int length = iArr2.length;
int[] iArr3 = new int[length];
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[0] = Integer.valueOf(iArr2[i9]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - Color.argb(0, 0, 0, 0), ImageFormat.getBitsPerPixel(0) + 6, (char) ((SystemClock.elapsedRealtime() > j ? 1 : (SystemClock.elapsedRealtime() == j ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i9] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i9++;
j = 0;
i5 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr2 = iArr3;
}
int length2 = iArr2.length;
int[] iArr4 = new int[length2];
int[] iArr5 = f8921o;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i10 = 0;
while (i10 < length3) {
int i11 = $10 + 67;
$11 = i11 % 128;
int i12 = i11 % 2;
try {
Object[] objArr3 = new Object[1];
objArr3[i6] = Integer.valueOf(iArr5[i10]);
Object obj2 = xzZ.y.get(Integer.valueOf(i4));
if (obj2 != null) {
i2 = i4;
} else {
Class cls = (Class) xzZ.c(16 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (58134 - (ViewConfiguration.getPressedStateDuration() >> 16)));
Class<?>[] clsArr = new Class[1];
clsArr[i6] = Integer.TYPE;
obj2 = cls.getMethod("i", clsArr);
i2 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr6[i10] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i10++;
i4 = i2;
i6 = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr5 = iArr6;
}
int i13 = i6;
System.arraycopy(iArr5, i13, iArr4, i13, length2);
c4403bZM.b = i13;
while (c4403bZM.b < iArr.length) {
int i14 = $11 + 95;
$10 = i14 % 128;
int i15 = i14 % 2;
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 i16 = 0;
for (int i17 = 16; i16 < i17; i17 = 16) {
c4403bZM.e ^= iArr4[i16];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 118, 4 - TextUtils.lastIndexOf("", '0'), (char) Color.red(0));
byte b = (byte) 0;
byte b2 = (byte) (b + 2);
Object[] objArr5 = new Object[1];
aF(b, b2, (byte) (b2 - 2), objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i16++;
}
int i18 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i18;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i19 = c4403bZM.e;
int i20 = 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[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(99 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte length4 = (byte) $$y.length;
Object[] objArr7 = new Object[1];
aF((byte) 0, length4, (byte) (length4 - 4), objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = r + 83;
m = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = r + 57;
m = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aD(new int[]{-997373286, 836206723, -1799193459, 1463110995, -429007778, -304208064, -1592846830, -1513738676, 1669244797, -152202331, 1622441663, 181722451, 1811342894, 227220754}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{-1994418715, 118471605, -1995140216, -174053861, -119922124, -1030838074, -14886008, 1338578335, -1063848952, -389016318}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_robo_advisor_landing_suggestion_3).substring(21, 43).codePointAt(2) - 98, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i6 = m + 105;
r = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 492, 5 - TextUtils.getCapsMode("", 0, 0), (char) ('0' - AndroidCharacter.getMirror('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.getEdgeSlop() >> 16) + 487, 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).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 // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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) {
int i2 = m + 125;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{-997373286, 836206723, -1799193459, 1463110995, -429007778, -304208064, -1592846830, -1513738676, 1669244797, -152202331, 1622441663, 181722451, 1811342894, 227220754}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.app_account_deletion_message).substring(0, 3).codePointAt(0) - 23, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{-1994418715, 118471605, -1995140216, -174053861, -119922124, -1030838074, -14886008, 1338578335, -1063848952, -389016318}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.expires_text).substring(7, 10).length() + 15, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = r + 47;
m = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - Process.getGidForName(""), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 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(487 - (ViewConfiguration.getTapTimeout() >> 16), Color.blue(0) + 5, (char) (KeyEvent.getMaxKeyCode() >> 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();
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 + 83;
m = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{-997373286, 836206723, -1799193459, 1463110995, 1121668195, 1795993985, -2037575327, -117650694, 391462080, -908693597}, 18 - (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)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(TextUtils.indexOf("", ""), (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) (TextUtils.indexOf((CharSequence) "", '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) {
int i4 = r + 105;
m = i4 % 128;
if (i4 % 2 != 0) {
context2 = context.getApplicationContext();
int i5 = 21 / 0;
} else {
context2 = context.getApplicationContext();
}
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (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)), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) ExpandableListView.getPackedPositionType(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE((ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (KeyEvent.getMaxKeyCode() >> 16) + 48, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(ExpandableListView.getPackedPositionGroup(0L) + 53, 64 - TextUtils.getCapsMode("", 0, 0), (char) (((Process.getThreadPriority(0) + 20) >> 6) + 25368), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new int[]{1378424454, 1091082206, -602100450, 99322076, 111065884, 408283592, 1724337576, 1981347166, -1803501433, -1625713488, 497573695, -1991678232, -604444096, 179144981, -372498340, 992673729, 532064786, -274792202, -1249271265, -1609905928, 490751466, -1548380203, -1025517741, 239866751, 82190540, 1315972655, -441002228, 925989657, 303667510, 2011311323, -1795415044, -1112146630}, 64 - KeyEvent.normalizeMetaState(0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(Process.getGidForName("") + 118, 74 - Gravity.getAbsoluteGravity(0, 0), (char) ((ViewConfiguration.getLongPressTimeout() >> 16) + 3760), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(View.MeasureSpec.makeMeasureSpec(0, 0) + CipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256, KeyEvent.keyCodeFromString("") + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{-1413358297, -1335931621, 1988700337, -111711924, 1462618057, -1781869527, 706332929, 1284167326, -501370891, -902968428, 183589434, -170127190, 79786163, -1254589157, -1659186261, 1198174925, -1072387986, 2138418980}, 36 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 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(488 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) KeyEvent.normalizeMetaState(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = m + 63;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = m + 97;
r = i4 % 128;
int i5 = i4 % 2;
}
}