what-the-bank/sources/com/scb/phone/view/activity/ndid/NdidIdpShareSuccessActivity...

775 lines
38 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ndid;
import android.content.Context;
import android.content.Intent;
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.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 android.widget.TextView;
import butterknife.BindView;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.HomeActivity;
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.AbstractActivityC11251ebn;
import o.C4389bYp;
import o.DFY;
import o.IFW;
import o.InterfaceC13391fZD;
import o.InterfaceC9425djW;
import o.TVH;
import o.ZI;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class NdidIdpShareSuccessActivity extends AbstractActivityC11251ebn implements InterfaceC9425djW {
private static short[] p;
@BindView
TextView descriptionOne;
@BindView
TextView descriptionTwo;
private IFW k = new IFW();
@InterfaceC13391fZD
public C4389bYp presenter;
@BindView
TextView submitDateTime;
@BindView
TextView tvTitle;
private static final byte[] $$p = {67, 63, -31, 118};
private static final int $$q = 57;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int s = 1;
private static char[] m = {40059, 40172, 40162, 40160, 40187, 40167, 40173, 40130, 40133, 40186, 40155, 40116, 40170, 40187, 40162, 40175, 40167, 40184, 40003, 40088, 40071, 40095, 40107, 40019, 40100, 40123, 40115, 40113, 40096, 40120, 40136, 40112, 40119, 40119, 40112, 40115, 40084, 40079, 40087, 40118, 40126, 40095, 40093, 40120, 40114, 40118, 40115, 40125, 40127, 39994, 40039, 40056, 40057, 40032, 40034, 40058, 40017, 40019, 40059, 40037, 40033, 40045, 40041, 40033, 40037, 40039, 40037, 40031, 40082, 40083, 40065, 40071, 40088, 40069, 40031, 40069, 40094, 40077, 40031, 40089, 40095, 40067, 40024, 40065, 40092, 40077, 40081, 40093, 40083, 40066, 40092, 40077, 40081, 40071, 40024, 40082, 40083, 40077, 40067, 40082, 40077, 40065, 40092, 40070, 40082, 40024, 40091, 40088, 40077, 40076, 40090, 40077, 40069, 40067, 40092, 40065, 40089, 40089, 40095, 40067, 40089, 40077, 40069, 40083, 40031, 40031, 40020, 40083, 40094, 40082, 40082, 40070, 40083, 40082, 40088, 40065, 40080, 40065, 40031, 40028, 40080, 39965, 40012, 40042, 40040, 40047, 40003, 39972, 40001, 40001, 40002, 40007, 40005, 40047, 40007, 39999, 39999, 39992, 40000, 40046, 40040, 40002, 39992, 40007, 40005, 39997, 39993, 39973, 39994, 39992, 40001, 40040, 40012, 39995, 39992, 39994, 39994};
private static int l = 1321281843;
/* renamed from: o, reason: collision with root package name */
private static int f7618o = 1406017057;
private static int r = -676715471;
private static byte[] t = {ISOFileInfo.LCS_BYTE, -108, ISOFileInfo.SECURITY_ATTR_COMPACT, 107, ISOFileInfo.A5, 124, 119, ISOFileInfo.DATA_BYTES2, 113, -92, -70, 108, -72, 118, 125, 113, ISO7816.INS_READ_BINARY_STAMPED, 110, ISOFileInfo.FILE_IDENTIFIER, 107, ISOFileInfo.FCI_EXT, -108, ISOFileInfo.DATA_BYTES2, -108, -103, -108, ISO7816.INS_MANAGE_CHANNEL, -66, 115, -70, Byte.MIN_VALUE, ISOFileInfo.FCI_BYTE, 124, Byte.MIN_VALUE, 106, ISOFileInfo.FCI_EXT, 106, -72, -126, ISO7816.INS_MANAGE_CHANNEL, -66, 118, 97, Byte.MIN_VALUE, 107, -92, 115, 3, -86, -5, -43, 2, -59, -26, -3, -8, -88, -16, -5, -4, -27, -13, 9, -5, 0, ISOFileInfo.AB, -86, -16, -86, -5, -13, 15, -31, 14, -13, -5, -43, 15, -86, 7, ISO7816.INS_WRITE_RECORD, 2, ISO7816.INS_PUT_DATA, 30, -47, 14, -86, -2, -26, -2, 28, 12, -88, -43, 0, -47, 12, 3, ISOFileInfo.AB, 3, -88, -1, -5, 0, -7, -5, -4, -6, -13, -88, -111, 4, ISO7816.INS_UNBLOCK_CHV, -111, 116, 38, ISO7816.INS_INCREASE, 103, 51, ISO7816.INS_MANAGE_CHANNEL, ISO7816.INS_UNBLOCK_CHV, 75, 35, 126, ISO7816.INS_UNBLOCK_CHV, 78, Ascii.CAN, -100, 78, 60, 75, 38, 116, 33, 45, 72, 78, 45, -111, 72, Ascii.ESC, -99, 4, ISO7816.INS_UNBLOCK_CHV, 75, -100, 72, Ascii.ESC, -106, ISO7816.INS_INCREASE, 116, 32, 72, ISO7816.INS_MSE, 103, 33, ISO7816.INS_MSE, Ascii.SUB, 37, 73, -97, 78, 63, 119, 32, 126, 45, 63, -97, Ascii.ESC, ISO7816.INS_UNBLOCK_CHV, 117, -112, -47, 45, -87, 32, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
/* 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: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 aC(int r7, short r8, short r9, java.lang.Object[] r10) {
/*
byte[] r0 = com.scb.phone.view.activity.ndid.NdidIdpShareSuccessActivity.$$p
int r7 = r7 + 4
int r9 = 110 - r9
int r8 = r8 * 2
int r8 = 1 - r8
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L12
r3 = r8
r5 = r2
goto L29
L12:
r3 = r2
L13:
byte r4 = (byte) r9
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r8) goto L22
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L22:
int r7 = r7 + 1
r3 = r0[r7]
r6 = r3
r3 = r9
r9 = r6
L29:
int r9 = -r9
int r9 = r9 + r3
r3 = r5
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndid.NdidIdpShareSuccessActivity.aC(int, short, short, java.lang.Object[]):void");
}
public static void c(Context context, String str, List<String> list, String str2) {
int i = 2 % 2;
context.startActivity(new Intent(context, (Class<?>) NdidIdpShareSuccessActivity.class).putExtra("submitdatetime", str).putStringArrayListExtra("remarks", new ArrayList<>(list)).putExtra("header", str2));
int i2 = q + 21;
s = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x006d, code lost:
if (r4 > 99999) goto L10;
*/
@Override // o.AbstractActivityC11251ebn, 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 r29) {
/*
Method dump skipped, instructions count: 1358
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndid.NdidIdpShareSuccessActivity.onCreate(android.os.Bundle):void");
}
@Override // o.InterfaceC9425djW
public final void c(String str, String str2) {
int i = 2 % 2;
int i2 = q + 15;
s = i2 % 128;
int i3 = i2 % 2;
this.tvTitle.setText(str2);
this.submitDateTime.setText(str);
int i4 = s + 93;
q = i4 % 128;
int i5 = i4 % 2;
}
@OnClick
public void onReturnHomeButtonClick() {
int i = 2 % 2;
C4389bYp c4389bYp = this.presenter;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bYs
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9425djW) obj).d();
}
};
if (c4389bYp.f == 0) {
int i2 = s + 29;
q = i2 % 128;
int i3 = i2 % 2;
return;
}
int i4 = q + 43;
int i5 = i4 % 128;
s = i5;
int i6 = i4 % 2;
int i7 = i5 + 9;
q = i7 % 128;
if (i7 % 2 == 0) {
ieS.e(c4389bYp.f);
} else {
ieS.e(c4389bYp.f);
int i8 = 90 / 0;
}
}
@Override // o.InterfaceC9425djW
public final void d() {
int i = 2 % 2;
int i2 = s + 95;
q = i2 % 128;
if (i2 % 2 == 0) {
startActivity((Intent) HomeActivity.e(new Object[]{this}, -1290522472, 1290522474, (int) System.currentTimeMillis()));
} else {
startActivity((Intent) HomeActivity.e(new Object[]{this}, -1290522472, 1290522474, (int) System.currentTimeMillis()));
throw null;
}
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object c(Object[] objArr) {
NdidIdpShareSuccessActivity ndidIdpShareSuccessActivity = (NdidIdpShareSuccessActivity) objArr[0];
String str = (String) objArr[1];
int i = 2 % 2;
int i2 = s + 49;
q = i2 % 128;
if (i2 % 2 != 0) {
ndidIdpShareSuccessActivity.descriptionOne.setText(str);
throw null;
}
ndidIdpShareSuccessActivity.descriptionOne.setText(str);
int i3 = q + 87;
s = i3 % 128;
if (i3 % 2 != 0) {
return null;
}
throw null;
}
@Override // o.InterfaceC9425djW
public final void d(String str) {
int i = 2 % 2;
int i2 = s + 13;
q = i2 % 128;
if (i2 % 2 != 0) {
this.descriptionTwo.setText(str);
Object obj = null;
obj.hashCode();
throw null;
}
this.descriptionTwo.setText(str);
int i3 = q + 39;
s = i3 % 128;
int i4 = i3 % 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 = s + 109;
q = i2 % 128;
if (i2 % 2 == 0) {
this.presenter.w_();
super.onDestroy();
} else {
this.presenter.w_();
super.onDestroy();
Object obj = null;
obj.hashCode();
throw null;
}
}
@Override // o.AbstractActivityC11251ebn, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = q + 41;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new int[]{23, 26, 77, 0}, true, new byte[]{1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{49, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 81;
q = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
int i6 = q + 115;
s = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = q + 69;
s = i8 % 128;
try {
if (i8 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - KeyEvent.keyCodeFromString(""), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).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(AndroidCharacter.getMirror('0') + 439, 5 - Color.red(0), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).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(492 - TextUtils.indexOf("", ""), 5 - View.resolveSizeAndState(0, 0, 0), (char) ExpandableListView.getPackedPositionGroup(0L))).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(487 - (ViewConfiguration.getTouchSlop() >> 8), 5 - Drawable.resolveOpacity(0, 0), (char) View.getDefaultSize(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
int i9 = s + 111;
q = i9 % 128;
int i10 = i9 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aA(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = 1;
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr2 = m;
int i9 = -1;
long j = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[i3] = Integer.valueOf(cArr2[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(View.MeasureSpec.getMode(i3) + 223, (ViewConfiguration.getGlobalActionKeyTimeout() > j ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == j ? 0 : -1)) + 4, (char) (41977 - (ViewConfiguration.getWindowTouchSlop() >> 8)));
byte b = (byte) i9;
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 | 39), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
i3 = 0;
i5 = 1;
i9 = -1;
j = 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, i4, cArr4, 0, i6);
if (bArr != null) {
char[] cArr5 = new char[i6];
tvh.c = 0;
char c = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i11 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - View.getDefaultSize(0, 0), 5 - Color.argb(0, 0, 0, 0), (char) (54 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i12 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - (ViewConfiguration.getTapTimeout() >> 16), (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (58134 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i12] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr5[tvh.c];
try {
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 402, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (Gravity.getAbsoluteGravity(0, 0) + 21608));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr7 = new Object[1];
aC(b3, b4, (byte) (b4 | 37), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
cArr4 = cArr5;
}
if (i8 > 0) {
char[] cArr6 = new char[i6];
System.arraycopy(cArr4, 0, cArr6, 0, i6);
int i13 = i6 - i8;
System.arraycopy(cArr6, 0, cArr4, i13, i8);
System.arraycopy(cArr6, i8, cArr4, 0, i13);
}
if (z) {
int i14 = $11 + 79;
$10 = i14 % 128;
if (i14 % 2 != 0) {
cArr = new char[i6];
i = 0;
} else {
i = 0;
cArr = new char[i6];
}
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
int i15 = $10 + 51;
$11 = i15 % 128;
if (i15 % 2 == 0) {
cArr[tvh.c] = cArr4[(i6 >>> tvh.c) - 1];
i = tvh.c;
} else {
cArr[tvh.c] = cArr4[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
}
cArr4 = cArr;
}
if (i7 > 0) {
int i16 = $10 + 119;
$11 = i16 % 128;
tvh.c = i16 % 2 == 0 ? 1 : 0;
int i17 = $10 + 97;
$11 = i17 % 128;
int i18 = i17 % 2;
while (tvh.c < i6) {
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
tvh.c++;
}
}
objArr[0] = new String(cArr4);
}
private static void aB(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
int i4;
int length;
byte[] bArr;
int i5;
int i6 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(f7618o)};
Object obj = xzZ.y.get(-2092856797);
int i7 = -1;
if (obj == null) {
Class cls = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 337, 5 - Drawable.resolveOpacity(0, 0), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b2 = (byte) (-1);
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
aC(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
boolean z = intValue == -1;
if (z) {
byte[] bArr2 = t;
if (bArr2 != null) {
int length2 = bArr2.length;
byte[] bArr3 = new byte[length2];
int i8 = 0;
while (i8 < length2) {
int i9 = $10 + 1;
$11 = i9 % 128;
int i10 = i9 % 2;
Object[] objArr4 = {Integer.valueOf(bArr2[i8])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Color.green(0) + 60, Color.green(0) + 5, (char) TextUtils.indexOf("", "", 0));
byte b4 = (byte) i7;
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 + 2), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr3[i8] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i8++;
int i11 = $10 + 47;
$11 = i11 % 128;
int i12 = i11 % 2;
i7 = -1;
}
bArr2 = bArr3;
}
if (bArr2 != null) {
byte[] bArr4 = t;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(l)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(337 - TextUtils.getTrimmedLength(""), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b6 = (byte) (-1);
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
aC(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
intValue = (byte) (((byte) (bArr4[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (f7618o ^ (-7303220121662775787L))));
i4 = 2;
} else {
intValue = (short) (((short) (p[i + ((int) (l ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (f7618o ^ (-7303220121662775787L))));
int i13 = $10 + 9;
$11 = i13 % 128;
i4 = 2;
int i14 = i13 % 2;
}
} else {
i4 = 2;
}
if (intValue > 0) {
dfy.c = ((i + intValue) - i4) + ((int) (l ^ (-7303220121662775787L))) + (!z ? 0 : 1);
try {
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(r), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((-16776468) - Color.rgb(0, 0, 0), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj4);
}
((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr5 = t;
if (bArr5 != null) {
int i15 = $11 + 65;
$10 = i15 % 128;
if (i15 % 2 != 0) {
length = bArr5.length;
bArr = new byte[length];
i5 = 1;
} else {
length = bArr5.length;
bArr = new byte[length];
i5 = 0;
}
while (i5 < length) {
int i16 = $10 + 45;
$11 = i16 % 128;
if (i16 % 2 == 0) {
bArr[i5] = (byte) (bArr5[i5] - 7303220121662775787L);
i5 %= 0;
} else {
bArr[i5] = (byte) (bArr5[i5] ^ (-7303220121662775787L));
i5++;
}
}
bArr5 = bArr;
}
boolean z2 = bArr5 != null;
dfy.d = 1;
while (dfy.d < intValue) {
if (z2) {
byte[] bArr6 = t;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = p;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = sb.toString();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // o.AbstractActivityC11251ebn, 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 = q + 101;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new int[]{23, 26, 77, 0}, true, new byte[]{1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{49, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = s + 31;
q = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 492, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 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((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 488, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // o.AbstractActivityC11251ebn, 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;
int i2 = s + 69;
q = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new int[]{0, 18, 128, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{18, 5, 45, 5}, true, new byte[]{1, 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) {
context2 = context.getApplicationContext();
int i4 = q + 37;
s = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i6 = s + 7;
q = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.resolveSizeAndState(0, 0, 0), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB((short) ((ViewConfiguration.getKeyRepeatDelay() >> 16) - 10), (-487536422) - (ViewConfiguration.getJumpTapTimeout() >> 16), (-3) - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 2073806348 - TextUtils.indexOf((CharSequence) "", '0'), (byte) ((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 90), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB((short) (TextUtils.indexOf("", "", 0) - 109), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 487536376, '<' - AndroidCharacter.getMirror('0'), (ViewConfiguration.getFadingEdgeLength() >> 16) + 2073806401, (byte) ((-83) - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB((short) (((Process.getThreadPriority(0) + 20) >> 6) - 75), (-487536313) - MotionEvent.axisFromString(""), ((Process.getThreadPriority(0) + 20) >> 6) + 12, TextUtils.indexOf((CharSequence) "", '0') + 2073806398, (byte) ((-19) - (Process.myTid() >> 22)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{67, 74, 37, 65}, true, null, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((short) (TextUtils.indexOf("", "", 0, 0) - 121), (-487536248) - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (-16777263) - Color.rgb(0, 0, 0), ImageFormat.getBitsPerPixel(0) + 2073806358, (byte) (73 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{CipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA, 36, 0, 18}, false, new byte[]{1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0}, 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((ViewConfiguration.getJumpTapTimeout() >> 16) + 487, 5 - TextUtils.getOffsetAfter("", 0), (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i8 = q + 125;
s = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.AbstractActivityC11251ebn, 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 = q + 97;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9425djW
public final void c(String str) {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1011609045;
c(new Object[]{this, str});
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = s + 21;
q = i2 % 128;
int i3 = i2 % 2;
}
}