552 lines
29 KiB
Java
552 lines
29 KiB
Java
package com.kofax.mobile.sdk.capture.check;
|
|
|
|
import android.content.Context;
|
|
import android.graphics.Color;
|
|
import android.graphics.PointF;
|
|
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.MotionEvent;
|
|
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.CheckDetectionSettings;
|
|
import com.kofax.kmc.ken.engines.data.CheckSide;
|
|
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
|
|
import com.kofax.mobile.sdk._internal.view.IOverlayView;
|
|
import com.kofax.mobile.sdk.ak.c;
|
|
import com.kofax.mobile.sdk.capture.CaptureActivity;
|
|
import com.kofax.mobile.sdk.capture.IImageStorage;
|
|
import com.kofax.mobile.sdk.l.a;
|
|
import com.scb.phone.R;
|
|
import java.lang.reflect.Method;
|
|
import net.sf.scuba.smartcards.ISO7816;
|
|
import o.InterfaceC13391fZD;
|
|
import o.dQY;
|
|
import o.jTb;
|
|
import o.xzZ;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class CheckCaptureActivity extends CaptureActivity {
|
|
|
|
@InterfaceC13391fZD
|
|
a mO;
|
|
private static final byte[] $$d = {ISO7816.INS_INCREASE, 10, Byte.MIN_VALUE, -124};
|
|
private static final int $$e = 11;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int i = 0;
|
|
private static int f = 1;
|
|
private static char[] b = {60638, 43124, 26001, 8482, 65092, 48111, 30469, 3090, 51704, 34049, 17123, 8184, 56177, 37041, 11738, 59761, 42652, 25145, 39967, 55470, 5485, 20980, 36482, 31324, 16118, 62227, 47008, 26822, 11629, 57735, 39568, 24436, 4992, 54335, 35076, 19904, 1599, 47951, 32767, 12315, 62625, 43475, 25211, 9869, 56284, 40033, 20619, 5412, 52804, 52986, 35401, 18337, 772, 56424, 39374, 21811, 11867, 60353, 42788, 24711, 15847, 63814, 45721, 4075, 52059, 33958, 16386, 36791, 51989, 1710, 16984, 40304, 55433, 5176, 28520, 43679, 58922, 8594, 31987, 47196, 62341, 20195, 35400, 50612, 275, 23673, 38879, 54101, 11885, 27037, 42293, 57497, 15353, 30496, 45782, 3564, 18778, 33972, 49169, 6981, 22176, 37389, 60732, 10451, 25651, 49102, 64147, 13868, 29149, 52385, 2131, 17339, 40674, 55874, 5627, 20806, 44159, 59278, 9018, 32309, 47555, 62761, 12483, 35826, 50956, 641, 24045, 39240, 54497, 4165, 27436, 23878, 6655, 54288, 37041, 20425, 2605, 50911, 48514, 30837, 13450, 62269, 44628, 27377, 8480, 40005, 22760, 5915, 54185, 36567, 17784, 427, 64715, 47970, 30620, 12856, 59736, 42434, 24637, 57162, 39917, 22045, 4788, 51706, 33800, 16549, 16338, 64110, 46809, 27959, 10360, 58503, 41777, 7768, 56042, 37123, 19546, 2281, 50967, 33723, 32405, 13687, 61854, 44231, 27432, 10113, 57901, 22879, 5564, 53285, 36679, 19429, 1562, 49835, 47553, 29761, 12477, 61334, 43566, 26271, 56609, 38997, 21635, 4914, 52816, 36843, 52057, 1696, 16915, 40310};
|
|
private static long d = -472924979274724489L;
|
|
private static char a = 38902;
|
|
private static char c = 13767;
|
|
private static char e = 34525;
|
|
private static char g = 3376;
|
|
private final CheckDetectionSettings aai = new CheckDetectionSettings();
|
|
private CheckParameters aaj = null;
|
|
|
|
@InterfaceC13391fZD
|
|
IOverlayView Zo = null;
|
|
|
|
@InterfaceC13391fZD
|
|
IImageStorage Yw = null;
|
|
|
|
/* 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:0x0028). 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 n(byte r5, short r6, byte r7, java.lang.Object[] r8) {
|
|
/*
|
|
int r7 = r7 * 3
|
|
int r0 = 1 - r7
|
|
int r5 = r5 + 4
|
|
byte[] r1 = com.kofax.mobile.sdk.capture.check.CheckCaptureActivity.$$d
|
|
int r6 = 106 - r6
|
|
byte[] r0 = new byte[r0]
|
|
r2 = 0
|
|
int r7 = 0 - r7
|
|
if (r1 != 0) goto L14
|
|
r4 = r7
|
|
r3 = r2
|
|
goto L28
|
|
L14:
|
|
r3 = r2
|
|
L15:
|
|
int r5 = r5 + 1
|
|
byte r4 = (byte) r6
|
|
r0[r3] = r4
|
|
if (r3 != r7) goto L24
|
|
java.lang.String r5 = new java.lang.String
|
|
r5.<init>(r0, r2)
|
|
r8[r2] = r5
|
|
return
|
|
L24:
|
|
int r3 = r3 + 1
|
|
r4 = r1[r5]
|
|
L28:
|
|
int r4 = -r4
|
|
int r6 = r6 + r4
|
|
goto L15
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.check.CheckCaptureActivity.n(byte, short, byte, java.lang.Object[]):void");
|
|
}
|
|
|
|
private static void h(int i2, int i3, char c2, Object[] objArr) {
|
|
int i4 = 2 % 2;
|
|
dQY dqy = new dQY();
|
|
long[] jArr = new long[i3];
|
|
dqy.a = 0;
|
|
while (dqy.a < i3) {
|
|
int i5 = dqy.a;
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(b[i2 + dqy.a])};
|
|
Object obj = xzZ.y.get(1095064095);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c((Process.myTid() >> 22) + 308, 5 - Color.blue(0), (char) (View.combineMeasuredStates(0, 0) + 32797));
|
|
byte b2 = (byte) (-1);
|
|
Object[] objArr3 = new Object[1];
|
|
n(b2, (byte) (b2 & 8), (byte) 0, 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(d), Integer.valueOf(c2)};
|
|
Object obj2 = xzZ.y.get(-548438098);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(412 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - TextUtils.indexOf("", "", 0), (char) View.combineMeasuredStates(0, 0));
|
|
byte b3 = (byte) (-1);
|
|
Object[] objArr5 = new Object[1];
|
|
n(b3, (byte) (b3 & 7), (byte) 0, objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
|
|
xzZ.y.put(-548438098, obj2);
|
|
}
|
|
jArr[i5] = ((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((ViewConfiguration.getFadingEdgeLength() >> 16) + 407, 4 - MotionEvent.axisFromString(""), (char) (29234 - TextUtils.getCapsMode("", 0, 0)));
|
|
byte b4 = (byte) (-1);
|
|
byte b5 = (byte) (b4 + 1);
|
|
Object[] objArr7 = new Object[1];
|
|
n(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 i6 = $11 + 69;
|
|
$10 = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
char[] cArr = new char[i3];
|
|
dqy.a = 0;
|
|
while (dqy.a < i3) {
|
|
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((KeyEvent.getMaxKeyCode() >> 16) + 407, ExpandableListView.getPackedPositionChild(0L) + 6, (char) ((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)) + 29234));
|
|
byte b6 = (byte) (-1);
|
|
byte b7 = (byte) (b6 + 1);
|
|
Object[] objArr9 = new Object[1];
|
|
n(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 i8 = $11 + 117;
|
|
$10 = i8 % 128;
|
|
int i9 = i8 % 2;
|
|
}
|
|
String str = new String(cArr);
|
|
int i10 = $10 + 61;
|
|
$11 = i10 % 128;
|
|
int i11 = i10 % 2;
|
|
objArr[0] = str;
|
|
}
|
|
|
|
private static void j(char[] cArr, int i2, Object[] objArr) {
|
|
int i3;
|
|
int i4;
|
|
int i5 = 2;
|
|
int i6 = 2 % 2;
|
|
jTb jtb = new jTb();
|
|
char[] cArr2 = new char[cArr.length];
|
|
int i7 = 0;
|
|
jtb.b = 0;
|
|
char[] cArr3 = new char[2];
|
|
while (jtb.b < cArr.length) {
|
|
int i8 = $10 + 103;
|
|
$11 = i8 % 128;
|
|
int i9 = 58224;
|
|
if (i8 % i5 == 0) {
|
|
cArr3[1] = cArr[jtb.b];
|
|
cArr3[1] = cArr[jtb.b];
|
|
i3 = 1;
|
|
} else {
|
|
cArr3[i7] = cArr[jtb.b];
|
|
cArr3[1] = cArr[jtb.b + 1];
|
|
i3 = i7;
|
|
}
|
|
while (i3 < 16) {
|
|
char c2 = cArr3[1];
|
|
char c3 = cArr3[i7];
|
|
int i10 = (c3 + i9) ^ ((c3 << 4) + ((char) (e ^ 41718355337583039L)));
|
|
int i11 = c3 >>> 5;
|
|
try {
|
|
Object[] objArr2 = new Object[4];
|
|
objArr2[3] = Integer.valueOf(g);
|
|
objArr2[i5] = Integer.valueOf(i11);
|
|
objArr2[1] = Integer.valueOf(i10);
|
|
objArr2[i7] = Integer.valueOf(c2);
|
|
Object obj = xzZ.y.get(597144044);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(412 - TextUtils.getOffsetBefore("", i7), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (TextUtils.lastIndexOf("", '0', i7, i7) + 1));
|
|
byte b2 = (byte) (-1);
|
|
Object[] objArr3 = new Object[1];
|
|
n(b2, (byte) (b2 & 40), (byte) i7, objArr3);
|
|
String str = (String) objArr3[i7];
|
|
Class<?>[] clsArr = new Class[4];
|
|
clsArr[i7] = Integer.TYPE;
|
|
clsArr[1] = Integer.TYPE;
|
|
clsArr[2] = Integer.TYPE;
|
|
clsArr[3] = Integer.TYPE;
|
|
obj = cls.getMethod(str, clsArr);
|
|
xzZ.y.put(597144044, obj);
|
|
}
|
|
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
cArr3[1] = charValue;
|
|
char[] cArr4 = cArr3;
|
|
Object[] objArr4 = {Integer.valueOf(cArr3[i7]), Integer.valueOf((charValue + i9) ^ ((charValue << 4) + ((char) (a ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(c)};
|
|
Object obj2 = xzZ.y.get(597144044);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(412 - TextUtils.indexOf("", "", 0), KeyEvent.getDeadChar(0, 0) + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
|
|
byte b3 = (byte) (-1);
|
|
Object[] objArr5 = new Object[1];
|
|
n(b3, (byte) (b3 & 40), (byte) 0, objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(597144044, obj2);
|
|
}
|
|
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
|
|
i9 -= 40503;
|
|
i3++;
|
|
int i12 = $10 + 35;
|
|
$11 = i12 % 128;
|
|
int i13 = i12 % 2;
|
|
cArr3 = cArr4;
|
|
i5 = 2;
|
|
i7 = 0;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
char[] cArr5 = cArr3;
|
|
cArr2[jtb.b] = cArr5[0];
|
|
cArr2[jtb.b + 1] = cArr5[1];
|
|
Object[] objArr6 = {jtb, jtb};
|
|
Object obj3 = xzZ.y.get(943004485);
|
|
if (obj3 != null) {
|
|
i4 = 2;
|
|
} else {
|
|
Class cls3 = (Class) xzZ.c(97 - ((byte) KeyEvent.getModifierMetaStateMask()), 5 - View.resolveSizeAndState(0, 0, 0), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16));
|
|
byte b4 = (byte) (-1);
|
|
Object[] objArr7 = new Object[1];
|
|
n(b4, (byte) (b4 & 39), (byte) 0, objArr7);
|
|
i4 = 2;
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(943004485, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
i5 = i4;
|
|
cArr3 = cArr5;
|
|
i7 = 0;
|
|
}
|
|
objArr[0] = new String(cArr2, 0, i2);
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:24:0x00f1, code lost:
|
|
|
|
if (r3 > 99999) goto L10;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:6:0x00ee, code lost:
|
|
|
|
if (r3 > 99999) goto L10;
|
|
*/
|
|
/* JADX WARN: Removed duplicated region for block: B:15:0x0470 */
|
|
@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 r19) {
|
|
/*
|
|
Method dump skipped, instructions count: 1350
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.check.CheckCaptureActivity.onCreate(android.os.Bundle):void");
|
|
}
|
|
|
|
private void tO() {
|
|
int i2 = 2 % 2;
|
|
CheckParameters checkParameters = this.aaj;
|
|
if (checkParameters != null) {
|
|
int i3 = f + 89;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
if (checkParameters.side.equals(CheckSide.FRONT)) {
|
|
getCameraView().setUseVideoFrame(true);
|
|
int i5 = i + 3;
|
|
f = i5 % 128;
|
|
if (i5 % 2 == 0) {
|
|
int i6 = 5 / 4;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
private void tP() {
|
|
int i2 = 2 % 2;
|
|
int i3 = f + 125;
|
|
i = i3 % 128;
|
|
if (i3 % 2 != 0) {
|
|
CheckSide.BACK.equals(this.aai.getSide());
|
|
throw null;
|
|
}
|
|
if (CheckSide.BACK.equals(this.aai.getSide())) {
|
|
this.Zo.setDocumentSampleImage(c.a(this, "check_back_sample"));
|
|
return;
|
|
}
|
|
this.Zo.setDocumentSampleImage(c.a(this, "check_sample_rotated"));
|
|
int i4 = i + 97;
|
|
f = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.CaptureActivity, android.app.Activity
|
|
public void onResume() {
|
|
int i2 = 2 % 2;
|
|
Context baseContext = getBaseContext();
|
|
if (baseContext == null) {
|
|
int i3 = f + 103;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
Object[] objArr = new Object[1];
|
|
h(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_app_outcome_counter_teaser_desc).substring(79, 80).length() + 22, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_qualification_first_note).substring(0, 1).length() + 25, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 62847), objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
h(49 - KeyEvent.getDeadChar(0, 0), 18 - View.MeasureSpec.getSize(0), (char) (16714 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), objArr2);
|
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
|
}
|
|
if (baseContext != null) {
|
|
int i5 = i + 33;
|
|
f = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
baseContext = baseContext.getApplicationContext();
|
|
}
|
|
if (baseContext != null) {
|
|
try {
|
|
Object obj = xzZ.y.get(125943855);
|
|
if (obj == null) {
|
|
obj = ((Class) xzZ.c(492 - Color.argb(0, 0, 0, 0), 5 - View.getDefaultSize(0, 0), (char) View.combineMeasuredStates(0, 0))).getMethod("a", null);
|
|
xzZ.y.put(125943855, obj);
|
|
}
|
|
Object invoke = ((Method) obj).invoke(null, null);
|
|
Object[] objArr3 = {baseContext};
|
|
Object obj2 = xzZ.y.get(1378719468);
|
|
if (obj2 == null) {
|
|
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getKeyRepeatDelay() >> 16), View.resolveSize(0, 0) + 5, (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 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();
|
|
int i7 = i + 83;
|
|
f = i7 % 128;
|
|
int i8 = i7 % 2;
|
|
}
|
|
|
|
@Override // com.kofax.mobile.sdk.capture.CaptureActivity, android.app.Activity
|
|
public void onPause() {
|
|
int i2 = 2 % 2;
|
|
Context baseContext = getBaseContext();
|
|
if (baseContext == null) {
|
|
int i3 = f + 21;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
Object[] objArr = new Object[1];
|
|
h(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_omnibus_all_product_property_header).substring(50, 51).codePointAt(0) - 87, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 25, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 62925), objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
h(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fund_information).substring(16, 18).codePointAt(0) + 17, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.point_x_remaining_balance_p).substring(31, 33).codePointAt(1) - 14, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.faq_pay_with_point_x_description).substring(0, 8).length() + 16707), objArr2);
|
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
|
}
|
|
if (baseContext != null) {
|
|
baseContext = baseContext.getApplicationContext();
|
|
}
|
|
if (baseContext != null) {
|
|
int i5 = i + 7;
|
|
f = i5 % 128;
|
|
try {
|
|
if (i5 % 2 == 0) {
|
|
Object obj = xzZ.y.get(125943855);
|
|
if (obj == null) {
|
|
obj = ((Class) xzZ.c(493 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("a", null);
|
|
xzZ.y.put(125943855, obj);
|
|
}
|
|
Object invoke = ((Method) obj).invoke(null, null);
|
|
Object[] objArr3 = {baseContext};
|
|
Object obj2 = xzZ.y.get(1633456013);
|
|
if (obj2 == null) {
|
|
obj2 = ((Class) xzZ.c(487 - KeyEvent.normalizeMetaState(0), 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("c", Context.class);
|
|
xzZ.y.put(1633456013, obj2);
|
|
}
|
|
((Method) obj2).invoke(invoke, objArr3);
|
|
int i6 = 3 / 0;
|
|
} else {
|
|
Object obj3 = xzZ.y.get(125943855);
|
|
if (obj3 == null) {
|
|
obj3 = ((Class) xzZ.c(492 - KeyEvent.getDeadChar(0, 0), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).getMethod("a", null);
|
|
xzZ.y.put(125943855, obj3);
|
|
}
|
|
Object invoke2 = ((Method) obj3).invoke(null, null);
|
|
Object[] objArr4 = {baseContext};
|
|
Object obj4 = xzZ.y.get(1633456013);
|
|
if (obj4 == null) {
|
|
obj4 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("c", Context.class);
|
|
xzZ.y.put(1633456013, obj4);
|
|
}
|
|
((Method) obj4).invoke(invoke2, objArr4);
|
|
}
|
|
} 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) {
|
|
Context context2;
|
|
int i2 = 2 % 2;
|
|
super.attachBaseContext(context);
|
|
Object[] objArr = new Object[1];
|
|
h((Process.getThreadPriority(0) + 20) >> 6, 18 - TextUtils.getOffsetAfter("", 0), (char) (25453 - (KeyEvent.getMaxKeyCode() >> 16)), objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
h(18 - ExpandableListView.getPackedPositionType(0L), Process.getGidForName("") + 6, (char) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 5024), objArr2);
|
|
Object obj = null;
|
|
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
|
|
if (intValue >= 99000) {
|
|
int i3 = f + 57;
|
|
i = i3 % 128;
|
|
if (i3 % 2 != 0) {
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
if (intValue <= 99999) {
|
|
return;
|
|
}
|
|
}
|
|
if (context != null) {
|
|
int i4 = f + 49;
|
|
i = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
context2 = context.getApplicationContext();
|
|
int i5 = 66 / 0;
|
|
} else {
|
|
context2 = context.getApplicationContext();
|
|
}
|
|
} else {
|
|
context2 = context;
|
|
}
|
|
if (context2 != null) {
|
|
try {
|
|
Object obj2 = xzZ.y.get(125943855);
|
|
if (obj2 == null) {
|
|
obj2 = ((Class) xzZ.c((Process.myPid() >> 22) + 492, 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) KeyEvent.getDeadChar(0, 0))).getMethod("a", null);
|
|
xzZ.y.put(125943855, obj2);
|
|
}
|
|
Object invoke = ((Method) obj2).invoke(null, null);
|
|
Object[] objArr3 = new Object[1];
|
|
j(new char[]{61925, 57027, 21962, 25034, 3325, 11362, 60677, 14710, 47058, 2161, 48997, 40096, 36331, 27269, 46334, 3612, 42728, 3528, 20034, 28851, 20589, 44512, 7498, 15769, 51995, 35295, 12038, 63439, 46742, 41095, 20460, 24456, 48769, 36405, 2667, 62102, 24851, 55166, 31304, 58561, 21156, 60782, 11382, 15182, 11640, 3640, 57473, 49733}, 48 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr3);
|
|
String str = (String) objArr3[0];
|
|
Object[] objArr4 = new Object[1];
|
|
h(67 - View.resolveSize(0, 0), Color.green(0) + 64, (char) TextUtils.indexOf("", "", 0, 0), objArr4);
|
|
String str2 = (String) objArr4[0];
|
|
Object[] objArr5 = new Object[1];
|
|
j(new char[]{29518, 53964, 'a', 12370, 44691, 51080, 45785, 53111, 40668, 59533, 2945, 19755, 26301, 55526, 44017, 15095, 43918, 16368, 23335, 36276, 62001, 11617, 21558, 9038, 11640, 3640, 24851, 55166, 57076, 21632, 9822, 7494, 21962, 25034, 23746, 25740, 2957, 61244, 44770, 1390, 51132, 25813, 15970, 18133, 48626, 65213, 24443, 61077, 65064, 24007, 20034, 28851, 34670, 42498, 27184, 63957, 11581, 10101, 60677, 14710, 62993, 28252, 43896, 16056}, 64 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr5);
|
|
String str3 = (String) objArr5[0];
|
|
Object[] objArr6 = new Object[1];
|
|
h(131 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 'z' - AndroidCharacter.getMirror('0'), (char) ((ViewConfiguration.getLongPressTimeout() >> 16) + 54012), objArr6);
|
|
String str4 = (String) objArr6[0];
|
|
Object[] objArr7 = new Object[1];
|
|
h((ViewConfiguration.getKeyRepeatDelay() >> 16) + 205, TextUtils.indexOf("", "", 0, 0) + 5, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1), objArr7);
|
|
String str5 = (String) objArr7[0];
|
|
Object[] objArr8 = new Object[1];
|
|
j(new char[]{3203, 27015, 21156, 60782, 29203, 54663, 2660, 26265, 38862, 21077, 12482, 18286, 20280, 21029, 18739, 40919, 44770, 1390, 32123, 9276, 65064, 24007, 61188, 2925, 53883, 64262, 48997, 40096, 50706, 28953, 12038, 63439, 38647, 61131, 47731, 22082}, ((byte) KeyEvent.getModifierMetaStateMask()) + 37, objArr8);
|
|
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
|
|
Object obj3 = xzZ.y.get(1656189573);
|
|
if (obj3 == null) {
|
|
obj3 = ((Class) xzZ.c((Process.myTid() >> 22) + 487, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) TextUtils.getOffsetBefore("", 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
|
|
xzZ.y.put(1656189573, obj3);
|
|
}
|
|
((Method) obj3).invoke(invoke, objArr9);
|
|
int i6 = i + 103;
|
|
f = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
} 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 i2 = 2 % 2;
|
|
int i3 = f + 19;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
super.onStart();
|
|
if (i4 == 0) {
|
|
return;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
}
|