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

728 lines
46 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.google.common.primitives.SignedBytes;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.mwpartner.MwCreateQrActivity;
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;
import org.jmrtd.PassportService;
/* renamed from: o.dYd, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC8869dYd extends BaseActivity implements fPA {
private static short[] q;
private volatile C13073fPt m;
private static final byte[] $$g = {78, -14, -82, ISO7816.INS_UPDATE_BINARY};
private static final int $$h = 233;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int y = 1;
/* renamed from: o, reason: collision with root package name */
private static int f8867o = -1096021558;
private static int k = 1406017140;
private static int r = 792372184;
private static byte[] s = {-92, -41, -39, -43, -29, -22, -75, -75, ISO7816.INS_UNBLOCK_CHV, -45, -106, 29, -20, -19, -22, -39, -31, ISO7816.INS_PUT_DATA, -92, -44, Ascii.DEL, -82, SignedBytes.MAX_POWER_OF_TWO, -41, ISOFileInfo.AB, ISO7816.INS_UPDATE_BINARY, -47, 125, -124, -90, Ascii.DEL, 122, ISOFileInfo.A0, 125, ISO7816.INS_UPDATE_BINARY, 67, ISO7816.INS_GET_DATA, -89, -8, -113, -7, ISOFileInfo.A0, -23, ISO7816.INS_READ_BINARY_STAMPED, 17, ISOFileInfo.CHANNEL_SECURITY, -2, Ascii.SYN, -113, Ascii.DC2, -119, Ascii.ETB, -83, -113, -90, -1, -8, Ascii.SYN, -8, -113, Ascii.ETB, -93, -75, -84, Ascii.ETB, -113, -7, -93, -8, ISOFileInfo.AB, -16, ISOFileInfo.A0, -24, PSSSigner.TRAILER_IMPLICIT, -27, -84, -8, 28, ISO7816.INS_READ_BINARY_STAMPED, 28, -78, -94, -2, -7, -90, -27, -94, -89, -1, -89, -2, 19, -113, -90, 29, -113, Ascii.DC2, -120, Ascii.ETB, -2, ISO7816.INS_GET_DATA, ISOFileInfo.A5, -4, Ascii.DC4, ISOFileInfo.A5, ISOFileInfo.SECURITY_ATTR_COMPACT, -22, -58, -33, -37, -104, Ascii.DC4, ISOFileInfo.FILE_IDENTIFIER, -21, ISO7816.INS_WRITE_RECORD, Ascii.DC4, -126, -16, -92, -126, -60, ISOFileInfo.FILE_IDENTIFIER, -22, ISOFileInfo.SECURITY_ATTR_COMPACT, Ascii.NAK, 17, Byte.MIN_VALUE, -126, 17, ISOFileInfo.A5, Byte.MIN_VALUE, -13, ISOFileInfo.A1, -4, Ascii.DC4, ISOFileInfo.FILE_IDENTIFIER, -92, Byte.MIN_VALUE, -13, -70, -58, ISOFileInfo.SECURITY_ATTR_COMPACT, -24, Byte.MIN_VALUE, Ascii.SYN, -33, Ascii.NAK, Ascii.SYN, -2, Ascii.EM, ISOFileInfo.ENV_TEMP_EF, -89, -126, -57, -113, -24, ISO7816.INS_WRITE_RECORD, 17, -57, -89, -13, Ascii.DC4, -119, -72, -4, 77, -108, -101, 125, 99, -124, 79, 14, -43, 9, -109, -100, 76, 75, -105, -120, 84, 75, -99, Byte.MIN_VALUE, 80, 76, -98, ISOFileInfo.FCI_EXT, 91, 65, 99, 126, -106, 76, -99, SignedBytes.MAX_POWER_OF_TWO, 99, 126, -100, ISOFileInfo.SECURITY_ATTR_EXP, 8, -109, 96, 76, 125, 97, 78, 65, -104, 70, -44, 81, 79, -97, 77, ISO7816.INS_REHABILITATE_CHV, -103, 74, -108, 67, -97, 74, -110, 76, -98, ISO7816.INS_REHABILITATE_CHV, -98, 74, ISO7816.INS_REHABILITATE_CHV, ISO7816.INS_UPDATE_BINARY, -110, 71, 85, -111, 78, -110, -98, ISO7816.INS_READ_BINARY2, 109, -111, 101, -106, ISO7816.INS_UPDATE_BINARY, 121, 33, ISO7816.INS_PSO, 32, 7, 35, 115, Ascii.ESC, ISO7816.INS_MANAGE_CHANNEL, 16, 122, 46, Ascii.US, 35, 84, ISO7816.INS_PSO, 121, 33, 85, 32, 35, 40, 28, 38, 126, 47, 82, 38, 33, ISO7816.INS_UNBLOCK_CHV, 30, 101, 87, Ascii.SUB, 33};
private static char[] t = {39999, 40045, 40035, 40056, 40044, 40007, 40093, 40092, 40084, 40106, 40089, 40081, 40097, 40105, 40104, 40104, 40105, 40084, 40077, 40032, 40072, 40111, 40087, 40048, 40054, 40081, 40107, 40111, 40084, 40086, 40080, 39959, 39998, 40002, 40001, 40001, 40001, 39998, 40006, 40001, 39993, 39998, 39998, 39992, 40001, 40006, 40004, 40005, 40007, 40007, 40007, 40005, 40005, 40001, 39994, 39992, 39997, 39999, 40000, 40046, 40040, 40041, 40001, 39992, 39997, 39996, 40007, 40006, 40005, 40007, 39993, 39999, 39998, 40000, 40001, 40000, 40047, 40040, 40042};
private final Object l = new Object();
boolean b = false;
private static void az(byte b, int i, int i2, Object[] objArr) {
byte[] bArr = $$g;
int i3 = 110 - i;
int i4 = i2 * 2;
int i5 = 3 - (b * 2);
byte[] bArr2 = new byte[i4 + 1];
int i6 = -1;
if (bArr == null) {
i3 = (-i3) + i4;
i6 = -1;
}
while (true) {
int i7 = i6 + 1;
bArr2[i7] = (byte) i3;
i5++;
if (i7 == i4) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i3 = (-bArr[i5]) + i3;
i6 = i7;
}
}
}
public AbstractActivityC8869dYd() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dYd.2
private AbstractActivityC8869dYd d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8869dYd abstractActivityC8869dYd = this.d;
if (abstractActivityC8869dYd.b) {
return;
}
abstractActivityC8869dYd.b = true;
((dZB) abstractActivityC8869dYd.y_()).b((MwCreateQrActivity) abstractActivityC8869dYd);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = p + 109;
y = i2 % 128;
int i3 = i2 % 2;
C13073fPt h = h();
if (i3 != 0) {
return h.y_();
}
h.y_();
Object obj = null;
obj.hashCode();
throw null;
}
private C13073fPt h() {
if (this.m == null) {
synchronized (this.l) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
Bundle bundle = null;
if (getIntent() != null) {
int i2 = p + 99;
y = i2 % 128;
if (i2 % 2 == 0) {
getIntent().getExtras();
bundle.hashCode();
throw null;
}
bundle = getIntent().getExtras();
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i3 = y + 15;
p = i3 % 128;
int i4 = i3 % 2;
return aBN_;
}
@Override // 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((short) (TextUtils.indexOf("", "", 0, 0) + 32), Color.argb(0, 0, 0, 0) + 312338465, (-16777314) - Color.rgb(0, 0, 0), (-2096414060) + (ViewConfiguration.getScrollBarFadeDuration() >> 16), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_success_result_description_cdx).substring(0, 115).length() - 145), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{0, 5, 0, 2}, false, new byte[]{1, 1, 1, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = p + 73;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ay(new int[]{5, 26, 52, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.liveness_permission_camera_description).substring(27, 28).codePointAt(0) + 75), 312338483 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (-98) - Gravity.getAbsoluteGravity(0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 2096414071, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 156), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = p + 121;
y = 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(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 493, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new int[]{31, 48, 0, 39}, false, new byte[]{1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.onboarding_input_address_thanon_is_not_allowed).substring(18, 19).codePointAt(0) + 12), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 312338488, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.prepaid_market_conduct_link_label).substring(0, 13).codePointAt(7) - 144, (-2096414057) - MotionEvent.axisFromString(""), (byte) ((ViewConfiguration.getTouchSlop() >> 8) - 28), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.point_event_exchange_rate).substring(25, 26).codePointAt(0) + 19), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_personal_info_privacy_notice).substring(109, 110).codePointAt(0) + 312338533, TextUtils.indexOf((CharSequence) "", '0', 0, 0) - 97, (-2096414061) - TextUtils.lastIndexOf("", '0', 0, 0), (byte) (55 - TextUtils.indexOf("", "", 0)), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 146), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 312338616, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 132, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.banking_amount_error_divisible_by).substring(28, 29).codePointAt(0) - 2096414085, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mw_qualification_second_note).substring(0, 2).length() + 21), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_review_experience_values).substring(0, 5).codePointAt(3) - 237), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 312338657, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.crop_document_error_wrong_file).substring(36, 37).codePointAt(0) - 130, (-2096414100) - Color.alpha(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 38), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mtrl_picker_range_header_selected).substring(0, 11).length() + 58), 312338708 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) - 98, (-2096414056) - View.MeasureSpec.getMode(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.installment_plans_general_terms).substring(117, 118).codePointAt(0) - 155), 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 - (ViewConfiguration.getPressedStateDuration() >> 16), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) TextUtils.indexOf("", "", 0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = p + 77;
y = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new int[]{5, 26, 52, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 94), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 312338449, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 111, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 2096414059, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.add_account_title_selector).substring(31, 32).length() - 46), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 13;
y = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - KeyEvent.getDeadChar(0, 0), 5 - TextUtils.getTrimmedLength(""), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (MotionEvent.axisFromString("") + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void ay(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
char[] cArr;
int i = 2 % 2;
TVH tvh = new TVH();
int i2 = 0;
int i3 = iArr[0];
int i4 = iArr[1];
int i5 = iArr[2];
int i6 = iArr[3];
char[] cArr2 = t;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i2] = Integer.valueOf(cArr2[i7]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', i2, i2) + PassportService.DEFAULT_MAX_BLOCKSIZE, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) (Color.alpha(i2) + 41977));
byte b = (byte) i2;
Object[] objArr3 = new Object[1];
az(b, (byte) (b | 39), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
i2 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i4];
System.arraycopy(cArr2, i3, cArr4, 0, i4);
if (bArr != null) {
char[] cArr5 = new char[i4];
tvh.c = 0;
char c = 0;
while (tvh.c < i4) {
if (bArr[tvh.c] == 1) {
int i8 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 502, Gravity.getAbsoluteGravity(0, 0) + 5, (char) (54 - (ViewConfiguration.getTouchSlop() >> 8)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i8] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i9 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - (ViewConfiguration.getScrollBarSize() >> 8), 5 - View.resolveSize(0, 0), (char) ((ViewConfiguration.getLongPressTimeout() >> 16) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i9] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
int i10 = $11 + 95;
$10 = i10 % 128;
int i11 = i10 % 2;
}
c = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - KeyEvent.keyCodeFromString(""), 5 - Drawable.resolveOpacity(0, 0), (char) (21608 - TextUtils.getOffsetAfter("", 0)));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b2, (byte) (b2 | 37), b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
int i12 = $10 + 53;
$11 = i12 % 128;
int i13 = i12 % 2;
}
cArr4 = cArr5;
}
if (i6 > 0) {
char[] cArr6 = new char[i4];
System.arraycopy(cArr4, 0, cArr6, 0, i4);
int i14 = i4 - i6;
System.arraycopy(cArr6, 0, cArr4, i14, i6);
System.arraycopy(cArr6, i6, cArr4, 0, i14);
}
if (z) {
int i15 = $11 + 43;
$10 = i15 % 128;
if (i15 % 2 != 0) {
cArr = new char[i4];
tvh.c = 1;
} else {
cArr = new char[i4];
tvh.c = 0;
}
while (tvh.c < i4) {
cArr[tvh.c] = cArr4[(i4 - tvh.c) - 1];
tvh.c++;
int i16 = $10 + 5;
$11 = i16 % 128;
int i17 = i16 % 2;
}
cArr4 = cArr;
}
if (i5 > 0) {
int i18 = $11 + 33;
$10 = i18 % 128;
int i19 = i18 % 2;
int i20 = 0;
while (true) {
tvh.c = i20;
if (tvh.c >= i4) {
break;
}
int i21 = $10 + 69;
$11 = i21 % 128;
if (i21 % 2 == 0) {
cArr4[tvh.c] = (char) (cArr4[tvh.c] % iArr[3]);
i20 = tvh.c;
} else {
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i20 = tvh.c + 1;
}
}
}
objArr[0] = new String(cArr4);
}
@Override // 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 = p + 67;
y = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new int[]{5, 26, 52, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.lbl_point_x).substring(5, 6).length() + 106), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 312338470, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 210, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.recommended_billers_bnpl_remark).substring(0, 1).length() - 2096414059, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) - 144), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = y + 57;
p = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = y + 121;
p = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 493, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).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(Color.blue(0) + 487, 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) KeyEvent.keyCodeFromString(""))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(486 - ExpandableListView.getPackedPositionChild(0L), ImageFormat.getBitsPerPixel(0) + 6, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
int i7 = p + 21;
y = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void ax(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
boolean z;
int length;
byte[] bArr;
int length2;
byte[] bArr2;
int i4 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(k)};
Object obj = xzZ.y.get(-2092856797);
if (obj == null) {
Class cls = (Class) xzZ.c(336 - ((byte) KeyEvent.getModifierMetaStateMask()), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (TextUtils.lastIndexOf("", '0') + 1));
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);
xzZ.y.put(-2092856797, obj);
}
Object obj2 = null;
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
int i5 = intValue == -1 ? 1 : 0;
int i6 = i5 ^ 1;
float f = BitmapDescriptorFactory.HUE_RED;
if (i6 != 1) {
int i7 = $11 + 11;
int i8 = i7 % 128;
$10 = i8;
if (i7 % 2 != 0) {
obj2.hashCode();
throw null;
}
byte[] bArr3 = s;
if (bArr3 != null) {
int i9 = i8 + 55;
$11 = i9 % 128;
if (i9 % 2 == 0) {
length2 = bArr3.length;
bArr2 = new byte[length2];
} else {
length2 = bArr3.length;
bArr2 = new byte[length2];
}
int i10 = 0;
while (i10 < length2) {
int i11 = $11 + 91;
$10 = i11 % 128;
int i12 = i11 % 2;
Object[] objArr4 = {Integer.valueOf(bArr3[i10])};
Object obj3 = xzZ.y.get(-1648115392);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(60 - KeyEvent.keyCodeFromString(""), 5 - Color.blue(0), (char) (TypedValue.complexToFraction(0, f, f) > f ? 1 : (TypedValue.complexToFraction(0, f, f) == f ? 0 : -1)));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 2);
Object[] objArr5 = new Object[1];
az(b4, b5, (byte) (b5 - 2), objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj3);
}
bArr2[i10] = ((Byte) ((Method) obj3).invoke(null, objArr4)).byteValue();
i10++;
f = BitmapDescriptorFactory.HUE_RED;
}
bArr3 = bArr2;
}
if (bArr3 != null) {
byte[] bArr4 = s;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(f8867o)};
Object obj4 = xzZ.y.get(-2092856797);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(337 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
az(b6, b7, b7, objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj4);
}
intValue = (byte) (((byte) (bArr4[((Integer) ((Method) obj4).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (k ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (q[i + ((int) (f8867o ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (k ^ (-7303220121662775787L))));
int i13 = $10 + 121;
$11 = i13 % 128;
if (i13 % 2 == 0) {
int i14 = 5 % 4;
}
}
}
if (intValue > 0) {
dfy.c = ((i + intValue) - 2) + ((int) (f8867o ^ (-7303220121662775787L))) + i5;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(r), sb};
Object obj5 = xzZ.y.get(1546973421);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 748, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj5);
}
((StringBuilder) ((Method) obj5).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr5 = s;
if (bArr5 != null) {
int i15 = $11 + 115;
$10 = i15 % 128;
if (i15 % 2 != 0) {
length = bArr5.length;
bArr = new byte[length];
} else {
length = bArr5.length;
bArr = new byte[length];
}
int i16 = 0;
while (i16 < length) {
int i17 = $10 + 41;
$11 = i17 % 128;
if (i17 % 2 == 0) {
bArr[i16] = (byte) (bArr5[i16] - 7303220121662775787L);
} else {
bArr[i16] = (byte) (bArr5[i16] ^ (-7303220121662775787L));
i16++;
}
}
bArr5 = bArr;
}
if (bArr5 != null) {
int i18 = $11 + 37;
$10 = i18 % 128;
int i19 = i18 % 2;
z = true;
} else {
z = false;
}
dfy.d = 1;
while (dfy.d < intValue) {
int i20 = $11 + 45;
$10 = i20 % 128;
if (i20 % 2 != 0) {
Object obj6 = null;
obj6.hashCode();
throw null;
}
if (z) {
byte[] bArr6 = s;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r8] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = q;
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++;
}
}
objArr[0] = sb.toString();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
@Override // 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];
ax((short) (32 - (ViewConfiguration.getTouchSlop() >> 8)), 312338465 + (ViewConfiguration.getMaximumFlingVelocity() >> 16), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 99, (-2096414060) - View.resolveSizeAndState(0, 0, 0), (byte) ((-30) - (ViewConfiguration.getWindowTouchSlop() >> 8)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{0, 5, 0, 2}, false, new byte[]{1, 1, 1, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = y + 13;
p = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i4 = y + 117;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((-16776724) - Color.rgb(0, 0, 0), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 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[] objArr3 = new Object[1];
ay(new int[]{31, 48, 0, 39}, false, new byte[]{1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax((short) (45 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), 312338501 - Color.green(0), (-97) - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (-2096414056) - View.MeasureSpec.getSize(0), (byte) ((-28) - View.combineMeasuredStates(0, 0)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax((short) (52 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), 312338565 + (ViewConfiguration.getFadingEdgeLength() >> 16), (-98) - ExpandableListView.getPackedPositionType(0L), (-2096414060) - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (byte) (55 - KeyEvent.getDeadChar(0, 0)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((short) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 113), 312338630 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (-98) - ExpandableListView.getPackedPositionGroup(0L), (-2096414053) - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (byte) (ExpandableListView.getPackedPositionGroup(0L) + 23), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((short) ((-122) - (ViewConfiguration.getMinimumFlingVelocity() >> 16)), Color.green(0) + 312338703, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 99, (-2096414100) - TextUtils.indexOf("", "", 0, 0), (byte) ((-4) - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1))), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((short) (TextUtils.indexOf("", "") + 69), (Process.myTid() >> 22) + 312338708, (-99) - TextUtils.lastIndexOf("", '0', 0, 0), (-2096414056) - (ViewConfiguration.getScrollDefaultDelay() >> 16), (byte) (TextUtils.indexOf("", "") - 123), 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(((byte) KeyEvent.getModifierMetaStateMask()) + 488, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (TextUtils.lastIndexOf("", '0') + 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // 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 = y + 37;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}