632 lines
34 KiB
Java
632 lines
34 KiB
Java
|
package com.kofax.mobile.sdk.capture.id;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.graphics.Color;
|
||
|
import android.graphics.ImageFormat;
|
||
|
import android.graphics.PointF;
|
||
|
import android.graphics.drawable.Drawable;
|
||
|
import android.media.AudioTrack;
|
||
|
import android.os.Process;
|
||
|
import android.os.SystemClock;
|
||
|
import android.telephony.cdma.CdmaCellLocation;
|
||
|
import android.text.AndroidCharacter;
|
||
|
import android.text.TextUtils;
|
||
|
import android.view.Gravity;
|
||
|
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.google.common.base.Ascii;
|
||
|
import com.kofax.kmc.ken.engines.data.Image;
|
||
|
import com.kofax.kmc.kut.utilities.IpLibUtil;
|
||
|
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
|
||
|
import com.kofax.mobile.sdk._internal.k;
|
||
|
import com.kofax.mobile.sdk.capture.ExtractActivity;
|
||
|
import com.kofax.mobile.sdk.capture.id.IdParameters;
|
||
|
import com.scb.phone.R;
|
||
|
import java.lang.reflect.Method;
|
||
|
import net.sf.scuba.smartcards.ISO7816;
|
||
|
import net.sf.scuba.smartcards.ISOFileInfo;
|
||
|
import o.DFY;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
import o.dQY;
|
||
|
import o.xzZ;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class IdExtractActivity extends ExtractActivity<IdExtractorResponse> {
|
||
|
private static final String TAG = "IdExtractActivity";
|
||
|
private static short[] a = null;
|
||
|
private static final int acy = 300;
|
||
|
private static int b;
|
||
|
private static byte[] c;
|
||
|
private static int d;
|
||
|
private static int e;
|
||
|
private static int f;
|
||
|
private static long h;
|
||
|
private static char[] i;
|
||
|
private IdParameters acA;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
IdExtractor acz;
|
||
|
private static final byte[] $$d = {123, ISO7816.INS_READ_RECORD2, ISO7816.INS_MSE, -23};
|
||
|
private static final int $$e = 100;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int g = 1;
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x002c). 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 p(short r6, int r7, byte r8, java.lang.Object[] r9) {
|
||
|
/*
|
||
|
int r6 = r6 + 4
|
||
|
int r8 = r8 * 2
|
||
|
int r0 = r8 + 1
|
||
|
byte[] r1 = com.kofax.mobile.sdk.capture.id.IdExtractActivity.$$d
|
||
|
int r7 = r7 + 98
|
||
|
byte[] r0 = new byte[r0]
|
||
|
r2 = 0
|
||
|
if (r1 != 0) goto L13
|
||
|
r7 = r6
|
||
|
r3 = r8
|
||
|
r4 = r2
|
||
|
goto L2c
|
||
|
L13:
|
||
|
r3 = r2
|
||
|
L14:
|
||
|
byte r4 = (byte) r7
|
||
|
r0[r3] = r4
|
||
|
int r6 = r6 + 1
|
||
|
if (r3 != r8) goto L23
|
||
|
java.lang.String r6 = new java.lang.String
|
||
|
r6.<init>(r0, r2)
|
||
|
r9[r2] = r6
|
||
|
return
|
||
|
L23:
|
||
|
int r3 = r3 + 1
|
||
|
r4 = r1[r6]
|
||
|
r5 = r7
|
||
|
r7 = r6
|
||
|
r6 = r4
|
||
|
r4 = r3
|
||
|
r3 = r5
|
||
|
L2c:
|
||
|
int r6 = r6 + r3
|
||
|
r3 = r4
|
||
|
r5 = r7
|
||
|
r7 = r6
|
||
|
r6 = r5
|
||
|
goto L14
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.id.IdExtractActivity.p(short, int, byte, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x0176, 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 r31) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 1859
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.id.IdExtractActivity.onCreate(android.os.Bundle):void");
|
||
|
}
|
||
|
|
||
|
private static void o(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 = $11 + 47;
|
||
|
$10 = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
int i7 = dqy.a;
|
||
|
try {
|
||
|
Object[] objArr2 = {Integer.valueOf(i[i2 + dqy.a])};
|
||
|
Object obj = xzZ.y.get(1095064095);
|
||
|
if (obj == null) {
|
||
|
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 308, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 32797));
|
||
|
byte b2 = (byte) (-1);
|
||
|
byte b3 = (byte) (b2 + 1);
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
p(b2, b3, b3, objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
||
|
xzZ.y.put(1095064095, obj);
|
||
|
}
|
||
|
try {
|
||
|
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(h), Integer.valueOf(c2)};
|
||
|
Object obj2 = xzZ.y.get(-548438098);
|
||
|
if (obj2 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(MotionEvent.axisFromString("") + 413, 5 - View.resolveSize(0, 0), (char) (KeyEvent.getMaxKeyCode() >> 16));
|
||
|
byte b4 = (byte) (-1);
|
||
|
byte b5 = (byte) (-b4);
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
p(b4, b5, (byte) (b5 - 1), objArr5);
|
||
|
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(-548438098, obj2);
|
||
|
}
|
||
|
jArr[i7] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
|
||
|
try {
|
||
|
Object[] objArr6 = {dqy, dqy};
|
||
|
Object obj3 = xzZ.y.get(1071125919);
|
||
|
if (obj3 == null) {
|
||
|
Class cls3 = (Class) xzZ.c(407 - (ViewConfiguration.getPressedStateDuration() >> 16), 5 - Drawable.resolveOpacity(0, 0), (char) ((KeyEvent.getMaxKeyCode() >> 16) + 29234));
|
||
|
byte b6 = (byte) (-1);
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
p(b6, (byte) (b6 & 8), (byte) 0, objArr7);
|
||
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1071125919, obj3);
|
||
|
}
|
||
|
((Method) obj3).invoke(null, objArr6);
|
||
|
} 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;
|
||
|
}
|
||
|
} catch (Throwable th3) {
|
||
|
Throwable cause3 = th3.getCause();
|
||
|
if (cause3 == null) {
|
||
|
throw th3;
|
||
|
}
|
||
|
throw cause3;
|
||
|
}
|
||
|
}
|
||
|
char[] cArr = new char[i3];
|
||
|
dqy.a = 0;
|
||
|
while (dqy.a < i3) {
|
||
|
cArr[dqy.a] = (char) jArr[dqy.a];
|
||
|
try {
|
||
|
Object[] objArr8 = {dqy, dqy};
|
||
|
Object obj4 = xzZ.y.get(1071125919);
|
||
|
if (obj4 == null) {
|
||
|
Class cls4 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 408, Gravity.getAbsoluteGravity(0, 0) + 5, (char) (View.resolveSize(0, 0) + 29234));
|
||
|
byte b7 = (byte) (-1);
|
||
|
Object[] objArr9 = new Object[1];
|
||
|
p(b7, (byte) (b7 & 8), (byte) 0, objArr9);
|
||
|
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1071125919, obj4);
|
||
|
}
|
||
|
((Method) obj4).invoke(null, objArr8);
|
||
|
int i8 = $10 + 67;
|
||
|
$11 = i8 % 128;
|
||
|
int i9 = i8 % 2;
|
||
|
} catch (Throwable th4) {
|
||
|
Throwable cause4 = th4.getCause();
|
||
|
if (cause4 == null) {
|
||
|
throw th4;
|
||
|
}
|
||
|
throw cause4;
|
||
|
}
|
||
|
}
|
||
|
objArr[0] = new String(cArr);
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.ExtractActivity
|
||
|
public Image getImageByBitmapId(String str) {
|
||
|
int i2 = 2 % 2;
|
||
|
Image imageByBitmapId = super.getImageByBitmapId(str);
|
||
|
if (imageByBitmapId.getImageDPI().intValue() < acy) {
|
||
|
int i3 = f + 95;
|
||
|
g = i3 % 128;
|
||
|
if (i3 % 2 == 0) {
|
||
|
imageByBitmapId.setImageDPI(21378);
|
||
|
} else {
|
||
|
imageByBitmapId.setImageDPI(acy);
|
||
|
}
|
||
|
int i4 = f + 103;
|
||
|
g = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
}
|
||
|
int i6 = g + 119;
|
||
|
f = i6 % 128;
|
||
|
if (i6 % 2 != 0) {
|
||
|
int i7 = 63 / 0;
|
||
|
}
|
||
|
return imageByBitmapId;
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.ExtractActivity
|
||
|
public void extract(Image image) {
|
||
|
int i2 = 2 % 2;
|
||
|
if (this.acA != null) {
|
||
|
Image tT = tT();
|
||
|
if (this.acA.side == IdParameters.IdSide.FRONT) {
|
||
|
this.acz.extract(image, tT);
|
||
|
int i3 = f + 35;
|
||
|
g = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
return;
|
||
|
}
|
||
|
this.acz.extract(tT, image);
|
||
|
return;
|
||
|
}
|
||
|
int i5 = f + 65;
|
||
|
g = i5 % 128;
|
||
|
if (i5 % 2 == 0) {
|
||
|
k.d(TAG, "assuming it's front side");
|
||
|
IdExtractor idExtractor = this.acz;
|
||
|
Image[] imageArr = new Image[5];
|
||
|
imageArr[1] = image;
|
||
|
imageArr[1] = null;
|
||
|
idExtractor.extract(imageArr);
|
||
|
return;
|
||
|
}
|
||
|
k.d(TAG, "assuming it's front side");
|
||
|
this.acz.extract(image, null);
|
||
|
}
|
||
|
|
||
|
private Image tT() {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = g + 71;
|
||
|
f = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
try {
|
||
|
Image imageByBitmapId = getImageByBitmapId(this.acA.reverseSideId.processedImageId);
|
||
|
int i5 = g + 117;
|
||
|
f = i5 % 128;
|
||
|
if (i5 % 2 != 0) {
|
||
|
int i6 = 82 / 0;
|
||
|
}
|
||
|
return imageByBitmapId;
|
||
|
} catch (NullPointerException unused) {
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.ExtractActivity, android.app.Activity
|
||
|
public void onResume() {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = f + 101;
|
||
|
g = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
Context baseContext = getBaseContext();
|
||
|
if (baseContext == null) {
|
||
|
Object[] objArr = new Object[1];
|
||
|
n((short) View.resolveSize(0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 984755185, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 70, (-1372283654) + TextUtils.indexOf("", ""), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 161), objArr);
|
||
|
Class<?> cls = Class.forName((String) objArr[0]);
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
n((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), (-984755146) - (ViewConfiguration.getMaximumFlingVelocity() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_type_store_about_subtitle).substring(69, 70).length() - 58, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1372283686, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 33), objArr2);
|
||
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
int i5 = f + 21;
|
||
|
g = 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(TextUtils.indexOf((CharSequence) "", '0') + 493, (Process.myPid() >> 22) + 5, (char) Drawable.resolveOpacity(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(486 - TextUtils.lastIndexOf("", '0'), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) Drawable.resolveOpacity(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();
|
||
|
int i7 = g + 119;
|
||
|
f = i7 % 128;
|
||
|
if (i7 % 2 != 0) {
|
||
|
int i8 = 38 / 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.ExtractActivity, android.app.Activity
|
||
|
public void onPause() {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = g + 115;
|
||
|
f = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
Context baseContext = getBaseContext();
|
||
|
if (baseContext == null) {
|
||
|
int i5 = f + 121;
|
||
|
g = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
Object[] objArr = new Object[1];
|
||
|
n((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_idp_verify_identity_note_three_not_clickable_start).substring(38, 39).codePointAt(0) - 32), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 984755206, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 58, (-1372283654) - (ViewConfiguration.getLongPressTimeout() >> 16), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.section).substring(7, 10).length() - 118), objArr);
|
||
|
Class<?> cls = Class.forName((String) objArr[0]);
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
n((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.juristic_request_form_eligibility_info_description_1).substring(0, 3).length() - 3), (-984755147) - ImageFormat.getBitsPerPixel(0), (-57) - Color.red(0), (-1372283652) - TextUtils.getOffsetBefore("", 0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 12), objArr2);
|
||
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
||
|
int i7 = f + 9;
|
||
|
g = i7 % 128;
|
||
|
int i8 = i7 % 2;
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
int i9 = g + 7;
|
||
|
f = i9 % 128;
|
||
|
if (i9 % 2 != 0) {
|
||
|
baseContext = baseContext.getApplicationContext();
|
||
|
int i10 = 73 / 0;
|
||
|
} else {
|
||
|
baseContext = baseContext.getApplicationContext();
|
||
|
}
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
try {
|
||
|
Object obj = xzZ.y.get(125943855);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 492, (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)) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 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(1633456013);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c(487 - (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)), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).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();
|
||
|
}
|
||
|
|
||
|
private static void n(short s, int i2, int i3, int i4, byte b2, Object[] objArr) {
|
||
|
int i5;
|
||
|
int i6 = 2;
|
||
|
int i7 = 2 % 2;
|
||
|
DFY dfy = new DFY();
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
try {
|
||
|
Object[] objArr2 = {Integer.valueOf(i3), Integer.valueOf(e)};
|
||
|
Object obj = xzZ.y.get(-2092856797);
|
||
|
int i8 = -1;
|
||
|
long j = 0;
|
||
|
if (obj == null) {
|
||
|
Class cls = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 336, 5 - TextUtils.indexOf("", "", 0, 0), (char) (MotionEvent.axisFromString("") + 1));
|
||
|
byte b3 = (byte) (-1);
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
p(b3, (byte) (b3 & 12), (byte) 0, objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(-2092856797, obj);
|
||
|
}
|
||
|
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
|
||
|
boolean z = intValue == -1;
|
||
|
if (z) {
|
||
|
int i9 = $10 + 111;
|
||
|
$11 = i9 % 128;
|
||
|
int i10 = i9 % 2;
|
||
|
byte[] bArr = c;
|
||
|
if (bArr != null) {
|
||
|
int length = bArr.length;
|
||
|
byte[] bArr2 = new byte[length];
|
||
|
int i11 = 0;
|
||
|
while (i11 < length) {
|
||
|
int i12 = $11 + 43;
|
||
|
$10 = i12 % 128;
|
||
|
int i13 = i12 % i6;
|
||
|
Object[] objArr4 = {Integer.valueOf(bArr[i11])};
|
||
|
Object obj2 = xzZ.y.get(-1648115392);
|
||
|
if (obj2 == null) {
|
||
|
Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > j ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == j ? 0 : -1)) + 60, 5 - Drawable.resolveOpacity(0, 0), (char) (1 - (SystemClock.elapsedRealtimeNanos() > j ? 1 : (SystemClock.elapsedRealtimeNanos() == j ? 0 : -1))));
|
||
|
byte b4 = (byte) i8;
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
p(b4, (byte) (b4 & 10), (byte) 0, objArr5);
|
||
|
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
|
||
|
xzZ.y.put(-1648115392, obj2);
|
||
|
}
|
||
|
bArr2[i11] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
|
||
|
i11++;
|
||
|
i6 = 2;
|
||
|
i8 = -1;
|
||
|
j = 0;
|
||
|
}
|
||
|
bArr = bArr2;
|
||
|
}
|
||
|
if (bArr != null) {
|
||
|
byte[] bArr3 = c;
|
||
|
Object[] objArr6 = {Integer.valueOf(i2), Integer.valueOf(d)};
|
||
|
Object obj3 = xzZ.y.get(-2092856797);
|
||
|
if (obj3 == null) {
|
||
|
Class cls3 = (Class) xzZ.c(TextUtils.indexOf("", "", 0) + 337, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (KeyEvent.getMaxKeyCode() >> 16));
|
||
|
byte b5 = (byte) (-1);
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
p(b5, (byte) (b5 & 12), (byte) 0, objArr7);
|
||
|
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(-2092856797, obj3);
|
||
|
}
|
||
|
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (e ^ (-7303220121662775787L))));
|
||
|
} else {
|
||
|
intValue = (short) (((short) (a[i2 + ((int) (d ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (e ^ (-7303220121662775787L))));
|
||
|
}
|
||
|
}
|
||
|
if (intValue > 0) {
|
||
|
int i14 = ((i2 + intValue) - 2) + ((int) (d ^ (-7303220121662775787L)));
|
||
|
if (!z) {
|
||
|
i5 = 0;
|
||
|
} else {
|
||
|
int i15 = $11 + 63;
|
||
|
$10 = i15 % 128;
|
||
|
int i16 = i15 % 2;
|
||
|
i5 = 1;
|
||
|
}
|
||
|
dfy.c = i14 + i5;
|
||
|
Object[] objArr8 = {dfy, Integer.valueOf(i4), Integer.valueOf(b), sb};
|
||
|
Object obj4 = xzZ.y.get(1546973421);
|
||
|
if (obj4 == null) {
|
||
|
obj4 = ((Class) xzZ.c(749 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), AndroidCharacter.getMirror('0') - '+', (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
|
||
|
xzZ.y.put(1546973421, obj4);
|
||
|
}
|
||
|
((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a);
|
||
|
dfy.e = dfy.a;
|
||
|
byte[] bArr4 = c;
|
||
|
if (bArr4 != null) {
|
||
|
int length2 = bArr4.length;
|
||
|
byte[] bArr5 = new byte[length2];
|
||
|
int i17 = $10 + 97;
|
||
|
$11 = i17 % 128;
|
||
|
int i18 = i17 % 2;
|
||
|
for (int i19 = 0; i19 < length2; i19++) {
|
||
|
bArr5[i19] = (byte) (bArr4[i19] ^ (-7303220121662775787L));
|
||
|
}
|
||
|
bArr4 = bArr5;
|
||
|
}
|
||
|
boolean z2 = bArr4 != null;
|
||
|
dfy.d = 1;
|
||
|
while (dfy.d < intValue) {
|
||
|
if (z2) {
|
||
|
byte[] bArr6 = c;
|
||
|
dfy.c = dfy.c - 1;
|
||
|
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s)) ^ b2));
|
||
|
int i20 = $10 + 81;
|
||
|
$11 = i20 % 128;
|
||
|
int i21 = i20 % 2;
|
||
|
} else {
|
||
|
short[] sArr = a;
|
||
|
dfy.c = dfy.c - 1;
|
||
|
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r8] ^ (-7303220121662775787L))) + s)) ^ b2));
|
||
|
}
|
||
|
sb.append(dfy.a);
|
||
|
dfy.e = dfy.a;
|
||
|
dfy.d++;
|
||
|
}
|
||
|
}
|
||
|
objArr[0] = sb.toString();
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.ExtractActivity, 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];
|
||
|
n((short) (ViewConfiguration.getMaximumFlingVelocity() >> 16), (-984755195) + (ViewConfiguration.getPressedStateDuration() >> 16), (-57) - View.MeasureSpec.makeMeasureSpec(0, 0), (-1372283653) + Process.getGidForName(""), (byte) ((ViewConfiguration.getJumpTapTimeout() >> 16) - 114), objArr);
|
||
|
Class<?> cls = Class.forName((String) objArr[0]);
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
n((short) (Process.myTid() >> 22), (-984755177) - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 57, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1372283643, (byte) (KeyEvent.keyCodeFromString("") + IpLibUtil.KIPP_BAD_HISTOGRAM), objArr2);
|
||
|
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
|
||
|
if (intValue < 99000 || intValue > 99999) {
|
||
|
if (context != null) {
|
||
|
int i3 = f + 59;
|
||
|
g = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
context2 = context.getApplicationContext();
|
||
|
} else {
|
||
|
context2 = context;
|
||
|
}
|
||
|
if (context2 != null) {
|
||
|
int i5 = f + 31;
|
||
|
g = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
try {
|
||
|
Object obj = xzZ.y.get(125943855);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 492, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("a", null);
|
||
|
xzZ.y.put(125943855, obj);
|
||
|
}
|
||
|
Object invoke = ((Method) obj).invoke(null, null);
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
o((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 49 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), objArr3);
|
||
|
String str = (String) objArr3[0];
|
||
|
Object[] objArr4 = new Object[1];
|
||
|
n((short) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)), TextUtils.indexOf("", "") - 984755128, AndroidCharacter.getMirror('0') - 'i', View.MeasureSpec.makeMeasureSpec(0, 0) - 1372283650, (byte) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 26), objArr4);
|
||
|
String str2 = (String) objArr4[0];
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
n((short) Color.argb(0, 0, 0, 0), (-1001532280) - Color.rgb(0, 0, 0), (-58) - TextUtils.lastIndexOf("", '0', 0, 0), AndroidCharacter.getMirror('0') - 25398, (byte) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 92), objArr5);
|
||
|
String str3 = (String) objArr5[0];
|
||
|
Object[] objArr6 = new Object[1];
|
||
|
o(TextUtils.getCapsMode("", 0, 0) + 48, 74 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) View.combineMeasuredStates(0, 0), objArr6);
|
||
|
String str4 = (String) objArr6[0];
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
n((short) ((Process.getThreadPriority(0) + 20) >> 6), (-984755000) - ((Process.getThreadPriority(0) + 20) >> 6), (-58) - TextUtils.indexOf((CharSequence) "", '0'), (-1389060910) - Color.rgb(0, 0, 0), (byte) (TextUtils.getTrimmedLength("") - 4), objArr7);
|
||
|
String str5 = (String) objArr7[0];
|
||
|
Object[] objArr8 = new Object[1];
|
||
|
n((short) (TextUtils.indexOf((CharSequence) "", '0') + 1), TextUtils.getTrimmedLength("") - 984754995, (-57) - View.MeasureSpec.makeMeasureSpec(0, 0), (-1372283650) - ((Process.getThreadPriority(0) + 20) >> 6), (byte) (54 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))), 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(486 - TextUtils.lastIndexOf("", '0'), 5 - ExpandableListView.getPackedPositionType(0L), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).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;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static void c() {
|
||
|
d = 1769747950;
|
||
|
e = 1406017069;
|
||
|
b = 33914226;
|
||
|
c = new byte[]{-49, -101, -107, -103, ISOFileInfo.FCI_BYTE, 102, -71, -71, 32, -97, ISO7816.INS_PUT_DATA, 81, 96, 97, 102, -107, 109, -106, ISO7816.INS_LOAD_KEY_FILE, 117, -102, 82, -126, -9, -101, ISOFileInfo.FMD_BYTE, 107, -110, ISOFileInfo.SECURITY_ATTR_COMPACT, 67, -99, -109, 107, -107, 109, -119, -70, ISOFileInfo.SECURITY_ATTR_EXP, 38, -104, -105, ISOFileInfo.AB, 82, 99, ISOFileInfo.FCP_BYTE, 101, -106, 110, -107, -49, -60, 61, -50, 40, -59, -63, -58, -57, 59, Ascii.DC4, -10, 61, ISO7816.INS_INCREASE, -56, 59, -58, 41, 29, -10, 13, -34, 12, -11, 60, -39, ISO7816.INS_CHANGE_CHV, -33, 15, 39, -34, 35, ISO7816.INS_UPDATE_RECORD, 38, -16, -34, -9, 14, 13, 39, 13, -34, 38, -14, ISO7816.INS_LOAD_KEY_FILE, -15, 38, -34, 12, -14, 13, -6, 5, -11, 61, -63, 8, -15, 13, 33, -39, 33, -61, -13, 15, 12, -9, 8, -13, -10, 14, -10, 15, ISO7816.INS_MSE, -34, -9, 32, -34, 35, -35, 38, 15, 29, -99, ISOFileInfo.FCP_BYTE, 74, -99, -78, 76, 120, ISOFileInfo.FILE_IDENTIFIER, Ascii.DEL, -66, 74, -73, 79, -124, 74, ISO7816.INS_READ_BINARY_STAMPED, 102, -102, ISO7816.INS_READ_BINARY_STAMPED, 122, -73, 76, -78, 77, 73, ISO7816.INS_READ_RECORD_STAMPED, ISO7816.INS_READ_BINARY_STAMPED, 73, -99, ISO7816.INS_READ_RECORD_STAMPED, 103, -103, ISOFileInfo.FCP_BYTE, 74, -73, -102, ISO7816.INS_READ_RECORD_STAMPED, 103, -100, 120, -78, 78, ISO7816.INS_READ_RECORD_STAMPED, 72, ISOFileInfo.FILE_IDENTIFIER, 77, 72, 96, 65, -75, -101, ISO7816.INS_READ_BINARY_STAMPED, 123, ISO7816.INS_READ_RECORD2, 78, -124, 73, 123, -101, 103, 74, ISO7816.INS_READ_BINARY2, -98, ISO7816.INS_LOAD_KEY_FILE, -21, Ascii.US, -29, 28, -7, Ascii.DC4, ISO7816.INS_UPDATE_RECORD, 33, -33, -14, -34, 14, -10, 15, -17, 17, 37, -22, -34, 35, 33, Ascii.DC4, ISO7816.INS_UPDATE_RECORD, 32, -33, -34, 39, -21, -35, Ascii.NAK, ISO7816.INS_PUT_DATA, 41, -35, ISO7816.INS_UPDATE_RECORD, -37, -11, 16, ISO7816.INS_MSE, -15, ISO7816.INS_UPDATE_RECORD};
|
||
|
i = new char[]{36835, 10129, 57102, 30444, 11825, 50677, 32012, 5279, 52240, 25599, 7016, 45903, 27281, 596, 47545, 20774, 2288, 41045, 22472, 3958, 42737, 24162, 63051, 44423, 17748, 64688, 38009, 19419, 58113, 39631, 12846, 59887, 33123, 14611, 53378, 34879, 16356, 55155, 36488, 9756, 56768, 30066, 11491, 50331, 31809, 5006, 52079, 25258, 36794, 10194, 57166, 30462, 11889, 50604, 32069, 5329, 52225, 25519, 6971, 45891, 27329, 601, 47591, 20851, 2295, 40980, 22425, 3879, 42659, 24122, 63048, 44511, 17756, 64749, 37940, 19354, 58122, 39556, 12847, 59839, 33062, 14661, 53467, 34941, 16374, 55096, 36493, 9739, 56723, 30004, 11454, 50397, 31827, 5059, 52075, 25324, 6775, 45512, 26905, 161, 47151, 28665, 1995, 48974, 22235, 3625, 42483, 23808, 62597, 44051, 17337, 64298, 37629, 19152, 57864, 39329, 12647, 59616, 32783, 14224, 61190, 34485};
|
||
|
h = -48835201254873178L;
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.ExtractActivity, android.app.Activity
|
||
|
public void onStart() {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = f + 27;
|
||
|
g = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
super.onStart();
|
||
|
if (i4 == 0) {
|
||
|
throw null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
f = 0;
|
||
|
c();
|
||
|
int i2 = g + 97;
|
||
|
f = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
}
|
||
|
}
|