what-the-bank/sources/com/scb/phone/view/activity/ntb/touchpoint/BaseTouchPointBreadcrumbAct...

687 lines
35 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ntb.touchpoint;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.os.Process;
import android.os.SystemClock;
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 butterknife.BindView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.custom.common.ProgressStateBar;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import o.C14957gcv;
import o.C4403bZM;
import o.TVH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.cbeff.ISO781611;
/* loaded from: classes5.dex */
public abstract class BaseTouchPointBreadcrumbActivity extends BaseActivity {
@BindView
public ProgressStateBar breadcrumb;
private static final byte[] $$g = {ISO7816.INS_MANAGE_CHANNEL, Ascii.SYN, 62, 17};
private static final int $$h = 10;
private static int $10 = 0;
private static int $11 = 1;
private static int l = 0;
private static int m = 1;
private static int[] b = {-808392632, -154066147, 165357013, 1619276854, 425438235, 2049615395, -320333182, 513818714, 615358458, 472804033, -1795840034, 2109271046, -1145017562, 1839405389, 202763628, -1509171296, 1662900831, 2102285140};
private static char[] k = {40013, 40071, 40065, 40071, 40067, 40075, 40079, 40067, 40071, 40069, 40061, 40051, 40068, 40076, 40066, 40091, 40090, 40065, 39995, 40042, 40006, 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, 39959, 40007, 40007, 40006, 40006, 39997, 40000, 40040, 40040, 40003, 40000, 40000, 39999, 39996, 39996, 39998, 40000, 40040, 40040, 40006, 40007, 40047, 40007, 39999, 39993, 39993, 39992, 39994, 39994, 39992, 39998, 40000, 40042, 40000, 40007, 40005, 39996, 39996, 40005, 40046, 40004, 40006, 40001, 39999, 39992, 39995, 39995, 40000, 40047, 40042, 40007, 39999, 39993, 40000, 40040, 40007, 39997, 39998, 40000, 40046, 40007, 40001, 40001, 39994, 40005, 40104, 40098, 40108, 40109, 40064, 40034, 40047, 40077, 40104, 40081, 40087, 40086, 40085, 40104, 40105, 40085, 40107, 40084, 40080, 40081, 40080, 40087, 40093, 40087, 40106, 40074, 40077, 40104, 40105, 40107, 40083, 40084, 40107, 40092, 40084, 40099, 40077, 40052, 40104, 40107, 40085, 40107, 40107, 40108, 40099, 40107, 40085, 40107, 40053, 40054, 40085, 40104, 40072, 40054, 40086, 40106, 40074, 40074, 40107, 40084, 40080, 40106, 40099, 40077, 40076, 40066, 40046, 40052, 40105, 40105, 40085, 40109, 40099, 40129, 40133, 40152, 40181, 40133, 40135, 40176, 40180, 40180, 40128, 40132, 40133, 40132, 40182, 40180, 40154, 40176, 40135, 40182, 40135, 40140, 40182, 40180, 40183, 40176, 40140, 40128, 40128, 40135, 40133, 40140, 40183, 40180, 40129, 40155, 40140};
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0029). 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(byte r5, byte r6, byte r7, java.lang.Object[] r8) {
/*
int r5 = r5 + 71
byte[] r0 = com.scb.phone.view.activity.ntb.touchpoint.BaseTouchPointBreadcrumbActivity.$$g
int r6 = r6 * 4
int r6 = 4 - r6
int r7 = r7 * 3
int r1 = 1 - r7
byte[] r1 = new byte[r1]
r2 = 0
int r7 = 0 - r7
if (r0 != 0) goto L17
r4 = r5
r5 = r7
r3 = r2
goto L29
L17:
r3 = r2
L18:
byte r4 = (byte) r5
r1[r3] = r4
if (r3 != r7) goto L25
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L25:
int r3 = r3 + 1
r4 = r0[r6]
L29:
int r6 = r6 + 1
int r5 = r5 + r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.touchpoint.BaseTouchPointBreadcrumbActivity.az(byte, byte, byte, java.lang.Object[]):void");
}
protected abstract LWm g();
/* JADX INFO: Access modifiers changed from: protected */
/* loaded from: classes5.dex */
public enum LWm {
INPUT_YOUR_INFORMATION(0),
ANSWER_FATCA(1),
SELECT_ACCOUNT(2);
final int state;
LWm(int i) {
this.state = i;
}
}
@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;
int i2 = 2 % 2;
int i3 = m + 29;
l = i3 % 128;
int i4 = i3 % 2;
super.onStart();
String[] strArr = {getString(R.string.auto_touchpoints_verify_your_infromation), getString(R.string.auto_touchpoints_answer_fatca), getString(R.string.auto_touchpoints_select_account), getString(R.string.auto_touchpoints_fill_information)};
C14957gcv.e(strArr, "");
C14957gcv.e(strArr, "");
List<String> asList = Arrays.asList(strArr);
C14957gcv.c(asList, "");
ProgressStateBar progressStateBar = this.breadcrumb;
ProgressStateBar progressStateBar2 = null;
if (progressStateBar == null) {
C14957gcv.a("");
progressStateBar = null;
}
progressStateBar.setStates(asList);
LWm g = g();
if (g.state >= asList.size()) {
int i5 = m + 7;
l = i5 % 128;
if (i5 % 2 != 0) {
i = LWm.INPUT_YOUR_INFORMATION.state;
int i6 = 62 / 0;
} else {
i = LWm.INPUT_YOUR_INFORMATION.state;
}
} else {
i = g.state;
int i7 = m + 11;
l = i7 % 128;
int i8 = i7 % 2;
}
ProgressStateBar progressStateBar3 = this.breadcrumb;
if (progressStateBar3 != null) {
int i9 = l + 107;
m = i9 % 128;
int i10 = i9 % 2;
progressStateBar2 = progressStateBar3;
} else {
C14957gcv.a("");
}
progressStateBar2.setCurrentState(i);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x006e, code lost:
if (r2 > 99999) goto L6;
*/
@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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onCreate(android.os.Bundle r17) {
/*
Method dump skipped, instructions count: 895
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.touchpoint.BaseTouchPointBreadcrumbActivity.onCreate(android.os.Bundle):void");
}
private static void ax(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = b;
int i3 = 729798706;
int i4 = 1;
int i5 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(iArr3[i6]);
Object obj = xzZ.y.get(Integer.valueOf(i3));
if (obj == null) {
Class cls = (Class) xzZ.c(14 - MotionEvent.axisFromString(""), 5 - View.MeasureSpec.makeMeasureSpec(i5, i5), (char) (58134 - KeyEvent.keyCodeFromString("")));
Class<?>[] clsArr = new Class[1];
clsArr[i5] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr4[i6] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i6++;
i3 = 729798706;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = b;
int i7 = 16;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i8 = $11 + 123;
$10 = i8 % 128;
if (i8 % 2 != 0) {
int i9 = 4 / 2;
}
int i10 = 0;
while (i10 < length3) {
try {
Object[] objArr3 = new Object[i4];
objArr3[0] = Integer.valueOf(iArr6[i10]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
} else {
obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> i7) + 15, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) (58135 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
xzZ.y.put(729798706, obj2);
}
iArr7[i10] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i10++;
iArr6 = iArr2;
i4 = 1;
i7 = 16;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr6 = iArr7;
}
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i11 = 33;
int i12 = $11 + 33;
$10 = i12 % 128;
int i13 = i12 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i14 = 0;
for (int i15 = 16; i14 < i15; i15 = 16) {
int i16 = $10 + 59;
$11 = i16 % 128;
if (i16 % 2 == 0) {
c4403bZM.e ^= iArr5[i14];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 119, 5 - TextUtils.getOffsetBefore("", 0), (char) View.combineMeasuredStates(0, 0));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) i11, b2, b2, objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i14 += 104;
} else {
c4403bZM.e ^= iArr5[i14];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(118 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 4 - ImageFormat.getBitsPerPixel(0), (char) ((-1) - Process.getGidForName("")));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) 33, b3, b3, objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i14++;
}
i11 = 33;
}
int i17 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i17;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i18 = c4403bZM.e;
int i19 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls4 = (Class) xzZ.c(98 - (Process.myTid() >> 22), 5 - Drawable.resolveOpacity(0, 0), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1));
byte b4 = (byte) 0;
Object[] objArr9 = new Object[1];
az((byte) ($$h | 21), b4, b4, objArr9);
obj5 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
objArr[0] = new String(cArr2, 0, i);
}
@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;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = m + 25;
l = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{-976022531, 1607991001, 1188855787, 1131734536, 1563369480, -36614602, 1654136059, 420881083, -430766726, -2007991580, 887938985, -1169860939, -1147593316, -1312679395}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_app_outcome_counter_teaser_desc).substring(79, 80).length() + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{0, 18, 30, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = m + 79;
l = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = m + 55;
l = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 492, (Process.myPid() >> 22) + 5, (char) Color.argb(0, 0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 487, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) Color.alpha(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - (ViewConfiguration.getLongPressTimeout() >> 16), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (ImageFormat.getBitsPerPixel(0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 487, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.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 = l + 25;
m = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = m + 39;
l = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ax(new int[]{-976022531, 1607991001, 1188855787, 1131734536, 1563369480, -36614602, 1654136059, 420881083, -430766726, -2007991580, 887938985, -1169860939, -1147593316, -1312679395}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.order_cheque_heading3).substring(0, 3).codePointAt(1) - 20, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{0, 18, 30, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[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((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 491, View.resolveSize(0, 0) + 5, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 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(486 - MotionEvent.axisFromString(""), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) Color.alpha(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = m + 87;
l = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void ay(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
int i2;
int i3 = 2;
int i4 = 2 % 2;
TVH tvh = new TVH();
int i5 = 0;
int i6 = iArr[0];
int i7 = iArr[1];
int i8 = iArr[2];
int i9 = iArr[3];
char[] cArr2 = k;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i10 = 0;
while (i10 < length) {
int i11 = $11 + 47;
$10 = i11 % 128;
if (i11 % i3 != 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(cArr2[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
i2 = length;
} else {
Class cls = (Class) xzZ.c(Color.green(i5) + 223, 5 - KeyEvent.keyCodeFromString(""), (char) (TextUtils.lastIndexOf("", '0') + 41978));
byte b2 = (byte) i5;
byte b3 = b2;
i2 = length;
Object[] objArr3 = new Object[1];
az(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
i2 = length;
try {
Object[] objArr4 = {Integer.valueOf(cArr2[i10])};
Object obj2 = xzZ.y.get(1645349359);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 223, View.MeasureSpec.getSize(0) + 5, (char) (ExpandableListView.getPackedPositionType(0L) + 41977));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
az(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(1645349359, obj2);
}
cArr3[i10] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i10++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
length = i2;
i3 = 2;
i5 = 0;
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i7];
char c = 0;
System.arraycopy(cArr2, i6, cArr4, 0, i7);
if (bArr != null) {
int i12 = $11 + 71;
$10 = i12 % 128;
if (i12 % 2 != 0) {
cArr = new char[i7];
tvh.c = 0;
} else {
cArr = new char[i7];
tvh.c = 0;
c = 0;
}
while (tvh.c < i7) {
int i13 = $10 + 53;
$11 = i13 % 128;
int i14 = i13 % 2;
if (bArr[tvh.c] == 1) {
int i15 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 502, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 53))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr[i15] = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
} else {
int i16 = tvh.c;
Object[] objArr7 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 15, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (58133 - MotionEvent.axisFromString("")))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr[i16] = ((Character) ((Method) obj4).invoke(null, objArr7)).charValue();
}
c = cArr[tvh.c];
Object[] objArr8 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c((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)) + 402, Color.argb(0, 0, 0, 0) + 5, (char) ((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 21608));
byte b6 = (byte) ($$h >>> 2);
byte b7 = (byte) (b6 - 2);
Object[] objArr9 = new Object[1];
az(b6, b7, b7, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
cArr4 = cArr;
}
if (i9 > 0) {
char[] cArr5 = new char[i7];
i = 0;
System.arraycopy(cArr4, 0, cArr5, 0, i7);
int i17 = i7 - i9;
System.arraycopy(cArr5, 0, cArr4, i17, i9);
System.arraycopy(cArr5, i9, cArr4, 0, i17);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i7];
while (true) {
tvh.c = i;
if (tvh.c >= i7) {
break;
}
cArr6[tvh.c] = cArr4[(i7 - tvh.c) - 1];
i = tvh.c + 1;
}
int i18 = $11 + 91;
$10 = i18 % 128;
int i19 = i18 % 2;
cArr4 = cArr6;
}
if (i8 > 0) {
int i20 = 0;
while (true) {
tvh.c = i20;
if (tvh.c >= i7) {
break;
}
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, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = m + 121;
l = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new int[]{-976022531, 1607991001, 1188855787, 1131734536, -1631838978, -986895720, 161578104, 954263801, 1122641497, 1594667097}, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{-34677856, 2008882106, 261261967, -1189967038}, TextUtils.lastIndexOf("", '0') + 6, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = l + 95;
m = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 492, 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{18, 48, 0, 41}, false, new byte[]{1, 1, 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}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new int[]{1515005338, -1508565684, -2132126269, 723519901, 958157758, -638137975, -892826470, -1030833827, 359956715, 37982060, -1870216301, 294981248, -1939472804, -2133348263, 1170257057, -301239376, -269298396, -2048291574, -1179285973, 425810594, 967242132, -1321951899, 1292774210, 1912702118, 665739589, -1960731386, 57663367, 964094205, 2138096164, -941908582, -1646893638, -1249712505}, 64 - (Process.myPid() >> 22), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new int[]{66, 64, 0, 2}, true, new byte[]{0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{ISO781611.BIOMETRIC_SUBTYPE_TAG, 74, 53, 0}, false, new byte[]{1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new int[]{-1637181200, -1007497589, 717838285, -1441579910}, 5 - Color.green(0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{204, 36, CipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA, 8}, true, null, 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((ViewConfiguration.getScrollBarSize() >> 8) + 487, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) Color.green(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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}