689 lines
38 KiB
Java
689 lines
38 KiB
Java
package com.scb.phone.view.activity;
|
|
|
|
import android.content.Context;
|
|
import android.content.Intent;
|
|
import android.graphics.Color;
|
|
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.Gravity;
|
|
import android.view.KeyEvent;
|
|
import android.view.MenuItem;
|
|
import android.view.MotionEvent;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import android.widget.ExpandableListView;
|
|
import butterknife.ButterKnife;
|
|
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.R;
|
|
import com.scb.phone.view.fragment.otppin.MobileListFragment;
|
|
import com.scb.phone.view.fragment.otppin.OtpPinFragment;
|
|
import java.lang.reflect.Method;
|
|
import net.sf.scuba.smartcards.ISO7816;
|
|
import o.AbstractActivityC9736dpX;
|
|
import o.AbstractC13482fbE;
|
|
import o.C0693Mj;
|
|
import o.C1004Tm;
|
|
import o.C7048cgt;
|
|
import o.EnumC8951daY;
|
|
import o.InterfaceC13391fZD;
|
|
import o.InterfaceC6630cYh;
|
|
import o.InterfaceC8956dad;
|
|
import o.ZB;
|
|
import o.ZI;
|
|
import o.jTb;
|
|
import o.xzZ;
|
|
import org.bouncycastle.asn1.x509.DisplayText;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public abstract class BaseOtpActivity extends AbstractActivityC9736dpX implements InterfaceC6630cYh, InterfaceC8956dad, OtpPinFragment.HBt {
|
|
private static short[] r;
|
|
|
|
@InterfaceC13391fZD
|
|
public ZB baseOTPPresenter;
|
|
private static final byte[] $$g = {30, 79, -15, -75};
|
|
private static final int $$h = DisplayText.DISPLAY_TEXT_MAXIMUM_SIZE;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int q = 0;
|
|
private static int x = 1;
|
|
private static char b = 12796;
|
|
private static char k = 58339;
|
|
|
|
/* renamed from: o, reason: collision with root package name */
|
|
private static char f6518o = 45365;
|
|
private static char l = 63453;
|
|
private static int m = 1265800750;
|
|
private static int p = 1406017037;
|
|
private static int s = 27602746;
|
|
private static byte[] t = {-22, 19, ISO7816.INS_CREATE_FILE, 6, -21, -17, -24, -23, Ascii.NAK, 58, ISO7816.INS_LOAD_KEY_FILE, 19, 28, -26, Ascii.NAK, -24, 7, -63, 62, Ascii.SYN, -63, -18, 16, ISO7816.INS_CHANGE_CHV, -33, 35, ISO7816.INS_APPEND_RECORD, Ascii.SYN, -21, 19, ISO7816.INS_LOAD_KEY_FILE, Ascii.SYN, -24, 58, -58, -24, 38, -21, 16, -18, 17, Ascii.NAK, -22, -24, Ascii.NAK, -63, -22, 59, -59, 62, Ascii.SYN, -21, -58, -22, 59, ISO7816.INS_GET_RESPONSE, ISO7816.INS_CHANGE_CHV, -18, Ascii.DC2, -22, Ascii.DC4, -33, 17, Ascii.DC4, 60, 29, -23, -57, -24, 39, -17, Ascii.DC2, ISO7816.INS_LOAD_KEY_FILE, Ascii.NAK, 39, -57, 59, Ascii.SYN, -19, ISO7816.INS_ENVELOPE, 33, -23, Ascii.DC4, -22, -57, -21, 59, -61, 58, ISO7816.INS_PUT_DATA, ISO7816.INS_CHANGE_CHV, 16, -33, -21, Ascii.SYN, Ascii.DC4, 33, -23, Ascii.NAK, -22, -21, Ascii.DC2, -34, -24, 32, -17, 28, -24, -23, -18, ISO7816.INS_GET_RESPONSE, 37, Ascii.ETB, -60, -23, Ascii.NAK, Ascii.NAK, Ascii.NAK};
|
|
|
|
private static void az(short s2, short s3, int i, Object[] objArr) {
|
|
byte[] bArr = $$g;
|
|
int i2 = s3 * 3;
|
|
int i3 = 3 - (i * 4);
|
|
int i4 = s2 + 66;
|
|
byte[] bArr2 = new byte[i2 + 1];
|
|
int i5 = -1;
|
|
if (bArr == null) {
|
|
i4 = (-i4) + i3;
|
|
i5 = -1;
|
|
}
|
|
while (true) {
|
|
int i6 = i3;
|
|
int i7 = i4;
|
|
int i8 = i5 + 1;
|
|
bArr2[i8] = (byte) i7;
|
|
int i9 = i6 + 1;
|
|
if (i8 == i2) {
|
|
objArr[0] = new String(bArr2, 0);
|
|
return;
|
|
} else {
|
|
i3 = i9;
|
|
i4 = (-bArr[i9]) + i7;
|
|
i5 = i8;
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // 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];
|
|
ax(new char[]{60922, 558, 513, 9343, 14057, 20206, 35336, 7142, 55634, 303, 25823, 29093, 58590, 32308, 48996, 26408, 45901, 35804}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 94, objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
ax(new char[]{59611, 53376, 31994, 12139, 7330, 44930}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.changed_statement_channel_will_be_updated_next_day).substring(0, 1).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) {
|
|
int i2 = x + 47;
|
|
q = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
Object[] objArr3 = new Object[1];
|
|
ax(new char[]{60922, 558, 513, 9343, 14057, 20206, 35336, 7142, 2345, 39119, 32142, 61153, 25559, 51118, 32201, 25595, 276, 1344, 5686, 31148, 28808, 1481, 52129, 22838, 2472, 39927}, View.MeasureSpec.makeMeasureSpec(0, 0) + 26, objArr3);
|
|
Class<?> cls2 = Class.forName((String) objArr3[0]);
|
|
Object[] objArr4 = new Object[1];
|
|
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deejung_transaction_limit_label).substring(0, 1).length() - 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 415008938, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.select_investment_screen_robo_advisor).substring(0, 22).codePointAt(10) - 122, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1382756590, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), 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((ViewConfiguration.getTapTimeout() >> 16) + 492, TextUtils.getOffsetBefore("", 0) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod("a", null);
|
|
xzZ.y.put(125943855, obj);
|
|
}
|
|
Object invoke = ((Method) obj).invoke(null, null);
|
|
Object[] objArr5 = new Object[1];
|
|
ax(new char[]{45758, 60020, 51668, 65327, 26890, 29534, 60201, 9329, 38674, 51610, 31320, 57218, 40306, 41093, 38051, 32637, 1486, 9690, 3339, 23670, 19363, 44689, 10306, 4757, 19082, 44131, 29673, 46858, 17365, 20493, 6017, 41997, 57134, 10759, 33615, 29220, 41789, 54856, 58661, 18862, 38980, 61273, 8668, 2282, 32125, 2995, 23230, 26188}, ((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];
|
|
ax(new char[]{36077, 54951, 9573, 23834, 11579, 34922, 7701, 51186, 13728, 15305, 20864, 7039, 20864, 7039, 29732, 43113, 46805, 14598, 14778, 35542, 13314, 39072, 15390, 26827, 44455, 43710, 17392, 9734, 921, 8241, 53245, 23275, 46864, 717, 59707, 5753, 58838, 3174, 58661, 18862, 11579, 34922, 27778, 25214, 35587, 17384, 11579, 34922, 64527, 41813, 38702, 30921, 32125, 2995, 60659, 52178, 8388, 27393, 57720, 44964, 11579, 34922, 19611, 63074}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr6);
|
|
String str2 = (String) objArr6[0];
|
|
Object[] objArr7 = new Object[1];
|
|
ay((short) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))), (-415008809) - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), ((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).codePointAt(0) + 8, Color.blue(0) - 1382756558, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_mcmc_car_registration_no_title).substring(18, 19).length() - 1), objArr7);
|
|
String str3 = (String) objArr7[0];
|
|
Object[] objArr8 = new Object[1];
|
|
ax(new char[]{5025, 21163, 20750, 26390, 35471, 39790, 49546, 40316, 11835, 56470, 42146, 33645, 52033, 11310, 972, 20460, 63722, 16811, 25659, 16981, 28165, 51866, 5987, 27608, 17949, 18590, 61177, 31222, 30683, 29906, 12548, 18847, 22301, 12981, 46612, 11123, 41486, 25344, 8530, 53216, 59549, 29942, 20754, 22105, 51868, 21211, 59549, 29942, 39058, 53424, 52033, 11310, 41952, 14213, 2345, 39119, 2933, 43495, 58451, 18855, 61181, 3975, 41598, 42566, 20168, 16456, 12145, 19582, 48601, 18850, 10215, 20856, 133, 1897}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 35, objArr8);
|
|
String str4 = (String) objArr8[0];
|
|
Object[] objArr9 = new Object[1];
|
|
ax(new char[]{55432, 645, 22685, 51163, 27446, 59816}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.order_cheque_heading3).substring(0, 3).codePointAt(2) - 27, objArr9);
|
|
String str5 = (String) objArr9[0];
|
|
Object[] objArr10 = new Object[1];
|
|
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 112), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_open_mf_remark_2).substring(281, 283).codePointAt(1) - 415008866, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 22, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_coin_more_detail_description_1_2).substring(0, 51).codePointAt(43) - 1382760210, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_summary_my_salary).substring(0, 14).codePointAt(3) - 83), 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 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 5 - Color.red(0), (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
|
|
xzZ.y.put(1656189573, obj2);
|
|
}
|
|
((Method) obj2).invoke(invoke, objArr11);
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
}
|
|
super.onCreate(bundle);
|
|
setContentView(R.layout.2131558584);
|
|
ButterKnife.Dg_(this);
|
|
Z();
|
|
this.baseOTPPresenter.e((ZB) this);
|
|
ZB zb = this.baseOTPPresenter;
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.ZD
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj3) {
|
|
((InterfaceC6630cYh) obj3).R_();
|
|
}
|
|
};
|
|
if (zb.f != 0) {
|
|
int i4 = x + 103;
|
|
int i5 = i4 % 128;
|
|
q = i5;
|
|
int i6 = i4 % 2;
|
|
int i7 = i5 + 59;
|
|
x = i7 % 128;
|
|
if (i7 % 2 == 0) {
|
|
ieS.e(zb.f);
|
|
throw null;
|
|
}
|
|
ieS.e(zb.f);
|
|
}
|
|
ZB zb2 = this.baseOTPPresenter;
|
|
if (k()) {
|
|
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.ZE
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj3) {
|
|
((InterfaceC6630cYh) obj3).aD_();
|
|
}
|
|
};
|
|
if (zb2.f != 0) {
|
|
ieS2.e(zb2.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
private static void ax(char[] cArr, int i, Object[] objArr) {
|
|
int i2 = 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) {
|
|
cArr3[0] = cArr[jtb.b];
|
|
cArr3[1] = cArr[jtb.b + 1];
|
|
int i3 = $10 + 85;
|
|
$11 = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
int i5 = 58224;
|
|
int i6 = 0;
|
|
while (i6 < 16) {
|
|
char c = cArr3[1];
|
|
char c2 = cArr3[0];
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i5) ^ ((c2 << 4) + ((char) (f6518o ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(l)};
|
|
Object obj = xzZ.y.get(597144044);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 412, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) View.resolveSizeAndState(0, 0, 0));
|
|
byte b2 = (byte) 0;
|
|
byte b3 = b2;
|
|
Object[] objArr3 = new Object[1];
|
|
az(b2, b3, b3, 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 + i5) ^ ((charValue << 4) + ((char) (b ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(k)};
|
|
Object obj2 = xzZ.y.get(597144044);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 412, View.combineMeasuredStates(0, 0) + 5, (char) View.combineMeasuredStates(0, 0));
|
|
byte b4 = (byte) 0;
|
|
byte b5 = b4;
|
|
Object[] objArr5 = new Object[1];
|
|
az(b4, b5, b5, 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();
|
|
i5 -= 40503;
|
|
i6++;
|
|
int i7 = $10 + 81;
|
|
$11 = i7 % 128;
|
|
int i8 = i7 % 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) {
|
|
Class cls3 = (Class) xzZ.c(98 - View.MeasureSpec.getSize(0), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (ViewConfiguration.getScrollBarSize() >> 8));
|
|
byte b6 = (byte) 1;
|
|
byte b7 = (byte) (b6 - 1);
|
|
Object[] objArr7 = new Object[1];
|
|
az(b6, b7, b7, objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(943004485, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
}
|
|
objArr[0] = new String(cArr2, 0, i);
|
|
}
|
|
|
|
protected MobileListFragment l(String str) {
|
|
int i = 2 % 2;
|
|
int i2 = x + 73;
|
|
q = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
MobileListFragment a = MobileListFragment.a(str);
|
|
int i4 = q + 125;
|
|
x = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
return a;
|
|
}
|
|
|
|
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
|
|
public boolean onOptionsItemSelected(MenuItem menuItem) {
|
|
int i = 2 % 2;
|
|
if (menuItem.getItemId() != 16908332) {
|
|
return super.onOptionsItemSelected(menuItem);
|
|
}
|
|
int i2 = q + 89;
|
|
x = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
onBackPressed();
|
|
int i4 = q + 85;
|
|
x = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
int i5 = 52 / 0;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
public String j() {
|
|
int i = 2 % 2;
|
|
int i2 = x + 61;
|
|
q = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
String string = getString(R.string.otp_title);
|
|
int i4 = q + 29;
|
|
x = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
return string;
|
|
}
|
|
|
|
@Override // o.InterfaceC8956dad
|
|
public void c(String str, String str2, String str3) {
|
|
int i = 2 % 2;
|
|
String g = g();
|
|
OtpPinFragment b2 = OtpPinFragment.b(new C1004Tm(C7048cgt.IeS.DEFAULT, str2, str3, g, j()));
|
|
b2.e(str2, str3, g);
|
|
AbstractC13482fbE a = getSupportFragmentManager().a();
|
|
a.b(R.id.container, b2, null, 2);
|
|
if (a.d) {
|
|
a.a = true;
|
|
a.m = str;
|
|
int i2 = q + 41;
|
|
x = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
a.b();
|
|
o();
|
|
int i4 = x + 121;
|
|
q = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
int i5 = 15 / 0;
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
throw new IllegalStateException("This FragmentTransaction is not allowed to be added to the back stack.");
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: protected */
|
|
public final String g() {
|
|
int i = 2 % 2;
|
|
String stringExtra = getIntent().getStringExtra("EXTRA_OTP_POLICY_ID");
|
|
if (stringExtra != null) {
|
|
return stringExtra;
|
|
}
|
|
int i2 = q + 3;
|
|
x = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
if (!B_().equalsIgnoreCase("en")) {
|
|
return "FastEasyDefault_TH";
|
|
}
|
|
int i4 = x + 23;
|
|
q = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
return "FastEasyDefault_EN";
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
|
|
public final void m(String str) {
|
|
int i = 2 % 2;
|
|
int i2 = x + 13;
|
|
q = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
Xb_(this, R.id.root_activity, str, EnumC8951daY.SUCCESS);
|
|
int i4 = q + 21;
|
|
x = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
int i5 = 38 / 0;
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC6630cYh
|
|
public void I_() {
|
|
int i = 2 % 2;
|
|
int i2 = q + 3;
|
|
x = i2 % 128;
|
|
if (i2 % 2 == 0) {
|
|
setResult(-1);
|
|
finish();
|
|
int i3 = 69 / 0;
|
|
} else {
|
|
setResult(-1);
|
|
finish();
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC6630cYh
|
|
public void a(C0693Mj c0693Mj) {
|
|
int i = 2 % 2;
|
|
Intent intent = new Intent();
|
|
intent.putExtra("OTP_ERROR_TITLE", c0693Mj.d);
|
|
intent.putExtra("OTP_ERROR_MESSAGE", c0693Mj.c);
|
|
setResult(0, intent);
|
|
finish();
|
|
int i2 = q + 57;
|
|
x = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
}
|
|
|
|
@Override // o.InterfaceC6630cYh
|
|
public void k_(String str) {
|
|
int i = 2 % 2;
|
|
int i2 = x + 123;
|
|
q = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
Xb_(this, R.id.root_activity, str, EnumC8951daY.ERROR);
|
|
throw null;
|
|
}
|
|
Xb_(this, R.id.root_activity, str, EnumC8951daY.ERROR);
|
|
int i3 = q + 93;
|
|
x = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
}
|
|
|
|
@Override // o.InterfaceC6630cYh
|
|
public final void R_() {
|
|
int i = 2 % 2;
|
|
if (getSupportActionBar() != null) {
|
|
int i2 = q + 115;
|
|
x = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
getSupportActionBar().d(true);
|
|
}
|
|
int i4 = q + 11;
|
|
x = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
int i5 = 29 / 0;
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC6630cYh
|
|
public void aD_() {
|
|
int i = 2 % 2;
|
|
int i2 = q + 93;
|
|
x = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
AbstractC13482fbE a = getSupportFragmentManager().a();
|
|
a.b(R.id.container, l(getString(R.string.mobile_number_not_in_list)), null, 1);
|
|
a.b();
|
|
m();
|
|
int i4 = q + 79;
|
|
x = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
int i5 = 33 / 0;
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:15:0x009b */
|
|
/* JADX WARN: Removed duplicated region for block: B:38:0x01ca */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private static void ay(short r22, int r23, int r24, int r25, byte r26, java.lang.Object[] r27) {
|
|
/*
|
|
Method dump skipped, instructions count: 748
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BaseOtpActivity.ay(short, int, int, int, byte, java.lang.Object[]):void");
|
|
}
|
|
|
|
@Override // 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) {
|
|
Object[] objArr = new Object[1];
|
|
ax(new char[]{60922, 558, 513, 9343, 14057, 20206, 35336, 7142, 2345, 39119, 32142, 61153, 25559, 51118, 32201, 25595, 276, 1344, 5686, 31148, 28808, 1481, 52129, 22838, 2472, 39927}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_otp_default_verify_error).substring(0, 52).codePointAt(23) - 3577, objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), (-415008827) - (ViewConfiguration.getScrollBarSize() >> 8), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 40, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.verify_identity_3).substring(0, 3).codePointAt(1) - 1382756602, (byte) (TextUtils.lastIndexOf("", '0', 0) + 1), objArr2);
|
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
|
}
|
|
if (baseContext != null) {
|
|
int i2 = x + 121;
|
|
q = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
baseContext.getApplicationContext();
|
|
throw null;
|
|
}
|
|
baseContext = baseContext.getApplicationContext();
|
|
int i3 = q + 111;
|
|
x = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
}
|
|
if (baseContext != null) {
|
|
try {
|
|
Object obj = xzZ.y.get(125943855);
|
|
if (obj == null) {
|
|
obj = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 492, View.resolveSizeAndState(0, 0, 0) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).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.getTapTimeout() >> 16) + 487, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 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();
|
|
}
|
|
|
|
@Override // 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 = q + 21;
|
|
x = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
Context baseContext = getBaseContext();
|
|
if (baseContext == null) {
|
|
int i4 = q + 87;
|
|
x = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
Object[] objArr = new Object[1];
|
|
ax(new char[]{60922, 558, 513, 9343, 14057, 20206, 35336, 7142, 2345, 39119, 32142, 61153, 25559, 51118, 32201, 25595, 276, 1344, 5686, 31148, 28808, 1481, 52129, 22838, 2472, 39927}, 25 - ExpandableListView.getPackedPositionChild(0L), objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 112), 30709 - AndroidCharacter.getMirror('0'), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_car_insurance_sales_sheet_error_title).substring(0, 30).codePointAt(6) - 3640, TextUtils.lastIndexOf("", '0') - 1382756555, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.faq_payment_option_description).substring(41, 42).length() - 1), objArr2);
|
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
|
}
|
|
if (baseContext != null) {
|
|
int i6 = q + 83;
|
|
x = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
baseContext = baseContext.getApplicationContext();
|
|
}
|
|
if (baseContext != null) {
|
|
try {
|
|
Object obj = xzZ.y.get(125943855);
|
|
if (obj == null) {
|
|
obj = ((Class) xzZ.c((Process.myTid() >> 22) + 492, AndroidCharacter.getMirror('0') - '+', (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod("a", null);
|
|
xzZ.y.put(125943855, obj);
|
|
}
|
|
Object invoke = ((Method) obj).invoke(null, null);
|
|
Object[] objArr3 = {baseContext};
|
|
Object obj2 = xzZ.y.get(1633456013);
|
|
if (obj2 == null) {
|
|
obj2 = ((Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 487, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (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)))).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();
|
|
}
|
|
|
|
@Override // 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;
|
|
int i2 = q + 121;
|
|
x = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
super.attachBaseContext(context);
|
|
Object[] objArr = new Object[1];
|
|
ax(new char[]{60922, 558, 513, 9343, 14057, 20206, 35336, 7142, 55634, 303, 25823, 29093, 58590, 32308, 48996, 26408, 45901, 35804}, 18 - TextUtils.getCapsMode("", 0, 0), objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
ax(new char[]{59611, 53376, 31994, 12139, 7330, 44930}, (ViewConfiguration.getJumpTapTimeout() >> 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 i4 = x + 89;
|
|
q = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
context2 = context.getApplicationContext();
|
|
int i5 = 25 / 0;
|
|
} else {
|
|
context2 = context.getApplicationContext();
|
|
}
|
|
int i6 = q + 43;
|
|
x = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
} else {
|
|
context2 = context;
|
|
}
|
|
if (context2 != null) {
|
|
int i8 = x + 73;
|
|
q = i8 % 128;
|
|
int i9 = i8 % 2;
|
|
try {
|
|
Object obj = xzZ.y.get(125943855);
|
|
if (obj == null) {
|
|
obj = ((Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 492, 4 - TextUtils.lastIndexOf("", '0', 0), (char) ((-1) - MotionEvent.axisFromString("")))).getMethod("a", null);
|
|
xzZ.y.put(125943855, obj);
|
|
}
|
|
Object invoke = ((Method) obj).invoke(null, null);
|
|
Object[] objArr3 = new Object[1];
|
|
ax(new char[]{45758, 60020, 51668, 65327, 26890, 29534, 60201, 9329, 38674, 51610, 31320, 57218, 40306, 41093, 38051, 32637, 1486, 9690, 3339, 23670, 19363, 44689, 10306, 4757, 19082, 44131, 29673, 46858, 17365, 20493, 6017, 41997, 57134, 10759, 33615, 29220, 41789, 54856, 58661, 18862, 38980, 61273, 8668, 2282, 32125, 2995, 23230, 26188}, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 48, objArr3);
|
|
String str = (String) objArr3[0];
|
|
Object[] objArr4 = new Object[1];
|
|
ax(new char[]{36077, 54951, 9573, 23834, 11579, 34922, 7701, 51186, 13728, 15305, 20864, 7039, 20864, 7039, 29732, 43113, 46805, 14598, 14778, 35542, 13314, 39072, 15390, 26827, 44455, 43710, 17392, 9734, 921, 8241, 53245, 23275, 46864, 717, 59707, 5753, 58838, 3174, 58661, 18862, 11579, 34922, 27778, 25214, 35587, 17384, 11579, 34922, 64527, 41813, 38702, 30921, 32125, 2995, 60659, 52178, 8388, 27393, 57720, 44964, 11579, 34922, 19611, 63074}, 64 - KeyEvent.normalizeMetaState(0), objArr4);
|
|
String str2 = (String) objArr4[0];
|
|
Object[] objArr5 = new Object[1];
|
|
ay((short) TextUtils.indexOf("", "", 0, 0), (-415008810) + (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 41 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (ViewConfiguration.getScrollBarFadeDuration() >> 16) - 1382756558, (byte) Gravity.getAbsoluteGravity(0, 0), objArr5);
|
|
String str3 = (String) objArr5[0];
|
|
Object[] objArr6 = new Object[1];
|
|
ax(new char[]{5025, 21163, 20750, 26390, 35471, 39790, 49546, 40316, 11835, 56470, 42146, 33645, 52033, 11310, 972, 20460, 63722, 16811, 25659, 16981, 28165, 51866, 5987, 27608, 17949, 18590, 61177, 31222, 30683, 29906, 12548, 18847, 22301, 12981, 46612, 11123, 41486, 25344, 8530, 53216, 59549, 29942, 20754, 22105, 51868, 21211, 59549, 29942, 39058, 53424, 52033, 11310, 41952, 14213, 2345, 39119, 2933, 43495, 58451, 18855, 61181, 3975, 41598, 42566, 20168, 16456, 12145, 19582, 48601, 18850, 10215, 20856, 133, 1897}, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 74, objArr6);
|
|
String str4 = (String) objArr6[0];
|
|
Object[] objArr7 = new Object[1];
|
|
ax(new char[]{55432, 645, 22685, 51163, 27446, 59816}, (ViewConfiguration.getTapTimeout() >> 16) + 5, objArr7);
|
|
String str5 = (String) objArr7[0];
|
|
Object[] objArr8 = new Object[1];
|
|
ay((short) TextUtils.indexOf("", "", 0, 0), TextUtils.indexOf("", "", 0) - 415008747, TextUtils.lastIndexOf("", '0', 0) + 13, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1382756555, (byte) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 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(487 - View.combineMeasuredStates(0, 0), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (Process.getGidForName("") + 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);
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // 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 = q + 55;
|
|
x = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
super.onStart();
|
|
if (i3 == 0) {
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
public void o() {
|
|
int i = 2 % 2;
|
|
int i2 = x + 53;
|
|
q = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
public void m() {
|
|
int i = 2 % 2;
|
|
int i2 = q + 97;
|
|
x = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
}
|
|
|
|
protected boolean k() {
|
|
int i = 2 % 2;
|
|
int i2 = x;
|
|
int i3 = i2 + 55;
|
|
q = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
int i5 = i2 + 49;
|
|
q = i5 % 128;
|
|
if (i5 % 2 == 0) {
|
|
return true;
|
|
}
|
|
throw null;
|
|
}
|
|
}
|