832 lines
40 KiB
Java
832 lines
40 KiB
Java
package com.scb.phone.view.activity.ntb;
|
|
|
|
import android.content.Context;
|
|
import android.content.Intent;
|
|
import android.graphics.Color;
|
|
import android.graphics.ImageFormat;
|
|
import android.graphics.PointF;
|
|
import android.graphics.drawable.Drawable;
|
|
import android.os.Bundle;
|
|
import android.os.Process;
|
|
import android.os.SystemClock;
|
|
import android.telephony.cdma.CdmaCellLocation;
|
|
import android.text.AndroidCharacter;
|
|
import android.text.TextUtils;
|
|
import android.util.TypedValue;
|
|
import android.view.KeyEvent;
|
|
import android.view.MotionEvent;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import android.widget.ExpandableListView;
|
|
import androidx.fragment.app.Fragment;
|
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
|
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
|
|
import com.scb.phone.R;
|
|
import com.scb.phone.view.fragment.ntb.ekyc.EkycFragment;
|
|
import com.scb.phone.view.fragment.ntb.fatca.FatcaLandingQuestionFragment;
|
|
import io.beid.beidk.PassportManager;
|
|
import io.beid.beidk.definitions.BeIDParams;
|
|
import io.beid.beidk.parcelable.PassportDataParcelable;
|
|
import io.beid.beidk.processor.FaceProcessor;
|
|
import java.lang.reflect.Method;
|
|
import java.util.Date;
|
|
import net.sf.scuba.smartcards.ISOFileInfo;
|
|
import o.AbstractActivityC11364edu;
|
|
import o.C4403bZM;
|
|
import o.C4593bdB;
|
|
import o.C6811ccU;
|
|
import o.C6853cdJ;
|
|
import o.C6870cda;
|
|
import o.InterfaceC13391fZD;
|
|
import o.SV;
|
|
import o.fIY;
|
|
import o.jTb;
|
|
import o.xzZ;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public class NTBActivity extends AbstractActivityC11364edu implements fIY.LWm {
|
|
private static char b;
|
|
private static char k;
|
|
private static char l;
|
|
private static long m;
|
|
|
|
/* renamed from: o, reason: collision with root package name */
|
|
private static char f7647o;
|
|
private static int p;
|
|
private static int[] s;
|
|
|
|
@InterfaceC13391fZD
|
|
public C6853cdJ ntbPresenter;
|
|
private static final byte[] $$E = {116, ISOFileInfo.SECURITY_ATTR_EXP, 37, 13};
|
|
private static final int $$F = 25;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int r = 0;
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> 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 aK(int r5, short r6, int r7, java.lang.Object[] r8) {
|
|
/*
|
|
int r7 = r7 * 3
|
|
int r7 = 4 - r7
|
|
byte[] r0 = com.scb.phone.view.activity.ntb.NTBActivity.$$E
|
|
int r5 = 104 - r5
|
|
int r6 = r6 * 2
|
|
int r6 = r6 + 1
|
|
byte[] r1 = new byte[r6]
|
|
r2 = 0
|
|
if (r0 != 0) goto L14
|
|
r4 = r6
|
|
r3 = r2
|
|
goto L26
|
|
L14:
|
|
r3 = r2
|
|
L15:
|
|
byte r4 = (byte) r5
|
|
r1[r3] = r4
|
|
int r3 = r3 + 1
|
|
if (r3 != r6) goto L24
|
|
java.lang.String r5 = new java.lang.String
|
|
r5.<init>(r1, r2)
|
|
r8[r2] = r5
|
|
return
|
|
L24:
|
|
r4 = r0[r7]
|
|
L26:
|
|
int r4 = -r4
|
|
int r5 = r5 + r4
|
|
int r7 = r7 + 1
|
|
goto L15
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.NTBActivity.aK(int, short, int, java.lang.Object[]):void");
|
|
}
|
|
|
|
private static void aI(char[] cArr, int i, Object[] objArr) {
|
|
int i2 = 2 % 2;
|
|
C4593bdB c4593bdB = new C4593bdB();
|
|
c4593bdB.a = i;
|
|
int length = cArr.length;
|
|
long[] jArr = new long[length];
|
|
c4593bdB.e = 0;
|
|
while (c4593bdB.e < cArr.length) {
|
|
int i3 = $10 + 111;
|
|
$11 = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
int i5 = c4593bdB.e;
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
|
|
Object obj = xzZ.y.get(-1229953068);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 402, 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) (21607 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))));
|
|
byte b2 = (byte) 0;
|
|
Object[] objArr3 = new Object[1];
|
|
aK((byte) ($$F + 2), b2, b2, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
|
|
xzZ.y.put(-1229953068, obj);
|
|
}
|
|
jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (m ^ (-6958928035870403642L));
|
|
Object[] objArr4 = {c4593bdB, c4593bdB};
|
|
Object obj2 = xzZ.y.get(-1143917229);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(238 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
|
|
byte b3 = (byte) 0;
|
|
Object[] objArr5 = new Object[1];
|
|
aK((byte) ($$F + 1), b3, b3, objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
|
|
xzZ.y.put(-1143917229, obj2);
|
|
}
|
|
((Method) obj2).invoke(null, objArr4);
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
char[] cArr2 = new char[length];
|
|
c4593bdB.e = 0;
|
|
while (c4593bdB.e < cArr.length) {
|
|
int i6 = $11 + 85;
|
|
$10 = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
|
|
Object[] objArr6 = {c4593bdB, c4593bdB};
|
|
Object obj3 = xzZ.y.get(-1143917229);
|
|
if (obj3 == null) {
|
|
Class cls3 = (Class) xzZ.c(Process.getGidForName("") + 239, 5 - ExpandableListView.getPackedPositionType(0L), (char) (Process.myPid() >> 22));
|
|
byte b4 = (byte) 0;
|
|
Object[] objArr7 = new Object[1];
|
|
aK((byte) ($$F + 1), b4, b4, objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(-1143917229, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
}
|
|
String str = new String(cArr2);
|
|
int i8 = $10 + 65;
|
|
$11 = i8 % 128;
|
|
int i9 = i8 % 2;
|
|
objArr[0] = str;
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:10:0x00b7, code lost:
|
|
|
|
if (r3 > 99999) goto L10;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:6:0x00b4, code lost:
|
|
|
|
if (r3 > 99999) goto L10;
|
|
*/
|
|
@Override // o.AbstractActivityC11364edu, com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, 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 r19) {
|
|
/*
|
|
Method dump skipped, instructions count: 1206
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.NTBActivity.onCreate(android.os.Bundle):void");
|
|
}
|
|
|
|
protected EkycFragment g() {
|
|
int i = 2 % 2;
|
|
EkycFragment ekycFragment = new EkycFragment();
|
|
int i2 = r + 125;
|
|
p = i2 % 128;
|
|
if (i2 % 2 == 0) {
|
|
int i3 = 73 / 0;
|
|
}
|
|
return ekycFragment;
|
|
}
|
|
|
|
private static void aG(char[] cArr, int i, Object[] objArr) {
|
|
int i2 = 2 % 2;
|
|
jTb jtb = new jTb();
|
|
char[] cArr2 = new char[cArr.length];
|
|
jtb.b = 0;
|
|
char[] cArr3 = new char[2];
|
|
int i3 = $11 + 39;
|
|
$10 = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
while (jtb.b < cArr.length) {
|
|
cArr3[0] = cArr[jtb.b];
|
|
cArr3[1] = cArr[jtb.b + 1];
|
|
int i5 = 58224;
|
|
int i6 = 0;
|
|
while (i6 < 16) {
|
|
char c = cArr3[1];
|
|
char c2 = cArr3[0];
|
|
int i7 = i6;
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i5) ^ ((c2 << 4) + ((char) (k ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(l)};
|
|
Object obj = xzZ.y.get(597144044);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(412 - (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)), Process.getGidForName("") + 6, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)));
|
|
byte b2 = (byte) 0;
|
|
Object[] objArr3 = new Object[1];
|
|
aK((byte) ($$E[2] + 1), b2, b2, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(597144044, obj);
|
|
}
|
|
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
cArr3[1] = charValue;
|
|
Object[] objArr4 = {Integer.valueOf(cArr3[0]), Integer.valueOf((charValue + i5) ^ ((charValue << 4) + ((char) (b ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(f7647o)};
|
|
Object obj2 = xzZ.y.get(597144044);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 412, (-16777211) - Color.rgb(0, 0, 0), (char) (ViewConfiguration.getWindowTouchSlop() >> 8));
|
|
byte b3 = (byte) 0;
|
|
Object[] objArr5 = new Object[1];
|
|
aK((byte) ($$E[2] + 1), b3, b3, objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(597144044, obj2);
|
|
}
|
|
cArr3[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
|
|
i5 -= 40503;
|
|
i6 = i7 + 1;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
cArr2[jtb.b] = cArr3[0];
|
|
cArr2[jtb.b + 1] = cArr3[1];
|
|
Object[] objArr6 = {jtb, jtb};
|
|
Object obj3 = xzZ.y.get(943004485);
|
|
if (obj3 == null) {
|
|
Class cls3 = (Class) xzZ.c(98 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (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.getTapTimeout() >> 16));
|
|
byte b4 = (byte) 0;
|
|
Object[] objArr7 = new Object[1];
|
|
aK($$E[2], b4, b4, objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(943004485, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
}
|
|
String str = new String(cArr2, 0, i);
|
|
int i8 = $11 + 59;
|
|
$10 = i8 % 128;
|
|
if (i8 % 2 != 0) {
|
|
throw null;
|
|
}
|
|
objArr[0] = str;
|
|
}
|
|
|
|
@Override // com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity
|
|
protected final void b(SV sv) {
|
|
int i = 2 % 2;
|
|
EkycFragment g = g();
|
|
Bundle bundle = new Bundle();
|
|
bundle.putString(BeIDParams.BEID_TRANSACTION_ID, sv.p);
|
|
g.setArguments(bundle);
|
|
b(g);
|
|
n();
|
|
int i2 = p + 83;
|
|
r = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
protected void n() {
|
|
int i = 2 % 2;
|
|
int i2 = p + 39;
|
|
r = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
this.progressStateBar.setCurrentState(0);
|
|
int i4 = p + 43;
|
|
r = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
public void o() {
|
|
int i = 2 % 2;
|
|
int i2 = r + 53;
|
|
p = i2 % 128;
|
|
if (i2 % 2 == 0) {
|
|
p(getString(R.string.ntb_ekyc_title));
|
|
n();
|
|
this.progressStateBar.requestLayout();
|
|
int i3 = 13 / 0;
|
|
return;
|
|
}
|
|
p(getString(R.string.ntb_ekyc_title));
|
|
n();
|
|
this.progressStateBar.requestLayout();
|
|
}
|
|
|
|
public void k() {
|
|
int i = 2 % 2;
|
|
FatcaLandingQuestionFragment fatcaLandingQuestionFragment = new FatcaLandingQuestionFragment();
|
|
Bundle bundle = new Bundle();
|
|
bundle.putInt("BUNDLE_FATCA_TYPE", 0);
|
|
fatcaLandingQuestionFragment.setArguments(bundle);
|
|
b(fatcaLandingQuestionFragment);
|
|
int i2 = r + 21;
|
|
p = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
return;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
@Override // o.InterfaceC8954dab.jbe
|
|
public final void a(String str, SV sv) {
|
|
int i = 2 % 2;
|
|
int i2 = r + 119;
|
|
int i3 = i2 % 128;
|
|
p = i3;
|
|
int i4 = i2 % 2;
|
|
if (str != null) {
|
|
int i5 = i3 + 103;
|
|
r = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
Object[] objArr = new Object[1];
|
|
aG(new char[]{16052, 41487}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), objArr);
|
|
if (!((String) objArr[0]).intern().equals(str)) {
|
|
int i7 = p + 39;
|
|
r = i7 % 128;
|
|
if (i7 % 2 == 0) {
|
|
if (!"RP_INITIAL".equals(str)) {
|
|
d(str);
|
|
return;
|
|
}
|
|
} else {
|
|
"RP_INITIAL".equals(str);
|
|
throw null;
|
|
}
|
|
}
|
|
}
|
|
b(sv);
|
|
}
|
|
|
|
private static void aJ(int[] iArr, int i, Object[] objArr) {
|
|
int[] iArr2;
|
|
int i2 = 2 % 2;
|
|
C4403bZM c4403bZM = new C4403bZM();
|
|
char[] cArr = new char[4];
|
|
char[] cArr2 = new char[iArr.length * 2];
|
|
int[] iArr3 = s;
|
|
char c = '0';
|
|
int i3 = 729798706;
|
|
int i4 = 1;
|
|
char c2 = 0;
|
|
if (iArr3 != null) {
|
|
int length = iArr3.length;
|
|
int[] iArr4 = new int[length];
|
|
int i5 = 0;
|
|
while (i5 < length) {
|
|
try {
|
|
Object[] objArr2 = new Object[1];
|
|
objArr2[c2] = Integer.valueOf(iArr3[i5]);
|
|
Object obj = xzZ.y.get(729798706);
|
|
if (obj == null) {
|
|
obj = ((Class) xzZ.c(15 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), AndroidCharacter.getMirror(c) - '+', (char) (TextUtils.indexOf("", c) + 58135))).getMethod("i", Integer.TYPE);
|
|
xzZ.y.put(729798706, obj);
|
|
}
|
|
iArr4[i5] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
|
|
i5++;
|
|
c = '0';
|
|
c2 = 0;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
iArr3 = iArr4;
|
|
}
|
|
int length2 = iArr3.length;
|
|
int[] iArr5 = new int[length2];
|
|
int[] iArr6 = s;
|
|
if (iArr6 != null) {
|
|
int length3 = iArr6.length;
|
|
int[] iArr7 = new int[length3];
|
|
int i6 = 0;
|
|
while (i6 < length3) {
|
|
Object[] objArr3 = new Object[i4];
|
|
objArr3[0] = Integer.valueOf(iArr6[i6]);
|
|
Object obj2 = xzZ.y.get(Integer.valueOf(i3));
|
|
if (obj2 != null) {
|
|
iArr2 = iArr6;
|
|
} else {
|
|
iArr2 = iArr6;
|
|
obj2 = ((Class) xzZ.c((Process.myPid() >> 22) + 15, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (58133 - ImageFormat.getBitsPerPixel(0)))).getMethod("i", Integer.TYPE);
|
|
i3 = 729798706;
|
|
xzZ.y.put(729798706, obj2);
|
|
}
|
|
iArr7[i6] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
|
|
i6++;
|
|
iArr6 = iArr2;
|
|
i4 = 1;
|
|
}
|
|
iArr6 = iArr7;
|
|
}
|
|
System.arraycopy(iArr6, 0, iArr5, 0, length2);
|
|
c4403bZM.b = 0;
|
|
while (c4403bZM.b < iArr.length) {
|
|
int i7 = $11 + 33;
|
|
$10 = i7 % 128;
|
|
int i8 = i7 % 2;
|
|
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
|
|
cArr[1] = (char) iArr[c4403bZM.b];
|
|
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
|
|
cArr[3] = (char) iArr[c4403bZM.b + 1];
|
|
c4403bZM.e = (cArr[0] << 16) + cArr[1];
|
|
c4403bZM.a = (cArr[2] << 16) + cArr[3];
|
|
C4403bZM.d(iArr5);
|
|
int i9 = 0;
|
|
for (int i10 = 16; i9 < i10; i10 = 16) {
|
|
int i11 = $10 + 103;
|
|
$11 = i11 % 128;
|
|
int i12 = i11 % 2;
|
|
c4403bZM.e ^= iArr5[i9];
|
|
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
|
|
Object obj3 = xzZ.y.get(-1196964548);
|
|
if (obj3 == null) {
|
|
Class cls = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 119, 5 - ExpandableListView.getPackedPositionType(0L), (char) Drawable.resolveOpacity(0, 0));
|
|
byte b2 = (byte) 0;
|
|
byte b3 = b2;
|
|
Object[] objArr5 = new Object[1];
|
|
aK(b2, b3, b3, objArr5);
|
|
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
|
|
xzZ.y.put(-1196964548, obj3);
|
|
}
|
|
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
|
|
c4403bZM.e = c4403bZM.a;
|
|
c4403bZM.a = intValue;
|
|
i9++;
|
|
}
|
|
int i13 = c4403bZM.e;
|
|
c4403bZM.e = c4403bZM.a;
|
|
c4403bZM.a = i13;
|
|
c4403bZM.a ^= iArr5[16];
|
|
c4403bZM.e ^= iArr5[17];
|
|
int i14 = c4403bZM.e;
|
|
int i15 = c4403bZM.a;
|
|
cArr[0] = (char) (c4403bZM.e >>> 16);
|
|
cArr[1] = (char) c4403bZM.e;
|
|
cArr[2] = (char) (c4403bZM.a >>> 16);
|
|
cArr[3] = (char) c4403bZM.a;
|
|
C4403bZM.d(iArr5);
|
|
cArr2[c4403bZM.b * 2] = cArr[0];
|
|
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
|
|
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
|
|
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
|
|
Object[] objArr6 = {c4403bZM, c4403bZM};
|
|
Object obj4 = xzZ.y.get(1914371176);
|
|
if (obj4 == null) {
|
|
Class cls2 = (Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 97, 4 - MotionEvent.axisFromString(""), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)));
|
|
byte b4 = (byte) 2;
|
|
byte b5 = (byte) (b4 - 2);
|
|
Object[] objArr7 = new Object[1];
|
|
aK(b4, b5, b5, objArr7);
|
|
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(1914371176, obj4);
|
|
}
|
|
((Method) obj4).invoke(null, objArr6);
|
|
}
|
|
objArr[0] = new String(cArr2, 0, i);
|
|
}
|
|
|
|
@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 = r + 103;
|
|
p = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
this.ntbPresenter.w_();
|
|
super.onDestroy();
|
|
int i3 = r + 69;
|
|
p = i3 % 128;
|
|
if (i3 % 2 == 0) {
|
|
int i4 = 88 / 0;
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
this.ntbPresenter.w_();
|
|
super.onDestroy();
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
@Override // com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, 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 = p + 25;
|
|
r = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
super.onActivityResult(i, i2, intent);
|
|
if (i == FaceProcessor.FACE_CAPTURE.intValue() || i == 1) {
|
|
Fragment findFragmentById = getSupportFragmentManager().findFragmentById(R.id.container);
|
|
if (findFragmentById instanceof EkycFragment) {
|
|
int i6 = r + 125;
|
|
p = i6 % 128;
|
|
Object obj = null;
|
|
if (i6 % 2 == 0) {
|
|
throw null;
|
|
}
|
|
EkycFragment ekycFragment = (EkycFragment) findFragmentById;
|
|
if (i2 == -1) {
|
|
if (i == FaceProcessor.FACE_CAPTURE.intValue()) {
|
|
try {
|
|
FaceProcessor.FaceProcessorResult parse = FaceProcessor.FaceProcessorResult.parse(intent);
|
|
if (parse.getResponseStatus().equals("error")) {
|
|
parse.getErrorCode();
|
|
parse.getErrorText();
|
|
ekycFragment.ekycPresenter.d(parse.getErrorCode());
|
|
return;
|
|
} else {
|
|
C6811ccU c6811ccU = ekycFragment.ekycPresenter;
|
|
c6811ccU.e = C6811ccU.LWm.FINISHED_FLOW_STATE;
|
|
C6870cda c6870cda = new C6870cda(c6811ccU);
|
|
if (c6811ccU.f != 0) {
|
|
c6870cda.e(c6811ccU.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
} catch (Exception unused) {
|
|
ekycFragment.ekycPresenter.d("");
|
|
return;
|
|
}
|
|
}
|
|
if (i == 1) {
|
|
int intExtra = intent.getIntExtra(PassportManager.KEY_PASSPORT_EXIT_CODE, -1);
|
|
PassportDataParcelable passportDataParcelable = (PassportDataParcelable) intent.getParcelableExtra(PassportManager.KEY_PASSPORT_DATA);
|
|
if (intExtra != 0) {
|
|
if (intExtra != 2) {
|
|
if (intExtra == 1) {
|
|
ekycFragment.ekycPresenter.d(passportDataParcelable.errorCode);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
int i7 = r + 113;
|
|
p = i7 % 128;
|
|
if (i7 % 2 != 0) {
|
|
ekycFragment.ekycPresenter.d(passportDataParcelable.errorCode);
|
|
return;
|
|
} else {
|
|
ekycFragment.ekycPresenter.d(passportDataParcelable.errorCode);
|
|
int i8 = 82 / 0;
|
|
return;
|
|
}
|
|
}
|
|
int i9 = r + 105;
|
|
p = i9 % 128;
|
|
if (i9 % 2 == 0) {
|
|
"pass".equals(passportDataParcelable.result);
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
if (!"pass".equals(passportDataParcelable.result)) {
|
|
ekycFragment.ekycPresenter.d(passportDataParcelable.errorCode);
|
|
return;
|
|
}
|
|
C6811ccU c6811ccU2 = ekycFragment.ekycPresenter;
|
|
String str = passportDataParcelable.firstNameEng;
|
|
String str2 = passportDataParcelable.lastNameEng;
|
|
Date date = passportDataParcelable.dateOfBirth;
|
|
c6811ccU2.d = str;
|
|
c6811ccU2.h = str2;
|
|
c6811ccU2.b = date;
|
|
c6811ccU2.e = C6811ccU.LWm.LIVENESS_CHECK_STATE;
|
|
C6870cda c6870cda2 = new C6870cda(c6811ccU2);
|
|
if (c6811ccU2.f != 0) {
|
|
c6870cda2.e(c6811ccU2.f);
|
|
return;
|
|
}
|
|
int i10 = p + 53;
|
|
r = i10 % 128;
|
|
int i11 = i10 % 2;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // o.AbstractActivityC11364edu, com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, 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 = r + 41;
|
|
p = i2 % 128;
|
|
Object obj = null;
|
|
if (i2 % 2 == 0) {
|
|
getBaseContext();
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
Context baseContext = getBaseContext();
|
|
if (baseContext == null) {
|
|
Object[] objArr = new Object[1];
|
|
aJ(new int[]{-1444994471, -174414351, -1934218828, -2112746968, -1141564535, -625999520, 578200728, 784461108, 945169140, -605566845, -328160546, -455515671, -1587750578, 1519574273}, 26 - Color.blue(0), objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
aI(new char[]{475, 14080, 27728, 42413, 56041, 5079, 18690, 32354, 47008, 60669, 9686, 23326, 36935, 51632, 65274, 14290, 27911, 41547}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_market_conduct_link_label).substring(0, 13).codePointAt(9) + 13918, objArr2);
|
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
|
int i3 = p + 45;
|
|
r = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
}
|
|
if (baseContext != null) {
|
|
baseContext = baseContext.getApplicationContext();
|
|
}
|
|
if (baseContext != null) {
|
|
int i5 = p + 121;
|
|
r = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
try {
|
|
Object obj2 = xzZ.y.get(125943855);
|
|
if (obj2 == null) {
|
|
obj2 = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 492, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))))).getMethod("a", null);
|
|
xzZ.y.put(125943855, obj2);
|
|
}
|
|
Object invoke = ((Method) obj2).invoke(null, null);
|
|
Object[] objArr3 = {baseContext};
|
|
Object obj3 = xzZ.y.get(1378719468);
|
|
if (obj3 == null) {
|
|
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
|
|
xzZ.y.put(1378719468, obj3);
|
|
}
|
|
((Method) obj3).invoke(invoke, objArr3);
|
|
int i7 = r + 7;
|
|
p = i7 % 128;
|
|
int i8 = i7 % 2;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
super.onResume();
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:28:0x0020, code lost:
|
|
|
|
r7 = (java.lang.Object[]) null;
|
|
r7 = new java.lang.Object[1];
|
|
aJ(new int[]{-1444994471, -174414351, -1934218828, -2112746968, -1141564535, -625999520, 578200728, 784461108, 945169140, -605566845, -328160546, -455515671, -1587750578, 1519574273}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, r7);
|
|
r1 = java.lang.Class.forName((java.lang.String) r7[0]);
|
|
r7 = new java.lang.Object[1];
|
|
aI(new char[]{475, 14080, 27728, 42413, 56041, 5079, 18690, 32354, 47008, 60669, 9686, 23326, 36935, 51632, 65274, 14290, 27911, 41547}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) + 13918, r7);
|
|
r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
|
|
r5 = com.scb.phone.view.activity.ntb.NTBActivity.p + 33;
|
|
com.scb.phone.view.activity.ntb.NTBActivity.r = r5 % 128;
|
|
r5 = r5 % 2;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:30:0x001e, code lost:
|
|
|
|
if (r1 == null) goto L9;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x0017, code lost:
|
|
|
|
if (r1 == null) goto L9;
|
|
*/
|
|
@Override // o.AbstractActivityC11364edu, com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, 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 onPause() {
|
|
/*
|
|
Method dump skipped, instructions count: 390
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.NTBActivity.onPause():void");
|
|
}
|
|
|
|
@Override // o.AbstractActivityC11364edu, com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, 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) {
|
|
Context context2;
|
|
int i = 2 % 2;
|
|
super.attachBaseContext(context);
|
|
Object[] objArr = new Object[1];
|
|
aI(new char[]{473, 60243, 54486, 48709, 43971, 38216, 32450, 26677, 22015, 16230, 10404, 4703, 65526, 59670, 53917, 48150, 43419, 37662}, 60037 - (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)), objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
aI(new char[]{469, 48566, 30979, 13492, 61440}, TextUtils.indexOf((CharSequence) "", '0') + 48248, 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 i2 = p + 89;
|
|
r = i2 % 128;
|
|
int i3 = i2 % 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.keyCodeFromString(""), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))))).getMethod("a", null);
|
|
xzZ.y.put(125943855, obj);
|
|
}
|
|
Object invoke = ((Method) obj).invoke(null, null);
|
|
Object[] objArr3 = new Object[1];
|
|
aJ(new int[]{-1096607726, 435359789, -1893161312, 455192072, 1921231688, -181036779, -53529658, -2032688562, -1518775157, -2090986685, 344443140, -1426911707, 2076607993, -1635055994, 278760502, 59598276, 178270184, -336326189, 1719583045, 1579170619, -507339855, -1557049337, 128363100, -2004933215}, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 48, objArr3);
|
|
String str = (String) objArr3[0];
|
|
Object[] objArr4 = new Object[1];
|
|
aJ(new int[]{1532358442, -1015826081, 144298745, 1152730106, -628235350, 981111780, -1530212612, -431160632, 1652480035, 1015649562, -185992405, 1928407465, -1385493362, -1483600538, 295486395, 630510456, -1417230327, -1457674640, 1648289425, 519756782, 452519837, 162094066, -79208781, 1370699557, 1455312859, 727570018, -1815115531, -448449900, 1234983161, -364296893, 766484042, 39166392}, 64 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr4);
|
|
String str2 = (String) objArr4[0];
|
|
Object[] objArr5 = new Object[1];
|
|
aJ(new int[]{-627535145, 1519874802, 1927168048, 137109018, 229529716, -1490684856, -99278518, -1743596594, 1984750589, 698416130, 2024832252, -1179817361, 225381832, 2144067470, -2071414537, -225275558, -1967992522, -1919643630, 873694273, -2071131094, 1932291135, -614948573, 1464712016, -1734490550, 1542199914, -2051269696, -1017105157, -1581338596, 53601695, 364424742, 1089163332, -1436243123}, TextUtils.indexOf("", "", 0) + 64, objArr5);
|
|
String str3 = (String) objArr5[0];
|
|
Object[] objArr6 = new Object[1];
|
|
aI(new char[]{464, 27623, 54682, 16201, 43367, 4949, 31893, 59066, 20627, 47698, 9335, 36364, 64479, 26104, 53135, 14672, 41837, 3345, 30429, 57568, 19077, 46163, 7784, 34820, 62942, 24544, 51656, 13125, 40292, 1813, 28887, 56044, 17580, 44624, 6255, 33322, 61376, 22945, 50109, 11584, 38753, 297, 27346, 54514, 16045, 43074, 4707, 31791, 59853, 21421, 48573, 10054, 37225, 64368, 25803, 52981, 14521, 41476, 3183, 30271, 58315, 19938, 47009, 8537, 35671, 62757, 24220, 51414, 12977, 40025, 1567, 28731, 56788, 18312}, 27179 - (ViewConfiguration.getTapTimeout() >> 16), objArr6);
|
|
String str4 = (String) objArr6[0];
|
|
Object[] objArr7 = new Object[1];
|
|
aJ(new int[]{-789394170, -565926690, 2111378914, 968532679}, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr7);
|
|
String str5 = (String) objArr7[0];
|
|
Object[] objArr8 = new Object[1];
|
|
aI(new char[]{477, 1860, 3248, 4699, 7080, 8336, 9762, 12227, 13693, 14859, 17322, 18786, 20102, 21612, 23834, 25273, 26713, 29156, 30367, 31870, 34206, 35644, 37029, 39310, 40754, 42126, 43640, 45910, 47267, 48660, 51133, 52366, 53804, 56240, 57683, 59050}, View.MeasureSpec.getSize(0) + 1693, 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(View.getDefaultSize(0, 0) + 487, 5 - Color.blue(0), (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 i4 = r + 61;
|
|
p = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
static void L() {
|
|
m = 8685235658273133182L;
|
|
s = new int[]{1752680649, 2089617880, 1785132168, -1293524934, 1205649021, -320754112, 1818809197, 195767952, 391482344, 1554380400, -1924436792, 2119706252, 1098170072, -1342767622, 768235505, -301525870, 987905783, -668479065};
|
|
}
|
|
|
|
static {
|
|
p = 1;
|
|
L();
|
|
b = (char) 6187;
|
|
f7647o = (char) 31705;
|
|
k = (char) 10284;
|
|
l = (char) 56405;
|
|
int i = r + 77;
|
|
p = i % 128;
|
|
int i2 = i % 2;
|
|
}
|
|
|
|
@Override // o.AbstractActivityC11364edu, com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, 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 = r + 35;
|
|
p = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
super.onStart();
|
|
if (i3 != 0) {
|
|
return;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
@Override // o.InterfaceC8954dab.jbe
|
|
public String e() {
|
|
int i = 2 % 2;
|
|
int i2 = r + 93;
|
|
int i3 = i2 % 128;
|
|
p = i3;
|
|
int i4 = i2 % 2;
|
|
int i5 = i3 + 105;
|
|
r = i5 % 128;
|
|
if (i5 % 2 != 0) {
|
|
int i6 = 5 / 0;
|
|
}
|
|
return "ekyc";
|
|
}
|
|
}
|