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

756 lines
44 KiB
Java
Raw 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.media.AudioTrack;
import android.net.Uri;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.huawei.hms.support.api.entity.common.CommonConstant;
import com.scb.phone.R;
import com.scb.phone.view.adapter.bond.BondSelectionListAdapter;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC9964dtn;
import o.C2670aiw;
import o.C3614bBe;
import o.FJ;
import o.InterfaceC13391fZD;
import o.InterfaceC8989dbJ;
import o.ZI;
import o.jTb;
import o.xzZ;
/* loaded from: classes4.dex */
public class BondSelectionActivity extends AbstractActivityC9964dtn implements InterfaceC8989dbJ, BondSelectionListAdapter.Sts {
@BindView
RecyclerView bondSelectionRecycler;
/* renamed from: o, reason: collision with root package name */
private BondSelectionListAdapter f6586o;
@InterfaceC13391fZD
public C2670aiw presenter;
private static final byte[] $$g = {47, ISO7816.INS_APPEND_RECORD, -94, -105};
private static final int $$h = 128;
private static int $10 = 0;
private static int $11 = 1;
private static int y = 0;
private static int v = 1;
private static char l = 48710;
private static char m = 13466;
private static char k = 26401;
private static char s = 50822;
private static char[] r = {16109, 15897, 16069, 16105, 16116, 16113, 16110, 16098, 16111, 16046, 16096, 16081, 16115, 16100, 16102, 16068, 16104, 16117, 16101, 16108, 16033, 16039, 16036, 16114, 16035, 16118, 16089, 16034, 16088, 16038, 16037, 16032, 16045};
private static int p = 1934311056;
private static boolean t = true;
private static boolean q = true;
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0026). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(int r5, byte r6, byte r7, java.lang.Object[] r8) {
/*
int r6 = r6 * 2
int r6 = 4 - r6
byte[] r0 = com.scb.phone.view.activity.bond.BondSelectionActivity.$$g
int r7 = r7 * 2
int r1 = r7 + 1
int r5 = 122 - r5
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L14
r4 = r7
r3 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r5
r1[r3] = r4
if (r3 != r7) goto L22
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L22:
int r3 = r3 + 1
r4 = r0[r6]
L26:
int r5 = r5 + r4
int r6 = r6 + 1
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bond.BondSelectionActivity.az(int, byte, byte, java.lang.Object[]):void");
}
public static Intent Yy_(Context context, List<FJ> list) {
int i = 2 % 2;
Intent putParcelableArrayListExtra = new Intent(context, (Class<?>) BondSelectionActivity.class).putParcelableArrayListExtra("BOND_SELECTION_DISPLAYS_EXTRA", new ArrayList<>(list));
int i2 = v + 91;
y = i2 % 128;
if (i2 % 2 == 0) {
return putParcelableArrayListExtra;
}
throw null;
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object a(Object[] objArr) {
Context context = (Context) objArr[0];
List list = (List) objArr[1];
int i = 2 % 2;
Intent putParcelableArrayListExtra = new Intent(context, (Class<?>) BondSelectionActivity.class).putExtra("SELECTED_BOND_DISPLAY", (FJ) objArr[2]).putParcelableArrayListExtra("BOND_SELECTION_DISPLAYS_EXTRA", new ArrayList<>(list));
int i2 = y + 117;
v = i2 % 128;
int i3 = i2 % 2;
return putParcelableArrayListExtra;
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i5 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
cArr3[i5] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i6 = $11 + 29;
$10 = i6 % 128;
int i7 = i6 % i3;
int i8 = 58224;
int i9 = i5;
while (i9 < 16) {
int i10 = $11 + 53;
$10 = i10 % 128;
int i11 = i10 % i3;
char c = cArr3[1];
char c2 = cArr3[i5];
int i12 = (c2 + i8) ^ ((c2 << 4) + ((char) (k ^ 41718355337583039L)));
int i13 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(s);
objArr2[i3] = Integer.valueOf(i13);
objArr2[1] = Integer.valueOf(i12);
objArr2[i5] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.getTrimmedLength("") + 412, KeyEvent.getDeadChar(i5, i5) + 5, (char) View.combineMeasuredStates(i5, i5));
byte b = (byte) i5;
Object[] objArr3 = new Object[1];
az((byte) 56, b, b, objArr3);
String str = (String) objArr3[i5];
Class<?>[] clsArr = new Class[4];
clsArr[i5] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i5]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (l ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(m)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - ExpandableListView.getPackedPositionType(0L), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) KeyEvent.keyCodeFromString(""));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) 56, b2, b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i8 -= 40503;
i9++;
cArr3 = cArr4;
i3 = 2;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 != null) {
i2 = 2;
} else {
Class cls3 = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777314, 5 - View.combineMeasuredStates(0, 0), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) 55, b3, b3, objArr7);
i2 = 2;
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
i3 = i2;
cArr3 = cArr5;
i5 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.AbstractActivityC9964dtn, 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 = v + 125;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new char[]{7225, 42164, 62867, 26141, 58001, 39095, 42303, 40747, 64071, 54976, 59623, 23935, 22201, 50148, 19739, 20883, 14787, 7179}, 17 - TextUtils.lastIndexOf("", '0', 0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) + 28, new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
ay(null, null, 127 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), new byte[]{ISOFileInfo.PROP_INFO, -122, -110, -120, -111, -112, -126, ISOFileInfo.CHANNEL_SECURITY, -124, -113, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, -122}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(null, null, TextUtils.indexOf("", "") + 127, new byte[]{ISOFileInfo.FCI_EXT, -119, -124, ISOFileInfo.CHANNEL_SECURITY, -122, ISOFileInfo.ENV_TEMP_EF, -124, -108, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FCI_EXT, -110, -120, -120, -109, ISOFileInfo.ENV_TEMP_EF}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = v + 79;
y = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 5 - Color.green(0), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fatca_question_title_breadcrumb_th).substring(0, 15).codePointAt(6) - 3490, new byte[]{-105, -110, -99, ISOFileInfo.ENV_TEMP_EF, -97, -101, -105, -100, -104, -104, -110, -102, -107, -99, -97, -107, -107, ISOFileInfo.PROP_INFO, -101, ISOFileInfo.ENV_TEMP_EF, -97, ISOFileInfo.ENV_TEMP_EF, -98, -102, -101, -122, -105, -103, -99, -100, -103, -104, -99, -103, -104, -103, -122, -100, -101, -104, -122, -102, ISOFileInfo.ENV_TEMP_EF, -103, -104, -105, -106, -107}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{29802, 21826, 46309, 25521, 22952, 60790, 16394, 37878, 25186, 55954, 62971, 32318, 62971, 32318, 34917, 48139, 64435, 55072, 44804, 13026, 17384, 277, 17693, 57556, 53908, 54289, 30252, 12224, 54967, 443, 61195, 23779, 51017, 46277, 61067, 8120, 48823, 9742, 63052, 29846, 22952, 60790, 26381, 13595, 49800, 30574, 22952, 60790, 27808, 42796, 14576, 9925, 46804, 35564, 23341, 52654, 42114, 17157, 60077, 17235, 22952, 60790, 15867, 6422}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 63, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(null, null, 127 - (KeyEvent.getMaxKeyCode() >> 16), new byte[]{-106, ISOFileInfo.ENV_TEMP_EF, -99, -97, -122, -102, -122, ISOFileInfo.A0, -102, ISOFileInfo.A0, -101, -98, -99, -100, -110, -104, -110, -98, ISOFileInfo.ENV_TEMP_EF, -102, -103, -97, ISOFileInfo.A0, -97, -107, -107, -100, -97, -97, -122, -104, -105, ISOFileInfo.PROP_INFO, -101, -98, -99, -110, -102, -99, ISOFileInfo.ENV_TEMP_EF, -100, -106, ISOFileInfo.A0, -107, ISOFileInfo.A0, -102, -104, -122, -99, ISOFileInfo.A0, -105, -104, -110, -103, -101, -100, -110, -110, -103, -122, -103, ISOFileInfo.A0, -99, -122}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{29392, 2645, 7325, 3000, 64378, 45265, 62243, 41850, 55430, 18548, 61122, 29182, 55097, 48738, 11213, 25965, 43016, 58789, 45508, 35537, 21165, 49935, 12670, 2723, 52087, 57182, 18822, 7531, 47879, 53302, 25201, 59930, 41931, 60283, 4680, 30838, 47965, 23938, 37353, 29320, 35893, 13093, 24993, 17455, 44182, 28633, 35893, 13093, 55676, 20736, 55097, 48738, 16223, 7575, 21094, 29006, 32757, 8620, 3602, 54731, 4189, 11711, 45629, 37044, 46088, 26837, 37989, 63588, 40011, 29817, 4520, 44428, 27581, 49816}, 74 - (ViewConfiguration.getPressedStateDuration() >> 16), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.A0, ISOFileInfo.LCS_BYTE, -99, ISOFileInfo.LCS_BYTE, -101}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.marker_address).substring(0, 20).codePointAt(16) + 30, new byte[]{-110, -107, -97, -105, -97, ISOFileInfo.ENV_TEMP_EF, -110, -106, -122, -100, ISOFileInfo.ENV_TEMP_EF, -100, ISOFileInfo.A1, ISOFileInfo.ENV_TEMP_EF, -110, -104, -122, ISOFileInfo.A1, -107, -107, -100, -105, ISOFileInfo.A1, -104, -110, ISOFileInfo.A0, -98, ISOFileInfo.A1, ISOFileInfo.A0, -105, -101, ISOFileInfo.PROP_INFO, -105, -100, -122, -110}, 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 - View.getDefaultSize(0, 0), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) KeyEvent.normalizeMetaState(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);
setContentView(R.layout.2131558448);
ButterKnife.Dg_(this);
super.Z();
p(getString(R.string.bond_selection_title));
ac();
this.bondSelectionRecycler.setLayoutManager(new LinearLayoutManager(1, false));
this.presenter.e((C2670aiw) this);
Bundle extras = getIntent().getExtras();
if (extras != null) {
int i6 = y + 85;
v = i6 % 128;
int i7 = i6 % 2;
if (extras.containsKey("BOND_SELECTION_DISPLAYS_EXTRA")) {
int i8 = v + 105;
y = i8 % 128;
int i9 = i8 % 2;
C2670aiw c2670aiw = this.presenter;
final ArrayList parcelableArrayList = extras.getParcelableArrayList("BOND_SELECTION_DISPLAYS_EXTRA");
FJ fj = (FJ) extras.getParcelable("SELECTED_BOND_DISPLAY");
if (fj != null && parcelableArrayList.contains(fj)) {
int i10 = v + 29;
y = i10 % 128;
int i11 = i10 % 2;
((FJ) parcelableArrayList.get(parcelableArrayList.indexOf(fj))).h = true;
}
ZI.IeS ieS = new ZI.IeS(parcelableArrayList) { // from class: o.aiB
private List e;
@Override // o.ZI.IeS
public final void e(Object obj3) {
((InterfaceC8989dbJ) obj3).c(this.e);
}
{
this.e = parcelableArrayList;
}
};
if (c2670aiw.f == 0) {
int i12 = v + 89;
y = i12 % 128;
int i13 = i12 % 2;
} else {
int i14 = v + 1;
y = i14 % 128;
if (i14 % 2 != 0) {
return;
}
ieS.e(c2670aiw.f);
}
}
}
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = v + 119;
y = i2 % 128;
if (i2 % 2 == 0) {
super.Z();
p(getString(R.string.bond_selection_title));
int i3 = v + 71;
y = i3 % 128;
int i4 = i3 % 2;
return;
}
super.Z();
p(getString(R.string.bond_selection_title));
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC8989dbJ
public final void c(List<FJ> list) {
int i = 2 % 2;
int i2 = y + 105;
v = i2 % 128;
int i3 = i2 % 2;
BondSelectionListAdapter bondSelectionListAdapter = this.f6586o;
if (bondSelectionListAdapter == null) {
BondSelectionListAdapter bondSelectionListAdapter2 = new BondSelectionListAdapter(list, this);
this.f6586o = bondSelectionListAdapter2;
this.bondSelectionRecycler.setAdapter(bondSelectionListAdapter2);
int i4 = y + 9;
v = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 63 / 0;
return;
}
return;
}
bondSelectionListAdapter.b = list;
this.f6586o.notifyDataSetChanged();
}
@Override // com.scb.phone.view.adapter.bond.BondSelectionListAdapter.Sts
public final void d(FJ fj) {
int i = 2 % 2;
Intent intent = new Intent();
intent.putExtra("BOND_SELECTED_DISPLAY_EXTRA", fj);
setResult(-1, intent);
finish();
int i2 = y + 69;
v = i2 % 128;
int i3 = i2 % 2;
}
@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 = v + 113;
y = i2 % 128;
if (i2 % 2 == 0) {
this.presenter.w_();
super.onDestroy();
int i3 = v + 33;
y = i3 % 128;
int i4 = i3 % 2;
return;
}
this.presenter.w_();
super.onDestroy();
Object obj = null;
obj.hashCode();
throw null;
}
private static void ay(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2;
char[] cArr2;
int length;
char[] cArr3;
int i3;
int i4 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr4 = r;
int i5 = 0;
if (cArr4 != null) {
int i6 = $10 + 59;
$11 = i6 % 128;
if (i6 % 2 == 0) {
length = cArr4.length;
cArr3 = new char[length];
i3 = 1;
} else {
length = cArr4.length;
cArr3 = new char[length];
i3 = 0;
}
while (i3 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(cArr4[i3]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(336 - MotionEvent.axisFromString(""), 5 - Color.argb(i5, i5, i5, i5), (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b = (byte) i5;
Object[] objArr3 = new Object[1];
az((byte) 57, b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i3++;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr4 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(p)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(283 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 4 - MotionEvent.axisFromString(""), (char) (39814 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr5 = new Object[1];
az(b2, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (!(!q)) {
int i7 = $10 + 67;
$11 = i7 % 128;
if (i7 % 2 == 0) {
c3614bBe.c = bArr.length;
cArr2 = new char[c3614bBe.c];
i2 = 0;
} else {
i2 = 0;
c3614bBe.c = bArr.length;
cArr2 = new char[c3614bBe.c];
}
c3614bBe.a = i2;
while (c3614bBe.a < c3614bBe.c) {
int i8 = $10 + 71;
$11 = i8 % 128;
if (i8 % 2 == 0) {
int i9 = c3614bBe.a;
int i10 = c3614bBe.c;
cArr2[i9] = (char) (cArr4[bArr[0 / c3614bBe.a] >>> i] / intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 40, KeyEvent.getDeadChar(0, 0) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
} else {
cArr2[c3614bBe.a] = (char) (cArr4[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 40, Color.argb(0, 0, 0, 0) + 5, (char) (MotionEvent.axisFromString("") + 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
}
objArr[0] = new String(cArr2);
return;
}
if (t) {
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr4[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(40 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), Color.red(0) + 5, (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
objArr[0] = new String(cArr5);
return;
}
int i11 = 0;
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i11;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
} else {
cArr6[c3614bBe.a] = (char) (cArr4[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i11 = c3614bBe.a + 1;
}
}
}
@Override // com.scb.phone.view.adapter.bond.BondSelectionListAdapter.Sts
public final void e(String str) {
int i = 2 % 2;
startActivity(new Intent(CommonConstant.ACTION.HWID_SCHEME_URL, Uri.parse(str)));
int i2 = v + 71;
y = i2 % 128;
int i3 = i2 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:42:0x0021, code lost:
r6 = new java.lang.Object[1];
ay(null, null, 128 - (android.os.SystemClock.currentThreadTimeMillis() > (-1) ? 1 : (android.os.SystemClock.currentThreadTimeMillis() == (-1) ? 0 : -1)), new byte[]{net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, -122, -110, -120, -111, -112, -126, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, -124, -113, -124, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, net.sf.scuba.smartcards.ISOFileInfo.ENV_TEMP_EF, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_COMPACT, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -122, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, -124, -119, -120, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, -122}, r6);
r1 = java.lang.Class.forName((java.lang.String) r6[0]);
r6 = (java.lang.Object[]) null;
r7 = new java.lang.Object[1];
ay(null, null, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.cardless_atm_web_view).substring(0, 328).codePointAt(308) + 17, new byte[]{net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, -119, -124, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, -122, net.sf.scuba.smartcards.ISOFileInfo.ENV_TEMP_EF, -124, -108, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_COMPACT, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, -110, -120, -120, -109, net.sf.scuba.smartcards.ISOFileInfo.ENV_TEMP_EF}, r7);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:44:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@Override // o.AbstractActivityC9964dtn, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onResume() {
/*
Method dump skipped, instructions count: 497
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bond.BondSelectionActivity.onResume():void");
}
@Override // o.AbstractActivityC9964dtn, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = v + 65;
y = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(null, null, View.resolveSizeAndState(0, 0, 0) + 127, new byte[]{ISOFileInfo.PROP_INFO, -122, -110, -120, -111, -112, -126, ISOFileInfo.CHANNEL_SECURITY, -124, -113, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, -122}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.FCI_EXT, -119, -124, ISOFileInfo.CHANNEL_SECURITY, -122, ISOFileInfo.ENV_TEMP_EF, -124, -108, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FCI_EXT, -110, -120, -120, -109, ISOFileInfo.ENV_TEMP_EF}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = y + 1;
v = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getFadingEdgeLength() >> 16), 5 - View.MeasureSpec.getSize(0), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getDoubleTapTimeout() >> 16), View.MeasureSpec.getSize(0) + 5, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = 62 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 492, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(View.resolveSize(0, 0) + 487, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
int i6 = y + 29;
v = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // o.AbstractActivityC9964dtn, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{7225, 42164, 62867, 26141, 58001, 39095, 42303, 40747, 64071, 54976, 59623, 23935, 22201, 50148, 19739, 20883, 14787, 7179}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(null, null, TextUtils.indexOf((CharSequence) "", '0') + 128, new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = v + 99;
y = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 84 / 0;
if (intValue <= 99999) {
return;
}
} else if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = v + 5;
y = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(540 - AndroidCharacter.getMirror('0'), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(null, null, 175 - AndroidCharacter.getMirror('0'), new byte[]{-105, -110, -99, ISOFileInfo.ENV_TEMP_EF, -97, -101, -105, -100, -104, -104, -110, -102, -107, -99, -97, -107, -107, ISOFileInfo.PROP_INFO, -101, ISOFileInfo.ENV_TEMP_EF, -97, ISOFileInfo.ENV_TEMP_EF, -98, -102, -101, -122, -105, -103, -99, -100, -103, -104, -99, -103, -104, -103, -122, -100, -101, -104, -122, -102, ISOFileInfo.ENV_TEMP_EF, -103, -104, -105, -106, -107}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new char[]{29802, 21826, 46309, 25521, 22952, 60790, 16394, 37878, 25186, 55954, 62971, 32318, 62971, 32318, 34917, 48139, 64435, 55072, 44804, 13026, 17384, 277, 17693, 57556, 53908, 54289, 30252, 12224, 54967, 443, 61195, 23779, 51017, 46277, 61067, 8120, 48823, 9742, 63052, 29846, 22952, 60790, 26381, 13595, 49800, 30574, 22952, 60790, 27808, 42796, 14576, 9925, 46804, 35564, 23341, 52654, 42114, 17157, 60077, 17235, 22952, 60790, 15867, 6422}, 64 - View.resolveSizeAndState(0, 0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(null, null, 127 - (ViewConfiguration.getScrollBarSize() >> 8), new byte[]{-106, ISOFileInfo.ENV_TEMP_EF, -99, -97, -122, -102, -122, ISOFileInfo.A0, -102, ISOFileInfo.A0, -101, -98, -99, -100, -110, -104, -110, -98, ISOFileInfo.ENV_TEMP_EF, -102, -103, -97, ISOFileInfo.A0, -97, -107, -107, -100, -97, -97, -122, -104, -105, ISOFileInfo.PROP_INFO, -101, -98, -99, -110, -102, -99, ISOFileInfo.ENV_TEMP_EF, -100, -106, ISOFileInfo.A0, -107, ISOFileInfo.A0, -102, -104, -122, -99, ISOFileInfo.A0, -105, -104, -110, -103, -101, -100, -110, -110, -103, -122, -103, ISOFileInfo.A0, -99, -122}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{29392, 2645, 7325, 3000, 64378, 45265, 62243, 41850, 55430, 18548, 61122, 29182, 55097, 48738, 11213, 25965, 43016, 58789, 45508, 35537, 21165, 49935, 12670, 2723, 52087, 57182, 18822, 7531, 47879, 53302, 25201, 59930, 41931, 60283, 4680, 30838, 47965, 23938, 37353, 29320, 35893, 13093, 24993, 17455, 44182, 28633, 35893, 13093, 55676, 20736, 55097, 48738, 16223, 7575, 21094, 29006, 32757, 8620, 3602, 54731, 4189, 11711, 45629, 37044, 46088, 26837, 37989, 63588, 40011, 29817, 4520, 44428, 27581, 49816}, 75 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(null, null, Gravity.getAbsoluteGravity(0, 0) + 127, new byte[]{ISOFileInfo.A0, ISOFileInfo.LCS_BYTE, -99, ISOFileInfo.LCS_BYTE, -101}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(null, null, 127 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), new byte[]{-110, -107, -97, -105, -97, ISOFileInfo.ENV_TEMP_EF, -110, -106, -122, -100, ISOFileInfo.ENV_TEMP_EF, -100, ISOFileInfo.A1, ISOFileInfo.ENV_TEMP_EF, -110, -104, -122, ISOFileInfo.A1, -107, -107, -100, -105, ISOFileInfo.A1, -104, -110, ISOFileInfo.A0, -98, ISOFileInfo.A1, ISOFileInfo.A0, -105, -101, ISOFileInfo.PROP_INFO, -105, -100, -122, -110}, 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((Process.myTid() >> 22) + 487, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 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);
int i6 = y + 41;
v = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // o.AbstractActivityC9964dtn, 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 + 69;
y = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
}
public static Intent Yz_(Context context, List<FJ> list, FJ fj) {
Object[] objArr = {context, list, fj};
return (Intent) a(objArr);
}
}