what-the-bank/sources/com/scb/phone/view/activity/ntb/ekyc/NationalIdActivity.java

1278 lines
56 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ntb.ekyc;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.Point;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.net.Uri;
import android.os.Build;
import android.os.Environment;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Display;
import android.view.KeyEvent;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ExpandableListView;
import android.widget.ImageView;
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.BaseActivity;
import com.scb.phone.view.activity.ndid.NationalIdCameraActivity;
import com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity;
import com.scb.phone.view.custom.common.DateInputText;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Method;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Objects;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC11325edH;
import o.AbstractC13175fSw;
import o.C11336edS;
import o.C12493ezJ;
import o.C12891fKc;
import o.C17701yy;
import o.C2198aaA;
import o.C2204aaG;
import o.C2205aaH;
import o.C3614bBe;
import o.C9257dgM;
import o.IRS;
import o.InterfaceC13391fZD;
import o.QKH;
import o.SY;
import o.ZI;
import o.cXH;
import o.cZY;
import o.fJJ;
import o.fSJ;
import o.fSQ;
import o.guQ;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public class NationalIdActivity extends AbstractActivityC11325edH implements cZY {
@BindView
public DateInputText dateEditText;
@BindView
protected View fieldsContainer;
@BindView
protected ImageView helpButton;
private String l;
@BindView
public EditText laserIdFirst;
@BindView
public EditText laserIdSecond;
@BindView
public EditText laserIdThird;
@InterfaceC13391fZD
public C2198aaA nationalIdPresenter;
@BindView
protected Button nextButton;
/* renamed from: o, reason: collision with root package name */
private fSJ f7651o;
@BindView
protected ImageView scanIdIcon;
private static final byte[] $$E = {113, ISO7816.INS_READ_BINARY, -18, 43};
private static final int $$F = 71;
private static int $10 = 0;
private static int $11 = 1;
private static int y = 0;
private static int w = 1;
private static char[] k = {16127, 16108, 16114, 16096, 16109, 16119, 16044, 16097, 16078, 16113, 16115, 16110, 16095, 16098, 16100, 16103, 16066, 16118, 16047, 16037, 16034, 16112, 16033, 16116, 16039, 16032, 16038, 16036, 16035, 16046, 16088, 16045, 16107, 16106, 16105, 16117, 16099, 16111, 16043};
private static int t = 1934311070;
private static boolean s = true;
private static boolean q = true;
private static char[] r = {35361, 49138, 49094, 35368, 49119, 49110, 49031, 49089, 49098, 49116, 35375, 35373, 49091, 49106, 35374, 49126, 49035, 49028, 49105, 35372, 49118, 49026, 49104, 49111, 49024, 49034, 49027, 49095, 49114, 49030, 49109, 49117, 35370, 35371, 49029, 49025};
private static char p = 35375;
private View.OnClickListener b = new View.OnClickListener(this) { // from class: o.edP
private NationalIdActivity a;
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
NationalIdActivity.c(this.a, view);
}
{
this.a = this;
}
};
private QKH m = new QKH();
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Type inference failed for: r7v2, types: [int] */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0026). 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(short r5, byte r6, short r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 2
int r7 = r7 + 4
int r5 = r5 * 3
int r0 = r5 + 1
int r6 = r6 + 65
byte[] r1 = com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity.$$E
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L14
r4 = r7
r3 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r5) goto L22
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L22:
r4 = r1[r7]
int r3 = r3 + 1
L26:
int r7 = r7 + 1
int r4 = -r4
int r6 = r6 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity.aJ(short, byte, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * 1649) + (i2 * 825);
int i5 = ~i2;
if (i4 + ((i | i5) * (-824)) + ((i2 | i) * (-1648)) + (((~i) | i5) * 824) != 1) {
return b(objArr);
}
byte b = 0;
C2198aaA c2198aaA = (C2198aaA) objArr[0];
String str = (String) objArr[1];
int i6 = 2 % 2;
if (c2198aaA.f != 0) {
int i7 = y + 21;
w = i7 % 128;
int i8 = i7 % 2;
c2198aaA.f.y();
} else {
int i9 = y + 53;
w = i9 % 128;
if (i9 % 2 == 0) {
int i10 = 4 % 2;
}
}
C12493ezJ c12493ezJ = c2198aaA.b;
C17701yy c17701yy = c2198aaA.e;
c12493ezJ.b(C17701yy.a(str, c2198aaA.c.k, c2198aaA.c.m));
C12493ezJ c12493ezJ2 = c2198aaA.b;
c12493ezJ2.d(c12493ezJ2.i, new C2198aaA.RVV(c2198aaA, b));
return null;
}
private static void aG(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = k;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i4 = 0;
while (i4 < length) {
int i5 = $11 + 43;
$10 = i5 % 128;
int i6 = i5 % i2;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i4])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777553, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) View.combineMeasuredStates(0, 0));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aJ(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i4++;
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(t)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Color.alpha(0) + 283, 5 - View.resolveSizeAndState(0, 0, 0), (char) (39813 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aJ(b3, (byte) (b3 | 57), b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (q) {
int i7 = $10 + 11;
$11 = i7 % 128;
int i8 = i7 % 2;
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
try {
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(40 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - ExpandableListView.getPackedPositionType(0L), (char) TextUtils.getTrimmedLength(""))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr4);
return;
}
if (!s) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(40 - TextUtils.getCapsMode("", 0, 0), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) TextUtils.getTrimmedLength(""))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr6);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x00ca, code lost:
if (r3 > 99999) goto L6;
*/
@Override // 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 void onCreate(android.os.Bundle r17) {
/*
Method dump skipped, instructions count: 1380
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = w + 91;
y = i2 % 128;
int i3 = i2 % 2;
super.Z();
ac();
p(getString(R.string.national_id_title));
this.i.d(this.i.c() | 16);
this.i.f();
int i4 = y + 11;
w = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
if (menuItem.getItemId() != 16908332) {
return super.onOptionsItemSelected(menuItem);
}
int i2 = y + 1;
w = i2 % 128;
int i3 = i2 % 2;
super.onBackPressed();
int i4 = y + 93;
w = i4 % 128;
if (i4 % 2 != 0) {
return true;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // androidx.appcompat.app.AppCompatActivity, androidx.activity.ComponentActivity, android.app.Activity, android.content.ComponentCallbacks
public void onConfigurationChanged(Configuration configuration) {
int i = 2 % 2;
int i2 = y + 19;
w = i2 % 128;
int i3 = i2 % 2;
super.onConfigurationChanged(configuration);
int i4 = w + 79;
y = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
private static void aI(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object obj;
int i3;
int length;
char[] cArr2;
int i4;
int i5 = 2 % 2;
IRS irs = new IRS();
char[] cArr3 = r;
Object obj2 = null;
int i6 = 5;
if (cArr3 != null) {
int i7 = $10 + 7;
$11 = i7 % 128;
if (i7 % 2 == 0) {
length = cArr3.length;
cArr2 = new char[length];
i4 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i4 = 0;
}
while (i4 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i4])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 298, View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aJ(b2, (byte) (b2 | ISO7816.INS_DECREASE_STAMPED), b2, objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr2[i4] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i4++;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
try {
Object[] objArr4 = {Integer.valueOf(p)};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(Color.red(0) + 298, 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aJ(b3, (byte) (b3 | ISO7816.INS_DECREASE_STAMPED), b3, objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} 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) {
int i8 = $11 + 43;
$10 = i8 % 128;
if (i8 % 2 != 0) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e % 0] = (char) (irs.c >>> b);
} else {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
}
obj = obj2;
i3 = i6;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[6] = irs;
objArr6[i6] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c((-16776983) - Color.rgb(0, 0, 0), Color.alpha(0) + i6, (char) (View.getDefaultSize(0, 0) + 22024));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aJ(b4, (byte) (b4 | 55), b4, objArr7);
obj5 = 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, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 != null) {
i3 = 5;
} else {
Class cls4 = (Class) xzZ.c(327 - Drawable.resolveOpacity(0, 0), 5 - TextUtils.getCapsMode("", 0, 0), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
aJ(b5, (byte) (b5 | 53), b5, objArr9);
i3 = 5;
obj6 = 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, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i9 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[intValue];
cArr4[irs.e + 1] = cArr3[i9];
} else {
obj = null;
i3 = 5;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i10 = (irs.a * charValue) + irs.f;
int i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[i10];
cArr4[irs.e + 1] = cArr3[i11];
} else {
int i12 = (irs.a * charValue) + irs.j;
int i13 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr3[i12];
cArr4[irs.e + 1] = cArr3[i13];
}
}
}
irs.e += 2;
obj2 = obj;
i6 = i3;
}
}
int i14 = $11 + 111;
$10 = i14 % 128;
if (i14 % 2 != 0) {
int i15 = 4 % 2;
}
for (int i16 = 0; i16 < i; i16++) {
cArr4[i16] = (char) (cArr4[i16] ^ 13722);
}
objArr[0] = new String(cArr4);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // o.cZY
public final void d() {
boolean z;
int i = 2 % 2;
int i2 = w + 37;
y = i2 % 128;
int i3 = i2 % 2;
if (Build.VERSION.SDK_INT >= 33) {
z = true;
} else {
int i4 = w + 123;
y = i4 % 128;
int i5 = i4 % 2;
z = false;
}
if (!z) {
C11336edS.e(this);
return;
}
C11336edS.c(this);
int i6 = y + 123;
w = i6 % 128;
if (i6 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public final void h() {
Uri uriForFile;
int i = 2 % 2;
try {
boolean z = true;
if (!"mounted".equals(Environment.getExternalStorageState())) {
int i2 = w + 95;
y = i2 % 128;
int i3 = i2 % 2;
if (!"mounted_ro".equals(Environment.getExternalStorageState())) {
z = false;
}
}
String format = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date());
StringBuilder sb = new StringBuilder("JPEG_");
sb.append(format);
sb.append("_");
File createTempFile = File.createTempFile(sb.toString(), ".jpg", getExternalFilesDir(Environment.DIRECTORY_PICTURES));
if (z) {
int i4 = w + 33;
y = i4 % 128;
int i5 = i4 % 2;
uriForFile = C9257dgM.getUriForFile(this, cXH.RVV.e, createTempFile);
int i6 = w + 27;
y = i6 % 128;
int i7 = i6 % 2;
} else {
uriForFile = C9257dgM.getUriForFile(this, cXH.RVV.b, createTempFile);
}
Intent intent = new Intent(this, (Class<?>) NationalIdCameraActivity.class);
intent.putExtra("output", uriForFile);
intent.putExtra("EXTRA_CROP_RATIO", 1.0f);
startActivityForResult(intent, 123);
this.l = createTempFile.getAbsolutePath();
int i8 = y + 63;
w = i8 % 128;
int i9 = i8 % 2;
} catch (IOException e) {
guQ.e(e);
}
}
public void d(boolean z) {
int i;
int i2 = 2 % 2;
int i3 = y;
int i4 = i3 + 9;
w = i4 % 128;
int i5 = i4 % 2;
ImageView imageView = this.scanIdIcon;
if (z) {
int i6 = i3 + 39;
w = i6 % 128;
int i7 = i6 % 2;
i = R.drawable.icon_green_tick;
} else {
i = R.drawable.icon_plus_circle;
}
imageView.setImageResource(i);
}
@Override // o.cZY
public final void a(boolean z) {
int i = 2 % 2;
int i2 = w + 35;
y = i2 % 128;
int i3 = i2 % 2;
this.nextButton.setEnabled(z);
int i4 = y + 39;
w = i4 % 128;
int i5 = i4 % 2;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes5.dex */
public class Sts extends fJJ {
private NationalIdActivity b;
private int d;
private View e;
public Sts(NationalIdActivity nationalIdActivity, int i, View view) {
this.b = nationalIdActivity;
this.d = i;
this.e = view;
}
@Override // o.fJJ, android.text.TextWatcher
public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
C2198aaA c2198aaA = this.b.nationalIdPresenter;
StringBuilder sb = new StringBuilder();
sb.append(this.b.laserIdFirst.getText().toString());
sb.append(this.b.laserIdSecond.getText().toString());
sb.append(this.b.laserIdThird.getText().toString());
c2198aaA.c.k = sb.toString();
C2204aaG c2204aaG = new C2204aaG(c2198aaA);
if (c2198aaA.f != 0) {
c2204aaG.e(c2198aaA.f);
}
if (charSequence.length() == this.d) {
if (this.e == this.b.laserIdSecond || this.e == this.b.laserIdThird) {
((EditText) this.e).setText("");
}
this.e.requestFocus();
}
}
}
@Override // o.cZY
public final void c() {
int i = 2 % 2;
int i2 = y + 85;
w = i2 % 128;
int i3 = i2 % 2;
NationalIdHelpActivity.b(this, getString(R.string.laser_id_help_title));
int i4 = w + 61;
y = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.cZY
public final void c(SY sy) {
int i = 2 % 2;
Intent intent = new Intent();
intent.putExtra("idDisplay", sy);
setResult(-1, intent);
finish();
int i2 = w + 21;
y = i2 % 128;
if (i2 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object b(Object[] objArr) {
NationalIdActivity nationalIdActivity = (NationalIdActivity) objArr[0];
int i = 2 % 2;
AbstractC13175fSw<String> e = C12891fKc.e((String) objArr[1], ((Number) objArr[2]).intValue());
final C2198aaA c2198aaA = nationalIdActivity.nationalIdPresenter;
Objects.requireNonNull(c2198aaA);
fSQ<? super String> fsq = new fSQ(c2198aaA) { // from class: o.edQ
private C2198aaA a;
@Override // o.fSQ
public final void c(Object obj) {
NationalIdActivity.e(new Object[]{this.a, (String) obj}, 1713270844, -1713270843, (int) System.currentTimeMillis());
}
{
this.a = c2198aaA;
}
};
final C2198aaA c2198aaA2 = nationalIdActivity.nationalIdPresenter;
Objects.requireNonNull(c2198aaA2);
nationalIdActivity.f7651o = e.b(fsq, new fSQ(c2198aaA2) { // from class: o.edN
private C2198aaA a;
@Override // o.fSQ
public final void c(Object obj) {
NationalIdActivity.b(this.a, (Throwable) obj);
}
{
this.a = c2198aaA2;
}
});
int i2 = w + 113;
y = i2 % 128;
int i3 = i2 % 2;
return null;
}
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) {
int i2 = 2 % 2;
int i3 = w + 87;
y = i3 % 128;
int i4 = 0;
if (i3 % 2 != 0) {
super.onRequestPermissionsResult(i, strArr, iArr);
} else {
super.onRequestPermissionsResult(i, strArr, iArr);
}
C11336edS.e(this, i, iArr);
int length = iArr.length;
while (i4 < length) {
if (iArr[i4] != 0) {
finish();
}
i4++;
int i5 = w + 61;
y = i5 % 128;
int i6 = i5 % 2;
}
}
@Override // 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 void onResume() {
int i = 2 % 2;
int i2 = w + 83;
y = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = w + 39;
y = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aG(null, null, 127 - (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)), new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{20, 4, 13862, 13862, 1, '#', 25, 3, 13864, 13864, '\n', '\"', 19, 16, NistHelper.SEP_FS, 29, 7, '!'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.request_money_web_view).substring(0, 326).codePointAt(CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256) - 52), 18 - (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)), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i6 = y + 25;
w = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = y + 13;
w = i8 % 128;
try {
if (i8 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - KeyEvent.normalizeMetaState(0), KeyEvent.keyCodeFromString("") + 5, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 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(487 - (ViewConfiguration.getTapTimeout() >> 16), MotionEvent.axisFromString("") + 6, (char) View.MeasureSpec.getMode(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i9 = 4 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, 5 - Color.red(0), (char) ('0' - AndroidCharacter.getMirror('0')))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((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)) + 487, 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
this.nationalIdPresenter.a = true;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public void onActivityResult(int i, int i2, Intent intent) {
int i3 = 2 % 2;
int i4 = y;
int i5 = i4 + 91;
w = i5 % 128;
int i6 = i5 % 2;
if (i2 == -1) {
int i7 = i4 + 123;
w = i7 % 128;
if (i7 % 2 != 0 ? i == 123 : i == 97) {
C2198aaA c2198aaA = this.nationalIdPresenter;
c2198aaA.c.l = this.l;
ZI.IeS ieS = new ZI.IeS() { // from class: o.aaE
@Override // o.ZI.IeS
public final void e(Object obj) {
((cZY) obj).d(true);
}
};
if (c2198aaA.f != 0) {
ieS.e(c2198aaA.f);
}
C2204aaG c2204aaG = new C2204aaG(c2198aaA);
if (c2198aaA.f != 0) {
c2204aaG.e(c2198aaA.f);
int i8 = w + 33;
y = i8 % 128;
int i9 = i8 % 2;
}
super.onActivityResult(i, i2, intent);
}
}
if (i2 == 0 && i == 123) {
int i10 = w + 101;
y = i10 % 128;
int i11 = i10 % 2;
finish();
}
super.onActivityResult(i, i2, intent);
}
@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 void onDestroy() {
int i = 2 % 2;
int i2 = y;
int i3 = i2 + 45;
w = i3 % 128;
if (i3 % 2 == 0) {
throw null;
}
fSJ fsj = this.f7651o;
if (fsj != null) {
int i4 = i2 + 59;
w = i4 % 128;
int i5 = i4 % 2;
fsj.dispose();
}
super.onDestroy();
int i6 = w + 103;
y = i6 % 128;
int i7 = i6 % 2;
}
@Override // 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 void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = w + 103;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{20, 4, 13862, 13862, 1, '#', 25, 3, 13864, 13864, '\n', '\"', 19, 16, NistHelper.SEP_FS, 29, 7, '!'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 49), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 80, 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 = y + 51;
w = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 492, ImageFormat.getBitsPerPixel(0) + 6, (char) (MotionEvent.axisFromString("") + 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(487 - ExpandableListView.getPackedPositionType(0L), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 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();
}
@Override // 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 void attachBaseContext(Context context) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(null, null, (ViewConfiguration.getJumpTapTimeout() >> 16) + 127, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{26, 14, 16, 27, 13883}, (byte) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 61), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = w + 23;
y = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 39 / 0;
if (intValue <= 99999) {
return;
}
} else if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i4 = w + 83;
y = i4 % 128;
int i5 = i4 % 2;
context = context.getApplicationContext();
}
if (context != null) {
int i6 = y + 73;
w = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 492, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aG(null, null, 128 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), new byte[]{-107, ISOFileInfo.SECURITY_ATTR_EXP, -101, ISOFileInfo.LCS_BYTE, -99, -103, -107, -102, -106, -106, ISOFileInfo.SECURITY_ATTR_EXP, -104, -109, -101, -99, -109, -109, ISOFileInfo.FILE_IDENTIFIER, -103, ISOFileInfo.LCS_BYTE, -99, ISOFileInfo.LCS_BYTE, -100, -104, -103, ISOFileInfo.DATA_BYTES2, -107, -105, -101, -102, -105, -106, -101, -105, -106, -105, ISOFileInfo.DATA_BYTES2, -102, -103, -106, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.LCS_BYTE, -105, -106, -107, -108, -109}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aI(new char[]{0, 23, '#', 4, 30, 22, 7, 24, 11, '#', 30, '#', 30, '#', 15, 23, 30, '\n', 23, '!', NistHelper.SEP_FS, 4, '\f', 7, NistHelper.SEP_FS, 30, NistHelper.SEP_FS, 20, 31, 29, NistHelper.SEP_FS, 14, 13839, 13839, 25, 17, NistHelper.SEP_FS, 17, 13914, 13914, 30, 22, 16, 31, 27, 23, 30, 22, 22, 17, '#', '\f', NistHelper.SEP_FS, 22, 24, 23, 22, NistHelper.SEP_FS, 22, 15, 30, 22, 17, 1}, (byte) ((KeyEvent.getMaxKeyCode() >> 16) + 98), View.MeasureSpec.getSize(0) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aG(null, null, 127 - View.MeasureSpec.makeMeasureSpec(0, 0), new byte[]{-108, ISOFileInfo.LCS_BYTE, -101, -99, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.DATA_BYTES2, -98, -104, -98, -103, -100, -101, -102, ISOFileInfo.SECURITY_ATTR_EXP, -106, ISOFileInfo.SECURITY_ATTR_EXP, -100, ISOFileInfo.LCS_BYTE, -104, -105, -99, -98, -99, -109, -109, -102, -99, -99, ISOFileInfo.DATA_BYTES2, -106, -107, ISOFileInfo.FILE_IDENTIFIER, -103, -100, -101, ISOFileInfo.SECURITY_ATTR_EXP, -104, -101, ISOFileInfo.LCS_BYTE, -102, -108, -98, -109, -98, -104, -106, ISOFileInfo.DATA_BYTES2, -101, -98, -107, -106, ISOFileInfo.SECURITY_ATTR_EXP, -105, -103, -102, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -105, ISOFileInfo.DATA_BYTES2, -105, -98, -101, ISOFileInfo.DATA_BYTES2}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(null, null, 127 - TextUtils.indexOf("", "", 0), new byte[]{-120, ISOFileInfo.CHANNEL_SECURITY, -126, ISOFileInfo.SECURITY_ATTR_EXP, -113, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A0, -102, -113, ISOFileInfo.A0, ISOFileInfo.CHANNEL_SECURITY, -120, ISOFileInfo.SECURITY_ATTR_EXP, -92, -126, -122, ISOFileInfo.A0, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A0, ISOFileInfo.A1, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -124, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A5, -90, -120, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A5, -92, ISOFileInfo.FCI_EXT, ISOFileInfo.CHANNEL_SECURITY, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FCI_EXT, -93, -126, ISOFileInfo.DATA_BYTES2, -106, -94, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.LCS_BYTE, -124, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A1, ISOFileInfo.A1, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.A1, ISOFileInfo.DATA_BYTES2, -122, -120, ISOFileInfo.A0, ISOFileInfo.A0, -97, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.CHANNEL_SECURITY, -110}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(null, null, Process.getGidForName("") + 128, new byte[]{-98, ISOFileInfo.FCI_EXT, -101, ISOFileInfo.FCI_EXT, -103}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(null, null, 127 - KeyEvent.getDeadChar(0, 0), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -109, -99, -107, -99, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -108, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -102, -89, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -106, ISOFileInfo.DATA_BYTES2, -89, -109, -109, -102, -107, -89, -106, ISOFileInfo.SECURITY_ATTR_EXP, -98, -100, -89, -98, -107, -103, ISOFileInfo.FILE_IDENTIFIER, -107, -102, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, objArr8);
Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), TextUtils.getOffsetBefore("", 0) + 5, (char) TextUtils.getCapsMode("", 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);
int i8 = w + 93;
y = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
public static /* synthetic */ boolean a(NationalIdActivity nationalIdActivity, String str) {
boolean d;
int i = 2 % 2;
int i2 = y + 125;
w = i2 % 128;
int i3 = i2 % 2;
C2198aaA c2198aaA = nationalIdActivity.nationalIdPresenter;
if (i3 == 0) {
d = c2198aaA.d(str);
int i4 = 57 / 0;
} else {
d = c2198aaA.d(str);
}
int i5 = w + 49;
y = i5 % 128;
int i6 = i5 % 2;
return d;
}
public static /* synthetic */ void c(NationalIdActivity nationalIdActivity, View view) {
int i = 2 % 2;
int id = view.getId();
if (id == R.id.button_next) {
Display defaultDisplay = nationalIdActivity.getWindowManager().getDefaultDisplay();
Point point = new Point();
defaultDisplay.getSize(point);
nationalIdActivity.nationalIdPresenter.d(Math.min(point.x, point.y));
nationalIdActivity.fieldsContainer.requestFocus();
return;
}
if (id == R.id.help_button) {
C2198aaA c2198aaA = nationalIdActivity.nationalIdPresenter;
if (c2198aaA.a) {
c2198aaA.a = false;
ZI.IeS ieS = new ZI.IeS() { // from class: o.aaD
@Override // o.ZI.IeS
public final void e(Object obj) {
((cZY) obj).c();
}
};
if (c2198aaA.f != 0) {
ieS.e(c2198aaA.f);
return;
}
return;
}
return;
}
if (id == R.id.icon_scan_id) {
C2198aaA c2198aaA2 = nationalIdActivity.nationalIdPresenter;
if (c2198aaA2.a && c2198aaA2.c.l == null) {
c2198aaA2.a = false;
C2205aaH c2205aaH = new C2205aaH();
if (c2198aaA2.f != 0) {
int i2 = y + 119;
int i3 = i2 % 128;
w = i3;
int i4 = i2 % 2;
int i5 = i3 + 31;
y = i5 % 128;
if (i5 % 2 == 0) {
c2205aaH.e(c2198aaA2.f);
} else {
c2205aaH.e(c2198aaA2.f);
throw null;
}
}
}
}
}
public static /* synthetic */ void c(NationalIdActivity nationalIdActivity) {
int i = 2 % 2;
int i2 = w + 125;
y = i2 % 128;
int i3 = i2 % 2;
nationalIdActivity.m.d("feature", nationalIdActivity.f());
nationalIdActivity.m.c(((BaseActivity) nationalIdActivity).scbAnalytics, "ekyc_dateofissue");
int i4 = y + 13;
w = i4 % 128;
int i5 = i4 % 2;
}
/* JADX WARN: Removed duplicated region for block: B:14:0x00ba A[SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:18:0x005e A[SYNTHETIC] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ void e(com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity r10, java.lang.String r11) {
/*
r0 = 2
int r1 = r0 % r0
o.aaA r10 = r10.nationalIdPresenter
o.SY r1 = r10.c
java.lang.String r2 = "/"
boolean r3 = r11.contains(r2)
if (r3 != 0) goto Lc4
int r3 = r11.length()
r4 = 8
r5 = 0
if (r3 != r4) goto L3f
java.lang.StringBuilder r3 = new java.lang.StringBuilder
r3.<init>()
java.lang.String r4 = r11.substring(r5, r0)
r3.append(r4)
r3.append(r2)
r4 = 4
java.lang.String r5 = r11.substring(r0, r4)
r3.append(r5)
r3.append(r2)
java.lang.String r11 = r11.substring(r4)
r3.append(r11)
java.lang.String r11 = r3.toString()
goto Lc4
L3f:
java.lang.StringBuilder r3 = new java.lang.StringBuilder
r3.<init>()
r4 = r5
L45:
int r6 = r11.length()
if (r6 <= 0) goto Lc0
int r6 = com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity.w
int r6 = r6 + 43
int r7 = r6 % 128
com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity.y = r7
int r6 = r6 % r0
if (r6 == 0) goto L5a
r6 = 5
if (r4 > r6) goto Lc0
goto L5c
L5a:
if (r4 > r0) goto Lc0
L5c:
if (r4 >= r0) goto Lba
int r7 = r7 + 25
int r6 = r7 % 128
com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity.w = r6
int r7 = r7 % r0
int r6 = r11.length()
r7 = 3
r8 = 1
if (r6 <= 0) goto L8a
java.lang.String r6 = r11.substring(r5, r8)
java.lang.Integer r6 = java.lang.Integer.valueOf(r6)
int r6 = r6.intValue()
if (r6 <= r7) goto L8a
char r6 = r11.charAt(r5)
r3.append(r6)
r3.append(r2)
java.lang.String r11 = r11.substring(r8)
goto Lb7
L8a:
int r6 = r11.length()
if (r6 < r0) goto Lb7
int r6 = com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity.y
int r6 = r6 + r8
int r9 = r6 % 128
com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity.w = r9
int r6 = r6 % r0
if (r6 != 0) goto La9
java.lang.String r6 = r11.substring(r8, r7)
r3.append(r6)
r3.append(r2)
java.lang.String r11 = r11.substring(r7)
goto Lb7
La9:
java.lang.String r6 = r11.substring(r5, r0)
r3.append(r6)
r3.append(r2)
java.lang.String r11 = r11.substring(r0)
Lb7:
int r4 = r4 + 1
goto L45
Lba:
r3.append(r11)
java.lang.String r11 = ""
goto L45
Lc0:
java.lang.String r11 = r3.toString()
Lc4:
r1.m = r11
o.aaG r11 = new o.aaG
r11.<init>(r10)
T extends o.cYp r1 = r10.f
if (r1 == 0) goto Ldd
T extends o.cYp r10 = r10.f
r11.e(r10)
int r10 = com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity.y
int r10 = r10 + 37
int r11 = r10 % 128
com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity.w = r11
int r10 = r10 % r0
Ldd:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity.e(com.scb.phone.view.activity.ntb.ekyc.NationalIdActivity, java.lang.String):void");
}
@Override // 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 void onStart() {
int i = 2 % 2;
int i2 = y + 105;
w = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = y + 119;
w = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
protected String f() {
int i = 2 % 2;
int i2 = w;
int i3 = i2 + 81;
y = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 63;
y = i5 % 128;
int i6 = i5 % 2;
return "open_account";
}
@Override // o.cZY
public final void e(String str, int i) {
e(new Object[]{this, str, Integer.valueOf(i)}, 2068152617, -2068152617, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 20117272);
}
public static /* synthetic */ void b(C2198aaA c2198aaA, Throwable th) {
int i = 2 % 2;
int i2 = w + 83;
y = i2 % 128;
int i3 = i2 % 2;
c2198aaA.g(th);
if (i3 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = y + 3;
w = i4 % 128;
int i5 = i4 % 2;
}
}