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

677 lines
37 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.hml.BaseHmlPersonalInfoActivity;
import com.scb.phone.view.activity.hml.HmlNTBPersonalInfoActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
import org.jmrtd.lds.CVCAFile;
/* renamed from: o.dOr, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8551dOr extends BaseHmlPersonalInfoActivity implements fPA {
private static short[] s;
private volatile C13073fPt k;
private static final byte[] $$y = {Ascii.NAK, Ascii.DC2, ISO7816.INS_DELETE_FILE, -22};
private static final int $$z = 118;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int v = 1;
/* renamed from: o, reason: collision with root package name */
private static int f8808o = -2001473968;
private static int l = 1406017120;
private static int r = 260781259;
private static byte[] p = {-120, 65, 71, 67, 61, ISO7816.INS_DECREASE_STAMPED, 99, 99, ISO7816.INS_GET_DATA, 77, Byte.MIN_VALUE, Ascii.ESC, 10, 11, ISO7816.INS_DECREASE_STAMPED, 71, 63, ISO7816.INS_REHABILITATE_CHV, ISOFileInfo.PROP_INFO, 58, 69, 29, 77, -120, 107, 16, 109, 15, 104, -108, -107, 106, 30, 59, 69, 16, 1, ISOFileInfo.FCI_BYTE, 30, -107, 12, -82, -60, -90, -34, ISOFileInfo.A5, -9, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, -45, ISOFileInfo.FILE_IDENTIFIER, -10, -12, -66, ISO7816.INS_GET_DATA, Byte.MIN_VALUE, -113, ISOFileInfo.FILE_IDENTIFIER, -58, -72, -35, ISOFileInfo.A5, -47, -90, -45, -90, ISOFileInfo.AB, -90, -126, -56, ISOFileInfo.ENV_TEMP_EF, -12, ISO7816.INS_WRITE_RECORD, -71, ISOFileInfo.CHANNEL_SECURITY, ISO7816.INS_WRITE_RECORD, -92, -47, -92, ISO7816.INS_GET_DATA, ISO7816.INS_UPDATE_RECORD, -126, -56, Byte.MIN_VALUE, ISO7816.INS_READ_RECORD2, ISO7816.INS_WRITE_RECORD, ISOFileInfo.A5, -10, ISOFileInfo.ENV_TEMP_EF, ISO7816.INS_GET_RESPONSE, 11, -110, -103, 59, 97, CVCAFile.CAR_TAG, 53, -12, -45, -49, -111, -102, 10, 9, -99, 78, 82, 9, -101, 70, 86, 10, -124, 77, 89, 7, 97, ISO7816.INS_CHANGE_CHV, -100, 10, -101, 6, 97, ISO7816.INS_CHANGE_CHV, -102, 73, -50, -111, 102, 10, 59, 103, ISO7816.INS_DECREASE_STAMPED, 7, -98, 12, ISO7816.INS_WRITE_RECORD, 87, 53, ISOFileInfo.PROP_INFO, 11, 2, -97, 8, -110, 1, ISOFileInfo.PROP_INFO, 8, -112, 10, -124, 2, -124, 8, 2, ISO7816.INS_UPDATE_RECORD, -112, 13, 83, -105, ISO7816.INS_DECREASE_STAMPED, -112, -124};
private static int[] t = {-1050797820, 1226625871, 1722272928, -1196964606, -1206333668, -401208568, 511336603, -1567145588, -379111064, -2058576420, -640810248, -1305428379, -232534645, -1503256231, -1592348788, -1449641295, 1232915697, 146017780};
private final Object m = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002d). 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 aF(byte r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 2
int r6 = 110 - r6
byte[] r0 = o.AbstractActivityC8551dOr.$$y
int r7 = r7 * 3
int r1 = 1 - r7
int r8 = r8 + 4
byte[] r1 = new byte[r1]
r2 = 0
int r7 = 0 - r7
if (r0 != 0) goto L16
r3 = r8
r4 = r2
goto L2d
L16:
r3 = r2
L17:
int r8 = r8 + 1
byte r4 = (byte) r6
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r7) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L28:
r3 = r0[r8]
r5 = r3
r3 = r8
r8 = r5
L2d:
int r8 = -r8
int r6 = r6 + r8
r8 = r3
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8551dOr.aF(byte, byte, short, java.lang.Object[]):void");
}
public AbstractActivityC8551dOr() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dOr.1
private AbstractActivityC8551dOr d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8551dOr abstractActivityC8551dOr = this.d;
if (abstractActivityC8551dOr.b) {
return;
}
abstractActivityC8551dOr.b = true;
((InterfaceC8620dQs) abstractActivityC8551dOr.y_()).b((HmlNTBPersonalInfoActivity) abstractActivityC8551dOr);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = v + 99;
q = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
g().y_();
obj.hashCode();
throw null;
}
Object y_ = g().y_();
int i3 = q + 99;
v = i3 % 128;
if (i3 % 2 != 0) {
return y_;
}
throw null;
}
private C13073fPt g() {
if (this.k == null) {
synchronized (this.m) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = q + 77;
v = i2 % 128;
int i3 = i2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
Bundle bundle = null;
if (getIntent() != null) {
int i4 = v + 75;
q = i4 % 128;
if (i4 % 2 != 0) {
getIntent().getExtras();
bundle.hashCode();
throw null;
}
bundle = getIntent().getExtras();
} else {
int i5 = v + 75;
q = i5 % 128;
int i6 = i5 % 2;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aE(int[] iArr, int i, Object[] objArr) {
int length;
int[] iArr2;
int i2;
int[] iArr3;
int i3;
int i4 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = t;
char c = '0';
int i5 = 729798706;
int i6 = 1;
char c2 = 0;
if (iArr4 != null) {
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int i7 = 0;
while (i7 < length2) {
try {
Object[] objArr2 = new Object[i6];
objArr2[c2] = Integer.valueOf(iArr4[i7]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(16 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (TextUtils.indexOf("", c) + 58135))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr5[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7++;
c = '0';
i6 = 1;
c2 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr4 = iArr5;
}
int length3 = iArr4.length;
int[] iArr6 = new int[length3];
int[] iArr7 = t;
if (iArr7 != null) {
int i8 = $11 + 63;
$10 = i8 % 128;
if (i8 % 2 != 0) {
length = iArr7.length;
iArr2 = new int[length];
i2 = 1;
} else {
length = iArr7.length;
iArr2 = new int[length];
i2 = 0;
}
while (i2 < length) {
Object[] objArr3 = {Integer.valueOf(iArr7[i2])};
Object obj2 = xzZ.y.get(Integer.valueOf(i5));
if (obj2 != null) {
iArr3 = iArr7;
i3 = i5;
} else {
obj2 = ((Class) xzZ.c(15 - Color.green(0), 5 - TextUtils.getOffsetBefore("", 0), (char) (58134 - (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("i", Integer.TYPE);
iArr3 = iArr7;
i3 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr2[i2] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i2++;
i5 = i3;
iArr7 = iArr3;
}
iArr7 = iArr2;
}
System.arraycopy(iArr7, 0, iArr6, 0, length3);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i9 = $10 + 51;
$11 = i9 % 128;
int i10 = i9 % 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(iArr6);
int i11 = 0;
for (int i12 = 16; i11 < i12; i12 = 16) {
int i13 = $10 + 29;
$11 = i13 % 128;
int i14 = i13 % 2;
c4403bZM.e ^= iArr6[i11];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c(118 - (KeyEvent.getMaxKeyCode() >> 16), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b = (byte) 3;
byte b2 = (byte) (b - 3);
Object[] objArr5 = new Object[1];
aF(b, b2, (byte) (b2 - 1), objArr5);
obj3 = cls.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;
i11++;
}
int i15 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i15;
c4403bZM.a ^= iArr6[16];
c4403bZM.e ^= iArr6[17];
int i16 = c4403bZM.e;
int i17 = 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(iArr6);
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[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(98 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), TextUtils.lastIndexOf("", '0', 0) + 6, (char) ((-1) - TextUtils.lastIndexOf("", '0')));
byte length4 = (byte) $$y.length;
byte b3 = (byte) (length4 - 4);
Object[] objArr7 = new Object[1];
aF(length4, b3, (byte) (b3 - 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0182, code lost:
if (r4 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.hml.BaseHmlPersonalInfoActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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: 1548
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8551dOr.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.hml.BaseHmlPersonalInfoActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = v + 39;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aE(new int[]{-497520285, -94958996, -300468013, 731091038, -737765202, 314322640, -80588615, 1507742333, -965825004, 1393963806, -1171691095, 86819928, -1545769424, -182514529}, 25 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((short) (59 - (KeyEvent.getMaxKeyCode() >> 16)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) + 612503407, (-118) - Drawable.resolveOpacity(0, 0), (-1548036732) - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.FaceTec_result_idscan_unsuccess_message).substring(22, 23).codePointAt(0) + 60), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = v + 35;
q = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = q + 59;
v = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - Process.getGidForName(""), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) ('0' - AndroidCharacter.getMirror('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(487 - (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)), View.resolveSize(0, 0) + 5, (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i8 = v + 55;
q = i8 % 128;
if (i8 % 2 != 0) {
int i9 = 4 / 2;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aD(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
int i4;
boolean z;
int length;
byte[] bArr;
int i5 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(l)};
Object obj = xzZ.y.get(-2092856797);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 336, 5 - Color.red(0), (char) ExpandableListView.getPackedPositionGroup(0L));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aF(b2, b3, (byte) (b3 - 1), 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 z2 = intValue == -1;
if (z2) {
byte[] bArr2 = p;
char c = '0';
if (bArr2 != null) {
int length2 = bArr2.length;
byte[] bArr3 = new byte[length2];
int i6 = 0;
while (i6 < length2) {
Object[] objArr4 = {Integer.valueOf(bArr2[i6])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(59 - TextUtils.lastIndexOf("", c, 0, 0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b4 = (byte) 1;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
aF(b4, b5, (byte) (b5 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr3[i6] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i6++;
c = '0';
}
bArr2 = bArr3;
}
if (bArr2 != null) {
byte[] bArr4 = p;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(f8808o)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 337, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aF(b6, b7, (byte) (b7 - 1), 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) (l ^ (-7303220121662775787L))));
int i7 = $11 + 15;
$10 = i7 % 128;
int i8 = i7 % 2;
} else {
intValue = (short) (((short) (s[i + ((int) (f8808o ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (l ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
int i9 = $11;
int i10 = i9 + 107;
$10 = i10 % 128;
int i11 = i10 % 2;
int i12 = ((i + intValue) - 2) + ((int) (f8808o ^ (-7303220121662775787L)));
if (z2) {
int i13 = i9 + 59;
$10 = i13 % 128;
int i14 = i13 % 2;
i4 = 1;
} else {
i4 = 0;
}
dfy.c = i12 + i4;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(r), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Color.rgb(0, 0, 0) + 16777964, 5 - TextUtils.indexOf("", "", 0), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 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 = p;
if (bArr5 != null) {
int i15 = $11 + 91;
$10 = i15 % 128;
if (i15 % 2 != 0) {
length = bArr5.length;
bArr = new byte[length];
} else {
length = bArr5.length;
bArr = new byte[length];
}
int i16 = 0;
while (i16 < length) {
int i17 = $11 + 19;
$10 = i17 % 128;
if (i17 % 2 != 0) {
bArr[i16] = (byte) (bArr5[i16] / (-7303220121662775787L));
} else {
bArr[i16] = (byte) (bArr5[i16] ^ (-7303220121662775787L));
i16++;
}
}
bArr5 = bArr;
}
if (bArr5 != null) {
int i18 = $11 + 71;
$10 = i18 % 128;
int i19 = i18 % 2;
z = true;
} else {
z = false;
}
dfy.d = 1;
while (dfy.d < intValue) {
int i20 = $11 + 63;
int i21 = i20 % 128;
$10 = i21;
int i22 = i20 % 2;
if (!(!z)) {
int i23 = i21 + 41;
$11 = i23 % 128;
int i24 = i23 % 2;
byte[] bArr6 = p;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = s;
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++;
}
}
objArr[0] = sb.toString();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
@Override // com.scb.phone.view.activity.hml.BaseHmlPersonalInfoActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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 + 71;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = q + 119;
v = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aE(new int[]{-497520285, -94958996, -300468013, 731091038, -737765202, 314322640, -80588615, 1507742333, -965825004, 1393963806, -1171691095, 86819928, -1545769424, -182514529}, (ViewConfiguration.getEdgeSlop() >> 16) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.onboarding_success_scbs_will_send).substring(0, 5).length() + 54), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.product_points_plus_cash_opr).substring(0, 5).codePointAt(2) + 612503470, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.contact_info_mcmc_topup_national_id_exp_header).substring(0, 29).codePointAt(15) - 3737, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_debit_card_confirm_change_pin_popup_message).substring(21, 22).codePointAt(0) - 1548036763, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.marker_address).substring(0, 20).length() + 50), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = q + 51;
v = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionType(0L), TextUtils.getOffsetAfter("", 0) + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == 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(487 - TextUtils.getTrimmedLength(""), 4 - TextUtils.lastIndexOf("", '0', 0), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).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 // com.scb.phone.view.activity.hml.BaseHmlPersonalInfoActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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];
aD((short) (Process.getGidForName("") + 69), 612503483 + (ViewConfiguration.getDoubleTapTimeout() >> 16), (-119) - ((byte) KeyEvent.getModifierMetaStateMask()), (-1548036733) - (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)), (byte) ((-104) - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1))), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((short) ((-72) - (Process.myPid() >> 22)), TextUtils.lastIndexOf("", '0', 0) + 612503502, (-118) - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (-1548036721) - TextUtils.getOffsetBefore("", 0), (byte) (((byte) KeyEvent.getModifierMetaStateMask()) + 29), 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 + 11;
q = i2 % 128;
int i3 = i2 % 2;
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(492 - ExpandableListView.getPackedPositionType(0L), 5 - Color.blue(0), (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD((short) ((-61) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), 595726308 - Color.rgb(0, 0, 0), TextUtils.indexOf((CharSequence) "", '0', 0) - 117, (-1548036782) - MotionEvent.axisFromString(""), (byte) (90 - (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))), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new int[]{-763585523, -193285809, -205111117, 1203259596, 35129281, -1675099277, -1378069495, -537927954, 1397071175, -1200431961, -566162362, 1330981796, 245695211, -1367769737, 615822922, -43175929, 1198417808, -1725564982, -1753641396, -1366974805, -2072470582, 179124164, 1389863379, -1974235433, -1489345919, 451122686, 691837341, -1647028628, 490276005, -322259578, -1748257571, 1603641456}, 64 - (ViewConfiguration.getTouchSlop() >> 8), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new int[]{553737783, -1558118387, 2137795445, -237589958, 1266837705, -1344165833, 1717839571, -1158060452, 149726347, -1199022181, -1316931128, -2094207306, -199643844, 10641933, 1405092681, -121336194, 1445925466, -1647573274, 634579659, 655659992, 2063599846, -1682403267, -2083622036, 1968609551, -1976198959, -1472024250, 667573841, 1973976926, -441989550, -1363778241, 1692052170, -167610892}, 64 - (Process.myTid() >> 22), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD((short) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 46), 612503572 + (ViewConfiguration.getMaximumFlingVelocity() >> 16), TextUtils.indexOf((CharSequence) "", '0') - 117, Color.blue(0) - 1548036726, (byte) (((byte) KeyEvent.getModifierMetaStateMask()) + ISO7816.INS_READ_BINARY_STAMPED), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{1650822318, -589018369, -530236161, 907290151}, 5 - (ViewConfiguration.getTouchSlop() >> 8), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new int[]{1482494053, -97242239, 2048482277, 865286843, 1816199289, 103783601, -410092417, 50426823, 291108690, 2097788572, 1270648361, -433436791, -1881468897, 1852421922, 1100117623, -1879922849, 2105993716, -1825743786}, 36 - (KeyEvent.getMaxKeyCode() >> 16), 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.getMaximumDrawingCacheSize() >> 24) + 487, 5 - TextUtils.getOffsetBefore("", 0), (char) Color.argb(0, 0, 0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i4 = q + 1;
v = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // com.scb.phone.view.activity.hml.BaseHmlPersonalInfoActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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 + 25;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
}
}