what-the-bank/sources/com/scb/phone/view/activity/debitcard/DebitCardSaleSheetActivity....

662 lines
34 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.debitcard;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.debitcard.DebitCardSaleSheetFragment;
import java.lang.reflect.Method;
import o.C14957gcv;
import o.C4403bZM;
import o.TVH;
import o.xzZ;
/* loaded from: classes4.dex */
public final class DebitCardSaleSheetActivity extends Hilt_DebitCardSaleSheetActivity {
public static final RVV b;
private static char[] l;
private static int[] m;
private static int r;
private static final byte[] $$p = {115, -56, 28, 10};
private static final int $$q = 17;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f6788o = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x002a */
/* JADX WARN: Removed duplicated region for block: B:7:0x0022 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002a -> 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 aC(int r7, byte r8, int r9, java.lang.Object[] r10) {
/*
int r9 = r9 * 2
int r9 = 3 - r9
int r8 = r8 * 2
int r8 = r8 + 1
int r7 = 104 - r7
byte[] r0 = com.scb.phone.view.activity.debitcard.DebitCardSaleSheetActivity.$$p
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r7 = r9
r4 = r2
goto L2c
L15:
r3 = r2
r6 = r9
r9 = r7
r7 = r6
L19:
int r4 = r3 + 1
byte r5 = (byte) r9
int r7 = r7 + 1
r1[r3] = r5
if (r4 != r8) goto L2a
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L2a:
r3 = r0[r7]
L2c:
int r9 = r9 + r3
r3 = r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.debitcard.DebitCardSaleSheetActivity.aC(int, byte, int, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
DebitCardSaleSheetFragment.RVV rvv = DebitCardSaleSheetFragment.c;
String stringExtra = getIntent().getStringExtra("pdf_path");
Bundle bundle = new Bundle();
bundle.putString("PDF_PATH", stringExtra);
DebitCardSaleSheetFragment debitCardSaleSheetFragment = new DebitCardSaleSheetFragment();
debitCardSaleSheetFragment.setArguments(bundle);
DebitCardSaleSheetFragment debitCardSaleSheetFragment2 = debitCardSaleSheetFragment;
int i2 = f6788o + 25;
r = i2 % 128;
int i3 = i2 % 2;
return debitCardSaleSheetFragment2;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = r + 121;
f6788o = i2 % 128;
int i3 = i2 % 2;
String string = getResources().getString(R.string.debit_card_request_product_sales_sheet);
C14957gcv.c((Object) string, "");
int i4 = r + 5;
f6788o = i4 % 128;
int i5 = i4 % 2;
return string;
}
/* loaded from: classes4.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x005e, code lost:
if (r5 > 99999) goto L11;
*/
@Override // com.scb.phone.view.activity.debitcard.Hilt_DebitCardSaleSheetActivity, 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 final void onCreate(android.os.Bundle r19) {
/*
Method dump skipped, instructions count: 946
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.debitcard.DebitCardSaleSheetActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.debitcard.Hilt_DebitCardSaleSheetActivity, 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 final void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new int[]{1815318498, 1297686783, 1146865044, 834339544, -1654894316, 58152669, 895850636, -2056658789, -1640342640, 329461736, 845459073, 227901036, 724977575, 1083385420}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{-916284432, -146421569, 1079201606, -479054556, -1115046267, 1107439402, -612916258, 726413451, -2023654247, -1567901643}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 80, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = f6788o + 113;
r = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 492, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (MotionEvent.axisFromString("") + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) Color.alpha(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 i4 = f6788o + 11;
r = i4 % 128;
int i5 = i4 % 2;
}
private static void aB(int[] iArr, int i, Object[] objArr) {
int length;
int[] iArr2;
int i2;
int i3;
int i4 = 2;
int i5 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = m;
float f = BitmapDescriptorFactory.HUE_RED;
int i6 = 729798706;
int i7 = 1;
int i8 = 0;
if (iArr3 != null) {
int length2 = iArr3.length;
int[] iArr4 = new int[length2];
int i9 = 0;
while (i9 < length2) {
int i10 = $10 + 83;
$11 = i10 % 128;
int i11 = i10 % i4;
try {
Object[] objArr2 = {Integer.valueOf(iArr3[i9])};
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(14 - TextUtils.lastIndexOf("", '0', 0), (TypedValue.complexToFloat(0) > f ? 1 : (TypedValue.complexToFloat(0) == f ? 0 : -1)) + 5, (char) (58134 - ((Process.getThreadPriority(0) + 20) >> 6)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i9] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i9++;
i4 = 2;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length3 = iArr3.length;
int[] iArr5 = new int[length3];
int[] iArr6 = m;
if (iArr6 != null) {
int i12 = $11 + 111;
$10 = i12 % 128;
if (i12 % 2 != 0) {
length = iArr6.length;
iArr2 = new int[length];
i2 = 1;
} else {
length = iArr6.length;
iArr2 = new int[length];
i2 = 0;
}
while (i2 < length) {
int i13 = $10 + 11;
$11 = i13 % 128;
int i14 = i13 % 2;
Object[] objArr3 = new Object[i7];
objArr3[i8] = Integer.valueOf(iArr6[i2]);
Object obj2 = xzZ.y.get(Integer.valueOf(i6));
if (obj2 != null) {
i3 = i6;
} else {
obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 15, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (58134 - (ViewConfiguration.getScrollDefaultDelay() >> 16)))).getMethod("i", Integer.TYPE);
i3 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr2[i2] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i2++;
i6 = i3;
i7 = 1;
i8 = 0;
}
iArr6 = iArr2;
}
int i15 = i8;
System.arraycopy(iArr6, i15, iArr5, i15, length3);
c4403bZM.b = i15;
while (c4403bZM.b < iArr.length) {
cArr[i15] = (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 i16 = 0;
for (int i17 = 16; i16 < i17; i17 = 16) {
int i18 = $10 + 79;
$11 = i18 % 128;
if (i18 % 2 == 0) {
c4403bZM.e ^= iArr5[i16];
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(118 - (ViewConfiguration.getLongPressTimeout() >> 16), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr5 = new Object[1];
aC(b2, b3, b3, 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;
i16 += 4;
} else {
c4403bZM.e ^= iArr5[i16];
try {
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(118 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) View.combineMeasuredStates(0, 0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
aC(b4, b5, b5, 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;
i16++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
}
int i19 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i19;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i20 = c4403bZM.e;
int i21 = 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.getMaximumFlingVelocity() >> 16) + 98, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b6 = (byte) 2;
byte b7 = (byte) (b6 - 2);
Object[] objArr9 = new Object[1];
aC(b6, b7, b7, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
i15 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object e(Object[] objArr) {
DebitCardSaleSheetActivity debitCardSaleSheetActivity = (DebitCardSaleSheetActivity) objArr[0];
int i = 2 % 2;
int i2 = r + 91;
f6788o = i2 % 128;
int i3 = i2 % 2;
Context baseContext = debitCardSaleSheetActivity.getBaseContext();
if (baseContext == null) {
int i4 = r + 105;
f6788o = i4 % 128;
int i5 = i4 % 2;
Object[] objArr2 = new Object[1];
aB(new int[]{1815318498, 1297686783, 1146865044, 834339544, -1654894316, 58152669, 895850636, -2056658789, -1640342640, 329461736, 845459073, 227901036, 724977575, 1083385420}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aB(new int[]{-916284432, -146421569, 1079201606, -479054556, -1115046267, 1107439402, -612916258, 726413451, -2023654247, -1567901643}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 28, objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null);
int i6 = r + 13;
f6788o = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.alpha(0) + 492, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 487, 5 - KeyEvent.keyCodeFromString(""), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onPause();
int i8 = f6788o + 53;
r = i8 % 128;
if (i8 % 2 != 0) {
return null;
}
throw null;
}
private static void ay(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
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[] cArr = l;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.blue(i3) + 223, (ExpandableListView.getPackedPositionForGroup(i3) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(i3) == 0L ? 0 : -1)) + 5, (char) ((ViewConfiguration.getTapTimeout() >> 16) + 41977));
byte b2 = (byte) i3;
Object[] objArr3 = new Object[1];
aC((byte) 33, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i5];
System.arraycopy(cArr, i4, cArr3, 0, i5);
if (bArr != null) {
int i9 = $10 + 85;
$11 = i9 % 128;
int i10 = i9 % 2;
char[] cArr4 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i11 = $11 + 119;
$10 = i11 % 128;
int i12 = i11 % 2;
int i13 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), TextUtils.getOffsetBefore("", 0) + 5, (char) ((ViewConfiguration.getScrollBarSize() >> 8) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i13] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
int i14 = $10 + 93;
$11 = i14 % 128;
int i15 = i14 % 2;
} else {
int i16 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 15, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (TextUtils.getTrimmedLength("") + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i16] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 402, 4 - Process.getGidForName(""), (char) (21608 - (Process.myPid() >> 22)));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) ($$q | 14), b3, b3, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
int i17 = $11 + 119;
$10 = i17 % 128;
if (i17 % 2 != 0) {
int i18 = 3 / 2;
}
}
cArr3 = cArr4;
}
if (i7 > 0) {
char[] cArr5 = new char[i5];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i5);
int i19 = i5 - i7;
System.arraycopy(cArr5, 0, cArr3, i19, i7);
System.arraycopy(cArr5, i7, cArr3, 0, i19);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i5];
tvh.c = i;
while (tvh.c < i5) {
cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1];
tvh.c++;
int i20 = $11 + 27;
$10 = i20 % 128;
int i21 = i20 % 2;
}
cArr3 = cArr6;
}
if (i6 > 0) {
int i22 = $11 + 73;
$10 = i22 % 128;
int i23 = i22 % 2;
int i24 = 0;
while (true) {
tvh.c = i24;
if (tvh.c >= i5) {
break;
}
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i24 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@Override // com.scb.phone.view.activity.debitcard.Hilt_DebitCardSaleSheetActivity, 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 final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ay(new int[]{0, 18, 6, 16}, false, new byte[]{0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{18, 5, 0, 0}, false, new byte[]{1, 0, 0, 0, 1}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = f6788o + 91;
r = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 493, 5 - KeyEvent.getDeadChar(0, 0), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{23, 48, 13, 0}, true, new byte[]{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, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new int[]{71, 64, 0, 34}, false, new byte[]{0, 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, 0, 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}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new int[]{-2032952706, 1118671166, -1042832198, -377885754, -497522616, -184541325, -1731450693, 1418742371, -2102426529, 2045305193, 1757693792, 1396403743, -1286243675, -229713177, -2088212536, 120372629, 2140119322, -1709780759, 1466126534, -974307538, -993215347, -1486043913, 2130523868, 1373257653, 518624782, -1618366668, 498131437, -1220449193, -1453481148, -1080453601, 1908016788, -1839137029}, 64 - (KeyEvent.getMaxKeyCode() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{135, 74, 87, 35}, false, new byte[]{0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{-1225427366, -1072703539, -902884373, -1531439324}, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{-1026189078, -216647511, 341354402, 235177224, 842477808, 886348942, 511547558, -284880440, -1335037670, -1899750327, -1488880761, 830152684, -2021185140, 177406751, -251361141, -1295690548, -1252227434, 1465123963}, Color.alpha(0) + 36, 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(486 - ImageFormat.getBitsPerPixel(0), 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i4 = r + 51;
f6788o = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i6 = f6788o + 21;
r = i6 % 128;
int i7 = i6 % 2;
}
static void g() {
l = new char[]{39998, 40058, 40061, 40057, 40039, 40004, 40031, 40060, 40029, 40014, 40044, 40061, 40036, 40033, 40057, 40050, 40059, 40038, 39997, 40056, 40044, 40020, 40045, 39979, 40018, 40016, 40017, 40018, 40015, 40008, 40011, 40028, 40036, 40059, 40057, 40019, 40010, 40008, 40011, 39989, 40028, 40016, 40016, 40018, 40018, 40018, 40016, 40023, 40017, 40028, 40011, 40009, 40009, 39988, 40028, 40017, 40009, 40028, 40028, 40028, 40029, 40009, 40017, 40037, 40059, 40058, 40019, 40028, 40019, 40009, 40010, 39955, 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, 40046, 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, 40045, 40137, 40139, 40137, 40137, 40130, 40129, 40137, 40139, 40137, 40107, 40084, 40139, 40142, 40110, 40084, 40116, 40136, 40104, 40104, 40137, 40138, 40118, 40136, 40129, 40099, 40098, 40096, 40076, 40106, 40143, 40143, 40139, 40131, 40129, 40143, 40142, 40128, 40130, 40131, 40102, 40064, 40077, 40099, 40142, 40119, 40117, 40116, 40139, 40142, 40143, 40139, 40137, 40138, 40118, 40119, 40118, 40117, 40115, 40117, 40136, 40104, 40099, 40142, 40143, 40137, 40113, 40138, 40137, 40114, 40138, 40129, 40099, 40106};
m = new int[]{-703894584, -652782079, 2139589450, 1592956932, -305607040, 1643906137, 1297046672, 383359609, 1207642132, -1280304699, 1683890624, -1261426407, 1277424868, -1161815942, 1363991773, 1255477618, 989734754, -85598051};
}
@Override // com.scb.phone.view.activity.debitcard.Hilt_DebitCardSaleSheetActivity, 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 final void onPause() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1074869657;
e(new Object[]{this});
}
@Override // com.scb.phone.view.activity.debitcard.Hilt_DebitCardSaleSheetActivity, 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 final void onStart() {
int i = 2 % 2;
int i2 = r + 45;
f6788o = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = r + 93;
f6788o = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 83 / 0;
}
}
static {
r = 1;
g();
b = new RVV((byte) 0);
int i = f6788o + 77;
r = i % 128;
if (i % 2 == 0) {
throw null;
}
}
}