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

515 lines
38 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.PointF;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
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.BaseActivityWithFragment;
import com.scb.phone.view.activity.hml.HmlOccupationInfoActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.signers.PSSSigner;
/* loaded from: classes4.dex */
public abstract class dOA extends BaseActivityWithFragment implements fPA {
private static short[] r;
private volatile C13073fPt b;
private final Object l = new Object();
private boolean m = false;
private static final byte[] $$y = {29, 33, 79, 109};
private static final int $$z = 21;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int v = 1;
/* renamed from: o, reason: collision with root package name */
private static int f8785o = -1851501857;
private static int k = 1406017077;
private static int p = -53295641;
private static byte[] q = {-23, Ascii.US, -21, -27, -20, 11, 11, -94, Ascii.NAK, 40, -45, ISO7816.INS_APPEND_RECORD, -29, -20, Ascii.US, -25, 28, 123, 114, 75, 96, 106, 83, 101, 99, 75, 109, 117, 105, -104, 107, 60, 126, ISOFileInfo.FCI_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, 32, 115, ISO7816.INS_MANAGE_CHANNEL, 125, 108, 116, 109, 2, 11, Ascii.CAN, 62, 3, 7, 0, 1, 13, 82, -16, 11, ISO7816.INS_DECREASE_STAMPED, 30, 13, 0, 63, 93, ISO7816.INS_READ_RECORD2, 91, -78, 96, 107, 110, 92, 108, 99, 109, -69, 103, 105, 104, 108, 83, ISO7816.INS_READ_BINARY2, 90, -78, 94, ISO7816.INS_READ_RECORD2, 92, ISO7816.INS_READ_RECORD2, ISO7816.INS_REHABILITATE_CHV, ISO7816.INS_READ_RECORD2, ISOFileInfo.FCI_BYTE, 97, 106, 109, 95, ISO7816.INS_READ_RECORD_STAMPED, 107, 95, -67, 94, -67, 103, 69, ISOFileInfo.FCI_BYTE, 97, 105, PSSSigner.TRAILER_IMPLICIT, 95, -78, 99, 106, Ascii.ESC, 28, 35, 29, 4, -51, 32, -11, ISO7816.INS_MSE, Ascii.DC2, ISO7816.INS_GET_DATA, 35, -50, 45, -53, Ascii.EM, 35, Ascii.SUB, 19, 28, ISO7816.INS_GET_DATA, 28, 35, -53, Ascii.US, 33, Ascii.CAN, -53, 35, 29, Ascii.US, 28, 7, Ascii.DC4, 4, -52, 40, 17, Ascii.CAN, 28, -56, 32, -56, 46, 30, Ascii.DC2, 29, Ascii.SUB, 17, 30, Ascii.ESC, 19, Ascii.ESC, Ascii.DC2, -49, 35, Ascii.SUB, -55, 35, -50, ISO7816.INS_UNBLOCK_CHV, -53, Ascii.DC2, -49, ISO7816.INS_CHANGE_CHV, 28, -49, Ascii.DC4, 30, ISO7816.INS_MSE, -59, 41, -24, 28, 17, Ascii.EM, -58, 28, Ascii.SYN, 32, -52, Ascii.SYN, ISO7816.INS_UNBLOCK_CHV, 17, 30, Ascii.DC4, Ascii.US, 19, 16, Ascii.SYN, 19, -49, 16, 33, -61, ISO7816.INS_CHANGE_CHV, 28, 17, -52, 16, 33, -50, ISO7816.INS_MSE, Ascii.DC4, Ascii.CAN, 16, Ascii.DC2, -59, Ascii.US, Ascii.DC2, 58, Ascii.ESC, Ascii.ETB, -51, Ascii.SYN, 45, Ascii.NAK, Ascii.CAN, -58, 19, 45, -51, 33, 28, -21, -56, ISO7816.INS_READ_BINARY_STAMPED, -67, -66, -124, -90, -51, ISOFileInfo.LCS_BYTE, 75, -4, 72, ISO7816.INS_READ_RECORD_STAMPED, ISOFileInfo.A5, -75, ISOFileInfo.CHANNEL_SECURITY, -78, -55, 125, ISOFileInfo.CHANNEL_SECURITY, -92, -63, 113, -75, -69, ISO7816.INS_ENVELOPE, 126, Byte.MIN_VALUE, -90, -101, ISO7816.INS_READ_RECORD2, -75, -92, ISOFileInfo.DATA_BYTES2, -90, -101, ISOFileInfo.A5, -50, 73, ISO7816.INS_READ_RECORD_STAMPED, ISOFileInfo.A1, -75, -124, ISOFileInfo.A0, ISOFileInfo.SECURITY_ATTR_EXP, Byte.MIN_VALUE, -71, ISOFileInfo.FILE_IDENTIFIER, -3, ISO7816.INS_MANAGE_CHANNEL, ISOFileInfo.LCS_BYTE, -70, ISO7816.INS_READ_BINARY_STAMPED, ISOFileInfo.ENV_TEMP_EF, -72, -113, -67, -122, -70, -113, -73, -75, -69, ISOFileInfo.ENV_TEMP_EF, -69, -113, ISOFileInfo.ENV_TEMP_EF, -13, -73, -126, 124, ISO7816.INS_READ_BINARY, ISOFileInfo.SECURITY_ATTR_EXP, -73, -69, 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, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private static long s = -737943284019560291L;
private static void aF(int i, byte b, int i2, Object[] objArr) {
int i3 = 3 - (i * 4);
int i4 = i2 * 3;
byte[] bArr = $$y;
int i5 = 121 - b;
byte[] bArr2 = new byte[i4 + 1];
int i6 = -1;
if (bArr == null) {
i6 = -1;
i5 = i3 + i5;
i3 = i3;
}
while (true) {
int i7 = i6 + 1;
int i8 = i3 + 1;
bArr2[i7] = (byte) i5;
if (i7 == i4) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i6 = i7;
i5 = bArr[i8] + i5;
i3 = i8;
}
}
}
public dOA() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dOA.3
private dOA a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.a.j();
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = v + 41;
t = i2 % 128;
int i3 = i2 % 2;
Object y_ = g().y_();
int i4 = t + 101;
v = i4 % 128;
if (i4 % 2 != 0) {
return y_;
}
throw null;
}
private C13073fPt g() {
if (this.b == null) {
synchronized (this.l) {
if (this.b == null) {
this.b = new C13073fPt(this);
}
}
}
return this.b;
}
protected void j() {
int i = 2 % 2;
int i2 = t + 19;
v = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 56 / 0;
if (this.m) {
return;
}
} else if (this.m) {
return;
}
this.m = true;
((dQP) y_()).b((HmlOccupationInfoActivity) this);
int i4 = t + 99;
v = i4 % 128;
int i5 = i4 % 2;
}
private static void aE(char[] cArr, int i, Object[] objArr) {
Object obj;
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(s ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
while (true) {
obj = null;
if (guL.a >= a.length) {
break;
}
int i4 = $10 + 77;
$11 = i4 % 128;
int i5 = i4 % 2;
guL.c = guL.a - i3;
int i6 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(s)};
Object obj2 = xzZ.y.get(428080616);
if (obj2 == null) {
Class cls = (Class) xzZ.c(208 - Color.blue(0), 5 - TextUtils.getOffsetAfter("", 0), (char) (1706 - View.MeasureSpec.makeMeasureSpec(0, 0)));
byte b = (byte) 0;
byte b2 = (byte) (b + 2);
Object[] objArr3 = new Object[1];
aF(b, b2, (byte) (b2 - 2), objArr3);
obj2 = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj2);
}
a[i6] = ((Character) ((Method) obj2).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj3 = xzZ.y.get(-1875914398);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(392 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) ((-1) - Process.getGidForName("")));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aF(b3, b4, b4, objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj3);
}
((Method) obj3).invoke(null, objArr4);
i3 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(a, 4, a.length - 4);
int i7 = $10 + 23;
$11 = i7 % 128;
if (i7 % 2 != 0) {
objArr[0] = str;
} else {
obj.hashCode();
throw null;
}
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
bundle = getIntent().getExtras();
int i2 = v + 87;
t = i2 % 128;
int i3 = i2 % 2;
} else {
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i4 = v + 57;
t = i4 % 128;
if (i4 % 2 == 0) {
return aBN_;
}
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 100), 1033220918 + (ViewConfiguration.getKeyRepeatDelay() >> 16), (Process.myPid() >> 22) - 14, 1357063279 + (ViewConfiguration.getTapTimeout() >> 16), (byte) (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{20907, 20934, 55895, 8834, 19539, 748, 37715, 50812, 12999}, Color.blue(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) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = t + 7;
v = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aD((short) ((KeyEvent.getMaxKeyCode() >> 16) - 107), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_car_insurance_sales_sheet_error_title).substring(0, 30).codePointAt(1) + 1033217318, ((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().getApplicationInfo().targetSdkVersion + 1357063245, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ntb_fillinformation_review_info_home_branch_disclaimer).substring(0, 1).length() - 1), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.gift_tutorial_message_step_2).substring(7, 8).codePointAt(0) - 56), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.cardless_atm_cardx_rebrand_description).substring(22, 23).length() + 1033220959, (-15) - ExpandableListView.getPackedPositionChild(0L), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) + 1357063172, (byte) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = t + 71;
v = 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(491 - TextUtils.lastIndexOf("", '0'), TextUtils.indexOf("", "") + 5, (char) (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)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_slip_duration_value).substring(0, 5).length() - 126), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.status_bar_notification_info_overflow).substring(0, 4).length() + 1033220973, 16 - TextUtils.getTrimmedLength(""), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 1357063231, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.abc_menu_shift_shortcut_label).substring(0, 6).codePointAt(3) - 112), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.low_memory_text).substring(57, 58).length() + 1033221023, 31 - TextUtils.lastIndexOf("", '0', 0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.investment_deeplink_my_alert_no_account_dialog_description).substring(67, 68).codePointAt(0) + 1357063251, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.remittance_plus_sign).substring(0, 1).length() - 1), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.new_transaction_successful).substring(23, 24).length() - 7), 1033221087 - Color.argb(0, 0, 0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 2, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.permission_location_never_ask_again).substring(23, 24).length() + 1357063278, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 111), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 60), AndroidCharacter.getMirror('0') + 46062, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.levelup_repayment_qrcode).substring(0, 3).codePointAt(0) - 39, 1357063286 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.view_1_point_redemption).substring(4, 5).length() - 1), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(new char[]{30811, 30818, 2717, 12907, 28739, 53873, 33751, 64043, 7011}, View.getDefaultSize(0, 0), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD((short) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1), 1033221223 - View.getDefaultSize(0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_submitted_result_back).substring(0, 12).length() - 8, 1357063283 - View.MeasureSpec.makeMeasureSpec(0, 0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.remark_value).substring(0, 6).codePointAt(3) - 82), 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.getLongPressTimeout() >> 16) + 487, 5 - View.combineMeasuredStates(0, 0), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).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);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.pin_mismatch).substring(4, 5).codePointAt(0) - 139), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.billpayment_bnpl_coin_more_detail_header_3).substring(0, 13).codePointAt(11) + 1033217326, ((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().getPackageName().codePointAt(3) + 1357063233, (byte) View.combineMeasuredStates(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((short) ((-24) - (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))), 1033220879 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.qr_edit_prompt_pay).substring(14, 17).codePointAt(1), (-14) - (ViewConfiguration.getJumpTapTimeout() >> 16), 1357063280 + (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.deposit_detail_prompt_pay).substring(9, 10).length() - 1), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i2 = t + 51;
v = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = v + 41;
t = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 493, TextUtils.getOffsetBefore("", 0) + 5, (char) TextUtils.getTrimmedLength(""))).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(486 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - KeyEvent.keyCodeFromString(""), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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) {
Object[] objArr = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.credit_card_message_m_card).substring(0, 7).codePointAt(3) - 139), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.product_points).substring(0, 5).length() + 1033220930, ((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().getApplicationInfo().targetSdkVersion + 1357063245, (byte) ((-1) - Process.getGidForName("")), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 58), 1033220928 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.redeem_ssf_or_tesg_dialog_description).substring(21, 22).codePointAt(0), TextUtils.lastIndexOf("", '0', 0, 0) - 13, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1357063268, (byte) Gravity.getAbsoluteGravity(0, 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = v + 109;
t = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.resolveSize(0, 0), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) TextUtils.indexOf("", "", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 486, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).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();
int i4 = t + 119;
v = i4 % 128;
int i5 = i4 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:55:0x0256, code lost:
if ((!r4) != false) goto L54;
*/
/* JADX WARN: Code restructure failed: missing block: B:56:0x026a, code lost:
r4 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:90:0x026c, code lost:
r4 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:92:0x0268, code lost:
if (r4 != false) goto L53;
*/
/* JADX WARN: Removed duplicated region for block: B:76:0x031f */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aD(short r18, int r19, int r20, int r21, byte r22, java.lang.Object[] r23) {
/*
Method dump skipped, instructions count: 948
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.dOA.aD(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = v + 9;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD((short) (5 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))), 1033220917 - ExpandableListView.getPackedPositionChild(0L), View.combineMeasuredStates(0, 0) - 14, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 1357063279, (byte) (ViewConfiguration.getTouchSlop() >> 8), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{20907, 20934, 55895, 8834, 19539, 748, 37715, 50812, 12999}, KeyEvent.getMaxKeyCode() >> 16, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = v + 99;
t = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Gravity.getAbsoluteGravity(0, 0), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD((short) (View.resolveSize(0, 0) - 121), ((byte) KeyEvent.getModifierMetaStateMask()) + 1033220978, 15 - TextUtils.lastIndexOf("", '0', 0, 0), 1357063230 - TextUtils.indexOf((CharSequence) "", '0'), (byte) Color.blue(0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD((short) ((-10) - Color.green(0)), 1033221024 - TextUtils.getCapsMode("", 0, 0), (Process.myPid() >> 22) + 32, 1357063284 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (byte) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD((short) (Drawable.resolveOpacity(0, 0) - 6), 1033221087 - (ViewConfiguration.getKeyRepeatDelay() >> 16), ((byte) KeyEvent.getModifierMetaStateMask()) + 33, TextUtils.indexOf("", "") + 1357063279, (byte) (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)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD((short) (View.MeasureSpec.getMode(0) + 94), (ViewConfiguration.getEdgeSlop() >> 16) + 1033221150, (ViewConfiguration.getTapTimeout() >> 16) + 42, ExpandableListView.getPackedPositionGroup(0L) + 1357063286, (byte) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new char[]{30811, 30818, 2717, 12907, 28739, 53873, 33751, 64043, 7011}, ViewConfiguration.getScrollBarFadeDuration() >> 16, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD((short) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))), 1033221224 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 4 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 1357063282 - Process.getGidForName(""), (byte) ((-1) - TextUtils.lastIndexOf("", '0')), objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 486, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).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.BaseActivityWithFragment, 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 = v + 11;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 73 / 0;
}
int i5 = t + 105;
v = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
}
}