what-the-bank/sources/com/scb/phone/view/activity/directdebit/DirectDebitOtpActivity.java

711 lines
37 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.directdebit;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
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.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.directdebit.DirectDebitSuccessActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C14957gcv;
import o.C15807il;
import o.C1812aPB;
import o.EW;
import o.GuL;
import o.InterfaceC13391fZD;
import o.InterfaceC9231dfn;
import o.JD;
import o.PPL;
import o.TVH;
import o.ubH;
import o.xzZ;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.cbeff.ISO781611;
/* loaded from: classes4.dex */
public final class DirectDebitOtpActivity extends Hilt_DirectDebitOtpActivity implements InterfaceC9231dfn {
public static final HBt b;
private static long l;
private static int m;
/* renamed from: o, reason: collision with root package name */
private static char[] f7035o;
@InterfaceC13391fZD
public C1812aPB presenter;
private static final byte[] $$y = {55, PSSSigner.TRAILER_IMPLICIT, ISOFileInfo.LCS_BYTE, Ascii.SYN};
private static final int $$z = CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
private static void aF(byte b2, byte b3, short s, Object[] objArr) {
byte[] bArr = $$y;
int i = 121 - (s * 2);
int i2 = b2 * 3;
int i3 = 3 - (b3 * 2);
byte[] bArr2 = new byte[i2 + 1];
int i4 = -1;
if (bArr == null) {
i4 = -1;
i = (-i3) + i;
i3 = i3;
}
while (true) {
int i5 = i4 + 1;
bArr2[i5] = (byte) i;
if (i5 == i2) {
objArr[0] = new String(bArr2, 0);
return;
}
int i6 = i3 + 1;
i4 = i5;
i = (-bArr[i6]) + i;
i3 = i6;
}
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
DirectDebitOtpActivity directDebitOtpActivity = (DirectDebitOtpActivity) objArr[0];
Context context = (Context) objArr[1];
int i4 = 2 % 2;
int i5 = k + 95;
m = i5 % 128;
int i6 = i5 % 2;
super.attachBaseContext(context);
Object[] objArr2 = new Object[1];
aD(new int[]{0, 18, 0, 13}, false, new byte[]{1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1}, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aD(new int[]{18, 5, 0, 1}, true, new byte[]{1, 1, 1, 0, 0}, objArr3);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr3[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
context = context.getApplicationContext();
}
if (context != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 493, Color.argb(0, 0, 0, 0) + 5, (char) KeyEvent.getDeadChar(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = new Object[1];
aE(new char[]{62614, 35478, 62631, 53616, 41205, 19801, 34284, 13255, 24053, 22865, 11502, 25972, 42580, 63067, 30218, 40100, 3925, 44208, 33243, 14221, 20916, 17713, 10410, 26973, 47669, 62022, 29225, 33004, 784, 43156, 40347, 15280, 21957, 16683, 9420, 27972, 48679, 65143, 20064, 33812, 1824, 38103, 39274, 16375, 27012, 19926, 8321, 20848, 45701, 64106, 18957, 34817}, 1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr4);
String str = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new int[]{67, 64, 0, 34}, true, new byte[]{1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0}, objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new int[]{ISO781611.CREATION_DATE_AND_TIME_TAG, 64, 82, 33}, true, null, objArr6);
String str3 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new char[]{49630, 52674, 49590, 28918, 59362, 29141, 9258, 3929, 26877, 7772, 36129, 22966, 37645, 45407, 55263, 40996, 14925, 60393, 8195, 2900, 25851, 548, 35197, 21888, 36655, 46410, 54188, 48184, 13904, 61341, 15440, 1917, 24710, 1588, 34123, 20888, 35626, 47477, 61375, 47322, 12922, 54216, 14569, 876, 23711, 2756, 33114, 28090, 34783, 48499, 60303, 46283, 11899, 55288, 13565, 7942, 22691, 3721, 40239, 27049, 33751, 41305, 59287, 45287, 10761, 56227, 12509, 6925, 21745, 29408, 39276, 25094, 65515, 42256, 57963, 52471, 9738, 56389}, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr7);
String str4 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{37752, 40441, 37697, 21842, 46979, 38802, 450, 59712, 14872}, ViewConfiguration.getDoubleTapTimeout() >> 16, objArr8);
String str5 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(new char[]{5824, 9160, 5797, 61214, 2557, 25528, 48004, 7536, 49140, 61525, 4818, 19396, 17485, 24330, 18534, 45633, 60754, 1441, 49074, 6502, 46001, 60525, 5851, 18405, 22578, 23369, 19525, 44569, 57618, 415, 41892, 5381, 47047, 59433, 6821, 17313, 23668, 22313, 28679, 43681}, (-1) - TextUtils.lastIndexOf("", '0'), objArr9);
Object[] objArr10 = {context, str, str2, str3, str4, true, str5, (String) objArr9[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 487, 5 - ExpandableListView.getPackedPositionType(0L), (char) (ViewConfiguration.getKeyRepeatDelay() >> 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, objArr10);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
}
int i7 = m + 115;
k = i7 % 128;
int i8 = i7 % 2;
return null;
}
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
private static void aE(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(l ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
while (guL.a < a.length) {
int i4 = $11 + 73;
$10 = i4 % 128;
int i5 = i4 % 2;
guL.c = guL.a - i3;
int i6 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(l)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 209, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (1706 - (ViewConfiguration.getJumpTapTimeout() >> 16)));
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], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(391 - TextUtils.lastIndexOf("", '0'), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aF(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
i3 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(a, 4, a.length - 4);
int i7 = $10 + 87;
$11 = i7 % 128;
if (i7 % 2 == 0) {
throw null;
}
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.directdebit.Hilt_DirectDebitOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 final void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = m + 107;
k = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 0, 13}, false, new byte[]{1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{18, 5, 0, 1}, true, new byte[]{1, 1, 1, 0, 0}, objArr2);
C1812aPB c1812aPB = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aD(new int[]{23, 26, 0, 15}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new int[]{49, 18, 0, 9}, true, new byte[]{0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[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(492 - View.resolveSize(0, 0), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE(new char[]{62614, 35478, 62631, 53616, 41205, 19801, 34284, 13255, 24053, 22865, 11502, 25972, 42580, 63067, 30218, 40100, 3925, 44208, 33243, 14221, 20916, 17713, 10410, 26973, 47669, 62022, 29225, 33004, 784, 43156, 40347, 15280, 21957, 16683, 9420, 27972, 48679, 65143, 20064, 33812, 1824, 38103, 39274, 16375, 27012, 19926, 8321, 20848, 45701, 64106, 18957, 34817}, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new int[]{67, 64, 0, 34}, true, new byte[]{1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new int[]{ISO781611.CREATION_DATE_AND_TIME_TAG, 64, 82, 33}, true, null, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{49630, 52674, 49590, 28918, 59362, 29141, 9258, 3929, 26877, 7772, 36129, 22966, 37645, 45407, 55263, 40996, 14925, 60393, 8195, 2900, 25851, 548, 35197, 21888, 36655, 46410, 54188, 48184, 13904, 61341, 15440, 1917, 24710, 1588, 34123, 20888, 35626, 47477, 61375, 47322, 12922, 54216, 14569, 876, 23711, 2756, 33114, 28090, 34783, 48499, 60303, 46283, 11899, 55288, 13565, 7942, 22691, 3721, 40239, 27049, 33751, 41305, 59287, 45287, 10761, 56227, 12509, 6925, 21745, 29408, 39276, 25094, 65515, 42256, 57963, 52471, 9738, 56389}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(new char[]{37752, 40441, 37697, 21842, 46979, 38802, 450, 59712, 14872}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 112, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE(new char[]{5824, 9160, 5797, 61214, 2557, 25528, 48004, 7536, 49140, 61525, 4818, 19396, 17485, 24330, 18534, 45633, 60754, 1441, 49074, 6502, 46001, 60525, 5851, 18405, 22578, 23369, 19525, 44569, 57618, 415, 41892, 5381, 47047, 59433, 6821, 17313, 23668, 22313, 28679, 43681}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, 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(535 - AndroidCharacter.getMirror('0'), ExpandableListView.getPackedPositionType(0L) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).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);
C1812aPB c1812aPB2 = this.presenter;
if (c1812aPB2 != null) {
c1812aPB = c1812aPB2;
} else {
C14957gcv.a("");
}
c1812aPB.e((C1812aPB) this);
int i4 = m + 63;
k = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void a_(String str, String str2) {
JD jd;
Parcelable parcelable;
int i = 2 % 2;
int i2 = k + 101;
m = i2 % 128;
String str3 = null;
if (i2 % 2 != 0) {
Intent intent = getIntent();
if (intent != null) {
if (Build.VERSION.SDK_INT >= 33) {
Bundle extras = intent.getExtras();
parcelable = extras != null ? (Parcelable) extras.getParcelable("EXTRA_DIRECT_DEBIT_INPUT_DISPLAY", JD.class) : null;
} else {
Bundle extras2 = intent.getExtras();
Parcelable parcelable2 = extras2 != null ? extras2.getParcelable("EXTRA_DIRECT_DEBIT_INPUT_DISPLAY") : null;
if (!(parcelable2 instanceof JD)) {
int i3 = m;
int i4 = i3 + 85;
k = i4 % 128;
int i5 = i4 % 2;
int i6 = i3 + 111;
k = i6 % 128;
int i7 = i6 % 2;
parcelable2 = null;
}
parcelable = (JD) parcelable2;
}
jd = (JD) parcelable;
} else {
jd = null;
}
C1812aPB c1812aPB = this.presenter;
if (c1812aPB == null) {
C14957gcv.a("");
c1812aPB = null;
}
if (jd != null) {
int i8 = k + 49;
m = i8 % 128;
if (i8 % 2 == 0) {
String str4 = jd.a;
throw null;
}
str3 = jd.a;
}
if (str3 == null || str == null || str2 == null) {
return;
}
int i9 = k + 75;
m = i9 % 128;
int i10 = i9 % 2;
if (c1812aPB.f != 0) {
int i11 = m + 83;
k = i11 % 128;
int i12 = i11 % 2;
c1812aPB.f.y();
}
C15807il c15807il = c1812aPB.b;
C1812aPB.LWm lWm = new C1812aPB.LWm(c1812aPB, jd);
C1812aPB.Sts sts = new C1812aPB.Sts(c1812aPB);
PPL ppl = new PPL(jd.a);
C14957gcv.e(lWm, "");
C14957gcv.e(sts, "");
C14957gcv.e(ppl, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
c15807il.b(c15807il.e, lWm, sts, new ubH.Sts(ppl, str, str2));
return;
}
getIntent();
throw null;
}
@Override // o.InterfaceC9231dfn
public final void b(EW ew) {
int i = 2 % 2;
C14957gcv.e(ew, "");
DirectDebitSuccessActivity.IeS ieS = DirectDebitSuccessActivity.b;
DirectDebitOtpActivity directDebitOtpActivity = this;
C14957gcv.e(directDebitOtpActivity, "");
C14957gcv.e(ew, "");
Intent intent = new Intent(directDebitOtpActivity, (Class<?>) DirectDebitSuccessActivity.class);
intent.putExtra("EXTRA_DIRECT_DEBIT_SUCCESS_DISPLAY", ew);
startActivity(intent);
finish();
int i2 = k + 21;
m = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.activity.directdebit.Hilt_DirectDebitOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 final void onResume() {
int i = 2 % 2;
int i2 = k + 15;
m = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = k + 9;
m = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aD(new int[]{23, 26, 0, 15}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{49, 18, 0, 9}, true, new byte[]{0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = k + 21;
m = i6 % 128;
if (i6 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
int i7 = k + 79;
m = i7 % 128;
int i8 = i7 % 2;
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 492, 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) View.getDefaultSize(0, 0))).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(487 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - View.MeasureSpec.getSize(0), (char) (TextUtils.lastIndexOf("", '0') + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.directdebit.Hilt_DirectDebitOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 final void onPause() {
Method method;
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = m + 43;
k = i2 % 128;
if (i2 % 2 != 0) {
Object[] objArr = new Object[1];
aD(new int[]{23, 26, 0, 15}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{49, 18, 0, 9}, false, new byte[]{0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr2);
method = cls.getMethod((String) objArr2[0], new Class[0]);
} else {
Object[] objArr3 = new Object[1];
aD(new int[]{23, 26, 0, 15}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(new int[]{49, 18, 0, 9}, true, new byte[]{0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = k + 51;
m = i3 % 128;
try {
if (i3 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 492, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (Process.myPid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 487, 5 - View.getDefaultSize(0, 0), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr5);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), View.MeasureSpec.getMode(0) + 5, (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr6 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 488, View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aD(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int length;
char[] cArr;
char[] cArr2;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr3 = f7035o;
if (cArr3 != null) {
int i8 = $11 + 45;
$10 = i8 % 128;
if (i8 % 2 != 0) {
length = cArr3.length;
cArr = new char[length];
} else {
length = cArr3.length;
cArr = new char[length];
}
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr3[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr2 = cArr3;
} else {
Class cls = (Class) xzZ.c(223 - Drawable.resolveOpacity(i3, i3), TextUtils.indexOf("", "", i3, i3) + 5, (char) (41977 - TextUtils.indexOf("", "")));
byte b2 = (byte) i3;
byte b3 = b2;
cArr2 = cArr3;
Object[] objArr3 = new Object[1];
aF(b2, b3, (byte) (b3 | Ascii.EM), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
cArr3 = cArr2;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr;
}
char[] cArr4 = new char[i5];
System.arraycopy(cArr3, i4, cArr4, 0, i5);
if (bArr != null) {
int i10 = $11 + 47;
$10 = i10 % 128;
int i11 = i10 % 2;
char[] cArr5 = new char[i5];
tvh.c = 0;
int i12 = $10 + 65;
$11 = i12 % 128;
int i13 = i12 % 2;
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i14 = tvh.c;
try {
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - (ViewConfiguration.getLongPressTimeout() >> 16), Color.red(0) + 5, (char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i14] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i15 = 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(TextUtils.lastIndexOf("", '0', 0, 0) + 16, 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) (58134 - KeyEvent.normalizeMetaState(0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i15] = ((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(401 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), 5 - Color.blue(0), (char) (Color.alpha(0) + 21608));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
aF(b4, b5, (byte) (b5 | Ascii.CAN), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
cArr4 = cArr5;
}
if (i7 > 0) {
char[] cArr6 = new char[i5];
i = 0;
System.arraycopy(cArr4, 0, cArr6, 0, i5);
int i16 = i5 - i7;
System.arraycopy(cArr6, 0, cArr4, i16, i7);
System.arraycopy(cArr6, i7, cArr4, 0, i16);
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
cArr7[tvh.c] = cArr4[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr4 = cArr7;
}
if (i6 > 0) {
int i17 = 0;
while (true) {
tvh.c = i17;
if (tvh.c >= i5) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i17 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
static void h() {
f7035o = new char[]{39999, 40045, 40002, 40005, 40058, 40027, 39988, 40042, 40059, 40034, 40047, 40039, 40056, 40033, 40044, 40034, 40032, 40059, 39997, 40035, 40045, 40020, 40044, 39985, 40032, 40025, 39996, 40004, 40059, 40035, 40012, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 40041, 40041, 40040, 40032, 40038, 40021, 40045, 40061, 40037, 40036, 40036, 39987, 40019, 40017, 40058, 40034, 40032, 40057, 40056, 40039, 40035, 40037, 40039, 40037, 40033, 40041, 40045, 40033, 40037, 39952, 39996, 39996, 39999, 39999, 39998, 40001, 40002, 39992, 39999, 39992, 40001, 40000, 40007, 40001, 39994, 39993, 39998, 39992, 39999, 39997, 39999, 39999, 39999, 39992, 40006, 40004, 39997, 40000, 40007, 40006, 40006, 40007, 40040, 40046, 40040, 40042, 40007, 39996, 39999, 40001, 40006, 40006, 40000, 39997, 40006, 40006, 40005, 40004, 40005, 40040, 40007, 39992, 39992, 39998, 40000, 40042, 40007, 40007, 40041, 40006, 39997, 40000, 40000, 40077, 40125, 40064, 40067, 40065, 40124, 40115, 40065, 40126, 40079, 40066, 40073, 40072, 40073, 40115, 40127, 40120, 40065, 40073, 40077, 40127, 40124, 40078, 40064, 40079, 40124, 40124, 40078, 40120, 40078, 40073, 40065, 40120, 40066, 40126, 40065, 40076, 40120, 40115, 40120, 40073, 40115, 40073, 40064, 40067, 40065, 40079, 40124, 40127, 40124, 40067, 40126, 40115, 40078, 40076, 40073, 40076, 40072, 40072, 40079, 40076, 40076, 40120, 40127};
l = 3144101453256126987L;
}
@Override // com.scb.phone.view.activity.directdebit.Hilt_DirectDebitOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 final void attachBaseContext(Context context) {
d(new Object[]{this, context}, -1354172967, 1354172967, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.directdebit.Hilt_DirectDebitOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 final void onStart() {
int i = 2 % 2;
int i2 = k + 17;
m = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 61 / 0;
}
int i5 = k + 5;
m = i5 % 128;
int i6 = i5 % 2;
}
static {
m = 1;
h();
b = new HBt((byte) 0);
int i = k + 83;
m = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}