548 lines
26 KiB
Java
548 lines
26 KiB
Java
|
package com.kofax.mobile.sdk.capture.check;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.graphics.Color;
|
||
|
import android.graphics.ImageFormat;
|
||
|
import android.media.AudioTrack;
|
||
|
import android.os.Process;
|
||
|
import android.os.SystemClock;
|
||
|
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.google.common.base.Ascii;
|
||
|
import com.kofax.kmc.ken.engines.data.CheckSide;
|
||
|
import com.kofax.kmc.ken.engines.data.Image;
|
||
|
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
|
||
|
import com.kofax.mobile.sdk.capture.ExtractActivity;
|
||
|
import com.scb.phone.R;
|
||
|
import java.lang.reflect.Method;
|
||
|
import net.sf.scuba.smartcards.ISO7816;
|
||
|
import o.C4403bZM;
|
||
|
import o.GuL;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
import o.xzZ;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class CheckExtractActivity extends ExtractActivity<CheckExtractorResponse> {
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
CheckExtractor aao;
|
||
|
private CheckParameters aap;
|
||
|
private static final byte[] $$d = {15, Ascii.DC4, ISO7816.INS_MSE, -3};
|
||
|
private static final int $$e = 7;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int b = 0;
|
||
|
private static int d = 1;
|
||
|
private static long c = -500929499729416293L;
|
||
|
private static int[] a = {1992154932, 1784816998, 488618746, 1182816371, -589111419, 2006647366, 78829946, 1937381827, 835137239, -1356132584, -1964955766, 120168775, 852375227, -419366618, 205317566, 1161501142, 1721887477, -1521878364};
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002d). 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 o(byte r6, int r7, int r8, java.lang.Object[] r9) {
|
||
|
/*
|
||
|
int r6 = r6 * 2
|
||
|
int r0 = 1 - r6
|
||
|
int r7 = r7 * 3
|
||
|
int r7 = 4 - r7
|
||
|
byte[] r1 = com.kofax.mobile.sdk.capture.check.CheckExtractActivity.$$d
|
||
|
int r8 = r8 + 102
|
||
|
byte[] r0 = new byte[r0]
|
||
|
r2 = 0
|
||
|
int r6 = 0 - r6
|
||
|
if (r1 != 0) goto L17
|
||
|
r3 = r6
|
||
|
r8 = r7
|
||
|
r4 = r2
|
||
|
goto L2d
|
||
|
L17:
|
||
|
r3 = r2
|
||
|
L18:
|
||
|
byte r4 = (byte) r8
|
||
|
r0[r3] = r4
|
||
|
int r4 = r3 + 1
|
||
|
if (r3 != r6) goto L27
|
||
|
java.lang.String r6 = new java.lang.String
|
||
|
r6.<init>(r0, r2)
|
||
|
r9[r2] = r6
|
||
|
return
|
||
|
L27:
|
||
|
r3 = r1[r7]
|
||
|
r5 = r8
|
||
|
r8 = r7
|
||
|
r7 = r3
|
||
|
r3 = r5
|
||
|
L2d:
|
||
|
int r7 = -r7
|
||
|
int r7 = r7 + r3
|
||
|
int r8 = r8 + 1
|
||
|
r3 = r4
|
||
|
r5 = r8
|
||
|
r8 = r7
|
||
|
r7 = r5
|
||
|
goto L18
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.check.CheckExtractActivity.o(byte, int, int, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
private static void g(char[] cArr, int i, Object[] objArr) {
|
||
|
int i2 = 2 % 2;
|
||
|
GuL guL = new GuL();
|
||
|
char[] a2 = GuL.a(c ^ (-7538262848231253921L), cArr, i);
|
||
|
guL.a = 4;
|
||
|
int i3 = $11 + 49;
|
||
|
$10 = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
while (guL.a < a2.length) {
|
||
|
guL.c = guL.a - 4;
|
||
|
int i5 = guL.a;
|
||
|
try {
|
||
|
Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(c)};
|
||
|
Object obj = xzZ.y.get(428080616);
|
||
|
if (obj == null) {
|
||
|
Class cls = (Class) xzZ.c(207 - ImageFormat.getBitsPerPixel(0), ImageFormat.getBitsPerPixel(0) + 6, (char) (1706 - View.MeasureSpec.getMode(0)));
|
||
|
byte b2 = (byte) 0;
|
||
|
byte b3 = b2;
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
o(b2, b3, (byte) (b3 | 17), objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
|
||
|
xzZ.y.put(428080616, obj);
|
||
|
}
|
||
|
a2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
||
|
try {
|
||
|
Object[] objArr4 = {guL, guL};
|
||
|
Object obj2 = xzZ.y.get(-1875914398);
|
||
|
if (obj2 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(392 - TextUtils.indexOf("", ""), 5 - KeyEvent.keyCodeFromString(""), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1));
|
||
|
byte b4 = (byte) 0;
|
||
|
byte b5 = b4;
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
o(b4, b5, (byte) (b5 | 19), objArr5);
|
||
|
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
|
||
|
xzZ.y.put(-1875914398, obj2);
|
||
|
}
|
||
|
((Method) obj2).invoke(null, objArr4);
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
} catch (Throwable th2) {
|
||
|
Throwable cause2 = th2.getCause();
|
||
|
if (cause2 == null) {
|
||
|
throw th2;
|
||
|
}
|
||
|
throw cause2;
|
||
|
}
|
||
|
}
|
||
|
String str = new String(a2, 4, a2.length - 4);
|
||
|
int i6 = $11 + 7;
|
||
|
$10 = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
objArr[0] = str;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x0069, code lost:
|
||
|
|
||
|
if (r4 > 99999) goto L6;
|
||
|
*/
|
||
|
@Override // com.kofax.mobile.sdk.capture.ExtractActivity, 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 r18) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 1138
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.check.CheckExtractActivity.onCreate(android.os.Bundle):void");
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.ExtractActivity
|
||
|
public void extract(Image image) {
|
||
|
int i = 2 % 2;
|
||
|
CheckParameters checkParameters = this.aap;
|
||
|
if (checkParameters == null || checkParameters.reverseSideCheck == null) {
|
||
|
this.aao.extract(image);
|
||
|
int i2 = d + 43;
|
||
|
b = i2 % 128;
|
||
|
if (i2 % 2 != 0) {
|
||
|
int i3 = 83 / 0;
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
int i4 = d + 79;
|
||
|
b = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
if (!CheckSide.FRONT.equals(this.aap.side)) {
|
||
|
this.aao.extract(getImageByBitmapId(this.aap.reverseSideCheck.processedImageId), image);
|
||
|
return;
|
||
|
}
|
||
|
int i6 = d + 47;
|
||
|
b = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
this.aao.extract(image, getImageByBitmapId(this.aap.reverseSideCheck.processedImageId));
|
||
|
int i8 = b + 73;
|
||
|
d = i8 % 128;
|
||
|
if (i8 % 2 != 0) {
|
||
|
return;
|
||
|
}
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
|
||
|
private static void n(int[] iArr, int i, Object[] objArr) {
|
||
|
int[] iArr2;
|
||
|
int i2 = 2;
|
||
|
int i3 = 2 % 2;
|
||
|
C4403bZM c4403bZM = new C4403bZM();
|
||
|
char[] cArr = new char[4];
|
||
|
char[] cArr2 = new char[iArr.length * 2];
|
||
|
int[] iArr3 = a;
|
||
|
int i4 = 729798706;
|
||
|
int i5 = 1;
|
||
|
int i6 = 0;
|
||
|
if (iArr3 != null) {
|
||
|
int length = iArr3.length;
|
||
|
int[] iArr4 = new int[length];
|
||
|
int i7 = 0;
|
||
|
while (i7 < length) {
|
||
|
int i8 = $11 + 9;
|
||
|
$10 = i8 % 128;
|
||
|
int i9 = i8 % i2;
|
||
|
try {
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
objArr2[i6] = Integer.valueOf(iArr3[i7]);
|
||
|
Object obj = xzZ.y.get(Integer.valueOf(i4));
|
||
|
if (obj == null) {
|
||
|
Class cls = (Class) xzZ.c(15 - Color.blue(i6), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.lastIndexOf("", '0', i6, i6) + 58135));
|
||
|
Class<?>[] clsArr = new Class[1];
|
||
|
clsArr[i6] = Integer.TYPE;
|
||
|
obj = cls.getMethod("i", clsArr);
|
||
|
xzZ.y.put(729798706, obj);
|
||
|
}
|
||
|
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
|
||
|
i7++;
|
||
|
i2 = 2;
|
||
|
i4 = 729798706;
|
||
|
i6 = 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 = a;
|
||
|
if (iArr6 != null) {
|
||
|
int length3 = iArr6.length;
|
||
|
int[] iArr7 = new int[length3];
|
||
|
int i10 = 0;
|
||
|
while (i10 < length3) {
|
||
|
try {
|
||
|
Object[] objArr3 = new Object[i5];
|
||
|
objArr3[0] = Integer.valueOf(iArr6[i10]);
|
||
|
Object obj2 = xzZ.y.get(729798706);
|
||
|
if (obj2 != null) {
|
||
|
iArr2 = iArr6;
|
||
|
} else {
|
||
|
obj2 = ((Class) xzZ.c(14 - ImageFormat.getBitsPerPixel(0), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (58134 - ExpandableListView.getPackedPositionGroup(0L)))).getMethod("i", Integer.TYPE);
|
||
|
iArr2 = iArr6;
|
||
|
xzZ.y.put(729798706, obj2);
|
||
|
}
|
||
|
iArr7[i10] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
|
||
|
i10++;
|
||
|
int i11 = $11 + 43;
|
||
|
$10 = i11 % 128;
|
||
|
int i12 = i11 % 2;
|
||
|
iArr6 = iArr2;
|
||
|
i5 = 1;
|
||
|
} catch (Throwable th2) {
|
||
|
Throwable cause2 = th2.getCause();
|
||
|
if (cause2 == null) {
|
||
|
throw th2;
|
||
|
}
|
||
|
throw cause2;
|
||
|
}
|
||
|
}
|
||
|
iArr6 = iArr7;
|
||
|
}
|
||
|
char c2 = 0;
|
||
|
System.arraycopy(iArr6, 0, iArr5, 0, length2);
|
||
|
c4403bZM.b = 0;
|
||
|
while (c4403bZM.b < iArr.length) {
|
||
|
int i13 = 16;
|
||
|
cArr[c2] = (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 i14 = $11 + 31;
|
||
|
$10 = i14 % 128;
|
||
|
int i15 = 2;
|
||
|
int i16 = i14 % 2;
|
||
|
int i17 = 0;
|
||
|
while (i17 < i13) {
|
||
|
int i18 = $10 + 119;
|
||
|
$11 = i18 % 128;
|
||
|
if (i18 % i15 == 0) {
|
||
|
c4403bZM.e ^= iArr5[i17];
|
||
|
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
|
||
|
Object obj3 = xzZ.y.get(-1196964548);
|
||
|
if (obj3 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(118 - (KeyEvent.getMaxKeyCode() >> i13), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (ViewConfiguration.getPressedStateDuration() >> i13));
|
||
|
byte b2 = (byte) 0;
|
||
|
byte b3 = b2;
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
o(b2, b3, (byte) (b3 + 2), objArr5);
|
||
|
obj3 = cls2.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;
|
||
|
i17 += 34;
|
||
|
} else {
|
||
|
c4403bZM.e ^= iArr5[i17];
|
||
|
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
|
||
|
Object obj4 = xzZ.y.get(-1196964548);
|
||
|
if (obj4 == null) {
|
||
|
Class cls3 = (Class) xzZ.c((Process.myPid() >> 22) + 118, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))));
|
||
|
byte b4 = (byte) 0;
|
||
|
byte b5 = b4;
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
o(b4, b5, (byte) (b5 + 2), objArr7);
|
||
|
obj4 = cls3.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
|
||
|
xzZ.y.put(-1196964548, obj4);
|
||
|
}
|
||
|
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
|
||
|
c4403bZM.e = c4403bZM.a;
|
||
|
c4403bZM.a = intValue2;
|
||
|
i17++;
|
||
|
}
|
||
|
i13 = 16;
|
||
|
i15 = 2;
|
||
|
}
|
||
|
int i19 = c4403bZM.e;
|
||
|
c4403bZM.e = c4403bZM.a;
|
||
|
c4403bZM.a = i19;
|
||
|
c4403bZM.a ^= iArr5[16];
|
||
|
c4403bZM.e ^= iArr5[17];
|
||
|
int i20 = c4403bZM.e;
|
||
|
int i21 = 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[] objArr8 = {c4403bZM, c4403bZM};
|
||
|
Object obj5 = xzZ.y.get(1914371176);
|
||
|
if (obj5 == null) {
|
||
|
Class cls4 = (Class) xzZ.c(TextUtils.getTrimmedLength("") + 98, TextUtils.lastIndexOf("", '0') + 6, (char) ExpandableListView.getPackedPositionGroup(0L));
|
||
|
byte b6 = (byte) 0;
|
||
|
byte b7 = b6;
|
||
|
Object[] objArr9 = new Object[1];
|
||
|
o(b6, b7, b7, objArr9);
|
||
|
obj5 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1914371176, obj5);
|
||
|
}
|
||
|
((Method) obj5).invoke(null, objArr8);
|
||
|
c2 = 0;
|
||
|
}
|
||
|
objArr[0] = new String(cArr2, 0, i);
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.ExtractActivity, android.app.Activity
|
||
|
public void onResume() {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = b + 43;
|
||
|
d = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
Context baseContext = getBaseContext();
|
||
|
if (baseContext == null) {
|
||
|
Object[] objArr = new Object[1];
|
||
|
n(new int[]{2076638904, 896879636, 587929165, 1132439756, -1482933679, 242117915, 350565442, 465780415, -1921224604, -1664493663, -1500782385, -761807319, -1283178764, 127316241}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.preregistration_pin_locked_body).substring(31, 32).length() + 25, objArr);
|
||
|
Class<?> cls = Class.forName((String) objArr[0]);
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
g(new char[]{43101, 17782, 43070, 42770, 19653, 45767, 18664, 44027, 30504, 37836, 27134, 35544, 5645, 61666, 2774, 59840, 13582, 53731, 11230, 51408, 54386, 12572}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr2);
|
||
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
||
|
int i4 = b + 123;
|
||
|
d = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
baseContext = baseContext.getApplicationContext();
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
int i6 = b + 115;
|
||
|
d = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
try {
|
||
|
Object obj = xzZ.y.get(125943855);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(491 - ((byte) KeyEvent.getModifierMetaStateMask()), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
|
||
|
xzZ.y.put(125943855, obj);
|
||
|
}
|
||
|
Object invoke = ((Method) obj).invoke(null, null);
|
||
|
Object[] objArr3 = {baseContext};
|
||
|
Object obj2 = xzZ.y.get(1378719468);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 486, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) Color.argb(0, 0, 0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
|
||
|
xzZ.y.put(1378719468, obj2);
|
||
|
}
|
||
|
((Method) obj2).invoke(invoke, objArr3);
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
super.onResume();
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:31:0x0021, code lost:
|
||
|
|
||
|
r6 = (java.lang.Object[]) null;
|
||
|
r6 = new java.lang.Object[1];
|
||
|
n(new int[]{2076638904, 896879636, 587929165, 1132439756, -1482933679, 242117915, 350565442, 465780415, -1921224604, -1664493663, -1500782385, -761807319, -1283178764, 127316241}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, r6);
|
||
|
r1 = java.lang.Class.forName((java.lang.String) r6[0]);
|
||
|
r7 = new java.lang.Object[1];
|
||
|
g(new char[]{43101, 17782, 43070, 42770, 19653, 45767, 18664, 44027, 30504, 37836, 27134, 35544, 5645, 61666, 2774, 59840, 13582, 53731, 11230, 51408, 54386, 12572}, android.view.View.resolveSizeAndState(0, 0, 0), r7);
|
||
|
r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:33:0x001f, code lost:
|
||
|
|
||
|
if (r1 == null) goto L9;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
|
||
|
|
||
|
if (r1 == null) goto L9;
|
||
|
*/
|
||
|
@Override // com.kofax.mobile.sdk.capture.ExtractActivity, 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: 374
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.check.CheckExtractActivity.onPause():void");
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.ExtractActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
|
||
|
public void attachBaseContext(Context context) {
|
||
|
Context context2;
|
||
|
int i = 2 % 2;
|
||
|
int i2 = b + 59;
|
||
|
d = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
super.attachBaseContext(context);
|
||
|
Object[] objArr = new Object[1];
|
||
|
g(new char[]{6400, 37706, 6497, 57193, 46860, 25824, 12421, 20530, 50815, 17911, 4501, 29054, 42831, 9949, 29423, 4656, 33858, 2001, 21426, 13077, 25907, 59197}, TextUtils.getTrimmedLength(""), objArr);
|
||
|
Class<?> cls = Class.forName((String) objArr[0]);
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
g(new char[]{38685, 21919, 38768, 62314, 15767, 41506, 7351, 55986, 18537}, (-1) - TextUtils.lastIndexOf("", '0', 0, 0), objArr2);
|
||
|
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
|
||
|
if (intValue >= 99000) {
|
||
|
int i4 = d + 31;
|
||
|
b = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
if (intValue <= 99999) {
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
if (context != null) {
|
||
|
int i6 = b + 43;
|
||
|
d = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
context2 = context.getApplicationContext();
|
||
|
int i8 = d + 37;
|
||
|
b = i8 % 128;
|
||
|
int i9 = i8 % 2;
|
||
|
} else {
|
||
|
context2 = context;
|
||
|
}
|
||
|
if (context2 != null) {
|
||
|
try {
|
||
|
Object obj = xzZ.y.get(125943855);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getPressedStateDuration() >> 16), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("a", null);
|
||
|
xzZ.y.put(125943855, obj);
|
||
|
}
|
||
|
Object invoke = ((Method) obj).invoke(null, null);
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
n(new int[]{1703948238, 25907837, -1144300180, -1374684186, 1042199543, 37416518, 1473662616, -1369864195, -1524876594, 901408891, -1723645820, 314231300, 1233658685, -200084246, 998090384, -1095190775, 55511355, -514010595, -1748119513, 782388734, -1532633638, -1645554003, -1152404888, 332894672}, 48 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), objArr3);
|
||
|
String str = (String) objArr3[0];
|
||
|
Object[] objArr4 = new Object[1];
|
||
|
n(new int[]{-930672700, 1275859218, 187689015, -1295851732, 2034687558, -1512322077, 2116885300, 1307808933, -1160814608, 94612706, -1775280668, -541753908, 1222132253, 1876832064, 1064394134, 1681202653, 1210634173, -1535853460, 1068972567, 1144582138, 798048988, 1103085514, -580796793, 1095431142, 1155107798, 1048855297, 2120708628, -1574232667, -344199864, -1556929435, 75814755, 2142589442}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 64, objArr4);
|
||
|
String str2 = (String) objArr4[0];
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
n(new int[]{-233066997, 2092134911, -2121600223, -417456156, 834103756, -1812902720, -1636295636, 140960184, -1676492750, -1344761161, -1099239162, -154972900, -1522627474, -528039596, 216666117, 472432654, 1798607756, -302718981, -1316538834, -110112734, 1101889105, -1302075705, 557496856, -1208992614, -1371362130, -62590331, -1497699023, 1709242244, 59971714, 1807346327, 318450257, -1838690078}, Color.green(0) + 64, objArr5);
|
||
|
String str3 = (String) objArr5[0];
|
||
|
Object[] objArr6 = new Object[1];
|
||
|
n(new int[]{-1868955157, 672871055, -59078609, 211279769, 1337451879, 337996724, 1678587358, 879439298, 978591546, -513015528, -1519593619, 1058483737, 1627720181, 1097001038, -1622249998, -332358305, 1761170783, -1508089447, -1193199162, 1245596978, 375535907, -473562650, -281272335, 2131167706, 1640146229, -1083099221, -2108225490, 826763938, -691202947, -783654347, 410285142, -1236547364, 1464826033, 557765877, 1750290682, 593625323, 576157418, 1757963914}, 74 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), objArr6);
|
||
|
String str4 = (String) objArr6[0];
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
n(new int[]{79088636, 378586096, -1334031320, 1647230085}, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr7);
|
||
|
String str5 = (String) objArr7[0];
|
||
|
Object[] objArr8 = new Object[1];
|
||
|
n(new int[]{117528578, -834601441, -1960018454, 1676306754, 269104769, -1474723009, -1935681562, 1654335630, -1506854805, -804451575, -32014117, -137051624, -1797038, 347533729, 97194273, 806650058, 1042053341, -1114821297}, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 35, 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(487 - (ViewConfiguration.getScrollBarSize() >> 8), 4 - TextUtils.lastIndexOf("", '0'), (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
|
||
|
xzZ.y.put(1656189573, obj2);
|
||
|
}
|
||
|
((Method) obj2).invoke(invoke, objArr9);
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.ExtractActivity, android.app.Activity
|
||
|
public void onStart() {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = d + 1;
|
||
|
b = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
super.onStart();
|
||
|
int i4 = d + 3;
|
||
|
b = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
}
|
||
|
}
|