what-the-bank/sources/com/scb/phone/view/activity/hml/ekyc/HmlNationalIdActivity.java

764 lines
37 KiB
Java

package com.scb.phone.view.activity.hml.ekyc;
import android.content.Context;
import android.graphics.Color;
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.EditText;
import android.widget.ExpandableListView;
import android.widget.TextView;
import butterknife.BindView;
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.hml.ekyc.HmlNationalIdActivity;
import java.io.File;
import java.lang.reflect.Method;
import o.AbstractC13175fSw;
import o.AbstractC14961gcz;
import o.C12891fKc;
import o.C14866gag;
import o.C14957gcv;
import o.C2198aaA;
import o.GuL;
import o.IRS;
import o.InterfaceC14894gbR;
import o.SY;
import o.cXG;
import o.cZY;
import o.fSJ;
import o.fSQ;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public final class HmlNationalIdActivity extends Hilt_HmlNationalIdActivity implements cZY {
public static final IeS b;
private static char k;
private static long m;
/* renamed from: o, reason: collision with root package name */
private static char[] f7389o;
private static int p;
private fSJ l;
@BindView
public TextView scanNationalIdLabel;
private static final byte[] $$p = {57, -60, 61, 103};
private static final int $$q = 12;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0027). 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 aC(byte r5, int r6, short r7, java.lang.Object[] r8) {
/*
int r7 = r7 + 117
int r6 = r6 * 4
int r0 = r6 + 1
byte[] r1 = com.scb.phone.view.activity.hml.ekyc.HmlNationalIdActivity.$$p
int r5 = r5 * 3
int r5 = 4 - r5
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r3 = r7
r4 = r2
r7 = r6
goto L27
L15:
r3 = r2
L16:
byte r4 = (byte) r7
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L25
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L25:
r3 = r1[r5]
L27:
int r7 = r7 + r3
int r5 = r5 + 1
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.ekyc.HmlNationalIdActivity.aC(byte, int, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * (-183)) + (i2 * CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384);
int i5 = ~i;
int i6 = ~i2;
int i7 = ~i3;
if (i4 + ((i2 | i5) * (-368)) + ((i | i6 | i7) * CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256) + (((~(i | i2)) | (~(i5 | i6)) | (~(i7 | i))) * CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256) != 1) {
return b(objArr);
}
HmlNationalIdActivity hmlNationalIdActivity = (HmlNationalIdActivity) objArr[0];
Context context = (Context) objArr[1];
int i8 = 2 % 2;
super.attachBaseContext(context);
Object[] objArr2 = new Object[1];
aA(new char[]{27, 16, 2, 14, 26, 17, 30, 26, NistHelper.SEP_FS, 23, NistHelper.SEP_FS, 6, 11, 26, '!', 24, 13892, 13892}, (byte) (Color.alpha(0) + 91), Process.getGidForName("") + 19, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aB(new char[]{39886, 39843, 64682, 28294, 14658, 7613, 60716, 23482, 54014}, 1 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 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) {
int i9 = t + 25;
p = i9 % 128;
int i10 = i9 % 2;
context = context.getApplicationContext();
}
if (context != null) {
int i11 = t + 49;
p = i11 % 128;
int i12 = i11 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 492, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) Color.argb(0, 0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = new Object[1];
aA(new char[]{6, 3, 1, 19, 0, ' ', 26, 29, 16, 1, 16, 29, 1, 14, 1, 20, 14, 1, '\r', 23, 1, ' ', '\"', '\n', 27, 31, 0, 18, '\"', 0, '!', '\b', 6, 15, 21, 7, 26, NistHelper.SEP_FS, 13831, 13831, '\r', '#', 0, 16, 31, 18, 25, '!'}, (byte) (14 - ExpandableListView.getPackedPositionChild(0L)), 48 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), objArr4);
String str = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new char[]{25, 15, 3, '!', 31, 15, '\"', 1, 24, 15, 15, '#', 15, '#', 3, 6, '\"', ' ', 11, 15, 31, '\"', 25, '\"', 3, ' ', '#', 31, 16, 5, 31, 22, 13854, 13854, 16, 24, '\r', 18, 13929, 13929, 31, 15, 27, '\"', 15, 6, 31, 15, 31, 20, 24, 1, 31, 18, '\r', 14, 18, 31, 7, 21, 31, 15, 29, NistHelper.SEP_FS}, (byte) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 112), 65 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{25, 22, ' ', 4, 26, 4, 13849, 13849, 16, 5, 3, 26, 19, 1, 31, 22, 25, 16, NistHelper.SEP_FS, 31, '\n', '!', 5, '\f', 31, 18, 26, NistHelper.SEP_FS, 21, 31, 2, '\"', 1, 19, 24, 16, '\r', '\f', 13765, 13765, 16, 30, 14, 0, 24, 31, 3, '!', 15, 25, '\r', 23, '\"', 3, 31, NistHelper.SEP_FS, 4, '\"', 26, 29, '\r', 18, 0, 6}, (byte) (26 - View.resolveSizeAndState(0, 0, 0)), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 64, objArr6);
String str3 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{36802, 36778, 50347, 22154, 16410, 25796, 20165, 63562, 50917, 7992, 11723, 20153, 7449, 57407, 63273, 1807, 21597, 43669, 16593, 56403, 43767, 29564, 2435, 37603, 57607, 50238, 54070, 27399, 14420, 36493, 40086, 8262, 36582, 22392, 25993, 63215, 50454, 6205, 12081, 20265, 7234, 58060, 63715, 1091, 21227, 43844, 16780, 56049, 43311, 31791, 2877, 37676, 57431, 50880, 54499, 26693, 14059, 36637, 40341, 16118, 36147, 20585, 26417, 63292, 50249, 6799, 12543, 19546, 6829, 58184, 63938, 725, 20787, 46132, 17217, 56120, 43102, 32485}, 1 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), objArr7);
String str4 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{0, NistHelper.SEP_FS, 18, 25, 13810}, (byte) (73 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr8);
String str5 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new char[]{54868, 54833, 32687, 60827, 30380, 21044, 60049, 23642, 40804, 42047, 7014, 60146, 17617, 23396, 49614, 41811, 3530, 4563, 30270, 30808, 62261, 51259, 16251, 14015, 47250, 32563, 58753, 53023, 24990, 13697, 43580, 33799, 55087, 60523, 21305, 21231, 40128, 41839, 6615, 60267}, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 1, 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((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 486, 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) ((Process.getThreadPriority(0) + 20) >> 6))).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 i13 = t + 23;
p = i13 % 128;
int i14 = i13 % 2;
return null;
}
public static final /* synthetic */ C2198aaA c(HmlNationalIdActivity hmlNationalIdActivity) {
int i = 2 % 2;
int i2 = p + 83;
t = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
C2198aaA c2198aaA = hmlNationalIdActivity.nationalIdPresenter;
if (i3 == 0) {
obj.hashCode();
throw null;
}
int i4 = t + 101;
p = i4 % 128;
if (i4 % 2 == 0) {
return c2198aaA;
}
obj.hashCode();
throw null;
}
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
/* loaded from: classes4.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<File, C14866gag> {
private HmlNationalIdActivity d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(File file) {
HmlNationalIdActivity.c(this.d).a(file);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(HmlNationalIdActivity hmlNationalIdActivity) {
super(1);
this.d = hmlNationalIdActivity;
}
}
/* loaded from: classes4.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private HmlNationalIdActivity a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
HmlNationalIdActivity.c(this.a).g(th);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(HmlNationalIdActivity hmlNationalIdActivity) {
super(1);
this.a = hmlNationalIdActivity;
}
}
private static void aB(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(m ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (guL.a < a.length) {
int i3 = $11 + 35;
$10 = i3 % 128;
int i4 = i3 % 2;
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(m)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 208, 5 - TextUtils.getCapsMode("", 0, 0), (char) (1707 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 + 2), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i5] = ((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(Gravity.getAbsoluteGravity(0, 0) + 392, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (ViewConfiguration.getWindowTouchSlop() >> 8));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
aC(b4, b4, (byte) $$p.length, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $10 + 45;
$11 = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0086, code lost:
if (r3 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.hml.ekyc.Hilt_HmlNationalIdActivity, com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity, o.AbstractActivityC11325edH, 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 r21) {
/*
Method dump skipped, instructions count: 1290
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.ekyc.HmlNationalIdActivity.onCreate(android.os.Bundle):void");
}
@Override // o.cZY
public final void e() {
int i = 2 % 2;
int i2 = p + 41;
t = i2 % 128;
if (i2 % 2 == 0) {
this.dateEditText.setEnabled(true);
this.laserIdFirst.setEnabled(true);
this.laserIdSecond.setEnabled(false);
} else {
this.dateEditText.setEnabled(false);
this.laserIdFirst.setEnabled(false);
this.laserIdSecond.setEnabled(false);
}
this.laserIdThird.setEnabled(false);
int i3 = p + 83;
t = i3 % 128;
int i4 = i3 % 2;
}
@Override // o.cZY
public final void d(SY sy) {
int i = 2 % 2;
int i2 = p + 125;
t = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(sy, "");
this.dateEditText.setText(cXG.c(sy.m, "yyyy-MM-dd", "dd/MM/yyyy", false));
EditText editText = this.laserIdFirst;
String str = sy.k;
C14957gcv.c((Object) str, "");
String substring = str.substring(0, 3);
C14957gcv.c((Object) substring, "");
editText.setText(substring);
EditText editText2 = this.laserIdSecond;
String str2 = sy.k;
C14957gcv.c((Object) str2, "");
String substring2 = str2.substring(3, 10);
C14957gcv.c((Object) substring2, "");
editText2.setText(substring2);
EditText editText3 = this.laserIdThird;
String str3 = sy.k;
C14957gcv.c((Object) str3, "");
String substring3 = str3.substring(10, 12);
C14957gcv.c((Object) substring3, "");
editText3.setText(substring3);
int i4 = t + 123;
p = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.cZY
public final void d(String str, int i) {
int i2 = 2 % 2;
C14957gcv.e(str, "");
AbstractC13175fSw<File> d = C12891fKc.d(str, i);
final LWm lWm = new LWm(this);
fSQ<? super File> fsq = new fSQ(lWm) { // from class: o.dSb
private InterfaceC14894gbR b;
@Override // o.fSQ
public final void c(Object obj) {
HmlNationalIdActivity.e(this.b, obj);
}
{
this.b = lWm;
}
};
final RVV rvv = new RVV(this);
this.l = d.b(fsq, new fSQ(rvv) { // from class: o.dSc
private InterfaceC14894gbR e;
@Override // o.fSQ
public final void c(Object obj) {
HmlNationalIdActivity.a(this.e, obj);
}
{
this.e = rvv;
}
});
int i3 = t + 85;
p = i3 % 128;
int i4 = i3 % 2;
}
@Override // com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity, o.cZY
public final void d(boolean z) {
int i = 2 % 2;
int i2 = t + 11;
p = i2 % 128;
int i3 = i2 % 2;
super.d(z);
int i4 = p + 95;
t = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.hml.ekyc.Hilt_HmlNationalIdActivity, com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity, o.AbstractActivityC11325edH, 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) {
Object[] objArr = new Object[1];
aA(new char[]{27, 16, 2, 14, 26, 17, 30, 26, 29, '\n', 6, 29, '\f', '\"', 2, '\r', 2, 15, 2, 25, 29, 11, '\t', 26, 26, '\"'}, (byte) (TextUtils.lastIndexOf("", '0', 0, 0) + 70), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 73, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{' ', 18, 13854, 13854, '!', 21, 4, '\r', 13856, 13856, '\b', '\r', '\"', 24, 2, '\r', 27, 17}, (byte) (53 - ExpandableListView.getPackedPositionChild(0L)), View.MeasureSpec.getSize(0) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = t + 65;
p = i2 % 128;
if (i2 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
int i3 = p + 77;
t = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 4 / 5;
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, 5 - Color.red(0), (char) ((-1) - TextUtils.lastIndexOf("", '0')))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 487, 5 - TextUtils.indexOf("", "", 0), (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aA(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
char c;
int i3;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = f7389o;
long j = 0;
int i5 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(298 - Color.argb(0, 0, 0, 0), TextUtils.getOffsetBefore("", 0) + i5, (char) (ExpandableListView.getPackedPositionChild(j) + 1));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr3 = new Object[1];
aC(b3, b4, b4, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
j = 0;
i5 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(k)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(299 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - TextUtils.indexOf("", ""), (char) View.combineMeasuredStates(0, 0));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr5 = new Object[1];
aC(b5, b6, b6, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
char c2 = '\t';
if (i % 2 != 0) {
int i7 = $11 + 9;
int i8 = i7 % 128;
$10 = i8;
if (i7 % 2 != 0) {
i2 = i + 107;
cArr4[i2] = (char) (cArr[i2] << b2);
} else {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
}
int i9 = i8 + 33;
$11 = i9 % 128;
int i10 = i9 % 2;
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
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 = c2;
i3 = 2;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[c2] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[6] = irs;
objArr6[5] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(233 - TextUtils.getOffsetAfter("", 0), 5 - TextUtils.getOffsetAfter("", 0), (char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 22024));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr7 = new Object[1];
aC(b7, b8, (byte) (b8 + 3), objArr7);
obj3 = cls3.getMethod((String) objArr7[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, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
int i11 = $10 + 89;
$11 = i11 % 128;
int i12 = i11 % 2;
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 != null) {
c = '\t';
} else {
Class cls4 = (Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 327, (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) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr9 = new Object[1];
aC(b9, b10, (byte) (b10 + 1), objArr9);
c = '\t';
obj4 = cls4.getMethod((String) objArr9[0], 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, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i13];
} else {
c = '\t';
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i14 = (irs.a * charValue) + irs.f;
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
} else {
int i16 = (irs.a * charValue) + irs.j;
int i17 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i16];
cArr4[irs.e + 1] = cArr2[i17];
int i18 = $10 + 107;
$11 = i18 % 128;
i3 = 2;
int i19 = i18 % 2;
}
}
i3 = 2;
}
irs.e += i3;
c2 = c;
}
}
for (int i20 = 0; i20 < i; i20++) {
cArr4[i20] = (char) (cArr4[i20] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.hml.ekyc.Hilt_HmlNationalIdActivity, com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity, o.AbstractActivityC11325edH, 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 = p + 5;
t = i2 % 128;
if (i2 % 2 != 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new char[]{27, 16, 2, 14, 26, 17, 30, 26, 29, '\n', 6, 29, '\f', '\"', 2, '\r', 2, 15, 2, 25, 29, 11, '\t', 26, 26, '\"'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 56), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_external_authentication_ota_field_error).substring(12, 13).length() + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{' ', 18, 13854, 13854, '!', 21, 4, '\r', 13856, 13856, '\b', '\r', '\"', 24, 2, '\r', 27, 17}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_plus_sign).substring(0, 1).length() + 53), ((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) {
int i3 = p + 79;
t = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), KeyEvent.normalizeMetaState(0) + 5, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).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((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 488, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))))).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();
return;
}
getBaseContext();
throw null;
}
public static /* synthetic */ void a(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = p + 25;
t = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i4 = t + 121;
p = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj2 = null;
obj2.hashCode();
throw null;
}
public static /* synthetic */ void e(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = p + 87;
t = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
if (i3 != 0) {
interfaceC14894gbR.invoke(obj);
return;
}
interfaceC14894gbR.invoke(obj);
Object obj2 = null;
obj2.hashCode();
throw null;
}
private static /* synthetic */ Object b(Object[] objArr) {
HmlNationalIdActivity hmlNationalIdActivity = (HmlNationalIdActivity) objArr[0];
int i = 2 % 2;
int i2 = t + 21;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 53;
p = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 96 / 0;
}
return null;
}
static void g() {
f7389o = new char[]{49028, 49095, 49024, 49093, 49034, 49115, 49049, 49119, 49089, 49026, 49123, 49091, 49030, 49105, 49114, 49117, 49138, 49025, 49048, 49035, 49094, 49050, 49088, 49127, 49053, 49109, 49098, 49110, 49106, 49116, 49104, 49031, 49111, 49029, 49027, 49051};
k = (char) 35375;
m = 2533812122325240330L;
}
@Override // com.scb.phone.view.activity.hml.ekyc.Hilt_HmlNationalIdActivity, com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity, o.AbstractActivityC11325edH, 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) {
b(new Object[]{this, context}, 1405881580, -1405881579, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.hml.ekyc.Hilt_HmlNationalIdActivity, com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity, o.AbstractActivityC11325edH, 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() {
b(new Object[]{this}, -393809991, 393809991, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity
public final String f() {
int i = 2 % 2;
int i2 = t + 79;
p = i2 % 128;
if (i2 % 2 == 0) {
return "your_loan";
}
throw null;
}
static {
p = 0;
g();
b = new IeS((byte) 0);
int i = t + 7;
p = i % 128;
if (i % 2 != 0) {
throw null;
}
}
}