what-the-bank/sources/com/kofax/mobile/sdk/capture/bill/BillWorkflowActivity.java

725 lines
36 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.kofax.mobile.sdk.capture.bill;
import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
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.kofax.mobile.sdk._internal.dagger.ISdkDaggerPerContextComponent;
import com.kofax.mobile.sdk._internal.dagger.Injector;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.kofax.mobile.sdk.capture.WorkflowActivity;
import com.kofax.mobile.sdk.capture.model.Bill;
import com.kofax.mobile.sdk.capture.model.CaptureData;
import com.kofax.mobile.sdk.capture.model.Field;
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.C4593bdB;
import o.InterfaceC13390fZB;
import o.InterfaceC13391fZD;
import o.jTb;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes3.dex */
public class BillWorkflowActivity extends WorkflowActivity<BillParameters> {
public static final String BILL_EXCEPTION = "_com.kofax.mobile.sdk.capture.bill_exception_";
public static final String BILL_PARAMETERS = "_com.kofax.mobile.sdk.capture.bill_parameters_";
public static final String BILL_RESULTS = "_com.kofax.mobile.sdk.capture.bill_results_";
@InterfaceC13390fZB(a = BILL_PARAMETERS)
@InterfaceC13391fZD
IParameters YA;
private static final byte[] $$d = {54, -11, ISOFileInfo.SECURITY_ATTR_COMPACT, 41};
private static final int $$e = CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int f = 0;
private static int j = 1;
private static char e = 35731;
private static char b = 47779;
private static char a = 27199;
private static char c = 52869;
private static long d = -6218726093422739392L;
private static void m(byte b2, short s, short s2, Object[] objArr) {
byte[] bArr = $$d;
int i = 78 - b2;
int i2 = s * 4;
int i3 = (s2 * 2) + 4;
byte[] bArr2 = new byte[i2 + 1];
int i4 = -1;
if (bArr == null) {
i += i2;
i3++;
}
while (true) {
i4++;
bArr2[i4] = (byte) i;
if (i4 == i2) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i += bArr[i3];
i3++;
}
}
}
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
public /* bridge */ /* synthetic */ String getDefaultProcessingString(BillParameters billParameters) {
int i = 2 % 2;
int i2 = j + 63;
f = i2 % 128;
BillParameters billParameters2 = billParameters;
if (i2 % 2 == 0) {
return getDefaultProcessingString2(billParameters2);
}
getDefaultProcessingString2(billParameters2);
throw null;
}
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
public /* bridge */ /* synthetic */ BillParameters getParametersInstance() {
int i = 2 % 2;
int i2 = j + 9;
f = i2 % 128;
int i3 = i2 % 2;
BillParameters parametersInstance = getParametersInstance();
int i4 = f + 87;
j = i4 % 128;
int i5 = i4 % 2;
return parametersInstance;
}
private static void l(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 402, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (21608 - ExpandableListView.getPackedPositionGroup(0L)));
byte b2 = (byte) 1;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
m(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (d ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - Color.green(0), (char) Color.red(0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
m(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 238, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
m(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i4 = $11 + 115;
$10 = i4 % 128;
int i5 = i4 % 2;
}
String str = new String(cArr2);
int i6 = $11 + 31;
$10 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
private static void h(char[] cArr, int i, Object[] objArr) {
int i2;
int i3;
int i4 = 2;
int i5 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i6 = $10 + 21;
$11 = i6 % 128;
if (i6 % i4 == 0) {
cArr3[0] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b];
i2 = 1;
} else {
cArr3[0] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
i2 = 0;
}
int i7 = 58224;
while (i2 < 16) {
int i8 = $10 + 125;
$11 = i8 % 128;
int i9 = i8 % i4;
char c2 = cArr3[1];
char c3 = cArr3[0];
int i10 = (c3 + i7) ^ ((c3 << 4) + ((char) (a ^ 41718355337583039L)));
int i11 = c3 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(c);
objArr2[i4] = Integer.valueOf(i11);
objArr2[1] = Integer.valueOf(i10);
objArr2[0] = Integer.valueOf(c2);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(413 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (ViewConfiguration.getTouchSlop() >> 8));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
m((byte) 12, b2, b2, 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();
cArr3[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr3[0]), Integer.valueOf((charValue + i7) ^ ((charValue << 4) + ((char) (e ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(b)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 412, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (Process.getGidForName("") + 1));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
m((byte) 12, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr3[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i7 -= 40503;
i2++;
i4 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2[jtb.b] = cArr3[0];
cArr2[jtb.b + 1] = cArr3[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 != null) {
i3 = 2;
} else {
Class cls3 = (Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 97, KeyEvent.keyCodeFromString("") + 5, (char) (ViewConfiguration.getKeyRepeatDelay() >> 16));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
m((byte) (-$$d[1]), b4, b4, objArr7);
i3 = 2;
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
i4 = i3;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = j + 85;
f = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
h(new char[]{19566, 47166, 23352, 52574, 48379, 64438, 19441, 36724, 62943, 63191, 40728, 61993, 63182, 25613, 59284, 13054, 15478, 62318}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.less_than_fullpay_message).substring(31, 32).length() + 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
h(new char[]{53082, 10520, 6000, 10869, 61561, 55842}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = j + 41;
f = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
l(new char[]{54247, 44283, 11716, 44749, 12197, 43184, 10640, 43565, 11135, 42077, 9544, 42617, 10019, 40978, 8440, 41458, 8896, 41900, 15524, 48534, 16046, 48993, 14422, 47446, 14895, 47929}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 32518, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
l(new char[]{54245, 10540, 9802, 9065, 14495, 13747, 13000, 4062, 1294, 545, 8028, 5242, 4497, 28340, 27584, 24830, 32281, 31527}, 64223 - (ViewConfiguration.getKeyRepeatDelay() >> 16), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i6 = j + 95;
f = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
l(new char[]{54199, 15188, 632, 26955, 28705, 24476, 42686, 36260, 38092, 58290, 52038, 53808, 14601, 'E', 28467, 30421, 23988, 42112, 45998, 39745, 57937, 51579, 53321, 16172, 1688, 28141, 29863, 17300, 43753, 45646, 39220, 57356, 53015, 54838, 15828, 1272, 5076, 31482, 16922, 43271, 45180, 40735, 58925, 52676, 54457, 9215, 2757, 4537}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 59587, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
h(new char[]{16666, 30744, 13275, 21607, 7675, 3268, 56780, 63383, 25738, 55006, 50881, 28830, 50881, 28830, 38254, 42961, 64796, 61049, 17386, 52819, 56023, 641, 45204, 47691, 40096, 37285, 19632, 56078, 56831, 23220, 3243, 42297, 55978, 56793, 61010, 58335, 5478, 40372, 18993, 19168, 7675, 3268, 8901, 19953, 34376, 41738, 7675, 3268, 37526, 6767, 36447, 45649, 39465, 40744, 40016, 55685, 32793, 44856, 57724, 18407, 7675, 3268, 11406, 36634}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.abc_menu_meta_shortcut_label).substring(0, 5).length() + 59, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
l(new char[]{54247, 18933, 59168, 7508, 47819, 53442, 20001, 60398, 492, 48924, 54619, 29402, 59488, 1661, 41900, 55771, 30551, 60703, 2726, 40999, 56939, 31633, 37315, 3849, 42221, 49901, 30846, 38410, 13194, 43471, 51061, 31991, 39634, 12367, 44561, 52210, 24895, 40803, 13461, 21210, 51211, 26037, 33789, 14636, 22276, 52426, 27338, 32806, 15860, 23480, 61714, 28495, 33932, 8760, 22628, 62973, 5086, 35156, 10014, 23726, 64039, 4193, 36303, 11204}, 39498 - TextUtils.lastIndexOf("", '0', 0, 0), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
l(new char[]{54254, 6261, 17660, 45411, 65001, 10783, 5763, 17176, 36813, 62544, 8353, 27942, 22961, 34354, 62089, 16130, 27539, 20483, 40091, 51434, 13675, 25081, 44670, 39622, 51008, 13250, 30750, 42191, 37162, 56767, 2609, 30398, 41746, 61314, 54281, 128, 19726, 47403, 58859, 53858, 7935, 19307, 47044, 64600, 10435, 5448, 16805, 36413, 64179, 10111, 5051, 22540, 33927, 61786, 15773, 27127, 22119, 33446, 53113, 15349, 24645, 44232, 39239, 50635, 12905, 32439, 43898, 38908, 56383, 2195, 29961, 41369, 60938, 55946}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.device_access_pin_message).substring(CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384, CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256).codePointAt(0) + 52071, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
h(new char[]{33185, 39820, 53471, 21147, 17323, 45579}, 5 - Gravity.getAbsoluteGravity(0, 0), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
l(new char[]{54243, 42236, 15746, 46819, 3982, 32824, 6416, 37387, 27507, 64579, 29880, 52682, 18080, 57332, 20680, 10529, 41479, 15228, 35917, 1254, 40440, 5844, 61367, 24774, 63804, 29254, 51978, 23614, 54597, 44524, 9935, 49142, 12498, 35272, 545, 39762}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.app_account_deletion_message).substring(0, 3).codePointAt(0) + 30442, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 488, 5 - View.combineMeasuredStates(0, 0), (char) Color.alpha(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
Injector.getInjector(this).inject(this);
super.onCreate(bundle);
}
/* loaded from: classes3.dex */
static class a extends Bill {
@Override // com.kofax.mobile.sdk.capture.model.Bill
public Field getAccountNumber() {
return null;
}
@Override // com.kofax.mobile.sdk.capture.model.Bill
public Field getAddressLine1() {
return null;
}
@Override // com.kofax.mobile.sdk.capture.model.Bill
public Field getAddressLine2() {
return null;
}
@Override // com.kofax.mobile.sdk.capture.model.Bill
public Field getAmount() {
return null;
}
@Override // com.kofax.mobile.sdk.capture.model.Bill
public Field getBillers() {
return null;
}
@Override // com.kofax.mobile.sdk.capture.model.Bill
public Field getCity() {
return null;
}
@Override // com.kofax.mobile.sdk.capture.model.Bill
public Field getDueDate() {
return null;
}
@Override // com.kofax.mobile.sdk.capture.model.Bill
public Field getName() {
return null;
}
@Override // com.kofax.mobile.sdk.capture.model.Bill
public Field getPhoneNumber() {
return null;
}
@Override // com.kofax.mobile.sdk.capture.model.Bill
public String getRawData() {
return null;
}
@Override // com.kofax.mobile.sdk.capture.model.Bill
public Field getSource() {
return null;
}
@Override // com.kofax.mobile.sdk.capture.model.Bill
public Field getState() {
return null;
}
@Override // com.kofax.mobile.sdk.capture.model.Bill
public Field getZip() {
return null;
}
private a() {
}
}
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
public Class<? extends Activity> getCaptureActivityClass() {
int i = 2 % 2;
int i2 = f + 23;
int i3 = i2 % 128;
j = i3;
int i4 = i2 % 2;
int i5 = i3 + 85;
f = i5 % 128;
int i6 = i5 % 2;
return BillCaptureActivity.class;
}
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
public Class<? extends Activity> getExtractActivityClass() {
int i = 2 % 2;
int i2 = f;
int i3 = i2 + 87;
j = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 77;
j = i5 % 128;
int i6 = i5 % 2;
return BillExtractActivity.class;
}
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
public CaptureData getDefaultReturnObject() {
int i = 2 % 2;
a aVar = new a();
int i2 = j + 35;
f = i2 % 128;
int i3 = i2 % 2;
return aVar;
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
public BillParameters getParametersInstance() {
int i = 2 % 2;
int i2 = j + 107;
f = i2 % 128;
int i3 = i2 % 2;
ISdkDaggerPerContextComponent injector = Injector.getInjector(this);
if (i3 == 0) {
return injector.getBillParameters();
}
injector.getBillParameters();
throw null;
}
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
l(new char[]{54247, 44283, 11716, 44749, 12197, 43184, 10640, 43565, 11135, 42077, 9544, 42617, 10019, 40978, 8440, 41458, 8896, 41900, 15524, 48534, 16046, 48993, 14422, 47446, 14895, 47929}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_shop_address_alley).substring(3, 5).length() + 32529, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
l(new char[]{54245, 10540, 9802, 9065, 14495, 13747, 13000, 4062, 1294, 545, 8028, 5242, 4497, 28340, 27584, 24830, 32281, 31527}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 64189, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = f + 89;
j = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(540 - AndroidCharacter.getMirror('0'), 5 - View.combineMeasuredStates(0, 0), (char) ((-1) - Process.getGidForName("")))).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((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 487, Drawable.resolveOpacity(0, 0) + 5, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 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 i4 = j + 85;
f = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 12 / 0;
}
}
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = f + 75;
j = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = j + 29;
f = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
l(new char[]{54247, 44283, 11716, 44749, 12197, 43184, 10640, 43565, 11135, 42077, 9544, 42617, 10019, 40978, 8440, 41458, 8896, 41900, 15524, 48534, 16046, 48993, 14422, 47446, 14895, 47929}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 32497, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
l(new char[]{54245, 10540, 9802, 9065, 14495, 13747, 13000, 4062, 1294, 545, 8028, 5242, 4497, 28340, 27584, 24830, 32281, 31527}, 64223 - Drawable.resolveOpacity(0, 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i5 = f + 5;
j = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 5 / 5;
}
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.getMode(0), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) TextUtils.indexOf("", "", 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(Color.red(0) + 487, 5 - TextUtils.indexOf("", "", 0, 0), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -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();
}
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = j + 87;
f = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
h(new char[]{19566, 47166, 23352, 52574, 48379, 64438, 19441, 36724, 62943, 63191, 40728, 61993, 63182, 25613, 59284, 13054, 15478, 62318}, View.getDefaultSize(0, 0) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
h(new char[]{53082, 10520, 6000, 10869, 61561, 55842}, 5 - View.resolveSize(0, 0), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = j + 41;
f = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i5 = f + 121;
j = i5 % 128;
int i6 = i5 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i7 = j + 111;
f = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 444, 4 - MotionEvent.axisFromString(""), (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
l(new char[]{54199, 15188, 632, 26955, 28705, 24476, 42686, 36260, 38092, 58290, 52038, 53808, 14601, 'E', 28467, 30421, 23988, 42112, 45998, 39745, 57937, 51579, 53321, 16172, 1688, 28141, 29863, 17300, 43753, 45646, 39220, 57356, 53015, 54838, 15828, 1272, 5076, 31482, 16922, 43271, 45180, 40735, 58925, 52676, 54457, 9215, 2757, 4537}, ExpandableListView.getPackedPositionGroup(0L) + 59621, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
h(new char[]{16666, 30744, 13275, 21607, 7675, 3268, 56780, 63383, 25738, 55006, 50881, 28830, 50881, 28830, 38254, 42961, 64796, 61049, 17386, 52819, 56023, 641, 45204, 47691, 40096, 37285, 19632, 56078, 56831, 23220, 3243, 42297, 55978, 56793, 61010, 58335, 5478, 40372, 18993, 19168, 7675, 3268, 8901, 19953, 34376, 41738, 7675, 3268, 37526, 6767, 36447, 45649, 39465, 40744, 40016, 55685, 32793, 44856, 57724, 18407, 7675, 3268, 11406, 36634}, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 65, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
l(new char[]{54247, 18933, 59168, 7508, 47819, 53442, 20001, 60398, 492, 48924, 54619, 29402, 59488, 1661, 41900, 55771, 30551, 60703, 2726, 40999, 56939, 31633, 37315, 3849, 42221, 49901, 30846, 38410, 13194, 43471, 51061, 31991, 39634, 12367, 44561, 52210, 24895, 40803, 13461, 21210, 51211, 26037, 33789, 14636, 22276, 52426, 27338, 32806, 15860, 23480, 61714, 28495, 33932, 8760, 22628, 62973, 5086, 35156, 10014, 23726, 64039, 4193, 36303, 11204}, TextUtils.lastIndexOf("", '0') + 39500, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
l(new char[]{54254, 6261, 17660, 45411, 65001, 10783, 5763, 17176, 36813, 62544, 8353, 27942, 22961, 34354, 62089, 16130, 27539, 20483, 40091, 51434, 13675, 25081, 44670, 39622, 51008, 13250, 30750, 42191, 37162, 56767, 2609, 30398, 41746, 61314, 54281, 128, 19726, 47403, 58859, 53858, 7935, 19307, 47044, 64600, 10435, 5448, 16805, 36413, 64179, 10111, 5051, 22540, 33927, 61786, 15773, 27127, 22119, 33446, 53113, 15349, 24645, 44232, 39239, 50635, 12905, 32439, 43898, 38908, 56383, 2195, 29961, 41369, 60938, 55946}, 52103 - (ViewConfiguration.getJumpTapTimeout() >> 16), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
h(new char[]{33185, 39820, 53471, 21147, 17323, 45579}, 5 - KeyEvent.normalizeMetaState(0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
l(new char[]{54243, 42236, 15746, 46819, 3982, 32824, 6416, 37387, 27507, 64579, 29880, 52682, 18080, 57332, 20680, 10529, 41479, 15228, 35917, 1254, 40440, 5844, 61367, 24774, 63804, 29254, 51978, 23614, 54597, 44524, 9935, 49142, 12498, 35272, 545, 39762}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 30490, 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(488 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 4 - TextUtils.lastIndexOf("", '0', 0), (char) (Process.getGidForName("") + 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;
}
}
}
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = f + 121;
j = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
public String getResultKey() {
int i = 2 % 2;
int i2 = f;
int i3 = i2 + 83;
j = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 1;
j = i5 % 128;
int i6 = i5 % 2;
return BILL_RESULTS;
}
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
public String getParametersKey() {
int i = 2 % 2;
int i2 = j + 63;
int i3 = i2 % 128;
f = i3;
int i4 = i2 % 2;
int i5 = i3 + 103;
j = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 35 / 0;
}
return BILL_PARAMETERS;
}
@Override // com.kofax.mobile.sdk.capture.WorkflowActivity
public String getExceptionKey() {
int i = 2 % 2;
int i2 = j + 77;
int i3 = i2 % 128;
f = i3;
int i4 = i2 % 2;
int i5 = i3 + 119;
j = i5 % 128;
int i6 = i5 % 2;
return BILL_EXCEPTION;
}
/* renamed from: getDefaultProcessingString, reason: avoid collision after fix types in other method */
public String getDefaultProcessingString2(BillParameters billParameters) {
int i = 2 % 2;
int i2 = f;
int i3 = i2 + 69;
j = i3 % 128;
Object obj = null;
if (i3 % 2 == 0) {
obj.hashCode();
throw null;
}
int i4 = i2 + 37;
j = i4 % 128;
if (i4 % 2 != 0) {
return BillCaptureModule.DEFAULT_PROCESS_STRING;
}
obj.hashCode();
throw null;
}
}