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

667 lines
45 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.PointF;
import android.graphics.drawable.Drawable;
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.util.TypedValue;
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.google.common.base.Ascii;
import com.google.common.primitives.SignedBytes;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.investment.onboarding.FundAppFormActivity;
import com.scb.phone.view.activity.investment.scbs.open.SCBSFormActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.jmrtd.lds.CVCAFile;
/* renamed from: o.dVz, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC8792dVz extends FundAppFormActivity {
private static short[] w;
/* renamed from: o, reason: collision with root package name */
private boolean f8850o = false;
private static final byte[] $$y = {30, 79, -15, -75};
private static final int $$z = 253;
private static int $10 = 0;
private static int $11 = 1;
private static int y = 0;
private static int x = 1;
private static char l = 65078;
private static char k = 26519;
private static char m = 50528;
private static char r = 25948;
private static int s = -1364753148;
private static int p = 1406017087;
private static int q = -671215576;
private static byte[] t = {-16, 9, -6, 28, -15, -11, -14, -13, 15, 32, ISO7816.INS_ENVELOPE, 9, 6, -4, 15, -14, 29, -45, 49, -55, ISO7816.INS_INCREASE, ISO7816.INS_CREATE_FILE, Ascii.EM, 30, -52, 28, -31, -29, 41, -27, Ascii.US, Ascii.CAN, 28, -47, 55, ISO7816.INS_GET_DATA, ISO7816.INS_INCREASE, -50, 49, -52, 49, -60, 49, 29, -25, Ascii.SUB, -29, -51, 54, Ascii.EM, -51, 51, -50, 51, -27, -53, 29, -25, Ascii.US, ISO7816.INS_UNBLOCK_CHV, -51, ISO7816.INS_INCREASE, -31, Ascii.SUB, -16, 11, ISO7816.INS_LOAD_KEY_FILE, 10, -13, 58, -33, ISO7816.INS_MSE, -39, 9, 33, ISO7816.INS_LOAD_KEY_FILE, 37, ISO7816.INS_PUT_DATA, 32, -10, ISO7816.INS_LOAD_KEY_FILE, -15, 8, 11, 33, 11, ISO7816.INS_LOAD_KEY_FILE, 32, -12, -34, -9, 32, ISO7816.INS_LOAD_KEY_FILE, 10, -12, 11, -4, 3, -13, 59, -57, 14, -9, 11, 39, -33, 39, -59, -11, 9, 10, -15, 14, -11, -16, 8, -16, 9, ISO7816.INS_CHANGE_CHV, ISO7816.INS_LOAD_KEY_FILE, -15, 38, ISO7816.INS_LOAD_KEY_FILE, 37, -37, 32, 9, -122, 114, ISOFileInfo.CHANNEL_SECURITY, 113, -119, 65, PSSSigner.TRAILER_IMPLICIT, CVCAFile.CAR_TAG, ISOFileInfo.FCI_BYTE, 67, -109, 107, -110, 114, ISOFileInfo.SECURITY_ATTR_COMPACT, -72, 119, 67, -66, PSSSigner.TRAILER_IMPLICIT, -119, 65, -67, CVCAFile.CAR_TAG, 67, -70, 118, SignedBytes.MAX_POWER_OF_TWO, -120, 71, ISO7816.INS_READ_BINARY_STAMPED, SignedBytes.MAX_POWER_OF_TWO, 65, 70, 104, ISOFileInfo.ENV_TEMP_EF, -65, 108, 65, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
/* JADX WARN: Removed duplicated region for block: B:10:0x0021 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0019 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0021 -> 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(byte r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 4
byte[] r0 = o.AbstractActivityC8792dVz.$$y
int r8 = r8 * 3
int r1 = r8 + 1
int r6 = r6 + 66
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L13
r3 = r7
r6 = r8
r4 = r2
goto L2b
L13:
r3 = r2
L14:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r8) goto L21
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L21:
int r3 = r3 + 1
int r7 = r7 + 1
r4 = r0[r7]
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2b:
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8792dVz.aF(byte, int, short, java.lang.Object[]):void");
}
public AbstractActivityC8792dVz() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dVz.1
private AbstractActivityC8792dVz e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.e.N();
}
});
}
@Override // o.AbstractActivityC8731dUC
public final void N() {
InterfaceC8801dWc interfaceC8801dWc;
int i = 2 % 2;
int i2 = x + 109;
int i3 = i2 % 128;
y = i3;
int i4 = i2 % 2;
if (this.f8850o) {
return;
}
int i5 = i3 + 45;
x = i5 % 128;
if (i5 % 2 == 0) {
this.f8850o = false;
interfaceC8801dWc = (InterfaceC8801dWc) y_();
} else {
this.f8850o = true;
interfaceC8801dWc = (InterfaceC8801dWc) y_();
}
interfaceC8801dWc.c((SCBSFormActivity) this);
int i6 = x + 101;
y = i6 % 128;
int i7 = i6 % 2;
}
private static void aD(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) {
int i4 = $10 + 7;
$11 = i4 % 128;
if (i4 % 2 == 0) {
cArr3[1] = cArr[jtb.b];
cArr3[i3] = cArr[jtb.b / i3];
} else {
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
}
int i5 = $11 + 89;
$10 = i5 % 128;
int i6 = i5 % 2;
int i7 = 58224;
int i8 = i3;
while (i8 < 16) {
int i9 = $10 + 27;
$11 = i9 % 128;
int i10 = i9 % 2;
char c = cArr3[1];
char c2 = cArr3[i3];
char[] cArr4 = cArr3;
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i7) ^ ((c2 << 4) + ((char) (m ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(r)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(411 - TextUtils.indexOf((CharSequence) "", '0'), 5 - Color.green(0), (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1));
byte b = (byte) 0;
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
aF(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr4[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i7) ^ ((charValue << 4) + ((char) (l ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(k)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 413, ExpandableListView.getPackedPositionChild(0L) + 6, (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr5 = new Object[1];
aF(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();
i7 -= 40503;
i8++;
int i11 = $10 + 31;
$11 = i11 % 128;
int i12 = i11 % 2;
cArr3 = cArr4;
i3 = 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) {
Class cls3 = (Class) xzZ.c(98 - (ViewConfiguration.getEdgeSlop() >> 16), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) KeyEvent.getDeadChar(0, 0));
byte b5 = (byte) ($$z & 3);
byte b6 = (byte) (-b5);
Object[] objArr7 = new Object[1];
aF(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);
cArr3 = cArr5;
i3 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.investment.onboarding.FundAppFormActivity, o.AbstractActivityC8731dUC, 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 = x + 109;
y = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
Object[] objArr = new Object[1];
aD(new char[]{6126, 2274, 21133, 361, 1897, 35574, 58225, 13931, 16263, 1939, 43376, 55962, 3260, 3517, 58630, 20997, 8578, 8331}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{39397, 15385, 49134, 39876, 20779, 61598}, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 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];
aD(new char[]{6126, 2274, 21133, 361, 1897, 35574, 58225, 13931, 60352, 9465, 43681, 59927, 9393, 12939, 39678, 46611, 14442, 28785, 30671, 39369, 15797, 18921, 32866, 5483, 47058, 10992}, 'J' - AndroidCharacter.getMirror('0'), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), ExpandableListView.getPackedPositionGroup(0L) + 43410671, (-24) - (ViewConfiguration.getJumpTapTimeout() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.promptpay_qr_prompt_pay_is_required_detail).substring(20, 21).length() + 2077225509, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.gifting_baht).substring(0, 5).length() + 21), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = y + 115;
x = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 5 - Color.green(0), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.terms_conditions_scb_promptpay_landing_title).substring(6, 11).length() - 5), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) + 43410577, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 7, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.verify_identity_4).substring(0, 3).codePointAt(2) + 2077225428, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 4), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), 43410734 - MotionEvent.axisFromString(""), 23 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 2077225512 - Color.green(0), (byte) ((-31) - ExpandableListView.getPackedPositionGroup(0L)), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new char[]{50182, 59484, 18742, 52028, 26372, 48530, 64358, 9856, 48659, 5643, 46671, 57248, 15697, 9760, 62402, 33796, 53732, 30922, 65490, 4765, 29756, 40538, 6031, 29084, 12470, 54836, 56188, 35606, 63094, 3949, 39575, 14078, 5364, 51324, 26677, 40535, 8380, 63498, 25927, 20956, 48655, 39418, 24776, 60973, 57584, 58448, 47470, 6778, 32489, 28498, 12233, 3681, 59945, 9020, 64044, 2560, 31949, 36231, 55400, 19154, 60753, 2540, 19000, 7542}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.investment_discover_search_fund_hint_description).substring(49, 50).length() + 63, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new char[]{33898, 45048, 13257, 47436, 22256, 12898, 59154, 19337, 63722, 46015, 47894, 2505, 62298, 38195, 6732, 7709, 64698, 10820, 61934, 10007, 44131, 31903, 1649, 10548, 31357, 64232, 7789, 46348, 61606, 37875, 41614, 56409, 38978, 6540, 12336, 48129, 1379, 60053, 23210, 25699, 57432, 40300, 8639, 6116, 20883, 48783, 57432, 40300, 16522, 52636, 62298, 38195, 47825, 51403, 60352, 9465, 58122, 59230, 15022, 38426, 8466, 29645, 40319, 62414, 41277, 25634, 54883, 30742, 54077, 58946, 19718, 57117, 21664, 10508}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mf_switch_review_12).substring(9, 10).length() + 73, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.change_statement_not_verify_email_desc).substring(58, 59).codePointAt(0) - 32), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 43410764, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.etb_product_catalog_description_2).substring(44, 45).length() - 38, (ViewConfiguration.getTouchSlop() >> 8) + 2077225468, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 145), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), (ViewConfiguration.getWindowTouchSlop() >> 8) + 43410802, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 19, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.noti_bnpl_description).substring(0, 59).codePointAt(39) + 2077225480, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 122), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 487, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i5 = y + 119;
x = i5 % 128;
int i6 = i5 % 2;
}
@Override // com.scb.phone.view.activity.investment.onboarding.FundAppFormActivity, o.AbstractActivityC8731dUC, 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 = y + 115;
x = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new char[]{6126, 2274, 21133, 361, 1897, 35574, 58225, 13931, 60352, 9465, 43681, 59927, 9393, 12939, 39678, 46611, 14442, 28785, 30671, 39369, 15797, 18921, 32866, 5483, 47058, 10992}, ((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];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.single_form_personal_info_card_lifetime_placeholder).substring(10, 12).length() - 2), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.tap_to_retry).substring(11, 12).codePointAt(0) + 43410639, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.myqr_title).substring(2, 3).length() - 25, 2077225509 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.percentage_format).substring(0, 8).length() + 18), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = y + 13;
x = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = x + 77;
y = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i8 = y + 79;
x = i8 % 128;
try {
if (i8 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 491, TextUtils.indexOf("", "") + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 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(Color.alpha(0) + 487, 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) Color.alpha(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0'), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) ((-1) - Process.getGidForName("")))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(487 - (Process.myTid() >> 22), (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.investment.onboarding.FundAppFormActivity, o.AbstractActivityC8731dUC, 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 = y + 59;
x = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new char[]{6126, 2274, 21133, 361, 1897, 35574, 58225, 13931, 60352, 9465, 43681, 59927, 9393, 12939, 39678, 46611, 14442, 28785, 30671, 39369, 15797, 18921, 32866, 5483, 47058, 10992}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ccr_email_is_not_set_yet).substring(58, 59).codePointAt(0) - 6, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.your_new_pin).substring(8, 9).codePointAt(0) - 32), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 43410637, ExpandableListView.getPackedPositionGroup(0L) - 24, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 2077225497, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 85), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = x + 49;
y = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = y + 77;
x = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 492, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - Color.argb(0, 0, 0, 0), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) View.MeasureSpec.getMode(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aE(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
boolean z;
int i4;
int i5;
boolean z2;
int i6 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
int i7 = 1;
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(p)};
char c = 0;
Object obj = xzZ.y.get(-2092856797);
long j = 0;
if (obj == null) {
Class cls = (Class) xzZ.c(337 - TextUtils.indexOf("", "", 0, 0), 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b2 = (byte) (-1);
Object[] objArr3 = new Object[1];
aF((byte) ($$z & 46), b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
if (intValue == -1) {
int i8 = $10 + 53;
$11 = i8 % 128;
int i9 = i8 % 2;
z = true;
} else {
z = false;
}
float f = BitmapDescriptorFactory.HUE_RED;
int i10 = 4;
if (z) {
byte[] bArr = t;
if (bArr != null) {
int length = bArr.length;
byte[] bArr2 = new byte[length];
int i11 = 0;
while (i11 < length) {
Object[] objArr4 = new Object[i7];
objArr4[c] = Integer.valueOf(bArr[i11]);
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(61 - (AudioTrack.getMaxVolume() > f ? 1 : (AudioTrack.getMaxVolume() == f ? 0 : -1)), (SystemClock.elapsedRealtime() > j ? 1 : (SystemClock.elapsedRealtime() == j ? 0 : -1)) + i10, (char) ((AudioTrack.getMaxVolume() > f ? 1 : (AudioTrack.getMaxVolume() == f ? 0 : -1)) - 1));
byte b3 = (byte) (-1);
Object[] objArr5 = new Object[1];
aF((byte) 42, b3, (byte) (b3 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr2[i11] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i11++;
i7 = 1;
c = 0;
j = 0;
f = BitmapDescriptorFactory.HUE_RED;
i10 = 4;
}
bArr = bArr2;
}
if (bArr != null) {
byte[] bArr3 = t;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(s)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 337, TextUtils.getOffsetBefore("", 0) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte b4 = (byte) (-1);
Object[] objArr7 = new Object[1];
aF((byte) ($$z & 46), b4, (byte) (b4 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (p ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (w[i + ((int) (s ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (p ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
int i12 = ((i + intValue) - 2) + ((int) (s ^ (-7303220121662775787L)));
if (z) {
i4 = 1;
} else {
int i13 = $10 + 57;
$11 = i13 % 128;
int i14 = i13 % 2;
i4 = 0;
}
dfy.c = i12 + i4;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(q), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(749 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj4);
}
((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr4 = t;
if (bArr4 != null) {
int length2 = bArr4.length;
byte[] bArr5 = new byte[length2];
for (int i15 = 0; i15 < length2; i15++) {
bArr5[i15] = (byte) (bArr4[i15] ^ (-7303220121662775787L));
}
bArr4 = bArr5;
}
if (bArr4 != null) {
int i16 = $11;
int i17 = i16 + 121;
$10 = i17 % 128;
int i18 = i17 % 2;
int i19 = i16 + 87;
$10 = i19 % 128;
int i20 = i19 % 2;
i5 = 1;
z2 = true;
} else {
i5 = 1;
z2 = false;
}
dfy.d = i5;
while (dfy.d < intValue) {
int i21 = $11 + 43;
$10 = i21 % 128;
if (i21 % 2 != 0) {
throw null;
}
if (z2) {
byte[] bArr6 = t;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r5] ^ (-7303220121662775787L))) + s2)) ^ b));
int i22 = $11 + 27;
$10 = i22 % 128;
if (i22 % 2 != 0) {
int i23 = 3 % 4;
}
} else {
short[] sArr = w;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
}
objArr[0] = sb.toString();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
@Override // com.scb.phone.view.activity.investment.onboarding.FundAppFormActivity, o.AbstractActivityC8731dUC, 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;
int i2 = y + 89;
x = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new char[]{6126, 2274, 21133, 361, 1897, 35574, 58225, 13931, 16263, 1939, 43376, 55962, 3260, 3517, 58630, 20997, 8578, 8331}, 18 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{39397, 15385, 49134, 39876, 20779, 61598}, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 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) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 493, 5 - Color.blue(0), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE((short) Color.green(0), 43410688 - KeyEvent.normalizeMetaState(0), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 6, 2077225460 - Color.red(0), (byte) (9 - ExpandableListView.getPackedPositionType(0L)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE((short) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), View.combineMeasuredStates(0, 0) + 43410735, 21 - MotionEvent.axisFromString(""), TextUtils.indexOf("", "", 0) + 2077225512, (byte) (TextUtils.lastIndexOf("", '0') - 30), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new char[]{50182, 59484, 18742, 52028, 26372, 48530, 64358, 9856, 48659, 5643, 46671, 57248, 15697, 9760, 62402, 33796, 53732, 30922, 65490, 4765, 29756, 40538, 6031, 29084, 12470, 54836, 56188, 35606, 63094, 3949, 39575, 14078, 5364, 51324, 26677, 40535, 8380, 63498, 25927, 20956, 48655, 39418, 24776, 60973, 57584, 58448, 47470, 6778, 32489, 28498, 12233, 3681, 59945, 9020, 64044, 2560, 31949, 36231, 55400, 19154, 60753, 2540, 19000, 7542}, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new char[]{33898, 45048, 13257, 47436, 22256, 12898, 59154, 19337, 63722, 46015, 47894, 2505, 62298, 38195, 6732, 7709, 64698, 10820, 61934, 10007, 44131, 31903, 1649, 10548, 31357, 64232, 7789, 46348, 61606, 37875, 41614, 56409, 38978, 6540, 12336, 48129, 1379, 60053, 23210, 25699, 57432, 40300, 8639, 6116, 20883, 48783, 57432, 40300, 16522, 52636, 62298, 38195, 47825, 51403, 60352, 9465, 58122, 59230, 15022, 38426, 8466, 29645, 40319, 62414, 41277, 25634, 54883, 30742, 54077, 58946, 19718, 57117, 21664, 10508}, 74 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE((short) ExpandableListView.getPackedPositionGroup(0L), 43410798 - View.MeasureSpec.getSize(0), Color.rgb(0, 0, 0) + 16777179, 2077225469 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (byte) ((-110) - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE((short) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1), 43410802 - (Process.myTid() >> 22), ExpandableListView.getPackedPositionGroup(0L) - 6, 2077225512 - (ViewConfiguration.getEdgeSlop() >> 16), (byte) (TextUtils.indexOf("", "", 0, 0) - 88), 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(487 - TextUtils.getTrimmedLength(""), TextUtils.getTrimmedLength("") + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 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 = x + 109;
y = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // com.scb.phone.view.activity.investment.onboarding.FundAppFormActivity, o.AbstractActivityC8731dUC, 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 = x + 123;
y = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 66 / 0;
}
int i5 = x + 49;
y = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
}