what-the-bank/sources/com/scb/phone/view/activity/profilemanagement/promptpay/PromptPayTermsAndConditions...

667 lines
34 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.profilemanagement.promptpay;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.Gravity;
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.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.profilemanagement.promptpay.PromptPayTermsAndConditionsLandingFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC11685ejx;
import o.C4403bZM;
import o.TVH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.PassportService;
/* loaded from: classes5.dex */
public class PromptPayTermsAndConditionsLandingActivity extends AbstractActivityC11685ejx {
private static final byte[] $$y = {43, -66, 11, ISOFileInfo.LCS_BYTE};
private static final int $$z = CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int l = 0;
/* renamed from: o, reason: collision with root package name */
private static int f7833o = 1;
private static int[] m = {-1455410971, -1567456821, 1280473616, -1741476145, -2067711472, 60265031, 1173299045, 2088564269, 1466089805, 492377472, -2115553777, -31789982, -2073890072, -1459549440, -1128316641, -1572071356, 1067114054, -1061486618};
private static char[] k = {40089, 40232, 40239, 40231, 40229, 40212, 40236, 40252, 40228, 40251, 40251, 40228, 40231, 40216, 40179, 40219, 40250, 40226, 40195, 40193, 40236, 40230, 40250, 40231, 40225, 40227, 40034, 40152, 40154, 40152, 40132, 40140, 40128, 40132, 40152, 40158, 40118, 40116, 40157, 40133, 40155, 40156, 40147, 40154, 39954, 39993, 40001, 40006, 39998, 40001, 40001, 40001, 40002, 39998, 40006, 40042, 40040, 40047, 40000, 40001, 40000, 39998, 39999, 39993, 40007, 40005, 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, 39992, 40000, 39995, 39995, 39992, 39999, 40001, 40006, 40004, 40046, 40005, 39996, 39996, 40005, 40007, 40000, 40042, 40000, 39998, 39992, 39994, 39994, 39992, 39993, 39993, 39999, 40007, 40047, 40007, 40006, 40040, 40040, 40000, 39998, 39996, 39996, 39999, 40000, 40000, 40003, 40040, 40040, 40000, 39997, 40006, 40006, 40007, 40007, 39999, 39994, 40001, 40001, 40007, 40046, 40000, 39998, 39997, 40007, 40040, 40000, 39993, 39999, 40007, 40042, 40061, 40200, 40214, 40212, 40206, 40166, 40165, 40165, 40205, 40213, 40195, 40205, 40200, 40207, 40207, 40162, 40201, 40213, 40214, 40208, 40202, 40162, 40160, 40160, 40166, 40161, 40202, 40214, 40207, 40166, 40160, 40163, 40167, 40187, 40195, 40205};
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x002b). 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(int r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 71
byte[] r0 = com.scb.phone.view.activity.profilemanagement.promptpay.PromptPayTermsAndConditionsLandingActivity.$$y
int r6 = r6 * 4
int r1 = r6 + 1
int r8 = r8 * 4
int r8 = r8 + 4
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L2b
L14:
r3 = r2
L15:
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r6) goto L22
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L22:
int r3 = r3 + 1
r4 = r0[r8]
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L2b:
int r7 = r7 + r8
int r8 = r3 + 1
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.profilemanagement.promptpay.PromptPayTermsAndConditionsLandingActivity.aF(int, short, short, java.lang.Object[]):void");
}
public static void c(Context context) {
int i = 2 % 2;
context.startActivity(new Intent(context, (Class<?>) PromptPayTermsAndConditionsLandingActivity.class));
int i2 = l + 59;
f7833o = i2 % 128;
int i3 = i2 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0097, code lost:
if (r2 > 99999) goto L10;
*/
@Override // o.AbstractActivityC11685ejx, 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 r19) {
/*
Method dump skipped, instructions count: 950
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.profilemanagement.promptpay.PromptPayTermsAndConditionsLandingActivity.onCreate(android.os.Bundle):void");
}
public static Intent alb_(Context context) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) PromptPayTermsAndConditionsLandingActivity.class);
int i2 = l + 97;
f7833o = i2 % 128;
if (i2 % 2 != 0) {
return intent;
}
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
int i2 = f7833o + 39;
l = i2 % 128;
if (i2 % 2 == 0) {
return PromptPayTermsAndConditionsLandingFragment.g();
}
PromptPayTermsAndConditionsLandingFragment.g();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = l + 29;
f7833o = i2 % 128;
if (i2 % 2 == 0) {
getString(R.string.terms_conditions_scb_promptpay_landing_title);
throw null;
}
String string = getString(R.string.terms_conditions_scb_promptpay_landing_title);
int i3 = l + 45;
f7833o = i3 % 128;
if (i3 % 2 != 0) {
return string;
}
throw null;
}
@Override // o.AbstractActivityC11685ejx, 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;
int i2 = f7833o + 59;
l = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aE(new int[]{0, 26, CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256, 0}, true, new byte[]{1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{26, 18, 101, 0}, true, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = f7833o + 5;
l = i4 % 128;
if (i4 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 96 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
int i6 = l + 7;
f7833o = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.getMode(0), 5 - View.MeasureSpec.getSize(0), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 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(Drawable.resolveOpacity(0, 0) + 487, 4 - Process.getGidForName(""), (char) (Process.myPid() >> 22))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aD(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
char c;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = m;
int i3 = 1;
int i4 = 0;
if (iArr3 != null) {
int i5 = $10 + 115;
$11 = i5 % 128;
int i6 = i5 % 2;
int length = iArr3.length;
int[] iArr4 = new int[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[i3];
objArr2[0] = Integer.valueOf(iArr3[i7]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - KeyEvent.normalizeMetaState(0), 5 - TextUtils.getTrimmedLength(""), (char) (58134 - (KeyEvent.getMaxKeyCode() >> 16)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7++;
i3 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i8 = $10 + 19;
$11 = i8 % 128;
int i9 = i8 % 2;
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = m;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i10 = 0;
while (i10 < length3) {
Object[] objArr3 = new Object[1];
objArr3[i4] = Integer.valueOf(iArr6[i10]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
c = 55346;
} else {
iArr2 = iArr6;
obj2 = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 15, 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) ((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 58134))).getMethod("i", Integer.TYPE);
c = 55346;
xzZ.y.put(729798706, obj2);
}
iArr7[i10] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i10++;
iArr6 = iArr2;
i4 = 0;
}
iArr6 = iArr7;
}
int i11 = i4;
System.arraycopy(iArr6, i11, iArr5, i11, length2);
c4403bZM.b = i11;
while (c4403bZM.b < iArr.length) {
cArr[i11] = (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(iArr5);
int i12 = 0;
for (int i13 = 16; i12 < i13; i13 = 16) {
int i14 = $10 + 39;
$11 = i14 % 128;
if (i14 % 2 == 0) {
c4403bZM.e ^= iArr5[i12];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c(117 - ExpandableListView.getPackedPositionChild(0L), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) ExpandableListView.getPackedPositionType(0L));
byte b = (byte) 0;
Object[] objArr5 = new Object[1];
aF(b, (byte) (b | 33), b, objArr5);
obj3 = cls.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;
i12 += 39;
} else {
c4403bZM.e ^= iArr5[i12];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 118, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aF(b2, (byte) (b2 | 33), b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i12++;
}
}
int i15 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i15;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i16 = c4403bZM.e;
int i17 = 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(iArr5);
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[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 98, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))));
byte b3 = (byte) 0;
Object[] objArr9 = new Object[1];
aF(b3, (byte) (b3 | Ascii.US), b3, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
i11 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.AbstractActivityC11685ejx, 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();
Object obj = null;
if (baseContext == null) {
int i2 = l + 123;
f7833o = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aE(new int[]{0, 26, CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256, 0}, true, new byte[]{1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{26, 18, 101, 0}, true, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = l + 67;
f7833o = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = l + 123;
f7833o = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i8 = f7833o + 121;
l = i8 % 128;
try {
if (i8 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 491, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (TextUtils.lastIndexOf("", '0') + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getEdgeSlop() >> 16), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - (ViewConfiguration.getWindowTouchSlop() >> 8), 5 - Color.blue(0), (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 487, TextUtils.indexOf("", "", 0) + 5, (char) Color.argb(0, 0, 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aE(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
char[] cArr2;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr3 = k;
char c = '0';
if (cArr3 != null) {
int length = cArr3.length;
char[] cArr4 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr3[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr2 = cArr3;
} else {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", c, i3) + PassportService.DEFAULT_MAX_BLOCKSIZE, ExpandableListView.getPackedPositionChild(0L) + 6, (char) (41976 - Process.getGidForName("")));
byte b = (byte) i3;
byte b2 = b;
cArr2 = cArr3;
Object[] objArr3 = new Object[1];
aF(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr4[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
cArr3 = cArr2;
i3 = 0;
c = '0';
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
char[] cArr5 = new char[i5];
System.arraycopy(cArr3, i4, cArr5, 0, i5);
if (bArr != null) {
int i9 = $11 + 63;
$10 = i9 % 128;
int i10 = i9 % 2;
char[] cArr6 = new char[i5];
tvh.c = 0;
char c2 = 0;
while (tvh.c < i5) {
int i11 = $11 + 89;
$10 = i11 % 128;
if (i11 % 2 == 0 ? bArr[tvh.c] != 1 : bArr[tvh.c] != 0) {
int i12 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(1084521042);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(15 - (Process.myTid() >> 22), KeyEvent.normalizeMetaState(0) + 5, (char) (58133 - ((byte) KeyEvent.getModifierMetaStateMask())))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj2);
}
cArr6[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i13 = $11 + 55;
$10 = i13 % 128;
if (i13 % 2 != 0) {
int i14 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(502 - (ViewConfiguration.getEdgeSlop() >> 16), View.getDefaultSize(0, 0) + 5, (char) (TextUtils.lastIndexOf("", '0', 0) + 55))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr6[i14] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
int i15 = 48 / 0;
} else {
int i16 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c2)};
Object obj4 = xzZ.y.get(850398076);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 502, 5 - View.MeasureSpec.getMode(0), (char) (TextUtils.lastIndexOf("", '0', 0) + 55))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj4);
}
cArr6[i16] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
}
}
c2 = cArr6[tvh.c];
Object[] objArr7 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 403, 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) (21608 - View.getDefaultSize(0, 0)));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 2);
Object[] objArr8 = new Object[1];
aF(b3, b4, (byte) (b4 - 2), objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr7);
}
cArr5 = cArr6;
}
if (i7 > 0) {
char[] cArr7 = new char[i5];
System.arraycopy(cArr5, 0, cArr7, 0, i5);
int i17 = i5 - i7;
System.arraycopy(cArr7, 0, cArr5, i17, i7);
System.arraycopy(cArr7, i7, cArr5, 0, i17);
int i18 = $10 + 115;
$11 = i18 % 128;
i = 2;
int i19 = i18 % 2;
} else {
i = 2;
}
if (z) {
int i20 = $10 + 47;
$11 = i20 % 128;
if (i20 % i == 0) {
cArr = new char[i5];
tvh.c = 1;
} else {
cArr = new char[i5];
tvh.c = 0;
}
while (tvh.c < i5) {
cArr[tvh.c] = cArr5[(i5 - tvh.c) - 1];
tvh.c++;
}
cArr5 = cArr;
}
if (i6 > 0) {
int i21 = 0;
loop3: while (true) {
tvh.c = i21;
while (tvh.c < i5) {
int i22 = $11 + 43;
$10 = i22 % 128;
if (i22 % 2 != 0) {
cArr5[tvh.c] = (char) (cArr5[tvh.c] >> iArr[4]);
tvh.c >>>= 1;
}
}
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
i21 = tvh.c + 1;
}
}
objArr[0] = new String(cArr5);
}
@Override // o.AbstractActivityC11685ejx, 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) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{505969510, -1065755667, 1378756056, -527404866, -21960414, 125918085, -800868745, 1354991946, -1584342703, 1138191623}, 18 - (KeyEvent.getMaxKeyCode() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{1725996725, 934077000, -943215057, -1445175288}, 5 - (Process.myTid() >> 22), 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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i2 = l + 47;
f7833o = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.resolveSize(0, 0), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE(new int[]{44, 48, 0, 19}, true, new byte[]{0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD(new int[]{-682588077, 901753453, 289753277, -197565786, 247449738, -1668083216, -420364337, -1456572505, 1929141189, 1160766802, -386276724, -1571959480, 526090426, -1207721728, 185569612, 54912067, -378157498, -117897848, -195306073, -1030369703, -496021785, -247304054, 497620024, 841645692, -265491457, -676036661, -446533667, 497346282, -1611211298, -286279630, 1906703179, 579953377}, 63 - TextUtils.lastIndexOf("", '0', 0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new int[]{92, 64, 0, 46}, false, new byte[]{0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new int[]{-1141186817, 210143185, -1980152221, 380978339, -1566416402, 1991803877, 200303461, -1820247146, 1939804618, 292227194, 1705295212, -2137918407, 718992996, -500648771, -412837905, -172344294, 1469006338, 416744200, 928691339, -1278660102, -1306838614, 955546200, 10775443, 1594506639, 2042909329, -680669421, -1746733035, -1710574396, -1257178520, -206671496, 2039459284, 2093225519, -1418544417, 1904598995, 1246003222, 300641766, 2043525518, 1916026670}, 74 - KeyEvent.keyCodeFromString(""), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new int[]{1708651635, -1129831587, -1035026023, 1834904461}, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new int[]{CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, 36, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 3}, true, new byte[]{0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0}, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 487, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i4 = f7833o + 33;
l = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 5 % 4;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.AbstractActivityC11685ejx, 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 = f7833o + 3;
l = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = l + 69;
f7833o = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
}