531 lines
27 KiB
Java
531 lines
27 KiB
Java
|
package com.kofax.mobile.sdk.capture.bill;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.graphics.Color;
|
||
|
import android.media.AudioTrack;
|
||
|
import android.os.Process;
|
||
|
import android.os.SystemClock;
|
||
|
import android.text.TextUtils;
|
||
|
import android.util.TypedValue;
|
||
|
import android.view.Gravity;
|
||
|
import android.view.KeyEvent;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import android.widget.ExpandableListView;
|
||
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||
|
import com.kofax.kmc.ken.engines.data.DocumentDetectionSettings;
|
||
|
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
|
||
|
import com.kofax.mobile.sdk._internal.view.IOverlayView;
|
||
|
import com.kofax.mobile.sdk.capture.CaptureActivity;
|
||
|
import com.kofax.mobile.sdk.l.f;
|
||
|
import com.pingan.ai.p;
|
||
|
import java.lang.reflect.Method;
|
||
|
import net.sf.scuba.smartcards.ISO7816;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
import o.Nhs;
|
||
|
import o.TVH;
|
||
|
import o.xzZ;
|
||
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class BillCaptureActivity extends CaptureActivity {
|
||
|
private final DocumentDetectionSettings Zn = new DocumentDetectionSettings();
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
IOverlayView Zo;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
f ne;
|
||
|
private static final byte[] $$d = {ISO7816.INS_CHANGE_CHV, -61, -106, ISO7816.INS_ENVELOPE};
|
||
|
private static final int $$e = 134;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int c = 0;
|
||
|
private static int f = 1;
|
||
|
private static long a = 3851068709932447940L;
|
||
|
private static int b = 452713125;
|
||
|
private static char d = 55973;
|
||
|
private static char[] e = {39993, 40035, 40056, 40044, 40020, 39999, 40039, 40037, 40035, 40039, 40056, 40057, 40032, 40034, 40058, 40017, 40019, 40059, 40037, 40033, 40045, 40041, 40033, 39953, 40007, 40005, 40006, 40007, 39996, 39997, 39992, 40001, 40041, 40040, 40046, 40000, 39999, 39997, 39992, 39994, 40001, 40005, 40005, 40007, 40007, 40007, 40005, 40004, 40006, 40001, 39992, 39998, 39998, 39993, 40001, 40006, 39998, 40001, 40001, 40001, 40002, 39998, 40006, 40042, 40040, 40047, 40000, 40001, 40000, 39998, 39999, 39999, 40037, 40063, 40057, 40058, 40029, 39999, 39972, 40026, 40037, 40046, 40044, 40035, 40034, 40037, 40038, 40034, 40032, 40033, 40045, 40046, 40045, 40044, 40042, 40044, 40039, 40007, 40026, 40037, 40038, 40032, 40040, 40033, 40032, 40041, 40033, 40056, 40026, 40001, 40037, 40032, 40034, 40032, 40032, 40057, 40056, 40032, 40034, 40032, 40002, 40003, 40034, 40037, 40005, 40003, 40035, 40039, 40007, 40007, 40032, 40033, 40045, 40039, 40056, 40026, 40025, 40031, 39995, 40001, 40038, 40038, 40034, 40058, 40056, 39959, 39992, 39992, 39992, 39972, 40031, 40108, 40070, 40060, 40091, 40089, 40049, 40061, 40057, 40062, 40060, 40069, 40108, 40064, 40063, 40060, 40062, 40062, 40056, 40064, 40110, 40108, 40099, 40071, 40056, 40069, 40069, 40070, 40091, 40089, 40099, 40091, 40051, 40051, 40060, 40068};
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
|
||
|
/* JADX WARN: Type inference failed for: r8v1, types: [int] */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> 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 i(byte r6, int r7, byte r8, java.lang.Object[] r9) {
|
||
|
/*
|
||
|
byte[] r0 = com.kofax.mobile.sdk.capture.bill.BillCaptureActivity.$$d
|
||
|
int r6 = r6 * 4
|
||
|
int r6 = 4 - r6
|
||
|
int r7 = r7 * 4
|
||
|
int r1 = r7 + 1
|
||
|
int r8 = r8 + 71
|
||
|
byte[] r1 = new byte[r1]
|
||
|
r2 = 0
|
||
|
if (r0 != 0) goto L15
|
||
|
r3 = r8
|
||
|
r4 = r2
|
||
|
r8 = r6
|
||
|
goto L2a
|
||
|
L15:
|
||
|
r3 = r2
|
||
|
r5 = r8
|
||
|
r8 = r6
|
||
|
r6 = r5
|
||
|
L19:
|
||
|
byte r4 = (byte) r6
|
||
|
r1[r3] = r4
|
||
|
int r4 = r3 + 1
|
||
|
if (r3 != r7) goto L28
|
||
|
java.lang.String r6 = new java.lang.String
|
||
|
r6.<init>(r1, r2)
|
||
|
r9[r2] = r6
|
||
|
return
|
||
|
L28:
|
||
|
r3 = r0[r8]
|
||
|
L2a:
|
||
|
int r3 = -r3
|
||
|
int r6 = r6 + r3
|
||
|
int r8 = r8 + 1
|
||
|
r3 = r4
|
||
|
goto L19
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.bill.BillCaptureActivity.i(byte, int, byte, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
private static void g(char c2, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
|
||
|
int i2 = 2;
|
||
|
int i3 = 2 % 2;
|
||
|
Nhs nhs = new Nhs();
|
||
|
int length = cArr2.length;
|
||
|
char[] cArr4 = new char[length];
|
||
|
int length2 = cArr3.length;
|
||
|
char[] cArr5 = new char[length2];
|
||
|
System.arraycopy(cArr2, 0, cArr4, 0, length);
|
||
|
System.arraycopy(cArr3, 0, cArr5, 0, length2);
|
||
|
cArr4[0] = (char) (cArr4[0] ^ c2);
|
||
|
cArr5[2] = (char) (cArr5[2] + ((char) i));
|
||
|
int length3 = cArr.length;
|
||
|
char[] cArr6 = new char[length3];
|
||
|
nhs.a = 0;
|
||
|
while (nhs.a < length3) {
|
||
|
int i4 = $11 + 101;
|
||
|
$10 = i4 % 128;
|
||
|
int i5 = i4 % i2;
|
||
|
try {
|
||
|
Object[] objArr2 = {nhs};
|
||
|
Object obj = xzZ.y.get(263693715);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(46 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - Color.alpha(0), (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("t", Object.class);
|
||
|
xzZ.y.put(263693715, obj);
|
||
|
}
|
||
|
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
|
||
|
Object[] objArr3 = {nhs};
|
||
|
Object obj2 = xzZ.y.get(-484664112);
|
||
|
if (obj2 == null) {
|
||
|
Class cls = (Class) xzZ.c(352 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (52128 - (Process.myTid() >> 22)));
|
||
|
byte b2 = (byte) 0;
|
||
|
byte b3 = b2;
|
||
|
Object[] objArr4 = new Object[1];
|
||
|
i(b2, b3, (byte) (b3 | ISO7816.INS_UNBLOCK_CHV), objArr4);
|
||
|
obj2 = cls.getMethod((String) objArr4[0], Object.class);
|
||
|
xzZ.y.put(-484664112, obj2);
|
||
|
}
|
||
|
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
|
||
|
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
|
||
|
Object obj3 = xzZ.y.get(430099516);
|
||
|
if (obj3 == null) {
|
||
|
obj3 = ((Class) xzZ.c(749 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(430099516, obj3);
|
||
|
}
|
||
|
((Method) obj3).invoke(null, objArr5);
|
||
|
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
|
||
|
Object obj4 = xzZ.y.get(1019894806);
|
||
|
if (obj4 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(401 - TextUtils.lastIndexOf("", '0', 0, 0), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 21607));
|
||
|
byte b4 = (byte) 0;
|
||
|
byte b5 = b4;
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
i(b4, b5, (byte) (b5 | 43), objArr7);
|
||
|
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(1019894806, obj4);
|
||
|
}
|
||
|
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
|
||
|
cArr4[intValue2] = nhs.c;
|
||
|
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (a ^ 9051040786702654117L)) ^ ((int) (b ^ 9051040786702654117L))) ^ ((char) (d ^ 9051040786702654117L)));
|
||
|
nhs.a++;
|
||
|
i2 = 2;
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
String str = new String(cArr6);
|
||
|
int i6 = $11 + 57;
|
||
|
$10 = i6 % 128;
|
||
|
if (i6 % 2 != 0) {
|
||
|
throw null;
|
||
|
}
|
||
|
objArr[0] = str;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:10:0x00b1, code lost:
|
||
|
|
||
|
if (r7 > 99999) goto L10;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:6:0x00ae, code lost:
|
||
|
|
||
|
if (r7 > 99999) goto L10;
|
||
|
*/
|
||
|
@Override // com.kofax.mobile.sdk.capture.CaptureActivity, 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 r23) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 1126
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.bill.BillCaptureActivity.onCreate(android.os.Bundle):void");
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.CaptureActivity, android.app.Activity
|
||
|
public void onResume() {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = f + 21;
|
||
|
c = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
Context baseContext = getBaseContext();
|
||
|
if (baseContext == null) {
|
||
|
int i4 = f + 21;
|
||
|
c = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
Object[] objArr = new Object[1];
|
||
|
g((char) (34353 - (ViewConfiguration.getFadingEdgeLength() >> 16)), new char[]{22256, 4514, 14224, 48541, 39014, 28628, 7578, 23842, 9102, 44477, 8456, 61643, 5535, 50468, 28969, 7119, 38218, 57713, 42357, 22262, 45816, 35952, 59271, 57835, 40921, 63037}, new char[]{10481, 47225, 12586, 16006}, new char[]{57953, 26590, 32562, 18666}, View.MeasureSpec.getMode(0), objArr);
|
||
|
Class<?> cls = Class.forName((String) objArr[0]);
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
h(new int[]{5, 18, 0, 3}, false, new byte[]{1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1}, objArr2);
|
||
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
int i6 = c + 113;
|
||
|
f = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
baseContext = baseContext.getApplicationContext();
|
||
|
int i8 = f + 75;
|
||
|
c = i8 % 128;
|
||
|
int i9 = i8 % 2;
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
try {
|
||
|
Object obj = xzZ.y.get(125943855);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(492 - Gravity.getAbsoluteGravity(0, 0), 5 - TextUtils.getOffsetAfter("", 0), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("a", null);
|
||
|
xzZ.y.put(125943855, obj);
|
||
|
}
|
||
|
Object invoke = ((Method) obj).invoke(null, null);
|
||
|
Object[] objArr3 = {baseContext};
|
||
|
Object obj2 = xzZ.y.get(1378719468);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 488, 4 - Process.getGidForName(""), (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
|
||
|
xzZ.y.put(1378719468, obj2);
|
||
|
}
|
||
|
((Method) obj2).invoke(invoke, objArr3);
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
super.onResume();
|
||
|
}
|
||
|
|
||
|
private static void h(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
|
||
|
int i;
|
||
|
char[] cArr;
|
||
|
char c2;
|
||
|
int length;
|
||
|
char[] cArr2;
|
||
|
int i2;
|
||
|
char[] cArr3;
|
||
|
int i3 = 2 % 2;
|
||
|
TVH tvh = new TVH();
|
||
|
int i4 = 0;
|
||
|
int i5 = iArr[0];
|
||
|
int i6 = iArr[1];
|
||
|
int i7 = iArr[2];
|
||
|
int i8 = iArr[3];
|
||
|
char[] cArr4 = e;
|
||
|
if (cArr4 != null) {
|
||
|
int i9 = $11 + 101;
|
||
|
$10 = i9 % 128;
|
||
|
if (i9 % 2 != 0) {
|
||
|
length = cArr4.length;
|
||
|
cArr2 = new char[length];
|
||
|
i2 = 1;
|
||
|
} else {
|
||
|
length = cArr4.length;
|
||
|
cArr2 = new char[length];
|
||
|
i2 = 0;
|
||
|
}
|
||
|
while (i2 < length) {
|
||
|
try {
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
objArr2[i4] = Integer.valueOf(cArr4[i2]);
|
||
|
Object obj = xzZ.y.get(1645349359);
|
||
|
if (obj != null) {
|
||
|
cArr3 = cArr4;
|
||
|
} else {
|
||
|
Class cls = (Class) xzZ.c(223 - Gravity.getAbsoluteGravity(i4, i4), TextUtils.indexOf((CharSequence) "", '0', i4, i4) + 6, (char) (41977 - KeyEvent.normalizeMetaState(i4)));
|
||
|
byte b2 = (byte) i4;
|
||
|
byte b3 = b2;
|
||
|
cArr3 = cArr4;
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
i(b2, b3, b3, objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
||
|
xzZ.y.put(1645349359, obj);
|
||
|
}
|
||
|
cArr2[i2] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
||
|
i2++;
|
||
|
cArr4 = cArr3;
|
||
|
i4 = 0;
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
cArr4 = cArr2;
|
||
|
}
|
||
|
char[] cArr5 = new char[i6];
|
||
|
System.arraycopy(cArr4, i5, cArr5, 0, i6);
|
||
|
if (bArr != null) {
|
||
|
int i10 = $10 + 55;
|
||
|
$11 = i10 % 128;
|
||
|
if (i10 % 2 == 0) {
|
||
|
cArr = new char[i6];
|
||
|
tvh.c = 1;
|
||
|
c2 = 1;
|
||
|
} else {
|
||
|
cArr = new char[i6];
|
||
|
tvh.c = 0;
|
||
|
c2 = 0;
|
||
|
}
|
||
|
while (tvh.c < i6) {
|
||
|
int i11 = $10 + 35;
|
||
|
$11 = i11 % 128;
|
||
|
if (i11 % 2 != 0 ? bArr[tvh.c] == 1 : bArr[tvh.c] == 0) {
|
||
|
int i12 = tvh.c;
|
||
|
Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c2)};
|
||
|
Object obj2 = xzZ.y.get(850398076);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c(502 - (ViewConfiguration.getFadingEdgeLength() >> 16), 5 - View.getDefaultSize(0, 0), (char) (ExpandableListView.getPackedPositionGroup(0L) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(850398076, obj2);
|
||
|
}
|
||
|
cArr[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
|
||
|
} else {
|
||
|
int i13 = tvh.c;
|
||
|
Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c2)};
|
||
|
Object obj3 = xzZ.y.get(1084521042);
|
||
|
if (obj3 == null) {
|
||
|
obj3 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 15, 5 - Color.alpha(0), (char) (58134 - Gravity.getAbsoluteGravity(0, 0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(1084521042, obj3);
|
||
|
}
|
||
|
cArr[i13] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
|
||
|
}
|
||
|
c2 = cArr[tvh.c];
|
||
|
Object[] objArr6 = {tvh, tvh};
|
||
|
Object obj4 = xzZ.y.get(1698744941);
|
||
|
if (obj4 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(402 - KeyEvent.keyCodeFromString(""), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (21608 - Gravity.getAbsoluteGravity(0, 0)));
|
||
|
byte b4 = (byte) 0;
|
||
|
byte b5 = b4;
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
i(b4, b5, (byte) (b5 + 2), objArr7);
|
||
|
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1698744941, obj4);
|
||
|
}
|
||
|
((Method) obj4).invoke(null, objArr6);
|
||
|
}
|
||
|
cArr5 = cArr;
|
||
|
}
|
||
|
if (i8 > 0) {
|
||
|
char[] cArr6 = new char[i6];
|
||
|
i = 0;
|
||
|
System.arraycopy(cArr5, 0, cArr6, 0, i6);
|
||
|
int i14 = i6 - i8;
|
||
|
System.arraycopy(cArr6, 0, cArr5, i14, i8);
|
||
|
System.arraycopy(cArr6, i8, cArr5, 0, i14);
|
||
|
} else {
|
||
|
i = 0;
|
||
|
}
|
||
|
if (z) {
|
||
|
char[] cArr7 = new char[i6];
|
||
|
while (true) {
|
||
|
tvh.c = i;
|
||
|
if (tvh.c >= i6) {
|
||
|
break;
|
||
|
}
|
||
|
cArr7[tvh.c] = cArr5[(i6 - tvh.c) - 1];
|
||
|
i = tvh.c + 1;
|
||
|
}
|
||
|
cArr5 = cArr7;
|
||
|
}
|
||
|
if (i7 > 0) {
|
||
|
int i15 = $10 + 61;
|
||
|
$11 = i15 % 128;
|
||
|
int i16 = i15 % 2;
|
||
|
int i17 = 0;
|
||
|
while (true) {
|
||
|
tvh.c = i17;
|
||
|
if (tvh.c >= i6) {
|
||
|
break;
|
||
|
}
|
||
|
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
|
||
|
i17 = tvh.c + 1;
|
||
|
}
|
||
|
}
|
||
|
objArr[0] = new String(cArr5);
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.CaptureActivity, android.app.Activity
|
||
|
public void onPause() {
|
||
|
int i = 2 % 2;
|
||
|
Context baseContext = getBaseContext();
|
||
|
if (baseContext == null) {
|
||
|
int i2 = f + 7;
|
||
|
c = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
Object[] objArr = new Object[1];
|
||
|
g((char) (34353 - ((Process.getThreadPriority(0) + 20) >> 6)), new char[]{22256, 4514, 14224, 48541, 39014, 28628, 7578, 23842, 9102, 44477, 8456, 61643, 5535, 50468, 28969, 7119, 38218, 57713, 42357, 22262, 45816, 35952, 59271, 57835, 40921, 63037}, new char[]{10481, 47225, 12586, 16006}, new char[]{57953, 26590, 32562, 18666}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr);
|
||
|
Class<?> cls = Class.forName((String) objArr[0]);
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
h(new int[]{5, 18, 0, 3}, false, new byte[]{1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1}, objArr2);
|
||
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
int i4 = f + 105;
|
||
|
c = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
baseContext = baseContext.getApplicationContext();
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
int i6 = f + 111;
|
||
|
c = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
try {
|
||
|
Object obj = xzZ.y.get(125943855);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollDefaultDelay() >> 16), TextUtils.getOffsetBefore("", 0) + 5, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == 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(1633456013);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 486, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) View.resolveSizeAndState(0, 0, 0))).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 // com.kofax.mobile.sdk.capture.CaptureActivity, 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];
|
||
|
g((char) (ExpandableListView.getPackedPositionChild(0L) + 38114), new char[]{39865, 33152, 57112, 38854, 21112, 2453, 2792, 7617, 51652, 11274, 59700, 7808, 18393, 49052, 59512, 5391, 33864, 44606}, new char[]{20547, 65223, 57783, 20116}, new char[]{57953, 26590, 32562, 18666}, ViewConfiguration.getKeyRepeatDelay() >> 16, objArr);
|
||
|
Class<?> cls = Class.forName((String) objArr[0]);
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
h(new int[]{0, 5, 0, 1}, false, new byte[]{0, 1, 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 i2 = f + 35;
|
||
|
c = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
if (intValue <= 99999) {
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
Context applicationContext = context != null ? context.getApplicationContext() : context;
|
||
|
if (applicationContext != null) {
|
||
|
int i4 = c + 41;
|
||
|
f = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
try {
|
||
|
Object obj = xzZ.y.get(125943855);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - (Process.myPid() >> 22), (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null);
|
||
|
xzZ.y.put(125943855, obj);
|
||
|
}
|
||
|
Object invoke = ((Method) obj).invoke(null, null);
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
h(new int[]{23, 48, 0, 0}, true, new byte[]{0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0}, objArr3);
|
||
|
String str = (String) objArr3[0];
|
||
|
Object[] objArr4 = new Object[1];
|
||
|
g((char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), new char[]{31577, 30341, 6961, 52470, 27741, 61739, 54279, 59169, 33076, 9303, 39162, 3861, 56147, 7145, 24636, 54754, 52817, 1673, 21992, 24505, 14613, 28053, 23389, 40142, 28899, 63381, 44773, 40246, 59517, 38407, 36967, 52285, 56666, 3547, 41966, 59943, 42851, 35756, 34319, 56483, 58697, 10283, 64234, 13300, 59957, 53273, 47592, 4015, 52615, 9463, 50733, 7286, 59871, 64459, 56731, 42195, 28487, 52571, 47406, 13355, 39372, 30599, 17006, 9496}, new char[]{14428, 44378, 35926, 13106}, new char[]{57953, 26590, 32562, 18666}, ExpandableListView.getPackedPositionGroup(0L), objArr4);
|
||
|
String str2 = (String) objArr4[0];
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
g((char) TextUtils.getOffsetAfter("", 0), new char[]{24290, 60127, 6365, 16414, 38493, 3675, 16491, 40711, 53071, 46042, 11256, 31265, 39349, 62890, 57149, 39612, 51746, 48982, 51611, 48734, 21001, 18183, 969, 40510, 55222, 54777, 8536, 60488, 40698, 12701, 47688, 9705, 61758, 54547, 9075, 2198, 23672, 50051, 21660, 30909, 2336, 58381, 31163, 13940, 61578, 11445, 8189, 54678, 4956, 7862, 19006, 45262, 56693, 34068, 59319, 64752, 52644, 6537, 21710, 57097, 3602, 56745, 53832, 18908}, new char[]{20864, 20583, 13478, 10512}, new char[]{57953, 26590, 32562, 18666}, Color.green(0), objArr5);
|
||
|
String str3 = (String) objArr5[0];
|
||
|
Object[] objArr6 = new Object[1];
|
||
|
h(new int[]{71, 74, 0, 0}, false, new byte[]{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr6);
|
||
|
String str4 = (String) objArr6[0];
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
h(new int[]{CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA, 5, 0, 0}, false, new byte[]{1, 1, 0, 0, 0}, objArr7);
|
||
|
String str5 = (String) objArr7[0];
|
||
|
Object[] objArr8 = new Object[1];
|
||
|
h(new int[]{CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA, 36, 68, 0}, false, new byte[]{1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0}, objArr8);
|
||
|
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
|
||
|
Object obj2 = xzZ.y.get(1656189573);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 486, View.MeasureSpec.getMode(0) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '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);
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.CaptureActivity, android.app.Activity
|
||
|
public void onStart() {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = c + 17;
|
||
|
f = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
super.onStart();
|
||
|
int i4 = c + 71;
|
||
|
f = i4 % 128;
|
||
|
if (i4 % 2 == 0) {
|
||
|
int i5 = 91 / 0;
|
||
|
}
|
||
|
}
|
||
|
}
|