563 lines
30 KiB
Java
563 lines
30 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.Bundle;
|
||
|
import android.os.Process;
|
||
|
import android.os.SystemClock;
|
||
|
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.view.ViewGroup;
|
||
|
import android.widget.ExpandableListView;
|
||
|
import android.widget.LinearLayout;
|
||
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||
|
import com.kofax.kmc.ken.engines.data.Image;
|
||
|
import com.kofax.kmc.kui.uicontrols.BarCodeCaptureView;
|
||
|
import com.kofax.kmc.kui.uicontrols.BarCodeFoundEvent;
|
||
|
import com.kofax.kmc.kui.uicontrols.BarCodeFoundListener;
|
||
|
import com.kofax.kmc.kui.uicontrols.data.GuidingLine;
|
||
|
import com.kofax.kmc.kui.uicontrols.data.Symbology;
|
||
|
import com.kofax.mobile.sdk._internal.camera.f;
|
||
|
import com.kofax.mobile.sdk._internal.dagger.Injector;
|
||
|
import com.kofax.mobile.sdk._internal.e;
|
||
|
import com.kofax.mobile.sdk._internal.h;
|
||
|
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
|
||
|
import com.kofax.mobile.sdk.capture.CaptureActivity;
|
||
|
import com.kofax.mobile.sdk.capture.IImageStorage;
|
||
|
import com.pingan.ai.p;
|
||
|
import java.lang.reflect.Method;
|
||
|
import net.sf.scuba.smartcards.ISO7816;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
import o.Nhs;
|
||
|
import o.jTb;
|
||
|
import o.xzZ;
|
||
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class IdCaptureBackActivity extends CaptureActivity {
|
||
|
private IdParameters acp;
|
||
|
private static final byte[] $$d = {80, 41, ISO7816.INS_UPDATE_RECORD, 94};
|
||
|
private static final int $$e = CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int f = 0;
|
||
|
private static int g = 1;
|
||
|
private static long e = -9073418841113029415L;
|
||
|
private static int c = 452713125;
|
||
|
private static char b = 55973;
|
||
|
private static char d = 39371;
|
||
|
private static char a = 11300;
|
||
|
private static char i = 46139;
|
||
|
private static char h = 47386;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
h Yz = null;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
IImageStorage Yw = null;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
e Yx = null;
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002b). 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(int r5, int r6, byte r7, java.lang.Object[] r8) {
|
||
|
/*
|
||
|
byte[] r0 = com.kofax.mobile.sdk.capture.id.IdCaptureBackActivity.$$d
|
||
|
int r5 = r5 * 3
|
||
|
int r1 = r5 + 1
|
||
|
int r6 = r6 * 3
|
||
|
int r6 = 3 - r6
|
||
|
int r7 = r7 + 66
|
||
|
byte[] r1 = new byte[r1]
|
||
|
r2 = -1
|
||
|
if (r0 != 0) goto L14
|
||
|
r3 = r5
|
||
|
r7 = r6
|
||
|
goto L2b
|
||
|
L14:
|
||
|
r4 = r7
|
||
|
r7 = r6
|
||
|
r6 = r4
|
||
|
L17:
|
||
|
int r2 = r2 + 1
|
||
|
byte r3 = (byte) r6
|
||
|
r1[r2] = r3
|
||
|
if (r2 != r5) goto L27
|
||
|
java.lang.String r5 = new java.lang.String
|
||
|
r6 = 0
|
||
|
r5.<init>(r1, r6)
|
||
|
r8[r6] = r5
|
||
|
return
|
||
|
L27:
|
||
|
int r7 = r7 + 1
|
||
|
r3 = r0[r7]
|
||
|
L2b:
|
||
|
int r6 = r6 + r3
|
||
|
goto L17
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.id.IdCaptureBackActivity.o(int, int, byte, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void a(IdCaptureBackActivity idCaptureBackActivity, BarCodeFoundEvent barCodeFoundEvent) {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = f + 119;
|
||
|
g = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
idCaptureBackActivity.a(barCodeFoundEvent);
|
||
|
int i5 = g + 41;
|
||
|
f = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
}
|
||
|
|
||
|
private static void n(char[] cArr, int i2, Object[] objArr) {
|
||
|
int i3;
|
||
|
int i4 = 2 % 2;
|
||
|
jTb jtb = new jTb();
|
||
|
char[] cArr2 = new char[cArr.length];
|
||
|
int i5 = 0;
|
||
|
jtb.b = 0;
|
||
|
char[] cArr3 = new char[2];
|
||
|
while (jtb.b < cArr.length) {
|
||
|
int i6 = $10 + 99;
|
||
|
$11 = i6 % 128;
|
||
|
if (i6 % 2 == 0) {
|
||
|
cArr3[1] = cArr[jtb.b];
|
||
|
cArr3[i5] = cArr[jtb.b << 1];
|
||
|
i3 = 1;
|
||
|
} else {
|
||
|
cArr3[i5] = cArr[jtb.b];
|
||
|
cArr3[1] = cArr[jtb.b + 1];
|
||
|
i3 = i5;
|
||
|
}
|
||
|
int i7 = $10 + 47;
|
||
|
$11 = i7 % 128;
|
||
|
int i8 = i7 % 2;
|
||
|
int i9 = 58224;
|
||
|
while (i3 < 16) {
|
||
|
char c2 = cArr3[1];
|
||
|
char c3 = cArr3[i5];
|
||
|
char[] cArr4 = cArr3;
|
||
|
try {
|
||
|
Object[] objArr2 = {Integer.valueOf(c2), Integer.valueOf((c3 + i9) ^ ((c3 << 4) + ((char) (i ^ 41718355337583039L)))), Integer.valueOf(c3 >>> 5), Integer.valueOf(h)};
|
||
|
Object obj = xzZ.y.get(597144044);
|
||
|
if (obj == null) {
|
||
|
Class cls = (Class) xzZ.c(412 - KeyEvent.keyCodeFromString(""), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
|
||
|
byte b2 = (byte) 0;
|
||
|
byte b3 = b2;
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
o(b2, b3, b3, objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(597144044, obj);
|
||
|
}
|
||
|
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
||
|
cArr4[1] = charValue;
|
||
|
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i9) ^ ((charValue << 4) + ((char) (d ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(a)};
|
||
|
Object obj2 = xzZ.y.get(597144044);
|
||
|
if (obj2 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(411 - ExpandableListView.getPackedPositionChild(0L), 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1));
|
||
|
byte b4 = (byte) 0;
|
||
|
byte b5 = b4;
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
o(b4, b5, b5, 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++;
|
||
|
cArr3 = cArr4;
|
||
|
i5 = 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) {
|
||
|
Class cls3 = (Class) xzZ.c(98 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)));
|
||
|
byte b6 = (byte) 0;
|
||
|
byte b7 = b6;
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
o(b6, b7, (byte) (b7 + 1), objArr7);
|
||
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
||
|
xzZ.y.put(943004485, obj3);
|
||
|
}
|
||
|
((Method) obj3).invoke(null, objArr6);
|
||
|
cArr3 = cArr5;
|
||
|
i5 = 0;
|
||
|
}
|
||
|
objArr[0] = new String(cArr2, 0, i2);
|
||
|
}
|
||
|
|
||
|
private static void j(char c2, char[] cArr, char[] cArr2, char[] cArr3, int i2, Object[] objArr) {
|
||
|
int i3 = 2;
|
||
|
int i4 = 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) i2));
|
||
|
int length3 = cArr.length;
|
||
|
char[] cArr6 = new char[length3];
|
||
|
nhs.a = 0;
|
||
|
while (nhs.a < length3) {
|
||
|
int i5 = $10 + 95;
|
||
|
$11 = i5 % 128;
|
||
|
int i6 = i5 % i3;
|
||
|
try {
|
||
|
Object[] objArr2 = {nhs};
|
||
|
Object obj = xzZ.y.get(263693715);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 45, View.combineMeasuredStates(0, 0) + 5, (char) View.MeasureSpec.getMode(0))).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((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)) + 352, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((KeyEvent.getMaxKeyCode() >> 16) + 52128));
|
||
|
byte b2 = (byte) 0;
|
||
|
byte b3 = b2;
|
||
|
Object[] objArr4 = new Object[1];
|
||
|
o(b2, b3, (byte) (b3 | 49), 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((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 747, MotionEvent.axisFromString("") + 6, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).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((ViewConfiguration.getScrollDefaultDelay() >> 16) + 402, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (21608 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
|
||
|
byte b4 = (byte) 0;
|
||
|
byte b5 = b4;
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
o(b4, b5, (byte) (b5 | ISO7816.INS_DECREASE), 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]) ^ (e ^ 9051040786702654117L)) ^ ((int) (c ^ 9051040786702654117L))) ^ ((char) (b ^ 9051040786702654117L)));
|
||
|
nhs.a++;
|
||
|
int i7 = $11 + 121;
|
||
|
$10 = i7 % 128;
|
||
|
int i8 = i7 % 2;
|
||
|
i3 = 2;
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
objArr[0] = new String(cArr6);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x00b6, code lost:
|
||
|
|
||
|
if (r4 > 99999) goto L6;
|
||
|
*/
|
||
|
@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 r22) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 1538
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.id.IdCaptureBackActivity.onCreate(android.os.Bundle):void");
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.CaptureActivity
|
||
|
public f getCameraView() {
|
||
|
int i2 = 2 % 2;
|
||
|
BarCodeCaptureView barCodeCaptureView = Injector.getInjector(this).getBarCodeCaptureView();
|
||
|
barCodeCaptureView.setSymbologies(new Symbology[]{Symbology.PDF417});
|
||
|
barCodeCaptureView.setGuidingLine(GuidingLine.LANDSCAPE);
|
||
|
barCodeCaptureView.addBarCodeFoundEventListener(new BarCodeFoundListener(this) { // from class: com.kofax.mobile.sdk.capture.id.IdCaptureBackActivity.1
|
||
|
final IdCaptureBackActivity acq;
|
||
|
|
||
|
{
|
||
|
this.acq = this;
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.kmc.kui.uicontrols.BarCodeFoundListener
|
||
|
public void barCodeFound(BarCodeFoundEvent barCodeFoundEvent) {
|
||
|
IdCaptureBackActivity.a(this.acq, barCodeFoundEvent);
|
||
|
}
|
||
|
});
|
||
|
barCodeCaptureView.readBarcode();
|
||
|
int i3 = g + 103;
|
||
|
f = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
return barCodeCaptureView;
|
||
|
}
|
||
|
|
||
|
private void a(BarCodeFoundEvent barCodeFoundEvent) {
|
||
|
int i2 = 2 % 2;
|
||
|
Image image = barCodeFoundEvent.getImage();
|
||
|
Bundle bundle = new Bundle();
|
||
|
bundle.putSerializable(IdWorkflowActivity.ID_BARCODE_RESULTS, barCodeFoundEvent.getBarCode());
|
||
|
super.saveResultAndFinish(image, bundle);
|
||
|
int i3 = f + 43;
|
||
|
g = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.CaptureActivity
|
||
|
public void setupCameraView(ViewGroup viewGroup) {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = g + 115;
|
||
|
f = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
viewGroup.addView(getCameraView().getViewGroup());
|
||
|
int i5 = g + 83;
|
||
|
f = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.CaptureActivity, android.app.Activity
|
||
|
public void onResume() {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = f + 71;
|
||
|
g = i3 % 128;
|
||
|
if (i3 % 2 == 0) {
|
||
|
getBaseContext();
|
||
|
throw null;
|
||
|
}
|
||
|
Context baseContext = getBaseContext();
|
||
|
if (baseContext == null) {
|
||
|
Object[] objArr = new Object[1];
|
||
|
j((char) (1569 - MotionEvent.axisFromString("")), new char[]{53926, 56082, 33275, 13187, 53154, 54769, 19870, 39546, 55271, 23641, 1555, 62879, 36938, 5325, 63191, 20929, 31, 25066, 19369, 3369, 2546, 56883, 21691, 21488, 4095, 14256}, new char[]{62172, 6017, 8825, 16646}, new char[]{52860, 4068, 31751, 65423}, Drawable.resolveOpacity(0, 0), objArr);
|
||
|
Class<?> cls = Class.forName((String) objArr[0]);
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
j((char) (30529 - Process.getGidForName("")), new char[]{12329, 44167, 57114, 57758, 56483, 65434, 12506, 42934, 19940, 3456, 65109, 13268, 43750, 41572, 7829, 57333, 52006, 38391}, new char[]{37210, 44712, 17055, 20599}, new char[]{52860, 4068, 31751, 65423}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr2);
|
||
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
int i4 = f + 87;
|
||
|
g = i4 % 128;
|
||
|
if (i4 % 2 == 0) {
|
||
|
baseContext.getApplicationContext();
|
||
|
throw null;
|
||
|
}
|
||
|
baseContext = baseContext.getApplicationContext();
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
int i5 = f + 115;
|
||
|
g = i5 % 128;
|
||
|
try {
|
||
|
if (i5 % 2 == 0) {
|
||
|
Object obj = xzZ.y.get(125943855);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(491 - MotionEvent.axisFromString(""), View.combineMeasuredStates(0, 0) + 5, (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("a", null);
|
||
|
xzZ.y.put(125943855, obj);
|
||
|
}
|
||
|
Object invoke = ((Method) obj).invoke(null, null);
|
||
|
Object[] objArr3 = {baseContext};
|
||
|
Object obj2 = xzZ.y.get(1378719468);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 488, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
|
||
|
xzZ.y.put(1378719468, obj2);
|
||
|
}
|
||
|
((Method) obj2).invoke(invoke, objArr3);
|
||
|
int i6 = 49 / 0;
|
||
|
} else {
|
||
|
Object obj3 = xzZ.y.get(125943855);
|
||
|
if (obj3 == null) {
|
||
|
obj3 = ((Class) xzZ.c(492 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("a", null);
|
||
|
xzZ.y.put(125943855, obj3);
|
||
|
}
|
||
|
Object invoke2 = ((Method) obj3).invoke(null, null);
|
||
|
Object[] objArr4 = {baseContext};
|
||
|
Object obj4 = xzZ.y.get(1378719468);
|
||
|
if (obj4 == null) {
|
||
|
obj4 = ((Class) xzZ.c(487 - (ViewConfiguration.getEdgeSlop() >> 16), 4 - MotionEvent.axisFromString(""), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
|
||
|
xzZ.y.put(1378719468, obj4);
|
||
|
}
|
||
|
((Method) obj4).invoke(invoke2, objArr4);
|
||
|
}
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
super.onResume();
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:29:0x0022, code lost:
|
||
|
|
||
|
r1 = com.kofax.mobile.sdk.capture.id.IdCaptureBackActivity.f + 27;
|
||
|
com.kofax.mobile.sdk.capture.id.IdCaptureBackActivity.g = r1 % 128;
|
||
|
r1 = r1 % 2;
|
||
|
r7 = (java.lang.Object[]) null;
|
||
|
r6 = new java.lang.Object[1];
|
||
|
j((char) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.rewards_text).substring(0, 9).codePointAt(6) + 1473), new char[]{53926, 56082, 33275, 13187, 53154, 54769, 19870, 39546, 55271, 23641, 1555, 62879, 36938, 5325, 63191, 20929, 31, 25066, 19369, 3369, 2546, 56883, 21691, 21488, 4095, 14256}, new char[]{62172, 6017, 8825, 16646}, new char[]{52860, 4068, 31751, 65423}, android.view.ViewConfiguration.getPressedStateDuration() >> 16, r6);
|
||
|
r6 = java.lang.Class.forName((java.lang.String) r6[0]);
|
||
|
r1 = new java.lang.Object[1];
|
||
|
j((char) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) + 30419), new char[]{12329, 44167, 57114, 57758, 56483, 65434, 12506, 42934, 19940, 3456, 65109, 13268, 43750, 41572, 7829, 57333, 52006, 38391}, new char[]{37210, 44712, 17055, 20599}, new char[]{52860, 4068, 31751, 65423}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.add_account_info_title).substring(11, 12).length() - 1, r1);
|
||
|
r1 = (android.content.Context) r6.getMethod((java.lang.String) r1[0], new java.lang.Class[0]).invoke(null, null);
|
||
|
r6 = com.kofax.mobile.sdk.capture.id.IdCaptureBackActivity.g + 37;
|
||
|
com.kofax.mobile.sdk.capture.id.IdCaptureBackActivity.f = r6 % 128;
|
||
|
r6 = r6 % 2;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:31:0x0020, code lost:
|
||
|
|
||
|
if (r1 == null) goto L9;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost:
|
||
|
|
||
|
if (r1 == null) goto L9;
|
||
|
*/
|
||
|
@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 onPause() {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 510
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.id.IdCaptureBackActivity.onPause():void");
|
||
|
}
|
||
|
|
||
|
@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;
|
||
|
int i3 = f + 21;
|
||
|
g = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
super.attachBaseContext(context);
|
||
|
Object[] objArr = new Object[1];
|
||
|
j((char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 64996), new char[]{51195, 48588, 13023, 45562, 50441, 27216, 45577, 38651, 12922, 17958, 25361, 8541, 38453, 45950, 47469, 2335, 30929, 56677}, new char[]{15437, 54320, 58770, 63229}, new char[]{52860, 4068, 31751, 65423}, View.combineMeasuredStates(0, 0), objArr);
|
||
|
Class<?> cls = Class.forName((String) objArr[0]);
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
n(new char[]{9801, 60384, 53186, 17669, 2302, 30837}, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, objArr2);
|
||
|
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
|
||
|
if (intValue >= 99000) {
|
||
|
int i5 = f + 67;
|
||
|
g = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
if (intValue <= 99999) {
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
if (context != null) {
|
||
|
int i7 = f + 55;
|
||
|
g = i7 % 128;
|
||
|
int i8 = i7 % 2;
|
||
|
context2 = context.getApplicationContext();
|
||
|
} else {
|
||
|
context2 = context;
|
||
|
}
|
||
|
if (context2 != null) {
|
||
|
int i9 = g + 93;
|
||
|
f = i9 % 128;
|
||
|
int i10 = i9 % 2;
|
||
|
try {
|
||
|
Object obj = xzZ.y.get(125943855);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0', 0), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null);
|
||
|
xzZ.y.put(125943855, obj);
|
||
|
}
|
||
|
Object invoke = ((Method) obj).invoke(null, null);
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
j((char) (ViewConfiguration.getScrollDefaultDelay() >> 16), new char[]{1971, 31130, 63845, 60371, 51072, 63365, 17024, 30750, 8594, 6983, 42311, 14957, 58525, 35672, 59598, 9096, 56044, 60711, 59707, 51246, 20570, 9989, 6705, 52417, 43192, 34314, 14829, 24527, 50892, 36743, 52885, 34998, 24538, 42861, 10617, 38714, 254, 56366, 43511, 48173, 59722, 480, 47712, 26331, 57280, 53368, 342, 35602}, new char[]{38653, 26956, 10696, 10303}, new char[]{52860, 4068, 31751, 65423}, ViewConfiguration.getKeyRepeatTimeout() >> 16, objArr3);
|
||
|
String str = (String) objArr3[0];
|
||
|
Object[] objArr4 = new Object[1];
|
||
|
j((char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), new char[]{51257, 42828, 61581, 4418, 14292, 37270, 18968, 5468, 14522, 10564, 40060, 57104, 36476, 22573, 54843, 28956, 48619, 43031, 650, 65077, 55822, 61266, 40276, 51879, 31814, 41244, 20993, 62123, 46449, 20901, 46327, 14085, 64020, 52236, 21446, 21184, 17916, 60580, 57943, 1296, 16819, 64391, 17, 28944, 18038, 48682, 54524, 16523, 60816, 55179, 59433, 57544, 1981, 57501, 16589, 55302, 18045, 6167, 8183, 48706, 26136, 30844, 3974, 4769}, new char[]{60849, 7462, 44641, 6252}, new char[]{52860, 4068, 31751, 65423}, ViewConfiguration.getLongPressTimeout() >> 16, objArr4);
|
||
|
String str2 = (String) objArr4[0];
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
n(new char[]{51722, 47067, 62848, 22938, 41169, 21789, 55949, 63326, 33234, 2094, 33947, 33252, 13812, 42400, 55679, 47450, 42221, 47273, 23429, 16137, 56243, 6066, 44436, 60222, 11355, 21740, 9723, 19439, 39327, 63867, 41755, 16095, 13984, 64663, 42722, 62066, 39332, 43560, 29008, 43520, 53332, 37411, 62090, 32728, 26588, 9241, 40052, 21156, 47692, 19193, 41197, 8507, 21548, 1413, 41764, 50410, 64031, 63315, 27996, 63396, 63175, 12380, 13220, 38244}, 64 - Color.red(0), objArr5);
|
||
|
String str3 = (String) objArr5[0];
|
||
|
Object[] objArr6 = new Object[1];
|
||
|
n(new char[]{10480, 3524, 62360, 54877, 8305, 39594, 10218, 39699, 24472, 30578, 12583, 37117, 30561, 10462, 51985, 32110, 54873, 5282, 12325, 57693, 48630, 44440, 5114, 22248, 44550, 37213, 59555, 30889, 14917, 5368, 60758, 41789, 15485, 50149, 3742, 10258, 50978, 5402, 915, 19058, 13023, 62748, 50838, 32364, 9411, 49605, 13023, 62748, 54974, 18989, 30561, 10462, 22293, 12258, 41776, 14360, 15691, 60677, 23178, 62283, 19778, 3869, 38749, 58016, 5654, 9994, 19141, 35795, 29961, 33485, 33486, 40937, 30201, 38386}, View.MeasureSpec.makeMeasureSpec(0, 0) + 74, objArr6);
|
||
|
String str4 = (String) objArr6[0];
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
j((char) (12649 - Color.alpha(0)), new char[]{9565, 60347, 11044, 14386, 37284}, new char[]{16981, 55223, 26914, 47153}, new char[]{52860, 4068, 31751, 65423}, 584562497 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), objArr7);
|
||
|
String str5 = (String) objArr7[0];
|
||
|
Object[] objArr8 = new Object[1];
|
||
|
j((char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new char[]{34977, 46752, 54458, 47719, 23524, 9055, 35666, 50002, 44829, 8198, 9027, 39970, 15541, 6063, 57032, 50261, 52234, 34350, 14027, 55711, 19398, 8498, 22116, 21742, 33523, 35059, 50453, 15256, 22746, 47661, 58398, 42701, 52263, 26040, 51748, 53912}, new char[]{59191, 16828, 56725, 23916}, new char[]{52860, 4068, 31751, 65423}, TextUtils.indexOf("", "", 0, 0), 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((ViewConfiguration.getFadingEdgeLength() >> 16) + 487, (Process.myPid() >> 22) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 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.CaptureActivity, android.app.Activity
|
||
|
public void onStart() {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = g + 41;
|
||
|
f = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
super.onStart();
|
||
|
int i5 = f + 39;
|
||
|
g = i5 % 128;
|
||
|
if (i5 % 2 != 0) {
|
||
|
return;
|
||
|
}
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk.capture.CaptureActivity
|
||
|
public void setupButtonBarView(LinearLayout linearLayout) {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = f + 59;
|
||
|
g = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
}
|
||
|
}
|