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

640 lines
41 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.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity;
import com.scb.phone.view.activity.ccrredemption.confirm.ConfirmRedemptionActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
/* renamed from: o.dwT, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC10103dwT<T> extends SaveSlipBaseActivity<T> {
private boolean b = false;
private static final byte[] $$H = {ISO7816.INS_DECREASE_STAMPED, 125, -39, -65};
private static final int $$I = 215;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int v = 1;
/* renamed from: o, reason: collision with root package name */
private static char f8917o = 12565;
private static char k = 27082;
private static char l = 12348;
private static char m = 26737;
private static char[] s = {15960, 15966, 15963, 15977, 15962, 15978, 15981, 15976, 15952, 15961, 15967, 15965, 15964, 15979, 15980, 15911, 15908};
private static int r = 1934310935;
private static boolean q = true;
private static boolean p = true;
/* 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:0x002a). 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 aN(int r7, byte r8, byte r9, java.lang.Object[] r10) {
/*
byte[] r0 = o.AbstractActivityC10103dwT.$$H
int r7 = r7 + 65
int r8 = r8 * 3
int r8 = 1 - r8
int r9 = r9 + 4
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L12
r3 = r9
r4 = r2
goto L2a
L12:
r3 = r2
L13:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
int r9 = r9 + 1
if (r4 != r8) goto L24
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L24:
r3 = r0[r9]
r6 = r9
r9 = r7
r7 = r3
r3 = r6
L2a:
int r7 = -r7
int r7 = r7 + r9
r9 = r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10103dwT.aN(int, byte, byte, java.lang.Object[]):void");
}
public AbstractActivityC10103dwT() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dwT.2
private AbstractActivityC10103dwT a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.a.g();
}
});
}
@Override // o.AbstractActivityC9738dpZ
public final void g() {
InterfaceC10100dwQ interfaceC10100dwQ;
int i = 2 % 2;
int i2 = t;
int i3 = i2 + 93;
v = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 79 / 0;
if (this.b) {
return;
}
} else if (this.b) {
return;
}
int i5 = i2 + 69;
v = i5 % 128;
if (i5 % 2 == 0) {
this.b = false;
interfaceC10100dwQ = (InterfaceC10100dwQ) y_();
} else {
this.b = true;
interfaceC10100dwQ = (InterfaceC10100dwQ) y_();
}
interfaceC10100dwQ.b((ConfirmRedemptionActivity) this);
}
@Override // com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, 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];
aK(new char[]{37006, 4839, 55282, 10115, 50596, 2974, 18309, 42483, 10864, 52245, 37627, 7262, 12651, 45736, 37042, 892, 31351, 20351}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 92, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aK(new char[]{17979, 16071, 21050, 36374, 731, 31835}, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 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) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aK(new char[]{37006, 4839, 55282, 10115, 50596, 2974, 18309, 42483, 35221, 4021, 29728, 62022, 8092, 31387, 1768, 15569, 62962, 9467, 2808, 39592, 1070, 51591, 23640, 53689, 3040, 25213}, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 26, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aK(new char[]{47212, 871, 13085, 32712, 19538, 59145, 39204, 28519, 5161, 60777, 6453, 40179, 12087, 50896, 1768, 15569, 39038, 26275}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_decline_ncb_consent_card_type_title).substring(0, 16).length() + 2, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = t + 25;
v = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getJumpTapTimeout() >> 16), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) KeyEvent.getDeadChar(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aL(null, null, View.MeasureSpec.getMode(0) + 127, new byte[]{ISOFileInfo.FILE_IDENTIFIER, -113, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.ENV_TEMP_EF, -119, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.LCS_BYTE, -124, -124, -113, ISOFileInfo.FCI_EXT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.DATA_BYTES2, ISOFileInfo.DATA_BYTES2, ISOFileInfo.CHANNEL_SECURITY, -119, -122, ISOFileInfo.ENV_TEMP_EF, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.FCI_EXT, -119, -120, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.PROP_INFO, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.PROP_INFO, -120, ISOFileInfo.LCS_BYTE, -119, -124, -120, ISOFileInfo.FCI_EXT, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aL(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_bo_downtime_disbursement_downtime_desc).substring(52, 53).length() + 126, new byte[]{-113, -120, -124, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.SECURITY_ATTR_EXP, -124, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, -126, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.CHANNEL_SECURITY, -124, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, -120, -124, ISOFileInfo.SECURITY_ATTR_COMPACT, -124, -124, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, -120, ISOFileInfo.ENV_TEMP_EF, -126, -126, ISOFileInfo.SECURITY_ATTR_EXP, -112, -119, ISOFileInfo.LCS_BYTE, -122, -112, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.PROP_INFO, ISOFileInfo.FILE_IDENTIFIER, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.LCS_BYTE, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, -126, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, -113, -119, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.SECURITY_ATTR_COMPACT, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, -124, -113}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aK(new char[]{45189, 55147, 63754, 12467, 40066, 62155, 49852, 25410, 51784, 25732, 53597, 922, 54923, 35736, 50144, 52930, 62106, 63877, 4543, 47213, 15998, 35439, 36719, 57821, 29780, 660, 1531, 31135, 61175, 29690, 16848, 56810, 18051, 20979, 20925, 51939, 22248, 6129, 34483, 32620, 1473, 52640, 33631, 3347, 35546, 43466, 11804, 475, 23503, 33530, 23420, 37290, 9154, 43143, 20078, 7170, 51188, 13674, 3696, 36325, 26010, 1064, 22118, 46859}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_scbone_occupation_display_year).substring(0, 3).length() + 61, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aK(new char[]{60275, 46222, 34121, 63644, 41905, 61328, 36780, 21920, 63325, 37737, 11126, 28671, 13335, 26971, 43111, 29174, 20840, 31014, 40181, 31582, 54901, 44033, 8338, 19697, 59264, 1226, 18752, 56706, 52987, 21156, 15184, 49332, 65229, 3513, 62980, 491, 33077, 24582, 28626, 48352, 19501, 19057, 27372, 1359, 42260, 44015, 19501, 19057, 40712, 51150, 13335, 26971, 19338, 3181, 35221, 4021, 9031, 28863, 14205, 44929, 1446, 47192, 41911, 52777, 63476, 7568, 15770, 1083, 43879, 45637, 19538, 59145, 29923, 43235}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 40, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aK(new char[]{55493, 45313, 4611, 63355, 12964, 39556}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.card_x_estimated_loan).substring(0, 23).length() - 18, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aL(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 114, new byte[]{-113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.ENV_TEMP_EF, -122, -113, -126, -120, ISOFileInfo.LCS_BYTE, -122, ISOFileInfo.LCS_BYTE, -111, -122, -113, -124, -120, -111, ISOFileInfo.DATA_BYTES2, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, ISOFileInfo.FILE_IDENTIFIER, -111, -124, -113, -112, ISOFileInfo.SECURITY_ATTR_COMPACT, -111, -112, ISOFileInfo.FILE_IDENTIFIER, -119, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.LCS_BYTE, -120, -113}, 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(View.MeasureSpec.getSize(0) + 487, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).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);
int i4 = t + 111;
v = i4 % 128;
int i5 = i4 % 2;
}
private static void aK(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
cArr3[i3] = cArr[jtb.b];
int i4 = 1;
cArr3[1] = cArr[jtb.b + 1];
int i5 = 58224;
int i6 = i3;
while (i6 < 16) {
int i7 = $11 + 59;
$10 = i7 % 128;
int i8 = i7 % 2;
char c = cArr3[i4];
char c2 = cArr3[i3];
char[] cArr4 = cArr3;
int i9 = (c2 + i5) ^ ((c2 << 4) + ((char) (l ^ 41718355337583039L)));
int i10 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(m);
objArr2[2] = Integer.valueOf(i10);
objArr2[i4] = Integer.valueOf(i9);
objArr2[0] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(413 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))));
byte b = (byte) ($$I & i4);
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[i4];
aN(b, b2, (byte) (b2 - 1), objArr3);
String str = (String) objArr3[0];
Class<?>[] clsArr = new Class[4];
clsArr[0] = Integer.TYPE;
clsArr[i4] = 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();
cArr4[i4] = charValue;
int i11 = i6;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i5) ^ ((charValue << 4) + ((char) (f8917o ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(k)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 413, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (KeyEvent.getMaxKeyCode() >> 16));
byte b3 = (byte) ($$I & 1);
byte b4 = (byte) (b3 - 1);
Object[] objArr5 = new Object[1];
aN(b3, b4, (byte) (b4 - 1), 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();
i5 -= 40503;
i6 = i11 + 1;
cArr3 = cArr4;
i3 = 0;
i4 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 98, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) KeyEvent.keyCodeFromString(""));
byte b5 = (byte) ($$I & 10);
byte b6 = (byte) (b5 - 2);
Object[] objArr7 = new Object[1];
aN(b5, b6, (byte) (b6 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i12 = $10 + 115;
$11 = i12 % 128;
int i13 = i12 % 2;
cArr3 = cArr5;
i3 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, 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 = t + 103;
v = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = v + 123;
t = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
aK(new char[]{37006, 4839, 55282, 10115, 50596, 2974, 18309, 42483, 35221, 4021, 29728, 62022, 8092, 31387, 1768, 15569, 62962, 9467, 2808, 39592, 1070, 51591, 23640, 53689, 3040, 25213}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.deejung_installment).substring(30, 31).codePointAt(0) - 6, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aK(new char[]{47212, 871, 13085, 32712, 19538, 59145, 39204, 28519, 5161, 60777, 6453, 40179, 12087, 50896, 1768, 15569, 39038, 26275}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.banking_deposits_generate_qr_title).substring(8, 9).codePointAt(0) - 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i5 = t + 119;
v = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 487, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aL(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2;
char[] cArr2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = s;
int i4 = 0;
if (cArr3 != null) {
int i5 = $11 + 35;
$10 = i5 % 128;
int i6 = i5 % 2;
int length = cArr3.length;
char[] cArr4 = new char[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr3[i7]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 336, 5 - TextUtils.indexOf("", ""), (char) ((-1) - Process.getGidForName("")));
byte b = (byte) i4;
byte b2 = b;
Object[] objArr3 = new Object[1];
aN(b, b2, (byte) (b2 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr4[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
Object[] objArr4 = {Integer.valueOf(r)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(283 - KeyEvent.getDeadChar(0, 0), 5 - Color.blue(0), (char) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 39813));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aN((byte) 57, b3, (byte) (b3 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (p) {
c3614bBe.c = bArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 40, View.combineMeasuredStates(0, 0) + 5, (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr5);
return;
}
if (q) {
int i8 = $11 + 33;
$10 = i8 % 128;
if (i8 % 2 != 0) {
c3614bBe.c = cArr.length;
cArr2 = new char[c3614bBe.c];
i2 = 0;
} else {
i2 = 0;
c3614bBe.c = cArr.length;
cArr2 = new char[c3614bBe.c];
}
c3614bBe.a = i2;
while (c3614bBe.a < c3614bBe.c) {
int i9 = $11 + 69;
$10 = i9 % 128;
int i10 = i9 % 2;
cArr2[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
try {
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 40, Color.blue(0) + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2);
return;
}
int i11 = 0;
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i11;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
} else {
cArr6[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i11 = c3614bBe.a + 1;
}
}
}
@Override // com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, 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;
int i2 = v + 45;
t = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aK(new char[]{37006, 4839, 55282, 10115, 50596, 2974, 18309, 42483, 35221, 4021, 29728, 62022, 8092, 31387, 1768, 15569, 62962, 9467, 2808, 39592, 1070, 51591, 23640, 53689, 3040, 25213}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_p2p_introduction_title_cardx).substring(0, 9).codePointAt(2) - 79, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aK(new char[]{47212, 871, 13085, 32712, 19538, 59145, 39204, 28519, 5161, 60777, 6453, 40179, 12087, 50896, 1768, 15569, 39038, 26275}, 18 - (ViewConfiguration.getLongPressTimeout() >> 16), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i3 = t + 59;
v = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
int i5 = v + 97;
t = i5 % 128;
try {
if (i5 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 492, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) TextUtils.getCapsMode("", 0, 0))).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((ViewConfiguration.getEdgeSlop() >> 16) + 487, TextUtils.indexOf("", "") + 5, (char) View.resolveSizeAndState(0, 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 492, View.MeasureSpec.getSize(0) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - (KeyEvent.getMaxKeyCode() >> 16), 4 - MotionEvent.axisFromString(""), (char) View.combineMeasuredStates(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aK(new char[]{37006, 4839, 55282, 10115, 50596, 2974, 18309, 42483, 10864, 52245, 37627, 7262, 12651, 45736, 37042, 892, 31351, 20351}, 17 - TextUtils.lastIndexOf("", '0', 0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aK(new char[]{17979, 16071, 21050, 36374, 731, 31835}, 4 - TextUtils.lastIndexOf("", '0', 0, 0), objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = t + 7;
v = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i4 = v + 9;
t = i4 % 128;
int i5 = i4 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - TextUtils.getOffsetBefore("", 0), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aL(null, null, 126 - TextUtils.lastIndexOf("", '0'), new byte[]{ISOFileInfo.FILE_IDENTIFIER, -113, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.ENV_TEMP_EF, -119, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.LCS_BYTE, -124, -124, -113, ISOFileInfo.FCI_EXT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.DATA_BYTES2, ISOFileInfo.DATA_BYTES2, ISOFileInfo.CHANNEL_SECURITY, -119, -122, ISOFileInfo.ENV_TEMP_EF, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.FCI_EXT, -119, -120, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.PROP_INFO, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.PROP_INFO, -120, ISOFileInfo.LCS_BYTE, -119, -124, -120, ISOFileInfo.FCI_EXT, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aL(null, null, 128 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new byte[]{-113, -120, -124, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.SECURITY_ATTR_EXP, -124, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, -126, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.CHANNEL_SECURITY, -124, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, -120, -124, ISOFileInfo.SECURITY_ATTR_COMPACT, -124, -124, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, -120, ISOFileInfo.ENV_TEMP_EF, -126, -126, ISOFileInfo.SECURITY_ATTR_EXP, -112, -119, ISOFileInfo.LCS_BYTE, -122, -112, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.PROP_INFO, ISOFileInfo.FILE_IDENTIFIER, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.LCS_BYTE, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, -126, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, -113, -119, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.SECURITY_ATTR_COMPACT, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, -124, -113}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aK(new char[]{45189, 55147, 63754, 12467, 40066, 62155, 49852, 25410, 51784, 25732, 53597, 922, 54923, 35736, 50144, 52930, 62106, 63877, 4543, 47213, 15998, 35439, 36719, 57821, 29780, 660, 1531, 31135, 61175, 29690, 16848, 56810, 18051, 20979, 20925, 51939, 22248, 6129, 34483, 32620, 1473, 52640, 33631, 3347, 35546, 43466, 11804, 475, 23503, 33530, 23420, 37290, 9154, 43143, 20078, 7170, 51188, 13674, 3696, 36325, 26010, 1064, 22118, 46859}, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aK(new char[]{60275, 46222, 34121, 63644, 41905, 61328, 36780, 21920, 63325, 37737, 11126, 28671, 13335, 26971, 43111, 29174, 20840, 31014, 40181, 31582, 54901, 44033, 8338, 19697, 59264, 1226, 18752, 56706, 52987, 21156, 15184, 49332, 65229, 3513, 62980, 491, 33077, 24582, 28626, 48352, 19501, 19057, 27372, 1359, 42260, 44015, 19501, 19057, 40712, 51150, 13335, 26971, 19338, 3181, 35221, 4021, 9031, 28863, 14205, 44929, 1446, 47192, 41911, 52777, 63476, 7568, 15770, 1083, 43879, 45637, 19538, 59145, 29923, 43235}, View.MeasureSpec.getSize(0) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aK(new char[]{55493, 45313, 4611, 63355, 12964, 39556}, TextUtils.lastIndexOf("", '0', 0, 0) + 6, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aL(null, null, 127 - (ViewConfiguration.getEdgeSlop() >> 16), new byte[]{-113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.ENV_TEMP_EF, -122, -113, -126, -120, ISOFileInfo.LCS_BYTE, -122, ISOFileInfo.LCS_BYTE, -111, -122, -113, -124, -120, -111, ISOFileInfo.DATA_BYTES2, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, ISOFileInfo.FILE_IDENTIFIER, -111, -124, -113, -112, ISOFileInfo.SECURITY_ATTR_COMPACT, -111, -112, ISOFileInfo.FILE_IDENTIFIER, -119, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.LCS_BYTE, -120, -113}, 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(487 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), View.combineMeasuredStates(0, 0) + 5, (char) View.combineMeasuredStates(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 i6 = t + 33;
v = i6 % 128;
if (i6 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, 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 = t + 123;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = t + 25;
v = i4 % 128;
int i5 = i4 % 2;
}
}