376 lines
13 KiB
Java
376 lines
13 KiB
Java
|
package o;
|
||
|
|
||
|
import android.graphics.Color;
|
||
|
import android.os.Process;
|
||
|
import android.os.SystemClock;
|
||
|
import android.view.KeyEvent;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import android.widget.ExpandableListView;
|
||
|
import java.lang.reflect.Method;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.Collection;
|
||
|
import java.util.Iterator;
|
||
|
import java.util.List;
|
||
|
import kotlin.NoWhenBranchMatchedException;
|
||
|
import net.sf.scuba.smartcards.ISOFileInfo;
|
||
|
import o.OZ;
|
||
|
|
||
|
/* renamed from: o.Cw, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C0274Cw {
|
||
|
private static boolean a;
|
||
|
private static char[] b;
|
||
|
private static int c;
|
||
|
private static boolean d;
|
||
|
private static int e;
|
||
|
private static final byte[] $$a = {54, -108, 123, 45};
|
||
|
private static final int $$b = 123;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int f = 1;
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0028). Please report as a decompilation issue!!! */
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
private static void h(short r5, int r6, byte r7, java.lang.Object[] r8) {
|
||
|
/*
|
||
|
int r7 = r7 * 2
|
||
|
int r7 = r7 + 4
|
||
|
byte[] r0 = o.C0274Cw.$$a
|
||
|
int r5 = r5 * 57
|
||
|
int r5 = 122 - r5
|
||
|
int r6 = r6 * 2
|
||
|
int r1 = r6 + 1
|
||
|
byte[] r1 = new byte[r1]
|
||
|
r2 = 0
|
||
|
if (r0 != 0) goto L16
|
||
|
r4 = r6
|
||
|
r3 = r2
|
||
|
goto L28
|
||
|
L16:
|
||
|
r3 = r2
|
||
|
L17:
|
||
|
byte r4 = (byte) r5
|
||
|
r1[r3] = r4
|
||
|
if (r3 != r6) goto L24
|
||
|
java.lang.String r5 = new java.lang.String
|
||
|
r5.<init>(r1, r2)
|
||
|
r8[r2] = r5
|
||
|
return
|
||
|
L24:
|
||
|
r4 = r0[r7]
|
||
|
int r3 = r3 + 1
|
||
|
L28:
|
||
|
int r5 = r5 + r4
|
||
|
int r7 = r7 + 1
|
||
|
goto L17
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.C0274Cw.h(short, int, byte, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C0274Cw() {
|
||
|
}
|
||
|
|
||
|
private static OW a(OZ.RVV rvv, List<OW> list, List<C0821Pe> list2) {
|
||
|
C0821Pe c0821Pe;
|
||
|
String str;
|
||
|
int i = 2 % 2;
|
||
|
int i2 = f + 53;
|
||
|
c = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
int i4 = Sts.a[rvv.ordinal()];
|
||
|
int i5 = 0;
|
||
|
if (i4 != 1) {
|
||
|
if (i4 != 2) {
|
||
|
throw new NoWhenBranchMatchedException();
|
||
|
}
|
||
|
ArrayList arrayList = new ArrayList();
|
||
|
int i6 = 0;
|
||
|
for (Object obj : list) {
|
||
|
if (i6 < 0) {
|
||
|
throw new ArithmeticException("Index overflow has happened.");
|
||
|
}
|
||
|
String str2 = list2.get(i6).c;
|
||
|
if (Integer.parseInt(gdZ.d(str2, ".", str2)) == ((OW) obj).d) {
|
||
|
String str3 = list2.get(i6).b;
|
||
|
g(null, new byte[]{ISOFileInfo.DATA_BYTES2}, null, ExpandableListView.getPackedPositionGroup(0L) + 127, new Object[1]);
|
||
|
if (!(!C14957gcv.b((Object) str3, (Object) ((String) r8[0]).intern()))) {
|
||
|
arrayList.add(obj);
|
||
|
}
|
||
|
}
|
||
|
i6++;
|
||
|
}
|
||
|
return new OW(true, C14881gav.b(arrayList, ", ", null, null, 0, null, IeS.b, 30), 1);
|
||
|
}
|
||
|
ArrayList arrayList2 = new ArrayList();
|
||
|
for (Object obj2 : list) {
|
||
|
OW ow = (OW) obj2;
|
||
|
C14957gcv.e(list2, "");
|
||
|
if (list2.isEmpty()) {
|
||
|
int i7 = f + 103;
|
||
|
c = i7 % 128;
|
||
|
if (i7 % 2 != 0) {
|
||
|
int i8 = 64 / 0;
|
||
|
}
|
||
|
c0821Pe = null;
|
||
|
} else {
|
||
|
c0821Pe = list2.get(0);
|
||
|
int i9 = f + 79;
|
||
|
c = i9 % 128;
|
||
|
int i10 = i9 % 2;
|
||
|
}
|
||
|
C0821Pe c0821Pe2 = c0821Pe;
|
||
|
if (c0821Pe2 != null && (str = c0821Pe2.b) != null && ow.d == Integer.parseInt(str)) {
|
||
|
arrayList2.add(obj2);
|
||
|
}
|
||
|
}
|
||
|
ArrayList arrayList3 = arrayList2;
|
||
|
C14957gcv.e(arrayList3, "");
|
||
|
ArrayList arrayList4 = new ArrayList(arrayList3.size());
|
||
|
Iterator it = arrayList3.iterator();
|
||
|
while (it.hasNext()) {
|
||
|
arrayList4.add(((OW) it.next()).a);
|
||
|
}
|
||
|
String c2 = C14802gA.c(arrayList4);
|
||
|
C14957gcv.e(list, "");
|
||
|
OW ow2 = list.isEmpty() ? null : list.get(0);
|
||
|
if (ow2 != null) {
|
||
|
int i11 = c + 49;
|
||
|
f = i11 % 128;
|
||
|
if (i11 % 2 == 0) {
|
||
|
int i12 = 41 / 0;
|
||
|
i5 = ow2.d;
|
||
|
} else {
|
||
|
i5 = ow2.d;
|
||
|
}
|
||
|
}
|
||
|
return new OW(true, c2, i5);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* renamed from: o.Cw$IeS */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<OW, CharSequence> {
|
||
|
public static final IeS b = new IeS();
|
||
|
|
||
|
@Override // o.InterfaceC14894gbR
|
||
|
public final /* synthetic */ CharSequence invoke(OW ow) {
|
||
|
OW ow2 = ow;
|
||
|
C14957gcv.e(ow2, "");
|
||
|
return ow2.a;
|
||
|
}
|
||
|
|
||
|
IeS() {
|
||
|
super(1);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.Cw$RVV */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class RVV {
|
||
|
private RVV() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ RVV(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static List<OW> b(List<OZ> list, List<C0821Pe> list2) {
|
||
|
int i;
|
||
|
int i2 = 2 % 2;
|
||
|
C14957gcv.e(list, "");
|
||
|
C14957gcv.e(list2, "");
|
||
|
List<OZ> list3 = list;
|
||
|
C14957gcv.e(list3, "");
|
||
|
if (list3 instanceof Collection) {
|
||
|
i = list3.size();
|
||
|
int i3 = f + 73;
|
||
|
c = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
} else {
|
||
|
i = 10;
|
||
|
}
|
||
|
ArrayList arrayList = new ArrayList(i);
|
||
|
for (OZ oz : list3) {
|
||
|
arrayList.add(a(oz.d, oz.e, e(oz.c, list2)));
|
||
|
int i5 = f + 99;
|
||
|
c = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
}
|
||
|
return arrayList;
|
||
|
}
|
||
|
|
||
|
private static List<C0821Pe> e(int i, List<C0821Pe> list) {
|
||
|
int i2 = 2 % 2;
|
||
|
ArrayList arrayList = new ArrayList();
|
||
|
int i3 = c + 17;
|
||
|
f = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
for (Object obj : list) {
|
||
|
C0821Pe c0821Pe = (C0821Pe) obj;
|
||
|
String str = c0821Pe.c;
|
||
|
if (Integer.parseInt(gdZ.c(str, ".", str)) == i) {
|
||
|
int i5 = c + 75;
|
||
|
f = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
if (c0821Pe.b != null) {
|
||
|
int i7 = c + 13;
|
||
|
f = i7 % 128;
|
||
|
int i8 = i7 % 2;
|
||
|
arrayList.add(obj);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
return arrayList;
|
||
|
}
|
||
|
|
||
|
private static void g(char[] cArr, byte[] bArr, int[] iArr, int i, Object[] objArr) {
|
||
|
int length;
|
||
|
char[] cArr2;
|
||
|
int i2 = 2 % 2;
|
||
|
C3614bBe c3614bBe = new C3614bBe();
|
||
|
char[] cArr3 = b;
|
||
|
if (cArr3 != null) {
|
||
|
int i3 = $11 + 47;
|
||
|
$10 = i3 % 128;
|
||
|
if (i3 % 2 != 0) {
|
||
|
length = cArr3.length;
|
||
|
cArr2 = new char[length];
|
||
|
} else {
|
||
|
length = cArr3.length;
|
||
|
cArr2 = new char[length];
|
||
|
}
|
||
|
for (int i4 = 0; i4 < length; i4++) {
|
||
|
try {
|
||
|
Object[] objArr2 = {Integer.valueOf(cArr3[i4])};
|
||
|
Object obj = xzZ.y.get(-950481649);
|
||
|
if (obj == null) {
|
||
|
Class cls = (Class) xzZ.c((Process.myPid() >> 22) + 337, KeyEvent.getDeadChar(0, 0) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8));
|
||
|
byte b2 = (byte) ($$b & 5);
|
||
|
byte b3 = (byte) (b2 - 1);
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
h(b2, b3, b3, objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
||
|
xzZ.y.put(-950481649, obj);
|
||
|
}
|
||
|
cArr2[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
cArr3 = cArr2;
|
||
|
}
|
||
|
Object[] objArr4 = {Integer.valueOf(e)};
|
||
|
Object obj2 = xzZ.y.get(-1521625011);
|
||
|
if (obj2 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(283 - Color.red(0), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 39812));
|
||
|
byte b4 = (byte) 0;
|
||
|
byte b5 = b4;
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
h(b4, b5, b5, objArr5);
|
||
|
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
|
||
|
xzZ.y.put(-1521625011, obj2);
|
||
|
}
|
||
|
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
|
||
|
if (d) {
|
||
|
int i5 = $11 + 83;
|
||
|
$10 = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
c3614bBe.c = bArr.length;
|
||
|
char[] cArr4 = new char[c3614bBe.c];
|
||
|
c3614bBe.a = 0;
|
||
|
while (c3614bBe.a < c3614bBe.c) {
|
||
|
cArr4[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
|
||
|
Object[] objArr6 = {c3614bBe, c3614bBe};
|
||
|
Object obj3 = xzZ.y.get(1779759091);
|
||
|
if (obj3 == null) {
|
||
|
obj3 = ((Class) xzZ.c(View.resolveSize(0, 0) + 40, View.MeasureSpec.getMode(0) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("D", Object.class, Object.class);
|
||
|
xzZ.y.put(1779759091, obj3);
|
||
|
}
|
||
|
((Method) obj3).invoke(null, objArr6);
|
||
|
}
|
||
|
objArr[0] = new String(cArr4);
|
||
|
return;
|
||
|
}
|
||
|
if (!a) {
|
||
|
c3614bBe.c = iArr.length;
|
||
|
char[] cArr5 = new char[c3614bBe.c];
|
||
|
c3614bBe.a = 0;
|
||
|
while (c3614bBe.a < c3614bBe.c) {
|
||
|
cArr5[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
|
||
|
c3614bBe.a++;
|
||
|
int i7 = $10 + 47;
|
||
|
$11 = i7 % 128;
|
||
|
int i8 = i7 % 2;
|
||
|
}
|
||
|
objArr[0] = new String(cArr5);
|
||
|
return;
|
||
|
}
|
||
|
int i9 = $11 + 85;
|
||
|
$10 = i9 % 128;
|
||
|
int i10 = i9 % 2;
|
||
|
c3614bBe.c = cArr.length;
|
||
|
char[] cArr6 = new char[c3614bBe.c];
|
||
|
c3614bBe.a = 0;
|
||
|
while (c3614bBe.a < c3614bBe.c) {
|
||
|
cArr6[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
|
||
|
Object[] objArr7 = {c3614bBe, c3614bBe};
|
||
|
Object obj4 = xzZ.y.get(1779759091);
|
||
|
if (obj4 == null) {
|
||
|
obj4 = ((Class) xzZ.c(40 - KeyEvent.getDeadChar(0, 0), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).getMethod("D", Object.class, Object.class);
|
||
|
xzZ.y.put(1779759091, obj4);
|
||
|
}
|
||
|
((Method) obj4).invoke(null, objArr7);
|
||
|
}
|
||
|
objArr[0] = new String(cArr6);
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.Cw$Sts */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final /* synthetic */ class Sts {
|
||
|
public static final int[] a;
|
||
|
|
||
|
static {
|
||
|
int[] iArr = new int[OZ.RVV.values().length];
|
||
|
try {
|
||
|
iArr[OZ.RVV.RADIO.ordinal()] = 1;
|
||
|
} catch (NoSuchFieldError unused) {
|
||
|
}
|
||
|
try {
|
||
|
iArr[OZ.RVV.CHECKBOX.ordinal()] = 2;
|
||
|
} catch (NoSuchFieldError unused2) {
|
||
|
}
|
||
|
a = iArr;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static void a() {
|
||
|
b = new char[]{16044};
|
||
|
e = 1934311067;
|
||
|
a = true;
|
||
|
d = true;
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
c = 0;
|
||
|
a();
|
||
|
new RVV((byte) 0);
|
||
|
int i = f + 51;
|
||
|
c = i % 128;
|
||
|
if (i % 2 != 0) {
|
||
|
int i2 = 89 / 0;
|
||
|
}
|
||
|
}
|
||
|
}
|