544 lines
24 KiB
Java
544 lines
24 KiB
Java
|
package com.kofax.mobile.sdk.capture;
|
||
|
|
||
|
import android.app.Activity;
|
||
|
import android.content.Context;
|
||
|
import android.graphics.Bitmap;
|
||
|
import android.graphics.ImageFormat;
|
||
|
import android.graphics.drawable.Drawable;
|
||
|
import android.os.AsyncTask;
|
||
|
import android.os.Bundle;
|
||
|
import android.os.Process;
|
||
|
import android.telephony.cdma.CdmaCellLocation;
|
||
|
import android.text.TextUtils;
|
||
|
import android.view.Gravity;
|
||
|
import android.view.KeyEvent;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import android.view.WindowManager;
|
||
|
import android.widget.ExpandableListView;
|
||
|
import android.widget.LinearLayout;
|
||
|
import android.widget.RelativeLayout;
|
||
|
import com.google.common.base.Ascii;
|
||
|
import com.kofax.kmc.ken.engines.data.Image;
|
||
|
import com.kofax.kmc.ken.engines.service.ImageService;
|
||
|
import com.kofax.kmc.kui.uicontrols.ImgReviewEditCntrl;
|
||
|
import com.kofax.kmc.kut.utilities.error.KmcException;
|
||
|
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
|
||
|
import com.kofax.mobile.sdk._internal.k;
|
||
|
import com.kofax.mobile.sdk._internal.view.IReviewImageMenuListener;
|
||
|
import com.kofax.mobile.sdk._internal.view.l;
|
||
|
import com.kofax.mobile.sdk.capture.parameter.IParameters;
|
||
|
import com.scb.phone.R;
|
||
|
import java.lang.reflect.Method;
|
||
|
import net.sf.scuba.smartcards.ISOFileInfo;
|
||
|
import o.C3614bBe;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
import o.xzZ;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class ImageReviewActivity extends Activity {
|
||
|
private static final int YP = -16777216;
|
||
|
private String YL = "";
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
l YO;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
IImageStorage Yt;
|
||
|
private static final byte[] $$a = {Ascii.SUB, 97, -29, 95};
|
||
|
private static final int $$b = 76;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int f = 0;
|
||
|
private static int i = 1;
|
||
|
private static char[] d = {37546, 31274, 17329, 11028, 12440, 6249, 57845, 51468, 55004, 49087, 34675, 27838, 29709, 24039, 9594, 13007, 6728, 58311, 61731, 6584, 8197, 18570, 21270, 21644, 48140, 34199, 60722, 63166, 56911, 10195, 3882, 4340, 31130, 16651, 43750, 45592, 39885, 58187, 62693, 56427, 9723, 3735, 5641, 32661, 18238, 43221, 45137, 39396, 57726, 9837, 52964, 63350, 40851, 33875, 44276, 21856, 32212, 25158, 2914, 13304, 55320, 49371, 59773, 37309, 34309, 44750, 22288, 31840, 25849, 3395, 13779, 55927, 49852, 60242, 37789, 47289, 41340, 18843, 32342, 26362, 3900, 14221, 56326, 50330, 60896, 37414, 47762, 41732, 19447, 28726, 6287, 275, 13932, 57003, 51015, 61323, 37929, 29347, 39472, 41889, 51990, 53380, 63546, 446, 10509, 14016, 24485, 26428, 35971, 37916, 48615, 50548, 53959, 64094, 966, 10406, 12351, 22918, 24860, 36579, 38515, 49101, 51031, 60515, 62890, 7431, 10890, 12908, 23547, 25439, 35015, 36948, 47413, 50851, 61006, 63382, 8055, 9458, 19550, 21977, 25277, 35374, 37789, 47896, 49400, 59518, 61882, 6470, 9945, 20394, 22399, 31872, 33794, 44522, 46387, 49860, 59984, 62248, 6333, 8218, 18830, 20772, 32498, 34343, 44937, 46930, 56374, 58804, 3340, 6791, 8831, 27117, 33141, 47346, 53335, 52184};
|
||
|
private static long a = -3693048193559599267L;
|
||
|
private static char[] e = {16276, 16262, 16259, 16278, 16271, 16261, 15986, 16257, 16269, 16266, 16274, 16256, 16275, 15943, 15941, 15994, 15942, 15939, 15992, 15938, 15940, 15937, 15993, 16277, 16279, 15950};
|
||
|
private static int b = 1934310961;
|
||
|
private static boolean c = true;
|
||
|
private static boolean h = true;
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0029). 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 k(byte r5, int r6, int r7, java.lang.Object[] r8) {
|
||
|
/*
|
||
|
int r7 = r7 * 4
|
||
|
int r0 = 1 - r7
|
||
|
int r6 = r6 + 65
|
||
|
byte[] r1 = com.kofax.mobile.sdk.capture.ImageReviewActivity.$$a
|
||
|
int r5 = r5 + 4
|
||
|
byte[] r0 = new byte[r0]
|
||
|
r2 = 0
|
||
|
int r7 = 0 - r7
|
||
|
if (r1 != 0) goto L15
|
||
|
r4 = r6
|
||
|
r6 = r7
|
||
|
r3 = r2
|
||
|
goto L29
|
||
|
L15:
|
||
|
r3 = r2
|
||
|
L16:
|
||
|
byte r4 = (byte) r6
|
||
|
r0[r3] = r4
|
||
|
int r5 = r5 + 1
|
||
|
if (r3 != r7) goto L25
|
||
|
java.lang.String r5 = new java.lang.String
|
||
|
r5.<init>(r0, r2)
|
||
|
r8[r2] = r5
|
||
|
return
|
||
|
L25:
|
||
|
r4 = r1[r5]
|
||
|
int r3 = r3 + 1
|
||
|
L29:
|
||
|
int r6 = r6 + r4
|
||
|
goto L16
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.ImageReviewActivity.k(byte, int, int, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void a(ImageReviewActivity imageReviewActivity, int i2) {
|
||
|
int i3 = 2 % 2;
|
||
|
int i4 = i + 65;
|
||
|
f = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
imageReviewActivity.s(i2);
|
||
|
if (i5 != 0) {
|
||
|
int i6 = 52 / 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class a extends AsyncTask<String, Void, Bitmap> {
|
||
|
final ImageReviewActivity YQ;
|
||
|
private final ImgReviewEditCntrl YR;
|
||
|
|
||
|
public a(ImageReviewActivity imageReviewActivity, ImgReviewEditCntrl imgReviewEditCntrl) {
|
||
|
this.YQ = imageReviewActivity;
|
||
|
this.YR = imgReviewEditCntrl;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
@Override // android.os.AsyncTask
|
||
|
/* renamed from: c, reason: merged with bridge method [inline-methods] */
|
||
|
public Bitmap doInBackground(String... strArr) {
|
||
|
return ImageService.rotateBitmap(this.YQ.Yt.getImage(strArr[0]), true, false, false);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
@Override // android.os.AsyncTask
|
||
|
public void onPostExecute(Bitmap bitmap) {
|
||
|
super.onPostExecute((a) bitmap);
|
||
|
try {
|
||
|
this.YR.setImage(new Image(bitmap));
|
||
|
} catch (KmcException e) {
|
||
|
k.e(e);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:28:0x0285 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:30:0x0286 */
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
private static void g(int r22, int r23, char r24, java.lang.Object[] r25) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 655
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.ImageReviewActivity.g(int, int, char, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x00f5, code lost:
|
||
|
|
||
|
if (r3 > 99999) goto L6;
|
||
|
*/
|
||
|
@Override // android.app.Activity
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
protected void onCreate(android.os.Bundle r17) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 1186
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.ImageReviewActivity.onCreate(android.os.Bundle):void");
|
||
|
}
|
||
|
|
||
|
private static void j(int[] iArr, char[] cArr, int i2, byte[] bArr, Object[] objArr) {
|
||
|
Object method;
|
||
|
int i3 = 2;
|
||
|
int i4 = 2 % 2;
|
||
|
C3614bBe c3614bBe = new C3614bBe();
|
||
|
char[] cArr2 = e;
|
||
|
long j = 0;
|
||
|
char c2 = 0;
|
||
|
if (cArr2 != null) {
|
||
|
int length = cArr2.length;
|
||
|
char[] cArr3 = new char[length];
|
||
|
int i5 = 0;
|
||
|
while (i5 < length) {
|
||
|
int i6 = $10 + 23;
|
||
|
$11 = i6 % 128;
|
||
|
int i7 = i6 % i3;
|
||
|
try {
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
objArr2[c2] = Integer.valueOf(cArr2[i5]);
|
||
|
Object obj = xzZ.y.get(-950481649);
|
||
|
if (obj == null) {
|
||
|
Class cls = (Class) xzZ.c(338 - (ViewConfiguration.getZoomControlsTimeout() > j ? 1 : (ViewConfiguration.getZoomControlsTimeout() == j ? 0 : -1)), 5 - KeyEvent.keyCodeFromString(""), (char) (Process.myTid() >> 22));
|
||
|
byte b2 = (byte) (-1);
|
||
|
byte b3 = (byte) (b2 + 1);
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
k(b2, b3, b3, objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
||
|
xzZ.y.put(-950481649, obj);
|
||
|
}
|
||
|
cArr3[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
||
|
i5++;
|
||
|
i3 = 2;
|
||
|
j = 0;
|
||
|
c2 = 0;
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
cArr2 = cArr3;
|
||
|
}
|
||
|
Object[] objArr4 = {Integer.valueOf(b)};
|
||
|
Object obj2 = xzZ.y.get(-1521625011);
|
||
|
if (obj2 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(283 - (ViewConfiguration.getFadingEdgeLength() >> 16), 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 39812));
|
||
|
byte b4 = (byte) (-1);
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
k(b4, (byte) (b4 & 57), (byte) 0, objArr5);
|
||
|
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
|
||
|
xzZ.y.put(-1521625011, obj2);
|
||
|
}
|
||
|
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
|
||
|
if (h) {
|
||
|
c3614bBe.c = bArr.length;
|
||
|
char[] cArr4 = new char[c3614bBe.c];
|
||
|
c3614bBe.a = 0;
|
||
|
while (c3614bBe.a < c3614bBe.c) {
|
||
|
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i2] - intValue);
|
||
|
try {
|
||
|
Object[] objArr6 = {c3614bBe, c3614bBe};
|
||
|
Object obj3 = xzZ.y.get(1779759091);
|
||
|
if (obj3 == null) {
|
||
|
obj3 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 40, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) View.MeasureSpec.getSize(0))).getMethod("D", Object.class, Object.class);
|
||
|
xzZ.y.put(1779759091, obj3);
|
||
|
}
|
||
|
((Method) obj3).invoke(null, objArr6);
|
||
|
} catch (Throwable th2) {
|
||
|
Throwable cause2 = th2.getCause();
|
||
|
if (cause2 == null) {
|
||
|
throw th2;
|
||
|
}
|
||
|
throw cause2;
|
||
|
}
|
||
|
}
|
||
|
objArr[0] = new String(cArr4);
|
||
|
return;
|
||
|
}
|
||
|
if (c) {
|
||
|
int i8 = $11 + 9;
|
||
|
$10 = i8 % 128;
|
||
|
int i9 = i8 % 2;
|
||
|
c3614bBe.c = cArr.length;
|
||
|
char[] cArr5 = new char[c3614bBe.c];
|
||
|
c3614bBe.a = 0;
|
||
|
while (c3614bBe.a < c3614bBe.c) {
|
||
|
int i10 = $11 + 23;
|
||
|
$10 = i10 % 128;
|
||
|
int i11 = i10 % 2;
|
||
|
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
|
||
|
Object[] objArr7 = {c3614bBe, c3614bBe};
|
||
|
Object obj4 = xzZ.y.get(1779759091);
|
||
|
if (obj4 != null) {
|
||
|
method = obj4;
|
||
|
} else {
|
||
|
method = ((Class) xzZ.c(40 - ExpandableListView.getPackedPositionGroup(0L), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("D", Object.class, Object.class);
|
||
|
xzZ.y.put(1779759091, method);
|
||
|
}
|
||
|
((Method) method).invoke(null, objArr7);
|
||
|
}
|
||
|
objArr[0] = new String(cArr5);
|
||
|
return;
|
||
|
}
|
||
|
int i12 = 0;
|
||
|
c3614bBe.c = iArr.length;
|
||
|
char[] cArr6 = new char[c3614bBe.c];
|
||
|
while (true) {
|
||
|
c3614bBe.a = i12;
|
||
|
if (c3614bBe.a >= c3614bBe.c) {
|
||
|
objArr[0] = new String(cArr6);
|
||
|
return;
|
||
|
} else {
|
||
|
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
|
||
|
i12 = c3614bBe.a + 1;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private void a(IParameters iParameters) {
|
||
|
int i2 = 2 % 2;
|
||
|
LinearLayout linearLayout = new LinearLayout(this);
|
||
|
linearLayout.setOrientation(1);
|
||
|
ImgReviewEditCntrl imgReviewEditCntrl = new ImgReviewEditCntrl(this);
|
||
|
imgReviewEditCntrl.setBackgroundColor(YP);
|
||
|
new a(this, imgReviewEditCntrl).execute(this.YL);
|
||
|
RelativeLayout relativeLayout = new RelativeLayout(this);
|
||
|
relativeLayout.addView(imgReviewEditCntrl, new LinearLayout.LayoutParams(-1, -1));
|
||
|
linearLayout.addView(relativeLayout, new LinearLayout.LayoutParams(-2, -2, 1.0f));
|
||
|
a(linearLayout);
|
||
|
setContentView(linearLayout);
|
||
|
int i3 = i + 29;
|
||
|
f = i3 % 128;
|
||
|
if (i3 % 2 != 0) {
|
||
|
int i4 = 94 / 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private void a(LinearLayout linearLayout) {
|
||
|
int i2 = 2 % 2;
|
||
|
this.YO.setListener(new IReviewImageMenuListener(this) { // from class: com.kofax.mobile.sdk.capture.ImageReviewActivity.1
|
||
|
final ImageReviewActivity YQ;
|
||
|
|
||
|
{
|
||
|
this.YQ = this;
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk._internal.view.IReviewImageMenuListener
|
||
|
public void onAcceptButtonClick() {
|
||
|
ImageReviewActivity.a(this.YQ, -1);
|
||
|
}
|
||
|
|
||
|
@Override // com.kofax.mobile.sdk._internal.view.IReviewImageMenuListener
|
||
|
public void onRetakeButtonClick() {
|
||
|
ImageReviewActivity.a(this.YQ, 0);
|
||
|
}
|
||
|
});
|
||
|
linearLayout.addView((LinearLayout) this.YO, new LinearLayout.LayoutParams(-1, -2));
|
||
|
int i3 = i + 29;
|
||
|
f = i3 % 128;
|
||
|
if (i3 % 2 != 0) {
|
||
|
throw null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private void s(int i2) {
|
||
|
int i3 = 2 % 2;
|
||
|
int i4 = i + 101;
|
||
|
f = i4 % 128;
|
||
|
if (i4 % 2 == 0) {
|
||
|
setResult(i2);
|
||
|
finish();
|
||
|
int i5 = i + 1;
|
||
|
f = i5 % 128;
|
||
|
if (i5 % 2 != 0) {
|
||
|
int i6 = 69 / 0;
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
setResult(i2);
|
||
|
finish();
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
|
||
|
private void tA() {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = f + 91;
|
||
|
i = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
requestWindowFeature(1);
|
||
|
getWindow().setFlags(1024, 1024);
|
||
|
getWindow().addFlags(128);
|
||
|
WindowManager.LayoutParams attributes = getWindow().getAttributes();
|
||
|
attributes.screenBrightness = 1.0f;
|
||
|
getWindow().setAttributes(attributes);
|
||
|
int i5 = i + 47;
|
||
|
f = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
}
|
||
|
|
||
|
public <T extends IParameters> T getParameters(Bundle bundle) {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = f + 51;
|
||
|
i = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
T t = (T) WorkflowActivity.a(bundle, getIntent(), "_com.kofax.mobile.sdk.capture.internal_parameters_");
|
||
|
int i5 = f + 103;
|
||
|
i = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
return t;
|
||
|
}
|
||
|
|
||
|
@Override // android.app.Activity
|
||
|
protected void onResume() {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = f + 49;
|
||
|
i = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
Context baseContext = getBaseContext();
|
||
|
if (baseContext == null) {
|
||
|
Object[] objArr = new Object[1];
|
||
|
g(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_coin_more_detail_description_1_2).substring(0, 51).length() - 28, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.announce_cheque_detail).substring(24, 25).length() + 25, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cardless_amount_hint).substring(0, 11).codePointAt(4) + 56095), objArr);
|
||
|
Class<?> cls = Class.forName((String) objArr[0]);
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
j(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.bot_verification_facial_locked_warning_message).substring(67, 68).codePointAt(0) + 95, new byte[]{ISOFileInfo.PROP_INFO, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, 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 + 3;
|
||
|
f = i5 % 128;
|
||
|
try {
|
||
|
if (i5 % 2 != 0) {
|
||
|
Object obj = xzZ.y.get(125943855);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 492, 5 - TextUtils.indexOf("", "", 0), (char) (ViewConfiguration.getTapTimeout() >> 16))).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, 0) + 488, ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
|
||
|
xzZ.y.put(1378719468, obj2);
|
||
|
}
|
||
|
((Method) obj2).invoke(invoke, objArr3);
|
||
|
throw null;
|
||
|
}
|
||
|
Object obj3 = xzZ.y.get(125943855);
|
||
|
if (obj3 == null) {
|
||
|
obj3 = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 492, Drawable.resolveOpacity(0, 0) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 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(ImageFormat.getBitsPerPixel(0) + 488, 5 - TextUtils.getOffsetBefore("", 0), (char) ExpandableListView.getPackedPositionType(0L))).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();
|
||
|
int i6 = f + 75;
|
||
|
i = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
}
|
||
|
|
||
|
@Override // android.app.Activity
|
||
|
protected void onPause() {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = f + 47;
|
||
|
i = i3 % 128;
|
||
|
Object obj = null;
|
||
|
if (i3 % 2 != 0) {
|
||
|
Context baseContext = getBaseContext();
|
||
|
if (baseContext == null) {
|
||
|
Object[] objArr = new Object[1];
|
||
|
g(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 11, 25 - Process.getGidForName(""), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 56081), objArr);
|
||
|
Class<?> cls = Class.forName((String) objArr[0]);
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
j(null, null, (Process.myPid() >> 22) + 127, new byte[]{ISOFileInfo.PROP_INFO, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
|
||
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
int i4 = f + 53;
|
||
|
i = i4 % 128;
|
||
|
if (i4 % 2 == 0) {
|
||
|
baseContext.getApplicationContext();
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
baseContext = baseContext.getApplicationContext();
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
try {
|
||
|
Object obj2 = xzZ.y.get(125943855);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getTapTimeout() >> 16), 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("a", null);
|
||
|
xzZ.y.put(125943855, obj2);
|
||
|
}
|
||
|
Object invoke = ((Method) obj2).invoke(null, null);
|
||
|
Object[] objArr3 = {baseContext};
|
||
|
Object obj3 = xzZ.y.get(1633456013);
|
||
|
if (obj3 == null) {
|
||
|
obj3 = ((Class) xzZ.c(487 - Gravity.getAbsoluteGravity(0, 0), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ExpandableListView.getPackedPositionType(0L))).getMethod("c", Context.class);
|
||
|
xzZ.y.put(1633456013, obj3);
|
||
|
}
|
||
|
((Method) obj3).invoke(invoke, objArr3);
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
super.onPause();
|
||
|
return;
|
||
|
}
|
||
|
getBaseContext();
|
||
|
throw null;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x0079, code lost:
|
||
|
|
||
|
if (r1 > 99999) goto L6;
|
||
|
*/
|
||
|
@Override // android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public void attachBaseContext(android.content.Context r17) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 636
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.ImageReviewActivity.attachBaseContext(android.content.Context):void");
|
||
|
}
|
||
|
|
||
|
@Override // android.app.Activity
|
||
|
public void onStart() {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = f + 93;
|
||
|
i = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
super.onStart();
|
||
|
int i5 = i + 69;
|
||
|
f = i5 % 128;
|
||
|
if (i5 % 2 != 0) {
|
||
|
throw null;
|
||
|
}
|
||
|
}
|
||
|
}
|