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

601 lines
39 KiB
Java
Raw Permalink 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.PointF;
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.util.TypedValue;
import android.view.Gravity;
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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.prelogin.quicktopup.BaseQuickTopUpReviewActivity;
import com.scb.phone.view.activity.prelogin.quicktopup.SetupQuickTopUpReviewActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import org.jnbis.internal.NistHelper;
/* renamed from: o.ehr, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11573ehr extends BaseQuickTopUpReviewActivity {
private boolean b = false;
private static final byte[] $$p = {16, ISO7816.INS_MANAGE_CHANNEL, -67, -78};
private static final int $$q = 243;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int r = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f9014o = {35360, 49114, 49104, 49105, 49052, 49091, 35373, 49028, 49116, 49033, 49123, 49025, 35371, 49093, 49108, 49034, 49118, 49031, 35370, 35368, 49127, 35372, 49024, 49112, 49026, 35375, 49095, 49098, 49110, 35363, 49109, 49035, 49027, 49089, 35362, 49029, 49119, 49111, 49106, 35361, 49117, 49138, 49053, 49030, 35374, 49090, 49115, 49094, 49088};
private static char m = 35374;
private static char[] q = {23244, 16963, 27586, 4889, 14505, 46217, 44107, 34286, 64778, 55013, 53212, 10031, 6320, 28674, 27042, 17109, 47652, 37838, 35587, 60578, 50629, 15673, 5825, 3688, 26457, 22725, 45167, 43405, 33079, 64003, 54259, 52016, 11476, 1060, 32081, 22267, 20041, 42940, 40817, 61471, 59884, 49425, 15037, 5083, 2884, 27877, 17419, 48563, 38610, 36394, 59316, 57092, 12536, 10650, 294, 31388, 21041, 19362, 44230, 33898, 64963, 54576, 52746, 10128, 7984, 28809, 26687, 16641, 47866, 36791, 38696, 48854, 50743, 60890, 62700, 7236, 9183, 19239, 21143, 31212, 33054, 43252, 45088, 55196, 65269, 1619, 11688, 13593, 23602, 25516, 35584, 37603, 47634, 49512, 59538, 61534, 6122, 16145, 17976, 28059, 29986, 40070, 42012, 52085, 53894};
private static long t = -8312067646386497719L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002d). 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 r6, short r7, byte r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 3
int r6 = 4 - r6
byte[] r0 = o.AbstractActivityC11573ehr.$$p
int r7 = r7 * 3
int r1 = r7 + 1
int r8 = r8 + 98
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r4 = r2
r8 = r6
goto L2d
L15:
r3 = r2
L16:
r5 = r8
r8 = r6
r6 = r5
byte r4 = (byte) r6
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r7) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L28:
r3 = r0[r8]
r5 = r8
r8 = r6
r6 = r5
L2d:
int r6 = r6 + 1
int r8 = r8 + r3
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11573ehr.aC(int, short, byte, java.lang.Object[]):void");
}
public AbstractActivityC11573ehr() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.ehr.1
private AbstractActivityC11573ehr d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.d.j();
}
});
}
@Override // o.AbstractActivityC11922eoV
public final void j() {
int i = 2 % 2;
int i2 = s + 63;
int i3 = i2 % 128;
r = i3;
int i4 = i2 % 2;
if (!this.b) {
int i5 = i3 + 113;
s = i5 % 128;
int i6 = i5 % 2;
this.b = true;
((InterfaceC11578ehw) y_()).c((SetupQuickTopUpReviewActivity) this);
int i7 = r + 63;
s = i7 % 128;
int i8 = i7 % 2;
}
}
private static void aB(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = $10 + 13;
$11 = i4 % 128;
int i5 = i4 % 2;
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(q[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(308 - Drawable.resolveOpacity(0, 0), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (32797 - KeyEvent.normalizeMetaState(0)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(t), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 412, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 407, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (29234 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 | 8), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i7 = $11 + 95;
$10 = i7 % 128;
int i8 = i7 % 2;
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(407 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), Color.argb(0, 0, 0, 0) + 5, (char) (View.getDefaultSize(0, 0) + 29234));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
aC(b7, b8, (byte) (b8 | 8), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
objArr[0] = new String(cArr);
}
@Override // com.scb.phone.view.activity.prelogin.quicktopup.BaseQuickTopUpReviewActivity, com.scb.phone.view.activity.transferandpay.ReviewActivity, o.AbstractActivityC11922eoV, 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];
aA(new char[]{'\'', ')', '(', 30, 15, '\b', '#', ',', '\r', '+', '-', 7, 29, '\f', 0, 30, 13815, 13815}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.error_do_not_have_credit_card).substring(65, 66).codePointAt(0) - 18), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 81, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ntb_fillinformation_contact_info_mobile_otp).substring(19, 20).codePointAt(0) - 32, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.paynow_landing_description_2).substring(59, 60).codePointAt(0) - 27, (char) (TextUtils.indexOf("", "", 0) + 54643), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 33;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aA(new char[]{'\'', ')', '(', 30, 15, '\b', '#', ',', '(', 3, 0, '/', '%', 6, 22, 5, '\b', 6, 27, 21, 18, '0', '\"', 29, '\'', '&'}, (byte) (123 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new char[]{5, ',', 13847, 13847, '!', '#', 27, '(', 13849, 13849, '+', '\b', 3, '%', 22, 5, '\f', '$'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ntb_success_title).substring(20, 21).codePointAt(0) + 15), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.nav).substring(0, 3).length() + 15, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((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)) + 492, Color.argb(0, 0, 0, 0) + 5, (char) ((-1) - MotionEvent.axisFromString("")))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new char[]{21, '\n', 24, '\n', 23, 1, 31, '%', 1, 17, '\n', '\'', 24, 1, 24, 29, 1, 24, '\n', ' ', 24, 15, '$', 17, NistHelper.SEP_FS, '%', 1, ',', 1, 16, '&', 23, 22, '-', '&', 31, 31, 29, 13936, 13936, '\n', 18, 22, 1, 3, 30, 31, 14}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.deposit_detail_interest_accrued).substring(16, 17).length() + 119), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 35, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{31, 0, '*', '#', '&', 0, 18, 16, 29, '*', 7, '\'', 7, '\'', '\n', 21, '&', 14, 25, '\n', 0, '%', '-', 24, 21, '$', 30, 4, '\b', 18, '!', ' ', 13800, 13800, '-', '$', '-', 29, 13875, 13875, '&', 0, '\'', '$', '-', 22, '&', 0, '&', 30, NistHelper.SEP_FS, '\t', 3, 30, '-', 1, 30, 3, 31, '&', '&', 0, '#', 31}, (byte) (View.MeasureSpec.getSize(0) + 59), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 40, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 105, ImageFormat.getBitsPerPixel(0) + 65, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_business_owner_marketplace_about_subtitle2).substring(135, 136).codePointAt(0) + 15130), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{'/', 25, '!', '\f', ',', '\r', 13839, 13839, '+', 6, '%', 17, 1, '\t', 13905, 13905, 29, '\"', 3, 2, '\'', '%', '\n', '-', '%', 26, '/', 21, '/', ' ', 31, '#', 23, 5, ')', '-', 21, '/', 19, '*', '(', 31, ')', ',', '.', '0', '(', 31, '#', 0, 1, '\t', 18, 2, '(', 3, 2, 5, 5, '$', 21, '#', '/', 27, 6, 11, 18, 11, '\"', 7, '!', '#', 27, '/'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.point_x_on_board_cta_text).substring(5, 13).length() + 82), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 61, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new char[]{14, '+', NistHelper.SEP_FS, '-', 13751}, (byte) ((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 13), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_kofax_camera_tutorial_no_crumple).substring(0, 2).codePointAt(0) - 8157, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 111), 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(487 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ExpandableListView.getPackedPositionType(0L) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
int i4 = r + 113;
s = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i6 = s + 113;
r = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.prelogin.quicktopup.BaseQuickTopUpReviewActivity, com.scb.phone.view.activity.transferandpay.ReviewActivity, o.AbstractActivityC11922eoV, 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 = s + 43;
r = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new char[]{'\'', ')', '(', 30, 15, '\b', '#', ',', '(', 3, 0, '/', '%', 6, 22, 5, '\b', 6, 27, 21, 18, '0', '\"', 29, '\'', '&'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_summary_repayment_about_monthly_info).substring(0, 2).length() + 121), 25 - TextUtils.indexOf((CharSequence) "", '0', 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{5, ',', 13847, 13847, '!', '#', 27, '(', 13849, 13849, '+', '\b', 3, '%', 22, 5, '\f', '$'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_issuer_input_error_character).substring(47, 48).length() + 46), 17 - TextUtils.lastIndexOf("", '0', 0, 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 77;
r = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = s + 29;
r = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 492, 4 - ImageFormat.getBitsPerPixel(0), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).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((-16776729) - Color.rgb(0, 0, 0), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))))).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 i8 = s + 125;
r = i8 % 128;
int i9 = i8 % 2;
}
@Override // com.scb.phone.view.activity.prelogin.quicktopup.BaseQuickTopUpReviewActivity, com.scb.phone.view.activity.transferandpay.ReviewActivity, o.AbstractActivityC11922eoV, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = r + 121;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{'\'', ')', '(', 30, 15, '\b', '#', ',', '(', 3, 0, '/', '%', 6, 22, 5, '\b', 6, 27, 21, 18, '0', '\"', 29, '\'', '&'}, (byte) (123 - View.combineMeasuredStates(0, 0)), ((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];
aA(new char[]{5, ',', 13847, 13847, '!', '#', 27, '(', 13849, 13849, '+', '\b', 3, '%', 22, 5, '\f', '$'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 34), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_simulator_summary_stamp_duty_desc).substring(26, 27).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = s + 61;
r = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) ((Process.getThreadPriority(0) + 20) >> 6))).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(MotionEvent.axisFromString("") + 488, Color.rgb(0, 0, 0) + 16777221, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = r + 97;
s = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aA(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
int length;
char[] cArr2;
int i3;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr3 = f9014o;
if (cArr3 != null) {
int i5 = $11 + 109;
$10 = i5 % 128;
if (i5 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
i3 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i3 = 0;
}
while (i3 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i3])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 298, 5 - Color.blue(0), (char) Gravity.getAbsoluteGravity(0, 0));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 | 19), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr2[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i3++;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(m)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 299, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (ExpandableListView.getPackedPositionChild(0L) + 1));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 | 19), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i6 = $11 + 3;
$10 = i6 % 128;
int i7 = i6 % 2;
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + 233, View.MeasureSpec.getSize(0) + 5, (char) (22024 - Color.alpha(0)));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, (byte) (b7 | Ascii.SYN), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 327, (Process.myPid() >> 22) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
aC(b8, b9, (byte) (b9 | Ascii.DC4), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i8 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[intValue];
cArr4[irs.e + 1] = cArr3[i8];
} else if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i9 = (irs.a * charValue) + irs.f;
int i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[i9];
cArr4[irs.e + 1] = cArr3[i10];
} else {
int i11 = (irs.a * charValue) + irs.j;
int i12 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr3[i11];
cArr4[irs.e + 1] = cArr3[i12];
}
}
irs.e += 2;
}
}
for (int i13 = 0; i13 < i; i13++) {
cArr4[i13] = (char) (cArr4[i13] ^ 13722);
}
String str = new String(cArr4);
int i14 = $11 + 23;
$10 = i14 % 128;
if (i14 % 2 != 0) {
throw null;
}
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.prelogin.quicktopup.BaseQuickTopUpReviewActivity, com.scb.phone.view.activity.transferandpay.ReviewActivity, o.AbstractActivityC11922eoV, 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;
int i2 = r + 65;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{'\'', ')', '(', 30, 15, '\b', '#', ',', '\r', '+', '-', 7, 29, '\f', 0, 30, 13815, 13815}, (byte) (14 - TextUtils.indexOf("", "", 0, 0)), 18 - View.MeasureSpec.getSize(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), TextUtils.indexOf("", "", 0, 0) + 5, (char) ((-16722573) - Color.rgb(0, 0, 0)), 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 i4 = s + 79;
r = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 492, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.indexOf("", "", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new char[]{21, '\n', 24, '\n', 23, 1, 31, '%', 1, 17, '\n', '\'', 24, 1, 24, 29, 1, 24, '\n', ' ', 24, 15, '$', 17, NistHelper.SEP_FS, '%', 1, ',', 1, 16, '&', 23, 22, '-', '&', 31, 31, 29, 13936, 13936, '\n', 18, 22, 1, 3, 30, 31, 14}, (byte) (120 - TextUtils.indexOf("", "", 0)), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new char[]{31, 0, '*', '#', '&', 0, 18, 16, 29, '*', 7, '\'', 7, '\'', '\n', 21, '&', 14, 25, '\n', 0, '%', '-', 24, 21, '$', 30, 4, '\b', 18, '!', ' ', 13800, 13800, '-', '$', '-', 29, 13875, 13875, '&', 0, '\'', '$', '-', 22, '&', 0, '&', 30, NistHelper.SEP_FS, '\t', 3, 30, '-', 1, 30, 3, 31, '&', '&', 0, '#', 31}, (byte) (59 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1))), KeyEvent.getDeadChar(0, 0) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(4 - MotionEvent.axisFromString(""), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 64, (char) (15161 - MotionEvent.axisFromString("")), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{'/', 25, '!', '\f', ',', '\r', 13839, 13839, '+', 6, '%', 17, 1, '\t', 13905, 13905, 29, '\"', 3, 2, '\'', '%', '\n', '-', '%', 26, '/', 21, '/', ' ', 31, '#', 23, 5, ')', '-', 21, '/', 19, '*', '(', 31, ')', ',', '.', '0', '(', 31, '#', 0, 1, '\t', 18, 2, '(', 3, 2, 5, 5, '$', 21, '#', '/', 27, 6, 11, 18, 11, '\"', 7, '!', '#', 27, '/'}, (byte) (90 - TextUtils.getTrimmedLength("")), 74 - KeyEvent.normalizeMetaState(0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{14, '+', NistHelper.SEP_FS, '-', 13751}, (byte) (KeyEvent.normalizeMetaState(0) + 13), (ViewConfiguration.getTapTimeout() >> 16) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(70 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 36, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16), 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(KeyEvent.getDeadChar(0, 0) + 487, 5 - (Process.myTid() >> 22), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i6 = r + 21;
s = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // com.scb.phone.view.activity.prelogin.quicktopup.BaseQuickTopUpReviewActivity, com.scb.phone.view.activity.transferandpay.ReviewActivity, o.AbstractActivityC11922eoV, 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 = r + 7;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
}
}