what-the-bank/sources/com/scb/phone/view/activity/directdebit/Hilt_DirectDebitOtpActivity...

654 lines
43 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.directdebit;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
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.R;
import com.scb.phone.view.activity.BaseOtpActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.DFY;
import o.InterfaceC17278vUG;
import o.dHL;
import o.jTb;
import o.xzZ;
/* loaded from: classes4.dex */
public abstract class Hilt_DirectDebitOtpActivity extends BaseOtpActivity {
private static short[] t;
private boolean b = false;
private static final byte[] $$E = {ISO7816.INS_CHANGE_CHV, ISOFileInfo.A1, ISO7816.INS_ENVELOPE, -12};
private static final int $$F = 61;
private static int $10 = 0;
private static int $11 = 1;
private static int v = 0;
private static int u = 1;
private static char m = 61536;
/* renamed from: o, reason: collision with root package name */
private static char f7041o = 43946;
private static char k = 64301;
private static char l = 48184;
private static int s = 632570698;
private static int p = 1406017087;
private static int q = -350020194;
private static byte[] r = {-27, -3, 2, 13, -12, -22, 37, -5, -11, 13, -13, 11, -17, ISO7816.INS_UPDATE_RECORD, -19, SignedBytes.MAX_POWER_OF_TWO, -2, -15, -51, ISO7816.INS_DECREASE_STAMPED, 5, 4, 3, -16, 8, -13, 3, -13, 8, -37, 9, -16, 57, ISO7816.INS_UPDATE_RECORD, 33, ISO7816.INS_PUT_DATA, 10, ISO7816.INS_MSE, -37, 38, -39, 35, -11, -37, -14, 11, 8, ISO7816.INS_MSE, 8, -37, 35, -9, -35, -12, 35, -37, 9, -9, 8, -1, 0, -16, 56, -60, 13, -12, 8, ISO7816.INS_CHANGE_CHV, ISO7816.INS_UPDATE_RECORD, ISO7816.INS_CHANGE_CHV, -58, -10, 10, 9, -14, 13, -10, -13, 11, -13, 10, 39, -37, -14, 37, -37, 38, ISO7816.INS_LOAD_KEY_FILE, 35, 10, 3, -124, 123, 83, -124, ISOFileInfo.AB, 85, 97, -102, 102, -89, 83, -82, 86, -99, 83, -83, Ascii.DEL, ISOFileInfo.FILE_IDENTIFIER, -83, 99, -82, 85, ISOFileInfo.AB, 84, 80, -81, -83, 80, -124, -81, 126, Byte.MIN_VALUE, 123, 83, -82, ISOFileInfo.FILE_IDENTIFIER, -81, 126, ISOFileInfo.PROP_INFO, 97, ISOFileInfo.AB, 87, -81, 81, -102, 84, 81, 121, 88, -84, -126, -83, ISOFileInfo.FCP_BYTE, -86, 87, -99, 80, ISOFileInfo.FCP_BYTE, -126, 126, 83, -88, ISOFileInfo.FCI_EXT, 53, ISO7816.INS_WRITE_RECORD, 43, ISO7816.INS_CHANGE_CHV, ISO7816.INS_ENVELOPE, 60, Ascii.ESC, ISO7816.INS_WRITE_BINARY, -111, 106, -106, ISO7816.INS_UNBLOCK_CHV, 35, -45, -44, 40, Ascii.ETB, -21, -44, ISO7816.INS_MSE, Ascii.US, -17, -45, 33, Ascii.CAN, ISO7816.INS_DELETE_FILE, -34, 60, -63, 41, -45, ISO7816.INS_MSE, -33, 60, -63, 35, Ascii.DC4, -105, ISO7816.INS_UNBLOCK_CHV, 63, -45, ISO7816.INS_ENVELOPE, 62, -47, -34, 39, -39, 107, -18, ISO7816.INS_WRITE_BINARY, 32, ISO7816.INS_WRITE_RECORD, -37, 38, -43, 43, ISO7816.INS_UPDATE_RECORD, 32, -43, 45, -45, 33, -37, 33, -43, -37, 105, 45, ISO7816.INS_LOAD_KEY_FILE, -22, 46, -47, 45, 33, -17, 124, ISO7816.INS_READ_BINARY_STAMPED, 73, -73, -102, ISO7816.INS_READ_RECORD_STAMPED, 102, -98, 103, ISOFileInfo.FCI_EXT, 121, 77, -126, ISO7816.INS_READ_RECORD_STAMPED, 75, 73, 124, ISO7816.INS_READ_BINARY_STAMPED, 72, -73, ISO7816.INS_READ_RECORD_STAMPED, 79, ISOFileInfo.FILE_IDENTIFIER, -75, 125, -78, 65, -75, ISO7816.INS_READ_BINARY_STAMPED, ISO7816.INS_READ_RECORD2, -99, 120, 74, -103, ISO7816.INS_READ_BINARY_STAMPED};
/* 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:0x0026). 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 aJ(byte r5, short r6, byte r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 2
int r7 = r7 + 1
int r5 = 110 - r5
byte[] r0 = com.scb.phone.view.activity.directdebit.Hilt_DirectDebitOtpActivity.$$E
int r6 = r6 + 4
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L12
r4 = r7
r3 = r2
goto L26
L12:
r3 = r2
L13:
byte r4 = (byte) r5
r1[r3] = r4
int r6 = r6 + 1
int r3 = r3 + 1
if (r3 != r7) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L24:
r4 = r0[r6]
L26:
int r4 = -r4
int r5 = r5 + r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.directdebit.Hilt_DirectDebitOtpActivity.aJ(byte, short, byte, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_DirectDebitOtpActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.directdebit.Hilt_DirectDebitOtpActivity.2
private Hilt_DirectDebitOtpActivity b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.b.l();
}
});
}
@Override // o.AbstractActivityC9736dpX
public final void l() {
int i = 2 % 2;
int i2 = u + 47;
v = i2 % 128;
if (i2 % 2 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
if (this.b) {
return;
}
this.b = true;
((dHL) y_()).c((DirectDebitOtpActivity) this);
int i3 = u + 3;
v = i3 % 128;
int i4 = i3 % 2;
}
private static void aG(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i5 = $11 + 51;
$10 = i5 % 128;
int i6 = i5 % i3;
cArr3[0] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i7 = 58224;
int i8 = 0;
while (i8 < 16) {
int i9 = $11 + 121;
$10 = i9 % 128;
int i10 = i9 % i3;
char c = cArr3[1];
char c2 = cArr3[0];
int i11 = (c2 + i7) ^ ((c2 << 4) + ((char) (k ^ 41718355337583039L)));
int i12 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(l);
objArr2[i3] = Integer.valueOf(i12);
objArr2[1] = Integer.valueOf(i11);
objArr2[0] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 412, TextUtils.getOffsetAfter("", 0) + 5, (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1));
byte b = (byte) (-1);
Object[] objArr3 = new Object[1];
aJ((byte) ($$F & 238), b, (byte) (b + 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();
cArr3[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr3[0]), Integer.valueOf((charValue + i7) ^ ((charValue << 4) + ((char) (m ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(f7041o)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 412, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (Process.myTid() >> 22));
byte b2 = (byte) (-1);
Object[] objArr5 = new Object[1];
aJ((byte) ($$F & 238), b2, (byte) (b2 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr3[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i7 -= 40503;
i8++;
i3 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2[jtb.b] = cArr3[0];
cArr2[jtb.b + 1] = cArr3[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 != null) {
i2 = 2;
} else {
Class cls3 = (Class) xzZ.c((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)) + 98, (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) (KeyEvent.getMaxKeyCode() >> 16));
byte b3 = (byte) (-1);
Object[] objArr7 = new Object[1];
aJ((byte) 43, b3, (byte) (b3 + 1), objArr7);
i2 = 2;
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
i3 = i2;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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];
aG(new char[]{51229, 9234, 33002, 6324, 23677, 18118, 50855, 4726, 42057, 52758, 56972, 20350, 55694, 15321, 44306, 33082, 53954, 9291}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.abc_menu_space_shortcut_label).substring(1, 5).length() + 14, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{25030, 3402, 25492, 13622, 50992, 33812}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.myqr_title).substring(2, 3).length() + 4, 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];
aI((short) KeyEvent.keyCodeFromString(""), ExpandableListView.getPackedPositionChild(0L) - 1987730782, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.marker_address).substring(0, 20).length() - 63, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.material_timepicker_pm).substring(0, 2).codePointAt(1) + 1192426633, (byte) ((-21) - (ViewConfiguration.getDoubleTapTimeout() >> 16)), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aG(new char[]{12470, 49884, 27024, 28619, 39140, 3078, 3932, 26538, 17147, 18619, 51000, 42731, 1436, 31598, 4957, 18770, 3430, 52346}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.loan_goto_level_up).substring(0, 13).codePointAt(6) - 3639, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = v + 83;
u = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 444, 4 - Process.getGidForName(""), (char) View.resolveSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aG(new char[]{11520, 25781, 36587, 33968, 23329, 46069, 42099, 59462, 38560, 7622, 48419, 6, 4570, 39628, 32219, 58974, 34142, 23195, 34358, 23856, 21188, 25076, 35037, 32828, 34063, 38826, 21801, 38709, 63206, 46469, 11514, 24554, 33077, 25131, 17476, 45156, 22464, 13046, 13700, 56354, 8638, 510, 25143, 28573, 13323, 2893, 57863, 61861}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.bond_decline_terms_alert_description).substring(31, 32).codePointAt(0) + 16, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI((short) (ViewConfiguration.getScrollBarFadeDuration() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.are_you_sure_want_delete_scheduled_group).substring(88, 89).codePointAt(0) - 1987730789, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_open_scbs_account_remark).substring(0, 1).codePointAt(0) - 85, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_coupon_quantity_maximum_quota_no_limit).substring(34, 39).length() + 1192426709, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 64), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI((short) (ViewConfiguration.getLongPressTimeout() >> 16), (-1987730693) - TextUtils.getCapsMode("", 0, 0), (-43) - (ViewConfiguration.getKeyRepeatDelay() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1192426697, (byte) (TextUtils.getCapsMode("", 0, 0) + 69), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.business_search_no_results_description).substring(16, 17).length() - 1), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1987730630, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.validate_account_up_personal_loans_type).substring(13, 14).codePointAt(0) - 75, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_consent_instruction).substring(48, 49).length() + 1192426716, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 43), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aG(new char[]{3192, 19160, 56515, 45812, 27268, 14316}, TextUtils.indexOf("", "", 0, 0) + 5, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aI((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 115), ExpandableListView.getPackedPositionGroup(0L) - 1987730555, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mf_decline_data_sharing_terms_and_conditions_description).substring(31, 32).length() - 44, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1192426701, (byte) (93 - (ViewConfiguration.getJumpTapTimeout() >> 16)), 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((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 487, TextUtils.getOffsetAfter("", 0) + 5, (char) ExpandableListView.getPackedPositionType(0L))).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 = v + 97;
u = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = v + 11;
u = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aI((short) (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)), (-1987730783) - (ViewConfiguration.getTouchSlop() >> 8), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_set_detail_amount_min_max_error).substring(36, 37).codePointAt(0) - 75, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.point_x_on_board_cta_text).substring(5, 13).codePointAt(4) + 1192426632, (byte) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 22), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{12470, 49884, 27024, 28619, 39140, 3078, 3932, 26538, 17147, 18619, 51000, 42731, 1436, 31598, 4957, 18770, 3430, 52346}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_idp_verify_identity_note_three_not_clickable_start).substring(38, 39).codePointAt(0) - 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = v + 15;
u = 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(540 - AndroidCharacter.getMirror('0'), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) Color.argb(0, 0, 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(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 487, View.resolveSizeAndState(0, 0, 0) + 5, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 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 i6 = u + 93;
v = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 + 105;
u = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aI((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.app_version).substring(0, 9).codePointAt(7) - 121), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1987730817, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 154, TextUtils.indexOf((CharSequence) "", '0', 0) + 1192426711, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 34), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{12470, 49884, 27024, 28619, 39140, 3078, 3932, 26538, 17147, 18619, 51000, 42731, 1436, 31598, 4957, 18770, 3430, 52346}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mr_terms_and_conditions_decline_dialog_description).substring(31, 32).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i3 = v + 59;
u = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 492, View.MeasureSpec.getMode(0) + 5, (char) Color.blue(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 488, MotionEvent.axisFromString("") + 6, (char) KeyEvent.normalizeMetaState(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aI(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
boolean z;
int i4;
boolean z2;
int i5;
byte b2;
long j;
int i6 = 2;
int i7 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(p)};
Object obj = xzZ.y.get(-2092856797);
if (obj == null) {
Class cls = (Class) xzZ.c(336 - MotionEvent.axisFromString(""), TextUtils.indexOf("", "", 0) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr3 = new Object[1];
aJ(b3, b4, (byte) (b4 + 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 = $11 + 105;
$10 = i8 % 128;
int i9 = i8 % 2;
z = true;
} else {
z = false;
}
long j2 = 0;
if (z) {
byte[] bArr = r;
if (bArr != null) {
int length = bArr.length;
byte[] bArr2 = new byte[length];
int i10 = 0;
while (i10 < length) {
Object[] objArr4 = {Integer.valueOf(bArr[i10])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > j2 ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == j2 ? 0 : -1)) + 61, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) View.getDefaultSize(0, 0));
byte b5 = (byte) i6;
byte b6 = (byte) (b5 - 3);
Object[] objArr5 = new Object[1];
aJ(b5, b6, (byte) (b6 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr2[i10] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i10++;
i6 = 2;
j2 = 0;
}
int i11 = $10 + 27;
$11 = i11 % 128;
i5 = 2;
int i12 = i11 % 2;
bArr = bArr2;
} else {
i5 = 2;
}
if (bArr != null) {
int i13 = $10 + 115;
$11 = i13 % 128;
if (i13 % i5 == 0) {
byte[] bArr3 = r;
Object[] objArr6 = new Object[i5];
objArr6[1] = Integer.valueOf(s);
objArr6[0] = Integer.valueOf(i);
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(337 - (ViewConfiguration.getEdgeSlop() >> 16), 5 - View.combineMeasuredStates(0, 0), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b7 = (byte) 0;
byte b8 = (byte) (b7 - 1);
Object[] objArr7 = new Object[1];
aJ(b7, b8, (byte) (b8 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
b2 = (byte) (bArr3[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] - (-7303220121662775787L));
j = p - (-7303220121662775787L);
} else {
byte[] bArr4 = r;
Object[] objArr8 = {Integer.valueOf(i), Integer.valueOf(s)};
Object obj4 = xzZ.y.get(-2092856797);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(337 - (Process.myTid() >> 22), 5 - Color.blue(0), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b9 = (byte) 0;
byte b10 = (byte) (b9 - 1);
Object[] objArr9 = new Object[1];
aJ(b9, b10, (byte) (b10 + 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj4);
}
b2 = (byte) (bArr4[((Integer) ((Method) obj4).invoke(null, objArr8)).intValue()] ^ (-7303220121662775787L));
j = p ^ (-7303220121662775787L);
}
intValue = (byte) (b2 + ((int) j));
} else {
intValue = (short) (((short) (t[i + ((int) (s ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (p ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
int i14 = ((i + intValue) - 2) + ((int) (s ^ (-7303220121662775787L)));
if (z) {
int i15 = $11 + 55;
$10 = i15 % 128;
int i16 = i15 % 2;
i4 = 1;
} else {
i4 = 0;
}
dfy.c = i14 + i4;
try {
Object[] objArr10 = {dfy, Integer.valueOf(i3), Integer.valueOf(q), sb};
Object obj5 = xzZ.y.get(1546973421);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 747, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) TextUtils.getCapsMode("", 0, 0))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj5);
}
((StringBuilder) ((Method) obj5).invoke(null, objArr10)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr5 = r;
if (bArr5 != null) {
int length2 = bArr5.length;
byte[] bArr6 = new byte[length2];
for (int i17 = 0; i17 < length2; i17++) {
bArr6[i17] = (byte) (bArr5[i17] ^ (-7303220121662775787L));
}
bArr5 = bArr6;
}
if (bArr5 != null) {
int i18 = $10 + 11;
$11 = i18 % 128;
int i19 = i18 % 2;
z2 = true;
} else {
z2 = false;
}
dfy.d = 1;
while (dfy.d < intValue) {
if (!(!z2)) {
int i20 = $10 + 15;
$11 = i20 % 128;
int i21 = i20 % 2;
byte[] bArr7 = r;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr7[r8] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = t;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r8] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = sb.toString();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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];
aG(new char[]{51229, 9234, 33002, 6324, 23677, 18118, 50855, 4726, 42057, 52758, 56972, 20350, 55694, 15321, 44306, 33082, 53954, 9291}, 18 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{25030, 3402, 25492, 13622, 50992, 33812}, (ViewConfiguration.getEdgeSlop() >> 16) + 5, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = u + 9;
v = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
int i4 = v + 23;
u = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i6 = v + 83;
u = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 5 - (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)), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aG(new char[]{11520, 25781, 36587, 33968, 23329, 46069, 42099, 59462, 38560, 7622, 48419, 6, 4570, 39628, 32219, 58974, 34142, 23195, 34358, 23856, 21188, 25076, 35037, 32828, 34063, 38826, 21801, 38709, 63206, 46469, 11514, 24554, 33077, 25131, 17476, 45156, 22464, 13046, 13700, 56354, 8638, 510, 25143, 28573, 13323, 2893, 57863, 61861}, 48 - View.MeasureSpec.getMode(0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aI((short) ((-16777216) - Color.rgb(0, 0, 0)), Color.alpha(0) - 1987730757, (-43) - (ViewConfiguration.getJumpTapTimeout() >> 16), 1192426714 - ExpandableListView.getPackedPositionType(0L), (byte) ((-29) - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI((short) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))), (-1987730693) - View.MeasureSpec.makeMeasureSpec(0, 0), (Process.myTid() >> 22) - 43, Color.red(0) + 1192426710, (byte) (68 - ((byte) KeyEvent.getModifierMetaStateMask())), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI((short) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (-1987730629) - (ViewConfiguration.getScrollBarSize() >> 8), (-43) - Color.alpha(0), 64781 - AndroidCharacter.getMirror('0'), (byte) (55 - ((byte) KeyEvent.getModifierMetaStateMask())), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(new char[]{3192, 19160, 56515, 45812, 27268, 14316}, 5 - TextUtils.getCapsMode("", 0, 0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI((short) ExpandableListView.getPackedPositionType(0L), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1987730556, (Process.myPid() >> 22) - 43, 1192426714 - View.MeasureSpec.makeMeasureSpec(0, 0), (byte) (94 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))), 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(TextUtils.getCapsMode("", 0, 0) + 487, View.getDefaultSize(0, 0) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 = u + 59;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = u + 69;
v = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
}