what-the-bank/sources/com/scb/phone/view/activity/remittance/RemittanceOtpActivity.java

783 lines
39 KiB
Java

package com.scb.phone.view.activity.remittance;
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.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import butterknife.Unbinder;
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.remittance.RemittanceInputActivity;
import com.scb.phone.view.activity.remittance.RemittanceSuccessActivity;
import com.scb.phone.view.fragment.otppin.OtpPinFragment;
import java.lang.reflect.Method;
import o.C1114Vy;
import o.C14957gcv;
import o.C16065kq;
import o.EnumC8951daY;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC9622dnI;
import o.cCF;
import o.jTb;
import o.xzZ;
/* loaded from: classes5.dex */
public final class RemittanceOtpActivity extends Hilt_RemittanceOtpActivity implements InterfaceC9622dnI {
public static final RVV b;
private static char[] k;
private static char m;
private static char p;
private static char q;
private static int r;
private static char s;
private static char t;
private Unbinder l;
/* renamed from: o, reason: collision with root package name */
private C1114Vy f7890o;
@InterfaceC13391fZD
public cCF presenter;
private static final byte[] $$E = {119, 83, -12, -52};
private static final int $$F = 90;
private static int $10 = 0;
private static int $11 = 1;
private static int w = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002a). 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 aJ(int r5, int r6, short r7, java.lang.Object[] r8) {
/*
byte[] r0 = com.scb.phone.view.activity.remittance.RemittanceOtpActivity.$$E
int r7 = r7 + 66
int r5 = r5 * 3
int r1 = 1 - r5
int r6 = r6 * 2
int r6 = 3 - r6
byte[] r1 = new byte[r1]
r2 = 0
int r5 = 0 - r5
if (r0 != 0) goto L16
r4 = r5
r3 = r2
goto L2a
L16:
r3 = r2
L17:
int r6 = r6 + 1
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r5) goto L26
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L26:
r4 = r0[r6]
int r3 = r3 + 1
L2a:
int r4 = -r4
int r7 = r7 + r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.remittance.RemittanceOtpActivity.aJ(int, int, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i3;
int i5 = ~(i4 | i);
int i6 = (i * 765) + (i2 * (-1527)) + ((i2 | i5) * 764);
int i7 = ~((~i) | i2);
return (i6 + (((~(i4 | i2)) | i7) * (-1528))) + ((((~(i | (~i2))) | i7) | i5) * 764) != 1 ? e(objArr) : a(objArr);
}
/* loaded from: classes5.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
private static void aI(char[] cArr, int i, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i4 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i5 = $10 + 109;
$11 = i5 % 128;
int i6 = i5 % i2;
cArr3[i4] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i7 = 58224;
int i8 = i4;
while (i8 < 16) {
char c = cArr3[1];
char c2 = cArr3[i4];
int i9 = (c2 + i7) ^ ((c2 << 4) + ((char) (p ^ 41718355337583039L)));
int i10 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(s);
objArr2[i2] = Integer.valueOf(i10);
objArr2[1] = Integer.valueOf(i9);
objArr2[i4] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 412, KeyEvent.getDeadChar(i4, i4) + 5, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b2 = (byte) i4;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aJ(b2, b3, b3, objArr3);
String str = (String) objArr3[i4];
Class<?>[] clsArr = new Class[4];
clsArr[i4] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i4]), Integer.valueOf((charValue + i7) ^ ((charValue << 4) + ((char) (q ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(t)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.getTrimmedLength("") + 412, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) Gravity.getAbsoluteGravity(0, 0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aJ(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i7 -= 40503;
i8++;
cArr3 = cArr4;
i2 = 2;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(98 - View.MeasureSpec.makeMeasureSpec(0, 0), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (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)));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aJ(b6, b7, (byte) (b7 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i11 = $10 + 1;
$11 = i11 % 128;
int i12 = i11 % 2;
i2 = 2;
cArr3 = cArr5;
i4 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX WARN: Removed duplicated region for block: B:12:0x03bc */
/* JADX WARN: Removed duplicated region for block: B:8:0x03b0 */
@Override // com.scb.phone.view.activity.remittance.Hilt_RemittanceOtpActivity, 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
/*
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: 1368
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.remittance.RemittanceOtpActivity.onCreate(android.os.Bundle):void");
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = 2 % 2;
int i2 = r + 123;
w = i2 % 128;
int i3 = i2 % 2;
if (!(!(getSupportFragmentManager().findFragmentById(R.id.container) instanceof OtpPinFragment))) {
int i4 = r + 31;
w = i4 % 128;
int i5 = i4 % 2;
super.onBackPressed();
return;
}
b(new Object[]{this}, -865534472, 865534472, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 483260191);
int i6 = w + 19;
r = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void a_(String str, String str2) {
int i = 2 % 2;
int i2 = r;
int i3 = i2 + 93;
w = i3 % 128;
cCF ccf = null;
if (i3 % 2 == 0) {
ccf.hashCode();
throw null;
}
C1114Vy c1114Vy = this.f7890o;
if (c1114Vy != null) {
int i4 = i2 + 41;
int i5 = i4 % 128;
w = i5;
if (i4 % 2 == 0) {
ccf.hashCode();
throw null;
}
cCF ccf2 = this.presenter;
if (ccf2 != null) {
int i6 = i5 + 17;
r = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
ccf = ccf2;
} else {
C14957gcv.a("");
}
C14957gcv.e(c1114Vy, "");
if (ccf.f != 0) {
int i7 = w + 97;
r = i7 % 128;
int i8 = i7 % 2;
ccf.f.y();
}
C16065kq c16065kq = ccf.b;
String str3 = c1114Vy.p;
c16065kq.c(str3 == null ? "" : str3, false, ccf.e, str2, str, new cCF.Sts(ccf, c1114Vy), new cCF.LWm(ccf));
int i9 = r + 55;
w = i9 % 128;
int i10 = i9 % 2;
}
}
@Override // o.InterfaceC9622dnI
public final void b(String str) {
int i = 2 % 2;
int i2 = r + 19;
w = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.e(str, "");
Xb_(this, R.id.container, str, EnumC8951daY.ERROR);
} else {
C14957gcv.e(str, "");
Xb_(this, R.id.container, str, EnumC8951daY.ERROR);
throw null;
}
}
private static /* synthetic */ Object a(Object[] objArr) {
RemittanceOtpActivity remittanceOtpActivity = (RemittanceOtpActivity) objArr[0];
C1114Vy c1114Vy = (C1114Vy) objArr[1];
int i = 2 % 2;
int i2 = w + 1;
r = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
C14957gcv.e(c1114Vy, "");
RemittanceSuccessActivity.Sts sts = RemittanceSuccessActivity.f7897o;
remittanceOtpActivity.startActivity(RemittanceSuccessActivity.Sts.alB_(remittanceOtpActivity, c1114Vy));
obj.hashCode();
throw null;
}
C14957gcv.e(c1114Vy, "");
RemittanceSuccessActivity.Sts sts2 = RemittanceSuccessActivity.f7897o;
remittanceOtpActivity.startActivity(RemittanceSuccessActivity.Sts.alB_(remittanceOtpActivity, c1114Vy));
int i3 = r + 123;
w = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 82 / 0;
}
return null;
}
private static /* synthetic */ Object e(Object[] objArr) {
RemittanceOtpActivity remittanceOtpActivity = (RemittanceOtpActivity) objArr[0];
int i = 2 % 2;
RemittanceInputActivity.IeS ieS = RemittanceInputActivity.m;
RemittanceOtpActivity remittanceOtpActivity2 = remittanceOtpActivity;
C14957gcv.e(remittanceOtpActivity2, "");
Intent intent = new Intent(remittanceOtpActivity2, (Class<?>) RemittanceInputActivity.class);
intent.setFlags(603979776);
remittanceOtpActivity.startActivity(intent);
int i2 = r + 35;
w = i2 % 128;
if (i2 % 2 != 0) {
return null;
}
throw null;
}
@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 = w + 65;
r = i2 % 128;
int i3 = i2 % 2;
super.onDestroy();
Unbinder unbinder = this.l;
if (unbinder == null) {
int i4 = w + 49;
r = i4 % 128;
int i5 = i4 % 2;
C14957gcv.a("");
unbinder = null;
}
unbinder.a();
int i6 = r + 71;
w = i6 % 128;
int i7 = i6 % 2;
}
@Override // com.scb.phone.view.activity.remittance.Hilt_RemittanceOtpActivity, 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = r + 67;
w = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aI(new char[]{62948, 33013, 19859, 11788, 16267, 18930, 5467, 12276, 23435, 44719, 52253, 52798, 60574, 58354, 60393, 4329, 24567, 12288, 5658, 54145, 28822, 42518, 25459, 57123, 43455, 23351}, ((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];
aI(new char[]{52711, 1761, 49492, 5504, 8935, 14038, 39554, 44345, 43823, 191, 62925, 14786, 18705, 54393, 60393, 4329, 9837, 46461}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = r + 99;
w = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarSize() >> 8), 5 - View.resolveSize(0, 0), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 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(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 486, 5 - (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)), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = r + 27;
w = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.remittance.Hilt_RemittanceOtpActivity, 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() {
int i = 2 % 2;
int i2 = r + 31;
w = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = w + 43;
r = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aI(new char[]{62948, 33013, 19859, 11788, 16267, 18930, 5467, 12276, 23435, 44719, 52253, 52798, 60574, 58354, 60393, 4329, 24567, 12288, 5658, 54145, 28822, 42518, 25459, 57123, 43455, 23351}, 26 - (ViewConfiguration.getJumpTapTimeout() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{52711, 1761, 49492, 5504, 8935, 14038, 39554, 44345, 43823, 191, 62925, 14786, 18705, 54393, 60393, 4329, 9837, 46461}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[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(491 - TextUtils.indexOf((CharSequence) "", '0', 0), ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 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(View.MeasureSpec.makeMeasureSpec(0, 0) + 487, (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)) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = w + 99;
r = 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 aG(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
char c;
char c2;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = k;
int i5 = 6;
if (cArr2 != null) {
int i6 = $11 + 115;
$10 = i6 % 128;
int i7 = i6 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i8 = 0;
while (i8 < length) {
int i9 = $11 + 75;
$10 = i9 % 128;
if (i9 % i3 != 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i8])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777514, Process.getGidForName("") + i5, (char) View.MeasureSpec.getMode(0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr3 = new Object[1];
aJ(b3, b4, (byte) (b4 | 51), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i8])};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 298, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr5 = new Object[1];
aJ(b5, b6, (byte) (b6 | 51), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
cArr3[i8] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i8++;
}
i3 = 2;
i5 = 6;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(m)};
Object obj3 = xzZ.y.get(-1987398494);
char c3 = '0';
char c4 = 4;
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 298, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr7 = new Object[1];
aJ(b7, b8, (byte) (b8 | 51), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
char charValue = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
} else {
i2 = i;
}
if (i2 > 1) {
int i10 = $10 + 99;
$11 = i10 % 128;
int i11 = i10 % 2;
irs.e = 0;
int i12 = $11 + 99;
$10 = i12 % 128;
if (i12 % 2 != 0) {
int i13 = 5 % 2;
}
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
c = c3;
c2 = c4;
} else {
Object[] objArr8 = new Object[13];
objArr8[12] = irs;
objArr8[11] = Integer.valueOf(charValue);
objArr8[10] = irs;
objArr8[9] = irs;
objArr8[8] = Integer.valueOf(charValue);
objArr8[7] = irs;
objArr8[6] = irs;
objArr8[5] = Integer.valueOf(charValue);
objArr8[c4] = irs;
objArr8[3] = irs;
objArr8[2] = Integer.valueOf(charValue);
objArr8[1] = irs;
objArr8[0] = irs;
Object obj4 = xzZ.y.get(822107368);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 233, 5 - Color.argb(0, 0, 0, 0), (char) (22023 - ExpandableListView.getPackedPositionChild(0L)));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr9 = new Object[1];
aJ(b9, b10, (byte) (b10 | 54), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj4);
}
if (((Integer) ((Method) obj4).invoke(null, objArr8)).intValue() == irs.j) {
Object[] objArr10 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(-1152873385);
if (obj5 != null) {
c = '0';
c2 = 4;
} else {
c = '0';
Class cls5 = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 327, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1));
byte b11 = (byte) 0;
Object[] objArr11 = new Object[1];
aJ(b11, b11, (byte) (-$$E[3]), objArr11);
String str = (String) objArr11[0];
c2 = 4;
obj5 = cls5.getMethod(str, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj5);
}
int intValue = ((Integer) ((Method) obj5).invoke(null, objArr10)).intValue();
int i14 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i14];
} else {
c = '0';
c2 = 4;
if (irs.a == irs.d) {
int i15 = $11 + 119;
$10 = i15 % 128;
int i16 = i15 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i17 = (irs.a * charValue) + irs.f;
int i18 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i17];
cArr4[irs.e + 1] = cArr2[i18];
} else {
int i19 = (irs.a * charValue) + irs.j;
int i20 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i19];
cArr4[irs.e + 1] = cArr2[i20];
}
}
}
irs.e += 2;
int i21 = $10 + 9;
$11 = i21 % 128;
int i22 = i21 % 2;
c3 = c;
c4 = c2;
}
}
int i23 = 0;
while (i23 < i) {
int i24 = $11 + 99;
$10 = i24 % 128;
if (i24 % 2 != 0) {
cArr4[i23] = (char) (cArr4[i23] ^ 11462);
i23 += 57;
} else {
cArr4[i23] = (char) (cArr4[i23] ^ 13722);
i23++;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.remittance.Hilt_RemittanceOtpActivity, 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) {
Context context2;
int i = 2 % 2;
int i2 = r + 95;
w = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(new char[]{'\b', 5, '\f', 16, 22, 20, 16, 21, 22, 1, 19, 11, 16, 22, 1, '\b', 13878, 13878}, (byte) (KeyEvent.keyCodeFromString("") + 77), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{7, 20, 19, 23, 13902}, (byte) (80 - (ViewConfiguration.getKeyRepeatDelay() >> 16)), 5 - Drawable.resolveOpacity(0, 0), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i4 = r + 87;
w = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - KeyEvent.getDeadChar(0, 0), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aI(new char[]{1876, 1194, 8918, 33838, 33752, 20755, 58803, 34480, 46870, 4330, 10199, 42338, 55945, 50990, 47479, 61981, 23030, 48992, 26989, 2935, 42027, 49077, 26072, 41293, 2321, 64207, 59481, 40349, 28929, 21455, 37496, 17063, 34174, 9316, 58465, 11365, 34283, 2522, 44749, 5983, 17858, 57899, 30825, 53376, 15933, 7566, 26505, 60591}, Color.green(0) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aI(new char[]{37230, 36435, 27368, 52238, 5636, 10685, 29503, 6148, 41336, 334, 45354, 48451, 45354, 48451, 37319, 41967, 58875, 61975, 37499, 14483, 52606, 57870, 56241, 17199, 4247, 17175, 23511, 4857, 12010, 52762, 22287, 11484, 29117, 51591, 43750, 1966, 38099, 40251, 44749, 5983, 5636, 10685, 63377, 31797, 11517, 23383, 5636, 10685, 48153, 45981, 9793, 60267, 15933, 7566, 33318, 31183, 37751, 25516, 43445, 34842, 5636, 10685, 11835, 53136}, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 63, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new char[]{13383, 45108, 2065, 39433, 6374, 42435, 43918, 5973, 12010, 52762, 11234, 21181, 17619, 30658, 22287, 11484, 44604, 36824, 31499, 63936, 589, 27046, 8896, 35430, 15933, 7566, 34283, 2522, 28618, 8899, 20561, 39645, 8918, 33838, 24874, 7224, 34523, 33156, 'H', 53121, 9492, 59191, 56489, 26351, 30743, 58087, 27368, 52238, 15416, 31116, 26989, 2935, 18687, 20560, 57055, 29629, 38411, 18375, 58803, 34480, 38099, 40251, 25089, 10726}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 63, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new char[]{31023, 21524, 61784, 567, 47941, 52056, 43122, 32554, 36550, 37305, 10172, 36260, 53816, 19502, 9288, 27769, 47764, 36313, 27599, 10013, 13993, 35681, 18230, 5852, 5201, 34071, 59364, 24478, 10490, 6510, 60573, 487, 57911, 49185, 44489, 1960, 50963, 8611, 20877, 5823, 34113, 2247, 14353, 53155, 57452, 48705, 34113, 2247, 14531, 34804, 53816, 19502, 31160, 24051, 23435, 44719, 52347, 20422, 34197, 8358, 47266, 25140, 954, 56502, 64885, 40902, 3942, 55240, 10261, 26302, 8935, 14038, 25000, 27642}, (ViewConfiguration.getScrollBarSize() >> 8) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{12265, 47630, 50149, 7690, 40358, 50412}, 5 - View.combineMeasuredStates(0, 0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new char[]{7, '\b', 18, '\r', '\r', 21, 6, 3, 14, 0, 6, 11, 5, 15, '\r', 18, 13764, 13764, '\f', 5, 1, 5, 0, '\r', 18, '\b', '\f', '\b', 16, '\t', 0, 23, 5, 23, 11, 7}, (byte) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 24), Color.alpha(0) + 36, 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(KeyEvent.keyCodeFromString("") + 487, TextUtils.lastIndexOf("", '0', 0) + 6, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i6 = r + 31;
w = i6 % 128;
int i7 = i6 % 2;
}
static void h() {
k = new char[]{49105, 49027, 49088, 49104, 49029, 49118, 49110, 49106, 49031, 49117, 49054, 49111, 49026, 49025, 49123, 49107, 49053, 49089, 49126, 49028, 49030, 49116, 49098, 49034, 49114};
m = (char) 35372;
q = (char) 42753;
t = (char) 52118;
p = (char) 1889;
s = (char) 33509;
}
@Override // com.scb.phone.view.activity.remittance.Hilt_RemittanceOtpActivity, 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 = w + 31;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = r + 71;
w = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9622dnI
public final void d(C1114Vy c1114Vy) {
b(new Object[]{this, c1114Vy}, -860375878, 860375879, ((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) - 1627039615);
}
@Override // o.InterfaceC9622dnI
public final void c() {
b(new Object[]{this}, -865534472, 865534472, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 483260191);
}
static {
r = 0;
h();
b = new RVV((byte) 0);
int i = w + 79;
r = i % 128;
int i2 = i % 2;
}
}