814 lines
32 KiB
Java
814 lines
32 KiB
Java
package com.kofax.mobile.sdk.capture.id;
|
|
|
|
import android.app.Activity;
|
|
import android.content.Context;
|
|
import android.content.Intent;
|
|
import android.graphics.Bitmap;
|
|
import android.graphics.Color;
|
|
import android.graphics.ImageFormat;
|
|
import android.graphics.drawable.Drawable;
|
|
import android.os.Process;
|
|
import android.os.SystemClock;
|
|
import android.text.AndroidCharacter;
|
|
import android.text.TextUtils;
|
|
import android.util.TypedValue;
|
|
import android.view.KeyEvent;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import android.widget.ExpandableListView;
|
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
|
import com.kofax.kmc.ken.engines.data.BarCodeResult;
|
|
import com.kofax.mobile.sdk._internal.dagger.Injector;
|
|
import com.kofax.mobile.sdk._internal.impl.b;
|
|
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
|
|
import com.kofax.mobile.sdk._internal.k;
|
|
import com.kofax.mobile.sdk.capture.WorkflowActivity;
|
|
import com.kofax.mobile.sdk.capture.id.IdParameters;
|
|
import com.kofax.mobile.sdk.capture.model.CaptureData;
|
|
import com.kofax.mobile.sdk.capture.model.Field;
|
|
import com.kofax.mobile.sdk.capture.model.Id;
|
|
import com.scb.phone.R;
|
|
import java.lang.reflect.Method;
|
|
import o.InterfaceC13391fZD;
|
|
import o.dQY;
|
|
import o.xzZ;
|
|
import o.zUI;
|
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
|
import org.jmrtd.cbeff.ISO781611;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class IdWorkflowActivity extends WorkflowActivity<IdParameters> {
|
|
public static final String ID_BARCODE_RESULTS = "_com.kofax.mobile.sdk.capture._id_barcode_results_";
|
|
public static final String ID_EXCEPTION = "_com.kofax.mobile.sdk.capture._id_exception_";
|
|
public static final String ID_PARAMETERS = "_com.kofax.mobile.sdk.capture._id_parameters_";
|
|
public static final String ID_RESULTS = "_com.kofax.mobile.sdk.capture._id_results_";
|
|
private static final String TAG = "IdWorkflowActivity";
|
|
private static int b;
|
|
private static int c;
|
|
private static char[] d;
|
|
private static long e;
|
|
|
|
@InterfaceC13391fZD
|
|
b acQ;
|
|
private IdParameters acR;
|
|
private static final byte[] $$d = {53, 8, 9, -66};
|
|
private static final int $$e = ISO781611.BIOMETRIC_SUBTYPE_TAG;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int a = 0;
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x002a). Please report as a decompilation issue!!! */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private static void j(short r6, int r7, byte r8, java.lang.Object[] r9) {
|
|
/*
|
|
int r6 = r6 * 2
|
|
int r0 = r6 + 1
|
|
int r7 = 106 - r7
|
|
byte[] r1 = com.kofax.mobile.sdk.capture.id.IdWorkflowActivity.$$d
|
|
int r8 = r8 * 3
|
|
int r8 = 4 - r8
|
|
byte[] r0 = new byte[r0]
|
|
r2 = 0
|
|
if (r1 != 0) goto L14
|
|
r3 = r8
|
|
r4 = r2
|
|
goto L2a
|
|
L14:
|
|
r3 = r2
|
|
L15:
|
|
byte r4 = (byte) r7
|
|
r0[r3] = r4
|
|
if (r3 != r6) goto L22
|
|
java.lang.String r6 = new java.lang.String
|
|
r6.<init>(r0, r2)
|
|
r9[r2] = r6
|
|
return
|
|
L22:
|
|
r4 = r1[r8]
|
|
int r3 = r3 + 1
|
|
r5 = r3
|
|
r3 = r7
|
|
r7 = r4
|
|
r4 = r5
|
|
L2a:
|
|
int r8 = r8 + 1
|
|
int r7 = r7 + r3
|
|
r3 = r4
|
|
goto L15
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.id.IdWorkflowActivity.j(short, int, byte, java.lang.Object[]):void");
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
|
|
public /* bridge */ /* synthetic */ String getDefaultProcessingString(IdParameters idParameters) {
|
|
int i = 2 % 2;
|
|
int i2 = a + 25;
|
|
b = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
String defaultProcessingString2 = getDefaultProcessingString2(idParameters);
|
|
int i4 = a + 83;
|
|
b = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
int i5 = 32 / 0;
|
|
}
|
|
return defaultProcessingString2;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
|
|
public /* synthetic */ IdParameters getParametersInstance() {
|
|
int i = 2 % 2;
|
|
int i2 = b + 71;
|
|
a = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
getParametersInstance();
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
IdParameters parametersInstance = getParametersInstance();
|
|
int i3 = b + 25;
|
|
a = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
return parametersInstance;
|
|
}
|
|
|
|
private static void f(int i, int i2, char c2, Object[] objArr) {
|
|
int i3 = 2 % 2;
|
|
dQY dqy = new dQY();
|
|
long[] jArr = new long[i2];
|
|
dqy.a = 0;
|
|
while (dqy.a < i2) {
|
|
int i4 = $10 + 43;
|
|
$11 = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
int i6 = dqy.a;
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(d[i + dqy.a])};
|
|
Object obj = xzZ.y.get(1095064095);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(308 - (ViewConfiguration.getJumpTapTimeout() >> 16), ImageFormat.getBitsPerPixel(0) + 6, (char) (TextUtils.getCapsMode("", 0, 0) + 32797));
|
|
byte b2 = (byte) 0;
|
|
Object[] objArr3 = new Object[1];
|
|
j(b2, $$d[1], b2, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
|
xzZ.y.put(1095064095, obj);
|
|
}
|
|
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(e), Integer.valueOf(c2)};
|
|
Object obj2 = xzZ.y.get(-548438098);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 411, KeyEvent.normalizeMetaState(0) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)));
|
|
byte b3 = (byte) 0;
|
|
Object[] objArr5 = new Object[1];
|
|
j(b3, (byte) (b3 | 7), b3, objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
|
|
xzZ.y.put(-548438098, obj2);
|
|
}
|
|
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
|
|
Object[] objArr6 = {dqy, dqy};
|
|
Object obj3 = xzZ.y.get(1071125919);
|
|
if (obj3 == null) {
|
|
Class cls3 = (Class) xzZ.c(407 - (Process.myPid() >> 22), (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) (29234 - TextUtils.getOffsetBefore("", 0)));
|
|
byte b4 = (byte) 0;
|
|
byte b5 = b4;
|
|
Object[] objArr7 = new Object[1];
|
|
j(b4, b5, b5, objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(1071125919, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
int i7 = $11 + 121;
|
|
$10 = i7 % 128;
|
|
int i8 = i7 % 2;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
char[] cArr = new char[i2];
|
|
dqy.a = 0;
|
|
while (dqy.a < i2) {
|
|
cArr[dqy.a] = (char) jArr[dqy.a];
|
|
Object[] objArr8 = {dqy, dqy};
|
|
Object obj4 = xzZ.y.get(1071125919);
|
|
if (obj4 == null) {
|
|
Class cls4 = (Class) xzZ.c(406 - TextUtils.lastIndexOf("", '0'), 5 - Color.argb(0, 0, 0, 0), (char) (ExpandableListView.getPackedPositionType(0L) + 29234));
|
|
byte b6 = (byte) 0;
|
|
byte b7 = b6;
|
|
Object[] objArr9 = new Object[1];
|
|
j(b6, b7, b7, objArr9);
|
|
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
|
|
xzZ.y.put(1071125919, obj4);
|
|
}
|
|
((Method) obj4).invoke(null, objArr8);
|
|
int i9 = $10 + 43;
|
|
$11 = i9 % 128;
|
|
int i10 = i9 % 2;
|
|
}
|
|
objArr[0] = new String(cArr);
|
|
}
|
|
|
|
private static void h(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
|
|
Object method;
|
|
int i4 = 2 % 2;
|
|
zUI zui = new zUI();
|
|
char[] cArr2 = new char[i];
|
|
zui.d = 0;
|
|
while (zui.d < i) {
|
|
zui.c = cArr[zui.d];
|
|
cArr2[zui.d] = (char) (i2 + zui.c);
|
|
int i5 = zui.d;
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(c)};
|
|
Object obj = xzZ.y.get(880493502);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 6, (char) (KeyEvent.getMaxKeyCode() >> 16));
|
|
byte b2 = (byte) 0;
|
|
Object[] objArr3 = new Object[1];
|
|
j(b2, (byte) (b2 | 37), b2, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(880493502, obj);
|
|
}
|
|
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
Object[] objArr4 = {zui, zui};
|
|
Object obj2 = xzZ.y.get(1294990079);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 342, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) ((-1) - ImageFormat.getBitsPerPixel(0)));
|
|
byte b3 = (byte) 0;
|
|
Object[] objArr5 = new Object[1];
|
|
j(b3, (byte) (b3 | 30), b3, objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
|
|
xzZ.y.put(1294990079, obj2);
|
|
}
|
|
((Method) obj2).invoke(null, objArr4);
|
|
int i6 = $10 + 19;
|
|
$11 = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
if (i3 > 0) {
|
|
zui.a = i3;
|
|
char[] cArr3 = new char[i];
|
|
System.arraycopy(cArr2, 0, cArr3, 0, i);
|
|
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
|
|
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
|
|
}
|
|
if (z) {
|
|
char[] cArr4 = new char[i];
|
|
zui.d = 0;
|
|
int i8 = $10 + 79;
|
|
$11 = i8 % 128;
|
|
int i9 = i8 % 2;
|
|
while (zui.d < i) {
|
|
int i10 = $11 + 109;
|
|
$10 = i10 % 128;
|
|
int i11 = i10 % 2;
|
|
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
|
|
Object[] objArr6 = {zui, zui};
|
|
Object obj3 = xzZ.y.get(1294990079);
|
|
if (obj3 != null) {
|
|
method = obj3;
|
|
} else {
|
|
Class cls3 = (Class) xzZ.c(342 - ExpandableListView.getPackedPositionType(0L), 5 - KeyEvent.getDeadChar(0, 0), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1));
|
|
byte b4 = (byte) 0;
|
|
Object[] objArr7 = new Object[1];
|
|
j(b4, (byte) (b4 | 30), b4, objArr7);
|
|
method = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(1294990079, method);
|
|
}
|
|
((Method) method).invoke(null, objArr6);
|
|
}
|
|
cArr2 = cArr4;
|
|
}
|
|
objArr[0] = new String(cArr2);
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:11:0x00ef, code lost:
|
|
|
|
if (r3 > 99999) goto L11;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:6:0x00e9, code lost:
|
|
|
|
if (r3 > 99999) goto L11;
|
|
*/
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity, 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 r26) {
|
|
/*
|
|
Method dump skipped, instructions count: 1482
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.id.IdWorkflowActivity.onCreate(android.os.Bundle):void");
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
|
|
public Class<? extends Activity> getCaptureActivityClass() {
|
|
int i = 2 % 2;
|
|
if (this.acR.side.equals(IdParameters.IdSide.FRONT)) {
|
|
int i2 = a + 111;
|
|
b = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
return IdCaptureActivity.class;
|
|
}
|
|
int i4 = a + 33;
|
|
b = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
return IdCaptureBackActivity.class;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
|
|
public Class<? extends Activity> getExtractActivityClass() {
|
|
int i = 2 % 2;
|
|
int i2 = b;
|
|
int i3 = i2 + 67;
|
|
a = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
int i5 = i2 + 57;
|
|
a = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return IdExtractActivity.class;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
|
|
public CaptureData getDefaultReturnObject() {
|
|
int i = 2 % 2;
|
|
a aVar = new a();
|
|
int i2 = b + 63;
|
|
a = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
return aVar;
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
static class a extends Id {
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getAddress() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getAddress2() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getAddress3() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getAddress4() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getAddress5() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getAddress6() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getCity() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getCountry() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getCountryShort() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getDateOfBirth() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getDocumentVerificationConfidenceRating() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getExpirationDate() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getEyes() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Bitmap getFaceImage() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getFirstName() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getGender() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getHair() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getHeight() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getIdClass() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getIdNumber() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getIssueDate() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getLastName() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getLicense() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getMiddleName() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getNameSuffix() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getNationality() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public String getRawData() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Bitmap getSignatureImage() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getState() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getWeight() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> getZip() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> isBarcodeRead() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.model.Id
|
|
public Field<String> isOcrRead() {
|
|
return null;
|
|
}
|
|
|
|
private a() {
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
|
|
public IdParameters getParametersInstance() {
|
|
int i = 2 % 2;
|
|
int i2 = b + 81;
|
|
a = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
Injector.getInjector(this).getIdParameters();
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
IdParameters idParameters = Injector.getInjector(this).getIdParameters();
|
|
int i3 = a + 117;
|
|
b = i3 % 128;
|
|
if (i3 % 2 == 0) {
|
|
int i4 = 47 / 0;
|
|
}
|
|
return idParameters;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity, android.app.Activity
|
|
public void onActivityResult(int i, int i2, Intent intent) {
|
|
int i3 = 2 % 2;
|
|
if (this.acR.side.equals(IdParameters.IdSide.BACK) && intent != null) {
|
|
int i4 = a + 119;
|
|
b = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
intent.hasExtra(ID_BARCODE_RESULTS);
|
|
throw null;
|
|
}
|
|
if (intent.hasExtra(ID_BARCODE_RESULTS)) {
|
|
int i5 = b + 95;
|
|
a = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
BarCodeResult barCodeResult = (BarCodeResult) intent.getSerializableExtra(ID_BARCODE_RESULTS);
|
|
if (barCodeResult != null) {
|
|
int i7 = a + 107;
|
|
b = i7 % 128;
|
|
try {
|
|
if (i7 % 2 == 0) {
|
|
String value = barCodeResult.getValue();
|
|
this.acR.barcode = this.acQ.decode(value);
|
|
int i8 = 41 / 0;
|
|
} else {
|
|
String value2 = barCodeResult.getValue();
|
|
this.acR.barcode = this.acQ.decode(value2);
|
|
}
|
|
} catch (Exception e2) {
|
|
k.e(TAG, e2);
|
|
this.acR.barcode = "";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
super.onActivityResult(i, i2, intent);
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity, android.app.Activity
|
|
public void onResume() {
|
|
int i = 2 % 2;
|
|
int i2 = b + 67;
|
|
a = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
Context baseContext = getBaseContext();
|
|
if (baseContext == null) {
|
|
int i4 = b + 9;
|
|
a = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
Object[] objArr = new Object[1];
|
|
f((Process.myTid() >> 22) + 23, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_promptpay_verification_enter_code_secondary_text).substring(56, 59).codePointAt(0) - 6, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
f(49 - ExpandableListView.getPackedPositionGroup(0L), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, (char) ((-1) - Process.getGidForName("")), objArr2);
|
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
|
}
|
|
if (baseContext != null) {
|
|
int i6 = b + 73;
|
|
a = i6 % 128;
|
|
if (i6 % 2 != 0) {
|
|
baseContext = baseContext.getApplicationContext();
|
|
int i7 = 28 / 0;
|
|
} else {
|
|
baseContext = baseContext.getApplicationContext();
|
|
}
|
|
}
|
|
if (baseContext != null) {
|
|
try {
|
|
Object obj = xzZ.y.get(125943855);
|
|
if (obj == null) {
|
|
obj = ((Class) xzZ.c(540 - AndroidCharacter.getMirror('0'), 4 - ImageFormat.getBitsPerPixel(0), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).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(ImageFormat.getBitsPerPixel(0) + 488, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).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();
|
|
int i8 = b + 5;
|
|
a = i8 % 128;
|
|
int i9 = i8 % 2;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity, android.app.Activity
|
|
public void onPause() {
|
|
int i = 2 % 2;
|
|
Context baseContext = getBaseContext();
|
|
Object obj = null;
|
|
if (baseContext == null) {
|
|
int i2 = a + 67;
|
|
b = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
Object[] objArr = new Object[1];
|
|
f(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_line).substring(0, 3).length() + 20, View.MeasureSpec.getSize(0) + 26, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
f(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 15, 18 - Color.red(0), (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr2);
|
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
|
}
|
|
if (baseContext != null) {
|
|
int i4 = b + 69;
|
|
a = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
baseContext.getApplicationContext();
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
baseContext = baseContext.getApplicationContext();
|
|
}
|
|
if (baseContext != null) {
|
|
try {
|
|
Object obj2 = xzZ.y.get(125943855);
|
|
if (obj2 == null) {
|
|
obj2 = ((Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 492, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 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(1633456013);
|
|
if (obj3 == null) {
|
|
obj3 = ((Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 487, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).getMethod("c", Context.class);
|
|
xzZ.y.put(1633456013, obj3);
|
|
}
|
|
((Method) obj3).invoke(invoke, objArr3);
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
super.onPause();
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x0080, code lost:
|
|
|
|
if (r1 > 99999) goto L6;
|
|
*/
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public void attachBaseContext(android.content.Context r19) {
|
|
/*
|
|
Method dump skipped, instructions count: 846
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.id.IdWorkflowActivity.attachBaseContext(android.content.Context):void");
|
|
}
|
|
|
|
static void e() {
|
|
d = new char[]{36787, 36082, 35114, 34378, 33413, 40765, 40034, 39134, 38349, 37407, 44784, 43992, 43016, 42315, 41461, 48677, 47937, 46991, 36799, 36069, 35099, 34385, 33422, 36787, 36082, 35114, 34378, 33413, 40765, 40034, 39134, 38339, 37404, 44718, 43942, 43067, 42311, 41442, 48681, 47940, 46997, 46298, 45409, 52638, 51932, 50964, 50101, 49379, 56616, 36785, 36073, 35132, 34378, 33423, 40762, 40050, 39089, 38354, 37404, 44722, 44001, 43033, 42309, 41442, 48681, 47965, 46994, 36787, 36004, 35198, 34315, 33419, 40807, 40035, 39061, 38288, 37461, 44781, 44013, 43032, 42256, 41382, 48760, 47955, 47006, 46280, 45352, 52731, 51844, 51025, 50146, 49377, 56692, 55896, 54925, 54114, 53298, 60623, 59844, 58918, 58046, 65519, 64589, 63775, 62886, 62071, 3841, 3031, 2204, 1323, 507, 7900, 6919, 6112, 5349, 4368, 11865, 10972, 10080, 9276, 8397, 15766, 14966, 14066, 13293, 12312, 19785, 18863, 18044, 17237, 24535, 36843, 36018, 35190, 34326, 33498};
|
|
e = 1134003881199766684L;
|
|
c = 2015661709;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity, android.app.Activity
|
|
public void onStart() {
|
|
int i = 2 % 2;
|
|
int i2 = a + 93;
|
|
b = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
super.onStart();
|
|
int i4 = a + 117;
|
|
b = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
|
|
public boolean isOdeSupported() {
|
|
int i = 2 % 2;
|
|
int i2 = a + 65;
|
|
int i3 = i2 % 128;
|
|
b = i3;
|
|
int i4 = i2 % 2;
|
|
int i5 = i3 + 121;
|
|
a = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return true;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
|
|
public String getResultKey() {
|
|
int i = 2 % 2;
|
|
int i2 = b + 101;
|
|
int i3 = i2 % 128;
|
|
a = i3;
|
|
if (i2 % 2 != 0) {
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
int i4 = i3 + 7;
|
|
b = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
return ID_RESULTS;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
|
|
public String getParametersKey() {
|
|
int i = 2 % 2;
|
|
int i2 = a + 7;
|
|
b = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
return ID_PARAMETERS;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
|
|
public String getExceptionKey() {
|
|
int i = 2 % 2;
|
|
int i2 = a + 75;
|
|
b = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
return ID_EXCEPTION;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
/* renamed from: getDefaultProcessingString, reason: avoid collision after fix types in other method */
|
|
public String getDefaultProcessingString2(IdParameters idParameters) {
|
|
int i = 2 % 2;
|
|
int i2 = a;
|
|
int i3 = i2 + 23;
|
|
b = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
int i5 = i2 + 15;
|
|
b = i5 % 128;
|
|
if (i5 % 2 != 0) {
|
|
return "_DeviceType_2_Do90DegreeRotation_4_DoCropCorrection__DoScaleImageToDPI_500_DoSkewCorrectionPage__DocDimLarge_3.375_DocDimSmall_2.125_LoadSetting_<Property Name=\"CSkewDetect.correct_illumination.Bool\" Value=\"0\" />";
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
static {
|
|
b = 1;
|
|
e();
|
|
int i = a + 93;
|
|
b = i % 128;
|
|
if (i % 2 == 0) {
|
|
throw null;
|
|
}
|
|
}
|
|
}
|