what-the-bank/sources/com/scb/phone/view/activity/debitcard/DebitCardActivationActivity...

876 lines
43 KiB
Java

package com.scb.phone.view.activity.debitcard;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
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.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.debitcard.DebitCardConfirmPinActivity;
import com.scb.phone.view.fragment.debitcard.DebitCardActivationInputFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C1450aEh;
import o.C14957gcv;
import o.InterfaceC13391fZD;
import o.InterfaceC9099ddN;
import o.TVH;
import o.ZI;
import o.dQY;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public final class DebitCardActivationActivity extends Hilt_DebitCardActivationActivity implements InterfaceC9099ddN, DebitCardActivationInputFragment.Sts {
public static final Sts b;
private static long k;
private static char[] m;
/* renamed from: o, reason: collision with root package name */
private static char[] f6775o;
private static int p;
@InterfaceC13391fZD
public C1450aEh presenter;
private static final byte[] $$p = {53, ISOFileInfo.A5, 77, -13};
private static final int $$q = 242;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static void aC(byte b2, short s2, int i, Object[] objArr) {
int i2 = i * 4;
byte[] bArr = $$p;
int i3 = s2 + 4;
int i4 = b2 + 71;
byte[] bArr2 = new byte[1 - i2];
int i5 = 0 - i2;
int i6 = -1;
if (bArr == null) {
i4 += -i5;
}
while (true) {
i6++;
bArr2[i6] = (byte) i4;
if (i6 == i5) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i3++;
i4 += -bArr[i3];
}
}
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i3;
int i6 = ~(i4 | i5);
int i7 = ~((~i2) | i3);
return ((((i * (-574)) + (i2 * (-574))) + ((i6 | i7) * 1150)) + (((~(i2 | i5)) | i7) * (-575))) + (((~(i | i5)) | (~(i4 | i3))) * 575) != 1 ? a(objArr) : d(objArr);
}
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
private static void aB(int i, int i2, char c, Object[] objArr) {
int i3 = 2;
int i4 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i5 = $11 + 125;
$10 = i5 % 128;
if (i5 % i3 != 0) {
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(m[i - dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(307 - MotionEvent.axisFromString(""), 5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 32796));
byte b2 = (byte) (-1);
Object[] objArr3 = new Object[1];
aC((byte) 27, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(k), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 412, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b3 = (byte) (-1);
Object[] objArr5 = new Object[1];
aC((byte) 28, b3, (byte) (b3 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 407, 5 - View.getDefaultSize(0, 0), (char) (29234 - (Process.myPid() >> 22)));
byte b4 = (byte) (-1);
Object[] objArr7 = new Object[1];
aC((byte) 35, b4, (byte) (b4 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i7 = dqy.a;
Object[] objArr8 = {Integer.valueOf(m[i + dqy.a])};
Object obj4 = xzZ.y.get(1095064095);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(308 - (Process.myTid() >> 22), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (32797 - (ViewConfiguration.getJumpTapTimeout() >> 16)));
byte b5 = (byte) (-1);
Object[] objArr9 = new Object[1];
aC((byte) 27, b5, (byte) (b5 + 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE);
xzZ.y.put(1095064095, obj4);
}
Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(k), Integer.valueOf(c)};
Object obj5 = xzZ.y.get(-548438098);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(412 - Color.argb(0, 0, 0, 0), View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)));
byte b6 = (byte) (-1);
Object[] objArr11 = new Object[1];
aC((byte) 28, b6, (byte) (b6 + 1), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj5);
}
jArr[i7] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue();
Object[] objArr12 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 == null) {
Class cls6 = (Class) xzZ.c(408 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 5 - (Process.myTid() >> 22), (char) (29234 - (ViewConfiguration.getEdgeSlop() >> 16)));
byte b7 = (byte) (-1);
Object[] objArr13 = new Object[1];
aC((byte) 35, b7, (byte) (b7 + 1), objArr13);
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr12);
}
i3 = 2;
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i8 = $11 + 13;
$10 = i8 % 128;
if (i8 % 2 != 0) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr14 = {dqy, dqy};
Object obj7 = xzZ.y.get(1071125919);
if (obj7 == null) {
Class cls7 = (Class) xzZ.c(Color.green(0) + 407, 5 - KeyEvent.keyCodeFromString(""), (char) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 29234));
byte b8 = (byte) (-1);
Object[] objArr15 = new Object[1];
aC((byte) 35, b8, (byte) (b8 + 1), objArr15);
obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj7);
}
((Method) obj7).invoke(null, objArr14);
int i9 = 91 / 0;
} else {
cArr[dqy.a] = (char) jArr[dqy.a];
try {
Object[] objArr16 = {dqy, dqy};
Object obj8 = xzZ.y.get(1071125919);
if (obj8 == null) {
Class cls8 = (Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 408, Gravity.getAbsoluteGravity(0, 0) + 5, (char) (29234 - (ViewConfiguration.getWindowTouchSlop() >> 8)));
byte b9 = (byte) (-1);
Object[] objArr17 = new Object[1];
aC((byte) 35, b9, (byte) (b9 + 1), objArr17);
obj8 = cls8.getMethod((String) objArr17[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj8);
}
((Method) obj8).invoke(null, objArr16);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i10 = $11 + 79;
$10 = i10 % 128;
int i11 = i10 % 2;
}
objArr[0] = new String(cArr);
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x00e9, code lost:
if (r4 > 99999) goto L11;
*/
@Override // com.scb.phone.view.activity.debitcard.Hilt_DebitCardActivationActivity, 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 final void onCreate(android.os.Bundle r17) {
/*
Method dump skipped, instructions count: 1016
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.debitcard.DebitCardActivationActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
int i2 = p + 105;
s = i2 % 128;
if (i2 % 2 == 0) {
DebitCardActivationInputFragment j = DebitCardActivationInputFragment.j();
C14957gcv.c(j, "");
return j;
}
C14957gcv.c(DebitCardActivationInputFragment.j(), "");
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = s + 53;
p = i2 % 128;
if (i2 % 2 != 0) {
String string = getString(R.string.debit_card_activation_title);
C14957gcv.c((Object) string, "");
return string;
}
C14957gcv.c((Object) getString(R.string.debit_card_activation_title), "");
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9099ddN
public final void d() {
int i = 2 % 2;
DebitCardConfirmPinActivity.Sts sts = DebitCardConfirmPinActivity.b;
DebitCardActivationActivity debitCardActivationActivity = this;
C14957gcv.e(debitCardActivationActivity, "");
Intent intent = new Intent(debitCardActivationActivity, (Class<?>) DebitCardConfirmPinActivity.class);
intent.putExtra("IS_FROM_REQUEST_EXTRA", false);
startActivityForResult(intent, 1);
int i2 = s + 37;
p = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9099ddN
public final void c() {
int i = 2 % 2;
int i2 = s + 117;
p = i2 % 128;
int i3 = i2 % 2;
startActivityForResult(DebitCardOtpActivationActivity.abc_(this), 2);
int i4 = s + 49;
p = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9099ddN
public final void e() {
int i = 2 % 2;
int i2 = s + 103;
p = i2 % 128;
int i3 = i2 % 2;
DebitCardSuccessfulActivationActivity.c((Context) this);
int i4 = s + 63;
p = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC9099ddN
public final void a() {
int i = 2 % 2;
int i2 = p + 15;
s = i2 % 128;
int i3 = i2 % 2;
j(false);
int i4 = p + 37;
s = i4 % 128;
int i5 = i4 % 2;
}
private static /* synthetic */ Object a(Object[] objArr) {
DebitCardActivationActivity debitCardActivationActivity = (DebitCardActivationActivity) objArr[0];
final boolean booleanValue = ((Boolean) objArr[1]).booleanValue();
int i = 2 % 2;
int i2 = s + 89;
p = i2 % 128;
int i3 = i2 % 2;
C1450aEh c1450aEh = debitCardActivationActivity.presenter;
if (c1450aEh == null) {
C14957gcv.a("");
c1450aEh = null;
}
ZI.IeS ieS = new ZI.IeS(booleanValue) { // from class: o.aEm
private boolean b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C1450aEh.b(this.b, (InterfaceC9099ddN) obj);
}
{
this.b = booleanValue;
}
};
if (c1450aEh.f != 0) {
int i4 = s + 63;
int i5 = i4 % 128;
p = i5;
int i6 = i4 % 2;
int i7 = i5 + 31;
s = i7 % 128;
if (i7 % 2 != 0) {
ieS.e(c1450aEh.f);
throw null;
}
ieS.e(c1450aEh.f);
}
return null;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public final void onActivityResult(int i, int i2, Intent intent) {
int i3 = 2 % 2;
int i4 = s + 125;
p = i4 % 128;
int i5 = i4 % 2;
super.onActivityResult(i, i2, intent);
final C1450aEh c1450aEh = null;
if (1 == i && -1 == i2) {
C1450aEh c1450aEh2 = this.presenter;
if (c1450aEh2 != null) {
int i6 = p + 31;
s = i6 % 128;
int i7 = i6 % 2;
} else {
C14957gcv.a("");
c1450aEh2 = null;
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.aEl
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9099ddN) obj).c();
}
};
if (c1450aEh2.f != 0) {
int i8 = p + 45;
s = i8 % 128;
if (i8 % 2 == 0) {
ieS.e(c1450aEh2.f);
return;
} else {
ieS.e(c1450aEh2.f);
c1450aEh.hashCode();
throw null;
}
}
return;
}
if (2 == i) {
if (-1 != i2) {
if (intent != null) {
C1450aEh c1450aEh3 = this.presenter;
if (c1450aEh3 != null) {
c1450aEh = c1450aEh3;
} else {
C14957gcv.a("");
}
String stringExtra = intent.getStringExtra("OTP_ERROR_TITLE");
String stringExtra2 = intent.getStringExtra("OTP_ERROR_MESSAGE");
if (stringExtra == null || stringExtra2 == null) {
return;
}
c1450aEh.d(c1450aEh.j.d(stringExtra, stringExtra2, new Runnable(c1450aEh) { // from class: o.aEk
private C1450aEh b;
@Override // java.lang.Runnable
public final void run() {
C1450aEh.a(this.b);
}
{
this.b = c1450aEh;
}
}));
return;
}
return;
}
C1450aEh c1450aEh4 = this.presenter;
if (c1450aEh4 != null) {
c1450aEh = c1450aEh4;
} else {
C14957gcv.a("");
}
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.aEn
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9099ddN) obj).e();
}
};
if (c1450aEh.f != 0) {
int i9 = s + 7;
int i10 = i9 % 128;
p = i10;
if (i9 % 2 != 0) {
int i11 = i10 + 31;
s = i11 % 128;
if (i11 % 2 == 0) {
ieS2.e(c1450aEh.f);
} else {
ieS2.e(c1450aEh.f);
int i12 = 51 / 0;
}
}
}
}
}
@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 final void onDestroy() {
int i = 2 % 2;
int i2 = s + 71;
p = i2 % 128;
int i3 = i2 % 2;
C1450aEh c1450aEh = this.presenter;
if (c1450aEh == null) {
C14957gcv.a("");
c1450aEh = null;
}
c1450aEh.w_();
super.onDestroy();
int i4 = p + 25;
s = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.debitcard.Hilt_DebitCardActivationActivity, 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 final void onResume() {
Method method;
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 115;
p = i2 % 128;
if (i2 % 2 == 0) {
Object[] objArr = new Object[1];
ay(new int[]{18, 26, 0, 11}, false, new byte[]{1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{44, 18, 64, 1}, false, new byte[]{0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0}, objArr2);
method = cls.getMethod((String) objArr2[0], new Class[0]);
} else {
Object[] objArr3 = new Object[1];
ay(new int[]{18, 26, 0, 11}, false, new byte[]{1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new int[]{44, 18, 64, 1}, false, new byte[]{0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0}, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
int i3 = p + 1;
s = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = s + 61;
p = i5 % 128;
try {
if (i5 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (Process.myTid() >> 22), (-16777211) - Color.rgb(0, 0, 0), (char) Color.blue(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 487, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (Process.myPid() >> 22))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr5);
int i6 = 16 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), View.resolveSize(0, 0) + 5, (char) TextUtils.indexOf("", ""))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr6 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 486, (Process.myPid() >> 22) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr6);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void ay(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 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr2 = f6775o;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) ((ViewConfiguration.getTapTimeout() >> 16) + 41977));
byte b2 = (byte) i3;
byte b3 = (byte) (b2 - 1);
cArr = cArr2;
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
cArr2 = cArr;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i5];
System.arraycopy(cArr2, i4, cArr4, 0, i5);
if (bArr != null) {
char[] cArr5 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
int i9 = $10 + 125;
$11 = i9 % 128;
int i10 = i9 % 2;
if (bArr[tvh.c] == 1) {
int i11 = 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(501 - TextUtils.indexOf((CharSequence) "", '0', 0), 5 - TextUtils.getCapsMode("", 0, 0), (char) ('f' - AndroidCharacter.getMirror('0')))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} 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(16 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (58134 - KeyEvent.getDeadChar(0, 0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i12] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - Color.blue(0), 5 - View.MeasureSpec.getSize(0), (char) ((ViewConfiguration.getTapTimeout() >> 16) + 21608));
byte b4 = (byte) ($$q & 15);
byte b5 = (byte) (b4 - 3);
Object[] objArr7 = new Object[1];
aC(b4, b5, (byte) (b5 + 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr5;
}
if (i7 > 0) {
int i13 = $11 + 21;
$10 = i13 % 128;
if (i13 % 2 != 0) {
char[] cArr6 = new char[i5];
i = 0;
System.arraycopy(cArr4, 0, cArr6, 0, i5);
System.arraycopy(cArr6, 0, cArr4, i5 >> i7, i7);
System.arraycopy(cArr6, i7, cArr4, 1, i5 * i7);
} else {
i = 0;
char[] cArr7 = new char[i5];
System.arraycopy(cArr4, 0, cArr7, 0, i5);
int i14 = i5 - i7;
System.arraycopy(cArr7, 0, cArr4, i14, i7);
System.arraycopy(cArr7, i7, cArr4, 0, i14);
}
} else {
i = 0;
}
if (z) {
char[] cArr8 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
cArr8[tvh.c] = cArr4[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr4 = cArr8;
}
if (i6 > 0) {
tvh.c = 0;
while (tvh.c < i5) {
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
tvh.c++;
int i15 = $11 + 43;
$10 = i15 % 128;
int i16 = i15 % 2;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.debitcard.Hilt_DebitCardActivationActivity, 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 final void onPause() {
int i = 2 % 2;
int i2 = s + 91;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = s + 19;
p = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay(new int[]{18, 26, 0, 11}, false, new byte[]{1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{44, 18, 64, 1}, false, new byte[]{0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i6 = p + 75;
s = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = p + 11;
s = i8 % 128;
int i9 = i8 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), View.combineMeasuredStates(0, 0) + 5, (char) KeyEvent.normalizeMetaState(0))).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 - Color.green(0), (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) View.resolveSize(0, 0))).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.debitcard.Hilt_DebitCardActivationActivity, 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 final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = s + 23;
p = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ay(new int[]{0, 18, 0, 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];
aB(Color.blue(0), 5 - Drawable.resolveOpacity(0, 0), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 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) {
int i4 = s + 1;
p = i4 % 128;
if (i4 % 2 == 0) {
context2 = context.getApplicationContext();
int i5 = 98 / 0;
} else {
context2 = context.getApplicationContext();
}
} else {
context2 = context;
}
if (context2 != null) {
int i6 = s + 23;
p = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getFadingEdgeLength() >> 16), 5 - TextUtils.indexOf("", "", 0), (char) View.MeasureSpec.getMode(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{62, 48, 0, 13}, true, new byte[]{1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 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}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB((Process.myPid() >> 22) + 5, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 64, (char) (55153 - (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))), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new int[]{110, 64, 0, 40}, true, new byte[]{1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 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}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 69, (-16777142) - Color.rgb(0, 0, 0), (char) (35224 - (ViewConfiguration.getEdgeSlop() >> 16)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256, 5, 0, 0}, false, new byte[]{1, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA384, 36, CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256, 6}, false, new byte[]{1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 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.getMaximumDrawingCacheSize() >> 24) + 487, 5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getFadingEdgeLength() >> 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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
private static /* synthetic */ Object d(Object[] objArr) {
DebitCardActivationActivity debitCardActivationActivity = (DebitCardActivationActivity) objArr[0];
int i = 2 % 2;
int i2 = p + 87;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 75;
p = i4 % 128;
int i5 = i4 % 2;
return null;
}
static void f() {
f6775o = new char[]{39995, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40005, 40058, 40027, 39988, 40042, 40059, 40034, 40047, 40039, 40056, 39999, 40036, 40036, 40037, 40061, 40045, 40021, 40038, 40032, 40040, 40041, 40041, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40012, 40035, 40059, 40004, 39996, 40025, 40032, 40028, 40099, 40103, 40120, 40121, 40096, 40098, 40122, 40081, 40083, 40123, 40101, 40097, 40109, 40105, 40097, 40101, 40103, 39954, 40001, 40002, 39998, 40006, 40042, 40040, 40047, 40000, 40001, 40000, 39998, 39999, 39993, 40007, 40005, 40006, 40007, 39996, 39997, 39992, 40001, 40041, 40040, 40046, 40000, 39999, 39997, 39992, 39994, 40001, 40005, 40005, 40007, 40007, 40007, 40005, 40004, 40006, 40001, 39992, 39998, 39998, 39993, 40001, 40006, 39998, 40001, 39955, 39994, 39994, 39992, 39998, 40000, 40042, 40000, 40007, 40005, 39996, 39996, 40005, 40046, 40004, 40006, 40001, 39999, 39992, 39995, 39995, 40000, 40047, 40042, 40007, 39999, 39993, 40000, 40040, 40007, 39997, 39998, 40000, 40046, 40007, 40001, 40001, 39994, 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, 39959, 39992, 39992, 39992, 39972, 40071, 40201, 40161, 40161, 40162, 40202, 40208, 40210, 40180, 40162, 40201, 40207, 40167, 40163, 40175, 40172, 40162, 40203, 40210, 40182, 40173, 40162, 40172, 40172, 40174, 40182, 40220, 40210, 40209, 40181, 40174, 40203, 40203, 40180, 40201, 40207};
m = new char[]{36799, 33732, 38745, 43766, 48650, 22726, 21678, 16459, 32139, 26921, 26346, 4621, 3987, 15294, 14193, 9415, 53328, 52645, 63798, 63110, 57875, 40549, 35784, 34652, 46252, 41068, 23950, 18760, 17774, 29432, 28226, 7125, 6005, 1205, 12297, 11665, 55786, 54644, 49883, 65064, 60399, 59146, 38032, 32955, 48168, 43469, 42246, 21236, 20016, 31618, 30481, 25447, 4256, 3095, 14756, 13675, 8841, 56908, 51808, 51196, 62232, 57555, 40055, 35252, 34062, 45713, 44722, 23072, 22423, 1570, 2641, 7904, 9079, 14213, 14427, 19711, 20844, 25921, 27076, 31357, 36578, 37661, 42886, 43061, 48294, 49375, 54631, 55783, 59934, 65159, 829, 6050, 7122, 11340, 12534, 17698, 18827, 23046, 28331, 29485, 34650, 35806, 40038, 41109, 46356, 47522, 51823, 56919, 58070, 63347, 64511, 3096, 4252, 9519, 10684, 15833, 20057, 21247, 26459, 27527, 31800, 32939, 38046, 39233, 44515, 48747, 49874, 55045, 56241, 60457, 61532, 1243, 2415, 7589, 11795, 13030, 18280, 19283, 24535, 24693, 29933, 30982, 36254};
k = -6623823557190057027L;
}
@Override // com.scb.phone.view.activity.debitcard.Hilt_DebitCardActivationActivity, 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 final void onStart() {
d(new Object[]{this}, -1484264859, 1484264860, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) + 886368921);
}
@Override // com.scb.phone.view.fragment.debitcard.DebitCardActivationInputFragment.Sts
public final void c(boolean z) {
d(new Object[]{this, Boolean.valueOf(z)}, 1781041729, -1781041729, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1023238112);
}
static {
p = 1;
f();
b = new Sts((byte) 0);
int i = s + 13;
p = i % 128;
int i2 = i % 2;
}
}