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

617 lines
36 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity;
import com.scb.phone.view.activity.ndid.IdpLivenessCheckActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.cbeff.ISO781611;
/* renamed from: o.ebg, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11244ebg extends BaseLivenessCheckActivity {
private boolean b = false;
private static final byte[] $$g = {ISO7816.INS_DECREASE_STAMPED, 125, -39, -65};
private static final int $$h = 27;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
private static int k = 1;
private static char[] l = {40006, 40106, 40104, 40110, 40097, 40109, 40107, 40072, 40067, 40096, 40065, 40050, 40080, 40097, 40104, 40085, 40109, 40102, 39994, 40048, 40054, 40055, 40048, 40045, 40046, 40041, 40050, 40090, 40089, 40095, 40049, 40040, 40046, 40041, 40043, 40050, 40054, 40054, 40048, 40048, 40048, 40054, 40053, 40055, 40050, 40041, 40047, 40047, 40042, 40050, 40055, 40047, 40050, 40050, 40050, 40051, 40047, 40055, 40091, 40089, 40088, 40049, 40050, 40049, 40047, 40040, 40034, 40154, 40113, 40112, 40112, 40113, 40114, 40111, 40118, 40112, 40106, 40105, 40105, 40105, 40111, 40105, 40106, 40104, 40107, 40084, 40115, 40113, 40114, 40115, 40106, 40105, 40106, 40124, 40115, 40104, 40105, 40105, 40110, 40110, 40111, 40114, 40114, 40111, 40112, 40155, 40113, 40113, 40132, 40114, 40104, 40106, 40106, 40113, 40154, 40119, 40118, 40119, 40112, 40112, 40111, 40114, 40112, 40112, 40115, 40105, 40110, 40113, 40132, 40154, 39992, 40004, 40006, 40001, 39999, 39992, 39995, 39995, 40000, 40047, 40042, 40007, 39999, 39993, 40000, 40040, 40007, 39997, 39998, 40000, 40046, 40007, 40001, 40001, 39994, 39999, 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, 40028, 40127, 40113, 40115, 40124, 40087, 40049, 40062, 40092, 40127, 40096, 40102, 40101, 40100, 40127, 40120, 40100, 40122, 40123, 40103, 40096, 40103, 40102, 40108, 40102, 40121, 40089, 40092, 40127, 40120, 40122, 40098, 40123, 40122, 40099, 40123, 40114, 40092, 40091, 40127, 40122, 40100, 40122, 40122, 40115, 40114, 40122, 40100, 40122, 40068, 40069, 40100, 40127, 40095, 40069, 40101, 40121, 40089, 40089, 40122, 40123, 40103, 40121, 40114, 40092, 40083, 40081, 40061, 40091, 40120, 40120, 40100, 40124, 40114, 39964, 39992, 39999, 39972, 39992, 39993, 40000, 39992, 39999, 39999, 40007, 40047, 40005, 40007, 40002, 40001, 40001, 39972, 40003, 40047, 40040, 40042, 40012, 39972, 39994, 39994, 39992, 39995, 40012, 40040, 40001, 39992, 39994, 39973, 39993, 39997, 40005, 40007, 39992, 40002, 40040};
/* renamed from: o, reason: collision with root package name */
private static int f8963o = 2015661674;
/* 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:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(int r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
byte[] r0 = o.AbstractActivityC11244ebg.$$g
int r7 = r7 + 69
int r6 = r6 * 2
int r1 = 1 - r6
int r8 = r8 * 3
int r8 = 4 - r8
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L17
r4 = r6
r7 = r8
r3 = r2
goto L2c
L17:
r3 = r2
L18:
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
int r3 = r3 + 1
r4 = r0[r8]
r5 = r8
r8 = r7
r7 = r5
L2c:
int r4 = -r4
int r8 = r8 + r4
int r7 = r7 + 1
r5 = r8
r8 = r7
r7 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11244ebg.az(int, byte, byte, java.lang.Object[]):void");
}
public AbstractActivityC11244ebg() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.ebg.4
private AbstractActivityC11244ebg c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.c.M();
}
});
}
@Override // o.AbstractActivityC11247ebj
protected final void M() {
int i = 2 % 2;
if (!this.b) {
int i2 = k + 9;
m = i2 % 128;
if (i2 % 2 != 0) {
this.b = false;
} else {
this.b = true;
}
((InterfaceC11256ebs) y_()).c((IdpLivenessCheckActivity) this);
int i3 = k + 103;
m = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 5 / 3;
}
}
int i5 = k + 13;
m = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 71 / 0;
}
}
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity, o.AbstractActivityC11247ebj, 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 = k + 49;
m = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{0, 18, 58, 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];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, new char[]{1, 65532, 5, 17, 65517}, (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)) + CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_ota_info_second_description).substring(117, 119).codePointAt(0) - 37, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = m + 125;
k = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) - 75, new char[]{65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2, 65534, 1}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 142, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.point_x_remaining_balance_p_casa_point_empty).substring(41, 42).length() + 25, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(18 - View.MeasureSpec.makeMeasureSpec(0, 0), new char[]{65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529, 4, 5, 65535, '\n', 65527, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_review_confirmation_duration).substring(0, 9).codePointAt(7) + CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA, true, View.resolveSize(0, 0) + 12, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = m + 47;
k = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i8 = m + 87;
k = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 491, 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ax(new int[]{18, 48, 47, 0}, true, new byte[]{1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new int[]{66, 64, 110, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new int[]{ISO781611.BIOMETRIC_SUBTYPE_TAG, 64, 0, 27}, true, new byte[]{0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 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}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new int[]{CipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256, 74, 70, 0}, false, new byte[]{0, 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}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(new int[]{268, 5, 0, 2}, true, new byte[]{0, 1, 1, 0, 0}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(new int[]{273, 36, 0, 36}, true, new byte[]{1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, 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 - Color.alpha(0), 5 - Color.blue(0), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void ay(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(f8963o)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(Drawable.resolveOpacity(0, 0) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, (ViewConfiguration.getPressedStateDuration() >> 16) + 7, (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), Color.red(0) + 5, (char) (TextUtils.lastIndexOf("", '0') + 1));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
az(b3, (byte) (b3 | 7), b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i3 > 0) {
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
int i6 = $11 + 117;
$10 = i6 % 128;
int i7 = i6 % 2;
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i8 = $10 + 13;
$11 = i8 % 128;
if (i8 % 2 == 0) {
cArr4[zui.d] = cArr2[(i / zui.d) % 0];
try {
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(342 - TextUtils.indexOf("", "", 0), 4 - Process.getGidForName(""), (char) Color.alpha(0));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b4, (byte) (b4 | 7), b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr8 = {zui, zui};
Object obj4 = xzZ.y.get(1294990079);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(342 - (ViewConfiguration.getKeyRepeatDelay() >> 16), '5' - AndroidCharacter.getMirror('0'), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
az(b5, (byte) (b5 | 7), b5, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity, o.AbstractActivityC11247ebj, 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 = k + 119;
m = i2 % 128;
if (i2 % 2 == 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.verify_identity_6).substring(0, 3).codePointAt(1) - 20, new char[]{65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2, 65534, 1}, (ViewConfiguration.getDoubleTapTimeout() >> 16) + CipherSuite.TLS_PSK_WITH_NULL_SHA256, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 78, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, new char[]{65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529, 4, 5, 65535, '\n', 65527, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) + 85, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 22, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i3 = k + 101;
m = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
int i5 = k + 19;
m = i5 % 128;
int i6 = i5 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.rgb(0, 0, 0) + 16777708, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) TextUtils.getOffsetBefore("", 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(486 - TextUtils.lastIndexOf("", '0', 0, 0), TextUtils.getOffsetBefore("", 0) + 5, (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i7 = m + 117;
k = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
return;
}
getBaseContext();
throw null;
}
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity, o.AbstractActivityC11247ebj, 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 = m + 17;
k = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, new char[]{65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2, 65534, 1}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.cross_border_review_amount_with_currency).substring(0, 5).codePointAt(2) + CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 92, new char[]{65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529, 4, 5, 65535, '\n', 65527, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + CipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_kofax_camera_tutorial_no_bank_statement).substring(0, 2).length() + 10, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = m + 55;
k = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0'), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (TextUtils.indexOf((CharSequence) "", '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((ViewConfiguration.getDoubleTapTimeout() >> 16) + 487, 5 - TextUtils.getTrimmedLength(""), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = m + 73;
k = 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 ax(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
char c;
char[] cArr;
int i;
Object method;
int i2;
int i3 = 2;
int i4 = 2 % 2;
TVH tvh = new TVH();
int i5 = 0;
int i6 = iArr[0];
int i7 = 1;
int i8 = iArr[1];
int i9 = iArr[2];
int i10 = iArr[3];
char[] cArr2 = l;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr2 != null) {
int i11 = $11 + 47;
$10 = i11 % 128;
int i12 = i11 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i13 = 0;
while (i13 < length) {
int i14 = $10 + 33;
$11 = i14 % 128;
if (i14 % i3 == 0) {
try {
Object[] objArr2 = new Object[i7];
objArr2[i5] = Integer.valueOf(cArr2[i13]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
i2 = length;
} else {
Class cls = (Class) xzZ.c(223 - (PointF.length(f, f) > f ? 1 : (PointF.length(f, f) == f ? 0 : -1)), 5 - TextUtils.indexOf("", "", i5), (char) (41978 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))));
byte b = (byte) i5;
byte b2 = (byte) (b + 2);
i2 = length;
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 - 2), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i13] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
i2 = length;
Object[] objArr4 = {Integer.valueOf(cArr2[i13])};
Object obj2 = xzZ.y.get(1645349359);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((-16776993) - Color.rgb(0, 0, 0), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (41978 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 2);
Object[] objArr5 = new Object[1];
az(b3, b4, (byte) (b4 - 2), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(1645349359, obj2);
}
cArr3[i13] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i13++;
}
length = i2;
i3 = 2;
i5 = 0;
i7 = 1;
f = BitmapDescriptorFactory.HUE_RED;
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i8];
System.arraycopy(cArr2, i6, cArr4, 0, i8);
if (bArr != null) {
int i15 = $11 + 113;
$10 = i15 % 128;
if (i15 % 2 != 0) {
cArr = new char[i8];
i = 1;
} else {
cArr = new char[i8];
i = 0;
}
tvh.c = i;
char c2 = 0;
while (tvh.c < i8) {
int i16 = $10 + 53;
$11 = i16 % 128;
int i17 = i16 % 2;
if (bArr[tvh.c] == 1) {
int i18 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 502, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (54 - ((Process.getThreadPriority(0) + 20) >> 6)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr[i18] = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
} else {
int i19 = tvh.c;
Object[] objArr7 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 != null) {
method = obj4;
} else {
method = ((Class) xzZ.c(15 - (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)), 5 - ExpandableListView.getPackedPositionType(0L), (char) (58134 - View.MeasureSpec.getMode(0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, method);
}
cArr[i19] = ((Character) ((Method) method).invoke(null, objArr7)).charValue();
}
char c3 = cArr[tvh.c];
Object[] objArr8 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(401 - ExpandableListView.getPackedPositionChild(0L), 5 - TextUtils.indexOf("", "", 0), (char) (21608 - ExpandableListView.getPackedPositionType(0L)));
byte length2 = (byte) $$g.length;
Object[] objArr9 = new Object[1];
az((byte) 0, length2, (byte) (length2 - 4), objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr8);
c2 = c3;
}
cArr4 = cArr;
}
if (i10 > 0) {
char[] cArr5 = new char[i8];
System.arraycopy(cArr4, 0, cArr5, 0, i8);
int i20 = i8 - i10;
System.arraycopy(cArr5, 0, cArr4, i20, i10);
System.arraycopy(cArr5, i10, cArr4, 0, i20);
}
if (!z) {
c = 2;
} else {
int i21 = $11 + 87;
$10 = i21 % 128;
int i22 = i21 % 2;
char[] cArr6 = new char[i8];
int i23 = 0;
while (true) {
tvh.c = i23;
if (tvh.c >= i8) {
break;
}
cArr6[tvh.c] = cArr4[(i8 - tvh.c) - 1];
i23 = tvh.c + 1;
}
int i24 = $11 + 39;
$10 = i24 % 128;
c = 2;
int i25 = i24 % 2;
cArr4 = cArr6;
}
if (i9 > 0) {
tvh.c = 0;
while (tvh.c < i8) {
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[c]);
tvh.c++;
c = 2;
}
}
String str = new String(cArr4);
int i26 = $10 + 13;
$11 = i26 % 128;
int i27 = i26 % 2;
objArr[0] = str;
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x007a, code lost:
if (r1 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity, o.AbstractActivityC11247ebj, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r18) {
/*
Method dump skipped, instructions count: 686
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11244ebg.attachBaseContext(android.content.Context):void");
}
@Override // com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity, o.AbstractActivityC11247ebj, 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 = m + 107;
k = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = k + 113;
m = i4 % 128;
int i5 = i4 % 2;
}
}