what-the-bank/sources/com/scb/phone/view/activity/bond/BondLandingActivity.java

857 lines
46 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.bond;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
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.Base64;
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 butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.primitives.SignedBytes;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.ErrorFragment;
import com.scb.phone.view.fragment.bond.BondInputFragment;
import java.lang.reflect.Method;
import java.nio.charset.StandardCharsets;
import o.AbstractActivityC9958dth;
import o.AbstractC13482fbE;
import o.C14957gcv;
import o.C15715hv;
import o.C2657aij;
import o.EV;
import o.FI;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC8988dbI;
import o.TVH;
import o.ZI;
import o.cXH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public class BondLandingActivity extends AbstractActivityC9958dth implements InterfaceC8988dbI.Sts {
private static byte k;
private static char[] l;
private static char[] m;
/* renamed from: o, reason: collision with root package name */
private static char f6584o;
private static int q;
@InterfaceC13391fZD
public C2657aij presenter;
private static final byte[] $$g = {85, SignedBytes.MAX_POWER_OF_TWO, 74, 69};
private static final int $$h = CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aA(short r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 4
int r7 = 120 - r7
byte[] r0 = com.scb.phone.view.activity.bond.BondLandingActivity.$$g
int r8 = r8 * 2
int r1 = 1 - r8
byte[] r1 = new byte[r1]
r2 = 0
int r8 = 0 - r8
if (r0 != 0) goto L15
r7 = r6
r4 = r8
r3 = r2
goto L2c
L15:
r3 = r2
r5 = r7
r7 = r6
r6 = r5
L19:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r8) goto L26
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L26:
int r3 = r3 + 1
int r7 = r7 + 1
r4 = r0[r7]
L2c:
int r6 = r6 + r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bond.BondLandingActivity.aA(short, byte, byte, java.lang.Object[]):void");
}
private void az(String str, Object[] objArr) {
int i = 2 % 2;
int i2 = s + 109;
q = i2 % 128;
int i3 = i2 % 2;
byte[] decode = Base64.decode(str, 0);
byte[] bArr = new byte[decode.length];
for (int i4 = 0; i4 < decode.length; i4++) {
int i5 = s + 29;
q = i5 % 128;
int i6 = i5 % 2;
bArr[i4] = (byte) (decode[(decode.length - i4) - 1] ^ k);
}
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
}
public static Intent Yw_(Context context, FI fi, cXH.IeS.EnumC0105IeS enumC0105IeS) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) BondLandingActivity.class);
intent.putExtra("BOND_INPUT_DISPLAY", fi);
intent.putExtra("PURCHASE_BOND_FLOW", enumC0105IeS);
int i2 = s + 117;
q = i2 % 128;
int i3 = i2 % 2;
return intent;
}
@Override // o.AbstractActivityC9958dth, 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;
int i2 = s + 87;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{0, 18, 107, 1}, false, new byte[]{0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{18, 5, 0, 5}, true, new byte[]{0, 1, 0, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = q + 97;
s = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
ay(new char[]{25, 23, 27, 11, 11, '\'', 27, '.', 26, '\n', '\r', '/', 19, '+', 4, '\'', 18, '\"', '-', 18, '#', ',', 20, '\r', 25, 26}, (byte) (82 - View.MeasureSpec.getSize(0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new int[]{23, 18, CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256, 18}, true, null, 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(492 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new char[]{17, 4, 14, 5, 19, '*', 27, 25, 6, '#', '\n', 22, 21, 7, 18, '#', 7, 21, 11, '$', 15, 20, 27, '&', 21, '(', '-', '(', '0', '(', ' ', 25, 17, '\'', '.', 25, 27, 5, 13853, 13853, '\f', 15, '#', '\'', '.', '(', 5, 20}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_ota_info_first_title).substring(4, 5).codePointAt(0) + 5), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_biller_search_initial_state).substring(50, 51).length() + 47, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new int[]{41, 64, 0, 56}, true, new byte[]{0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{25, '&', 7, 17, 21, 17, 13865, 13865, '\r', '$', 20, 0, 5, 14, 11, '&', 21, 3, 24, '\f', 17, 11, 1, '\n', '.', '(', 27, 5, '(', '$', '\'', 27, 14, 5, 31, '-', '$', '\n', 13781, 13781, '-', 17, '#', 17, '!', 5, ')', 0, 1, 0, 11, '$', '$', '#', '\f', 24, 17, 31, 27, 25, '\'', '(', '-', 5}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.permission_camera_title).substring(0, 9).length() + 33), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 64, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{'+', '/', '/', 11, '+', 30, 13860, 13860, '.', 30, 25, 22, '.', 5, 13926, 13926, '\r', 20, '.', '!', 26, '&', 3, 21, 29, '\b', '*', '/', '0', 7, 3, 27, '/', '0', 23, '-', '/', '*', 1, '(', 27, '\n', 23, '.', '+', '&', 27, '\n', '\r', 6, '.', 5, 23, 0, 26, '\n', 30, 4, 29, 25, 6, 0, '-', '/', 6, 16, '\t', 1, '\r', 27, 1, 27, '/', '-'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 77), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 61, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{'0', 6, ')', '.', 13779}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_edit_qr_amount_hint).substring(0, 11).codePointAt(10) - 74), 5 - View.resolveSize(0, 0), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new char[]{3, 27, '\f', 15, 27, '\'', 17, '\f', NistHelper.SEP_FS, '%', '\r', 3, 2, NistHelper.SEP_FS, 15, '\f', 13836, 13836, 31, 23, 1, 0, ',', '!', '\f', '+', '\n', 22, 4, 0, '-', '(', 17, '(', 20, 4}, (byte) (View.MeasureSpec.makeMeasureSpec(0, 0) + 97), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_review_warning_title).substring(50, 51).length() + 35, 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(488 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 5 - Color.alpha(0), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558574);
ButterKnife.Dg_(this);
this.presenter.e((C2657aij) this);
Intent intent = getIntent();
if (intent != null && !(!intent.hasExtra("BOND_INPUT_DISPLAY")) && intent.hasExtra("PURCHASE_BOND_FLOW")) {
final C2657aij c2657aij = this.presenter;
final FI fi = (FI) intent.getParcelableExtra("BOND_INPUT_DISPLAY");
final cXH.IeS.EnumC0105IeS enumC0105IeS = (cXH.IeS.EnumC0105IeS) intent.getSerializableExtra("PURCHASE_BOND_FLOW");
C14957gcv.e(enumC0105IeS, "");
c2657aij.b = enumC0105IeS;
ZI.IeS ieS = new ZI.IeS(fi, c2657aij, enumC0105IeS) { // from class: o.aim
private C2657aij b;
private cXH.IeS.EnumC0105IeS c;
private FI e;
@Override // o.ZI.IeS
public final void e(Object obj3) {
C2657aij.d(this.e, this.b, this.c, (InterfaceC8988dbI.Sts) obj3);
}
{
this.e = fi;
this.b = c2657aij;
this.c = enumC0105IeS;
}
};
if (c2657aij.f != 0) {
int i6 = s + 79;
q = i6 % 128;
int i7 = i6 % 2;
ieS.e(c2657aij.f);
}
}
super.Z();
ac();
setTitle(this.presenter.b == cXH.IeS.EnumC0105IeS.DLT ? C15715hv.tOB.auto_purchase_bond_dlt_input_title : C15715hv.tOB.bond_landing_title);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public void onDestroy() {
int i = 2 % 2;
int i2 = s + 63;
q = i2 % 128;
if (i2 % 2 != 0) {
this.presenter.w_();
super.onDestroy();
int i3 = q + 3;
s = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 11 / 0;
return;
}
return;
}
this.presenter.w_();
super.onDestroy();
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i;
int i2 = 2 % 2;
super.Z();
ac();
if (this.presenter.b == cXH.IeS.EnumC0105IeS.DLT) {
int i3 = q + 77;
s = i3 % 128;
if (i3 % 2 != 0) {
int i4 = C15715hv.tOB.auto_purchase_bond_dlt_input_title;
Object obj = null;
obj.hashCode();
throw null;
}
i = C15715hv.tOB.auto_purchase_bond_dlt_input_title;
int i5 = s + 11;
q = i5 % 128;
int i6 = i5 % 2;
} else {
i = C15715hv.tOB.bond_landing_title;
}
setTitle(i);
}
@Override // o.InterfaceC8988dbI.Sts
public final void d(FI fi, cXH.IeS.EnumC0105IeS enumC0105IeS) {
int i = 2 % 2;
int i2 = s + 111;
q = i2 % 128;
int i3 = i2 % 2;
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, BondInputFragment.d(fi, enumC0105IeS), null, 1);
a.b();
int i4 = s + 1;
q = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC8988dbI.Sts
public final void c(int i) {
int i2 = 2 % 2;
int i3 = s + 99;
q = i3 % 128;
int i4 = i3 % 2;
AbstractC13482fbE a = getSupportFragmentManager().a();
EV.IeS a2 = EV.a();
a2.d = R.drawable.ic_coming_soon;
a2.b = getString(R.string.bond_selection_error_title);
a2.a = getString(R.string.bond_selection_error_description);
String string = getString(i);
if (string.startsWith(",*,)")) {
Object[] objArr = new Object[1];
az(string.substring(4), objArr);
string = ((String) objArr[0]).intern();
int i5 = q + 75;
s = i5 % 128;
int i6 = i5 % 2;
}
a2.c = string;
a.b(R.id.container, ErrorFragment.a(new EV(a2, (byte) 0)), null, 1);
a.b();
}
@Override // o.AbstractActivityC9958dth, 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();
Object obj = null;
if (baseContext == null) {
int i2 = s + 47;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new char[]{25, 23, 27, 11, 11, '\'', 27, '.', 26, '\n', '\r', '/', 19, '+', 4, '\'', 18, '\"', '-', 18, '#', ',', 20, '\r', 25, 26}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.export_deposite_title_bar).substring(6, 7).length() + 81), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{23, 18, CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256, 18}, true, null, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = s + 65;
q = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = q + 87;
s = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - Gravity.getAbsoluteGravity(0, 0), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 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 - Color.green(0), 4 - MotionEvent.axisFromString(""), (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 493, 5 - TextUtils.getOffsetAfter("", 0), (char) ((-1) - TextUtils.lastIndexOf("", '0')))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(Color.argb(0, 0, 0, 0) + 487, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) Color.blue(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC9958dth, 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() {
Method method;
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = q + 51;
s = i2 % 128;
if (i2 % 2 != 0) {
Object[] objArr = new Object[1];
ay(new char[]{25, 23, 27, 11, 11, '\'', 27, '.', 26, '\n', '\r', '/', 19, '+', 4, '\'', 18, '\"', '-', 18, '#', ',', 20, '\r', 25, 26}, (byte) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 42), Color.alpha(1) + 95, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{23, 18, CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256, 18}, false, null, objArr2);
method = cls.getMethod((String) objArr2[0], new Class[0]);
} else {
Object[] objArr3 = new Object[1];
ay(new char[]{25, 23, 27, 11, 11, '\'', 27, '.', 26, '\n', '\r', '/', 19, '+', 4, '\'', 18, '\"', '-', 18, '#', ',', 20, '\r', 25, 26}, (byte) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 81), 26 - Color.alpha(0), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new int[]{23, 18, CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256, 18}, true, null, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
}
baseContext = (Context) method.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(TextUtils.indexOf("", "", 0) + 492, KeyEvent.keyCodeFromString("") + 5, (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - ImageFormat.getBitsPerPixel(0), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr5);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i3 = s + 53;
q = i3 % 128;
int i4 = i3 % 2;
}
private static void ax(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
Object method;
char[] cArr;
int i2 = 2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr2 = l;
char c = '0';
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i9 = 0;
while (i9 < length) {
int i10 = $10 + 51;
$11 = i10 % 128;
int i11 = i10 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr2[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c(222 - TextUtils.indexOf("", c, i4), 5 - (TypedValue.complexToFloat(i4) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(i4) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (41978 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))));
byte b = (byte) (-1);
cArr = cArr2;
byte b2 = (byte) i4;
Object[] objArr3 = new Object[1];
aA(b, (byte) (b & 49), b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
cArr2 = cArr;
i2 = 2;
i4 = 0;
c = '0';
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i6];
System.arraycopy(cArr2, i5, cArr4, 0, i6);
if (bArr != null) {
char[] cArr5 = new char[i6];
tvh.c = 0;
char c2 = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] != 1) {
int i12 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(1084521042);
if (obj2 != null) {
method = obj2;
} else {
method = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 16, TextUtils.getCapsMode("", 0, 0) + 5, (char) (58134 - (Process.myTid() >> 22)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, method);
}
cArr5[i12] = ((Character) ((Method) method).invoke(null, objArr4)).charValue();
} else {
int i13 = $10 + 123;
$11 = i13 % 128;
if (i13 % 2 == 0) {
int i14 = tvh.c;
try {
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 502, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (54 - ExpandableListView.getPackedPositionType(0L)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
Object obj4 = null;
cArr5[i14] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
obj4.hashCode();
throw null;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i15 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj5 = xzZ.y.get(850398076);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(502 - View.resolveSizeAndState(0, 0, 0), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 55))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj5);
}
cArr5[i15] = ((Character) ((Method) obj5).invoke(null, objArr6)).charValue();
}
char c3 = cArr5[tvh.c];
Object[] objArr7 = {tvh, tvh};
Object obj6 = xzZ.y.get(1698744941);
if (obj6 == null) {
Class cls2 = (Class) xzZ.c(402 - (KeyEvent.getMaxKeyCode() >> 16), View.resolveSizeAndState(0, 0, 0) + 5, (char) (21608 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b3 = (byte) (-1);
Object[] objArr8 = new Object[1];
aA(b3, (byte) (b3 & 47), (byte) 0, objArr8);
obj6 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj6);
}
((Method) obj6).invoke(null, objArr7);
c2 = c3;
}
cArr4 = cArr5;
}
if (i8 > 0) {
int i16 = $11 + 105;
$10 = i16 % 128;
if (i16 % 2 != 0) {
char[] cArr6 = new char[i6];
i = 0;
System.arraycopy(cArr4, 0, cArr6, 1, i6);
System.arraycopy(cArr6, 0, cArr4, i6 / i8, i8);
System.arraycopy(cArr6, i8, cArr4, 1, i6 % i8);
} else {
i = 0;
char[] cArr7 = new char[i6];
System.arraycopy(cArr4, 0, cArr7, 0, i6);
int i17 = i6 - i8;
System.arraycopy(cArr7, 0, cArr4, i17, i8);
System.arraycopy(cArr7, i8, cArr4, 0, i17);
}
} else {
i = 0;
}
if (z) {
char[] cArr8 = new char[i6];
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
cArr8[tvh.c] = cArr4[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr4 = cArr8;
}
if (i7 > 0) {
int i18 = 0;
while (true) {
tvh.c = i18;
if (tvh.c >= i6) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i18 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
private static void ay(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = m;
int i4 = -1;
int i5 = 4;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 298, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + i5, (char) KeyEvent.keyCodeFromString(""));
byte b2 = (byte) i4;
byte b3 = (byte) (b2 + 4);
Object[] objArr3 = new Object[1];
aA(b2, b3, (byte) (b3 - 3), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
i4 = -1;
i5 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i7 = $11 + 83;
$10 = i7 % 128;
int i8 = i7 % 2;
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(f6584o)};
Object obj2 = xzZ.y.get(-1987398494);
long j = 0;
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Color.red(0) + 298, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) TextUtils.indexOf("", ""));
byte b4 = (byte) (-1);
byte b5 = (byte) (b4 + 4);
Object[] objArr5 = new Object[1];
aA(b4, b5, (byte) (b5 - 3), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
int i9 = $11 + 67;
$10 = i9 % 128;
if (i9 % 2 != 0) {
irs.e = 1;
} else {
irs.e = 0;
}
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > j ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == j ? 0 : -1)) + 233, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (Color.alpha(0) + 22024));
byte b6 = (byte) (-1);
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
aA(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 327, 5 - TextUtils.getCapsMode("", 0, 0), (char) Color.alpha(0));
byte b8 = (byte) (-1);
byte b9 = (byte) (b8 + 3);
Object[] objArr9 = new Object[1];
aA(b8, b9, (byte) (b9 - 2), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i10];
} else if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i11 = (irs.a * charValue) + irs.f;
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i11];
cArr4[irs.e + 1] = cArr2[i12];
int i13 = $11 + 61;
$10 = i13 % 128;
int i14 = i13 % 2;
} else {
int i15 = (irs.a * charValue) + irs.j;
int i16 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i15];
cArr4[irs.e + 1] = cArr2[i16];
}
}
irs.e += 2;
int i17 = $11 + 57;
$10 = i17 % 128;
int i18 = i17 % 2;
j = 0;
}
}
for (int i19 = 0; i19 < i; i19++) {
cArr4[i19] = (char) (cArr4[i19] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // o.AbstractActivityC9958dth, 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(new int[]{0, 18, 107, 1}, false, new byte[]{0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{18, 5, 0, 5}, true, new byte[]{0, 1, 0, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = q + 59;
s = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
int i4 = s + 117;
q = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 4 - ExpandableListView.getPackedPositionChild(0L), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new char[]{17, 4, 14, 5, 19, '*', 27, 25, 6, '#', '\n', 22, 21, 7, 18, '#', 7, 21, 11, '$', 15, 20, 27, '&', 21, '(', '-', '(', '0', '(', ' ', 25, 17, '\'', '.', 25, 27, 5, 13853, 13853, '\f', 15, '#', '\'', '.', '(', 5, 20}, (byte) (38 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), (ViewConfiguration.getPressedStateDuration() >> 16) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new int[]{41, 64, 0, 56}, true, new byte[]{0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{25, '&', 7, 17, 21, 17, 13865, 13865, '\r', '$', 20, 0, 5, 14, 11, '&', 21, 3, 24, '\f', 17, 11, 1, '\n', '.', '(', 27, 5, '(', '$', '\'', 27, 14, 5, 31, '-', '$', '\n', 13781, 13781, '-', 17, '#', 17, '!', 5, ')', 0, 1, 0, 11, '$', '$', '#', '\f', 24, 17, 31, 27, 25, '\'', '(', '-', 5}, (byte) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 42), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{'+', '/', '/', 11, '+', 30, 13860, 13860, '.', 30, 25, 22, '.', 5, 13926, 13926, '\r', 20, '.', '!', 26, '&', 3, 21, 29, '\b', '*', '/', '0', 7, 3, 27, '/', '0', 23, '-', '/', '*', 1, '(', 27, '\n', 23, '.', '+', '&', 27, '\n', '\r', 6, '.', 5, 23, 0, 26, '\n', 30, 4, 29, 25, 6, 0, '-', '/', 6, 16, '\t', 1, '\r', 27, 1, 27, '/', '-'}, (byte) (Color.alpha(0) + 111), 74 - (ViewConfiguration.getScrollBarSize() >> 8), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{'0', 6, ')', '.', 13779}, (byte) (KeyEvent.keyCodeFromString("") + 41), TextUtils.getTrimmedLength("") + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{3, 27, '\f', 15, 27, '\'', 17, '\f', NistHelper.SEP_FS, '%', '\r', 3, 2, NistHelper.SEP_FS, 15, '\f', 13836, 13836, 31, 23, 1, 0, ',', '!', '\f', '+', '\n', 22, 4, 0, '-', '(', 17, '(', 20, 4}, (byte) (97 - (ViewConfiguration.getKeyRepeatTimeout() >> 16)), View.getDefaultSize(0, 0) + 36, 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.resolveSize(0, 0), Color.argb(0, 0, 0, 0) + 5, (char) (ImageFormat.getBitsPerPixel(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;
}
}
}
}
static void h() {
l = new char[]{40036, 40158, 40153, 40159, 40157, 40144, 40156, 40154, 40127, 40114, 40151, 40112, 40097, 40135, 40144, 40159, 40132, 40156, 39993, 40045, 40020, 40044, 40056, 40217, 40216, 40198, 40211, 40206, 40204, 40198, 40219, 40223, 40223, 40174, 40211, 40217, 40194, 40221, 40221, 40210, 40204, 39994, 40000, 39997, 40006, 40006, 40005, 40004, 40005, 40040, 40007, 39992, 39992, 39998, 40000, 40042, 40007, 40007, 40041, 40006, 39997, 40000, 40000, 39997, 39996, 39996, 39999, 39999, 39998, 40001, 40002, 39992, 39999, 39992, 40001, 40000, 40007, 40001, 39994, 39993, 39998, 39992, 39999, 39997, 39999, 39999, 39999, 39992, 40006, 40004, 39997, 40000, 40007, 40006, 40006, 40007, 40040, 40046, 40040, 40042, 40007, 39996, 39999, 40001, 40006};
m = new char[]{49105, 49112, 49052, 49028, 49116, 49108, 49110, 48171, 49025, 48168, 49027, 49107, 49091, 49089, 49024, 49138, 48175, 49098, 49026, 49031, 49093, 49118, 49117, 48160, 49106, 49111, 49109, 48169, 48174, 49033, 49054, 48161, 49114, 48172, 48170, 49029, 49094, 49127, 49030, 49035, 49119, 49034, 49115, 48173, 49088, 49090, 49095, 49104, 49053};
f6584o = (char) 35374;
}
static {
q = 1;
h();
k = (byte) 6;
int i = s + 115;
q = i % 128;
int i2 = i % 2;
}
@Override // o.AbstractActivityC9958dth, 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 = s + 9;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 27;
q = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}