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

643 lines
36 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity;
import com.scb.phone.view.activity.deeplink.ExternalDeepLinkActivity;
import java.lang.reflect.Method;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public abstract class dDC extends BaseDeepLinkActivity {
private boolean b = false;
private static final byte[] $$H = {104, 69, 71, -100};
private static final int $$I = 204;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int t = 1;
private static char m = 52510;
private static char l = 19846;
private static char k = 39918;
/* renamed from: o, reason: collision with root package name */
private static char f8689o = 57941;
private static char[] q = {39974, 40055, 40086, 40094, 40063, 40061, 40088, 40082, 40086, 40083, 40093, 40095, 40068, 40068, 40091, 40083, 40081, 40064, 40088, 40104, 40080, 40087, 40087, 40080, 40083, 40052, 39959, 40006, 40007, 39996, 39997, 39992, 40001, 40041, 40040, 40046, 40000, 39999, 39997, 39992, 39994, 40001, 40005, 40005, 40007, 40007, 40007, 40005, 40004, 40006, 40001, 39992, 39998, 39998, 39993, 40001, 40006, 39998, 40001, 40001, 40001, 40002, 39998, 40006, 40042, 40040, 40047, 40000, 40001, 40000, 39998, 39999, 39993, 40007, 39993, 40040, 40007, 40006, 40006, 40007, 40000, 39997, 40004, 40006, 39992, 39999, 39999, 39999, 39997, 39999, 39992, 39998, 39993, 39994, 40001, 40007, 40000, 40001, 39992, 39999, 39992, 40002, 40001, 39998, 39999, 39999, 39996, 39996, 39997, 40000, 40000, 39997, 40006, 40041, 40007, 40007, 40042, 40000, 39998, 39992, 39992, 40007, 40040, 40005, 40004, 40005, 40006, 40006, 39997, 40000, 40006, 40006, 40001, 39999, 39996, 40007, 40042, 40040, 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};
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> 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 aP(short r7, byte r8, int r9, java.lang.Object[] r10) {
/*
int r9 = r9 * 3
int r9 = r9 + 1
int r7 = r7 + 4
int r8 = 73 - r8
byte[] r0 = o.dDC.$$H
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L12
r3 = r7
r5 = r2
goto L2c
L12:
r3 = r2
r6 = r8
r8 = r7
r7 = r6
L16:
byte r4 = (byte) r7
int r5 = r3 + 1
r1[r3] = r4
int r8 = r8 + 1
if (r5 != r9) goto L27
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L27:
r3 = r0[r8]
r6 = r3
r3 = r8
r8 = r6
L2c:
int r7 = r7 + r8
r8 = r3
r3 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.dDC.aP(short, byte, int, java.lang.Object[]):void");
}
public dDC() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dDC.3
private dDC d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.d.U_();
}
});
}
@Override // o.AbstractActivityC8166dDA
protected final void U_() {
int i = 2 % 2;
int i2 = t + 65;
s = i2 % 128;
int i3 = i2 % 2;
if (!this.b) {
this.b = true;
((InterfaceC8182dDi) y_()).b((ExternalDeepLinkActivity) this);
}
int i4 = s + 23;
t = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 29 / 0;
}
}
private static void aN(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i5 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i6 = $10 + 123;
$11 = i6 % 128;
int i7 = i6 % i3;
cArr3[i5] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i8 = 58224;
int i9 = i5;
while (i9 < 16) {
int i10 = $10 + 61;
$11 = i10 % 128;
int i11 = i10 % i3;
char c = cArr3[1];
char c2 = cArr3[i5];
int i12 = (c2 + i8) ^ ((c2 << 4) + ((char) (k ^ 41718355337583039L)));
int i13 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(f8689o);
objArr2[i3] = Integer.valueOf(i13);
objArr2[1] = Integer.valueOf(i12);
objArr2[i5] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - TextUtils.getCapsMode("", i5, i5), 4 - (ExpandableListView.getPackedPositionForChild(i5, i5) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(i5, i5) == 0L ? 0 : -1)), (char) View.combineMeasuredStates(i5, i5));
byte b = (byte) (-1);
Object[] objArr3 = new Object[1];
aP(b, (byte) (b & 7), (byte) i5, objArr3);
String str = (String) objArr3[i5];
Class<?>[] clsArr = new Class[4];
clsArr[i5] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i5]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (m ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(l)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 411, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))));
byte b2 = (byte) (-1);
Object[] objArr5 = new Object[1];
aP(b2, (byte) (b2 & 7), (byte) 0, 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();
i8 -= 40503;
i9++;
cArr3 = cArr4;
i3 = 2;
i5 = 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) {
i2 = 2;
} else {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 98, 4 - MotionEvent.axisFromString(""), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)));
byte b3 = (byte) (-1);
Object[] objArr7 = new Object[1];
aP(b3, (byte) (b3 & 6), (byte) 0, objArr7);
i2 = 2;
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
i3 = i2;
cArr3 = cArr5;
i5 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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;
int i2 = t + 105;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aN(new char[]{19012, 16586, 26546, 27248, 54064, 19730, 10762, 37648, 49676, 9281, 5560, 58017, 5448, 49483, 56104, 8942, 53668, 1430}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_landing_result_content).substring(45, 46).length() + 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aN(new char[]{42059, 24356, 55476, 49700, 37307, 58291}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, 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 i4 = t + 99;
s = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aO(new int[]{0, 26, 45, 12}, true, new byte[]{1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aN(new char[]{6820, 48880, 36571, 42686, 57838, 56398, 'd', 7031, 45195, 194, 47371, 25902, 38504, 43311, 26962, 10414, 55864, 18679}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 28, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i6 = s + 113;
t = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i8 = t + 125;
s = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 492, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aO(new int[]{26, 48, 0, 46}, true, new byte[]{0, 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, 1, 1}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aO(new int[]{74, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aN(new char[]{19191, 27329, 48315, 24771, 173, 26589, 15750, 58191, 43765, 65140, 48667, 6159, 35550, 51764, 44684, 63621, 56073, 5192, 16644, 13967, 7909, 59111, 2829, 14747, 61348, 37900, 64942, 8415, 42145, 47327, 7768, 28759, 2170, 12483, 49959, 65224, 50723, 7871, 54895, 4720, 45145, 8834, 33399, 15930, 23536, 30652, 1744, 53219, 13425, 11376, 42426, 10839, 49629, 33349, 20996, 23873, 19956, 23092, 24489, 26186, 44245, 65451, 11702, 31157}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aO(new int[]{CipherSuite.TLS_PSK_WITH_RC4_128_SHA, 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}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aN(new char[]{55518, 38687, 44629, 29803, 7557, 30336}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_app_outcome_upselling_pop_up_warning_desc).substring(52, 53).codePointAt(0) - 27, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aN(new char[]{17972, 5654, 17065, 64902, 13056, 30350, 30248, 50025, 10633, 61001, 43711, 25344, 52492, 4845, 46421, 4508, 54895, 4720, 28691, 41642, 13425, 11376, 35830, 64282, 3214, 21172, 12323, 6612, 40382, 30714, 33885, 14622, 35764, 33345, 22772, 55632}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.prepaid_travel_conversion_landing_remark).substring(34, 35).length() + 35, 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((ViewConfiguration.getLongPressTimeout() >> 16) + 487, (Process.myTid() >> 22) + 5, (char) View.MeasureSpec.getSize(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, objArr11);
int i10 = t + 91;
s = i10 % 128;
int i11 = i10 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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 = t + 37;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aO(new int[]{0, 26, 45, 12}, true, new byte[]{1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aN(new char[]{6820, 48880, 36571, 42686, 57838, 56398, 'd', 7031, 45195, 194, 47371, 25902, 38504, 43311, 26962, 10414, 55864, 18679}, 'B' - AndroidCharacter.getMirror('0'), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 15;
t = i4 % 128;
if (i4 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 99 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((-16776724) - Color.rgb(0, 0, 0), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).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 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) TextUtils.getTrimmedLength(""))).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();
}
/* JADX WARN: Code restructure failed: missing block: B:31:0x0022, code lost:
r7 = new java.lang.Object[1];
aO(new int[]{0, 26, 45, 12}, true, new byte[]{1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0}, r7);
r1 = java.lang.Class.forName((java.lang.String) r7[0]);
r8 = (java.lang.Object[]) null;
r8 = new java.lang.Object[1];
aN(new char[]{6820, 48880, 36571, 42686, 57838, 56398, 'd', 7031, 45195, 194, 47371, 25902, 38504, 43311, 26962, 10414, 55864, 18679}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, r8);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r8[0], new java.lang.Class[0]).invoke(null, null);
r6 = o.dDC.t + 23;
o.dDC.s = r6 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x0086, code lost:
if ((r6 % 2) == 0) goto L12;
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x0088, code lost:
r6 = 5 / 3;
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x0020, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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 onPause() {
/*
Method dump skipped, instructions count: 356
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.dDC.onPause():void");
}
private static void aO(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int length;
char[] cArr;
int i2;
int i3 = 2;
int i4 = 2 % 2;
TVH tvh = new TVH();
char c = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr2 = q;
long j = 0;
if (cArr2 != null) {
int i9 = $11 + 83;
$10 = i9 % 128;
if (i9 % 2 != 0) {
length = cArr2.length;
cArr = new char[length];
i2 = 1;
} else {
length = cArr2.length;
cArr = new char[length];
i2 = 0;
}
while (i2 < length) {
int i10 = $10 + 37;
$11 = i10 % 128;
if (i10 % i3 == 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[c] = Integer.valueOf(cArr2[i2]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 5 - ExpandableListView.getPackedPositionGroup(j), (char) ((ViewConfiguration.getPressedStateDuration() >> 16) + 41977));
byte b = (byte) (-1);
byte b2 = (byte) (b + 3);
Object[] objArr3 = new Object[1];
aP(b, b2, (byte) (b2 - 2), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr[i2] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i2])};
Object obj2 = xzZ.y.get(1645349359);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 223, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (41978 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 3);
Object[] objArr5 = new Object[1];
aP(b3, b4, (byte) (b4 - 2), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(1645349359, obj2);
}
cArr[i2] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i2++;
}
i3 = 2;
c = 0;
j = 0;
}
cArr2 = cArr;
}
char[] cArr3 = new char[i6];
System.arraycopy(cArr2, i5, cArr3, 0, i6);
if (bArr != null) {
char[] cArr4 = new char[i6];
tvh.c = 0;
char c2 = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i11 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 502, (-16777211) - Color.rgb(0, 0, 0), (char) ((-16777162) - Color.rgb(0, 0, 0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i11] = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
} else {
int i12 = tvh.c;
Object[] objArr7 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(16 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 4 - ExpandableListView.getPackedPositionChild(0L), (char) (58134 - (Process.myTid() >> 22)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr4[i12] = ((Character) ((Method) obj4).invoke(null, objArr7)).charValue();
}
c2 = cArr4[tvh.c];
Object[] objArr8 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 402, 5 - View.MeasureSpec.getSize(0), (char) (21608 - Color.alpha(0)));
byte b5 = (byte) (-1);
byte b6 = (byte) (b5 + 1);
Object[] objArr9 = new Object[1];
aP(b5, b6, b6, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
int i13 = $10 + 1;
$11 = i13 % 128;
i = 2;
int i14 = i13 % 2;
cArr3 = cArr4;
} else {
i = 2;
}
if (i8 > 0) {
int i15 = $11 + 111;
$10 = i15 % 128;
if (i15 % i != 0) {
char[] cArr5 = new char[i6];
System.arraycopy(cArr3, 1, cArr5, 0, i6);
System.arraycopy(cArr5, 1, cArr3, i6 * i8, i8);
System.arraycopy(cArr5, i8, cArr3, 0, i6 >>> i8);
} else {
char[] cArr6 = new char[i6];
System.arraycopy(cArr3, 0, cArr6, 0, i6);
int i16 = i6 - i8;
System.arraycopy(cArr6, 0, cArr3, i16, i8);
System.arraycopy(cArr6, i8, cArr3, 0, i16);
}
}
if (z) {
int i17 = $10 + 81;
$11 = i17 % 128;
int i18 = i17 % 2;
char[] cArr7 = new char[i6];
int i19 = 0;
while (true) {
tvh.c = i19;
if (tvh.c >= i6) {
break;
}
cArr7[tvh.c] = cArr3[(i6 - tvh.c) - 1];
i19 = tvh.c + 1;
}
cArr3 = cArr7;
}
if (i7 > 0) {
int i20 = 0;
while (true) {
tvh.c = i20;
if (tvh.c >= i6) {
break;
}
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i20 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@Override // com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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];
aN(new char[]{19012, 16586, 26546, 27248, 54064, 19730, 10762, 37648, 49676, 9281, 5560, 58017, 5448, 49483, 56104, 8942, 53668, 1430}, 18 - View.MeasureSpec.getMode(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aN(new char[]{42059, 24356, 55476, 49700, 37307, 58291}, 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 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 || intValue > 99999) {
if (context != null) {
int i2 = t + 75;
s = i2 % 128;
if (i2 % 2 != 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 492, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (TextUtils.lastIndexOf("", '0') + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aO(new int[]{26, 48, 0, 46}, true, new byte[]{0, 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, 1, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aO(new int[]{74, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aN(new char[]{19191, 27329, 48315, 24771, 173, 26589, 15750, 58191, 43765, 65140, 48667, 6159, 35550, 51764, 44684, 63621, 56073, 5192, 16644, 13967, 7909, 59111, 2829, 14747, 61348, 37900, 64942, 8415, 42145, 47327, 7768, 28759, 2170, 12483, 49959, 65224, 50723, 7871, 54895, 4720, 45145, 8834, 33399, 15930, 23536, 30652, 1744, 53219, 13425, 11376, 42426, 10839, 49629, 33349, 20996, 23873, 19956, 23092, 24489, 26186, 44245, 65451, 11702, 31157}, 64 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aO(new int[]{CipherSuite.TLS_PSK_WITH_RC4_128_SHA, 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];
aN(new char[]{55518, 38687, 44629, 29803, 7557, 30336}, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aN(new char[]{17972, 5654, 17065, 64902, 13056, 30350, 30248, 50025, 10633, 61001, 43711, 25344, 52492, 4845, 46421, 4508, 54895, 4720, 28691, 41642, 13425, 11376, 35830, 64282, 3214, 21172, 12323, 6612, 40382, 30714, 33885, 14622, 35764, 33345, 22772, 55632}, 35 - ExpandableListView.getPackedPositionChild(0L), 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(View.resolveSize(0, 0) + 487, View.combineMeasuredStates(0, 0) + 5, (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i3 = t + 115;
s = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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 = s + 75;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
}
}