271 lines
9.9 KiB
Java
271 lines
9.9 KiB
Java
|
package o;
|
||
|
|
||
|
import android.graphics.Color;
|
||
|
import android.os.Process;
|
||
|
import android.text.AndroidCharacter;
|
||
|
import android.text.TextUtils;
|
||
|
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.List;
|
||
|
import net.sf.scuba.smartcards.ISOFileInfo;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class SDY {
|
||
|
private static final byte[] $$a = {43, -66, 11, ISOFileInfo.LCS_BYTE};
|
||
|
private static final int $$b = 204;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int c = 0;
|
||
|
private static int d = 1;
|
||
|
private static char[] e = {39955};
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x0031). 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 g(int r6, int r7, short r8, java.lang.Object[] r9) {
|
||
|
/*
|
||
|
byte[] r0 = o.SDY.$$a
|
||
|
int r8 = r8 * 2
|
||
|
int r1 = 1 - r8
|
||
|
int r7 = r7 * 4
|
||
|
int r7 = 3 - r7
|
||
|
int r6 = r6 * 2
|
||
|
int r6 = r6 + 71
|
||
|
byte[] r1 = new byte[r1]
|
||
|
r2 = 0
|
||
|
int r8 = 0 - r8
|
||
|
if (r0 != 0) goto L19
|
||
|
r3 = r7
|
||
|
r6 = r8
|
||
|
r4 = r2
|
||
|
goto L31
|
||
|
L19:
|
||
|
r3 = r2
|
||
|
L1a:
|
||
|
byte r4 = (byte) r6
|
||
|
r1[r3] = r4
|
||
|
if (r3 != r8) goto L27
|
||
|
java.lang.String r6 = new java.lang.String
|
||
|
r6.<init>(r1, r2)
|
||
|
r9[r2] = r6
|
||
|
return
|
||
|
L27:
|
||
|
int r7 = r7 + 1
|
||
|
int r3 = r3 + 1
|
||
|
r4 = r0[r7]
|
||
|
r5 = r3
|
||
|
r3 = r7
|
||
|
r7 = r4
|
||
|
r4 = r5
|
||
|
L31:
|
||
|
int r7 = -r7
|
||
|
int r6 = r6 + r7
|
||
|
r7 = r3
|
||
|
r3 = r4
|
||
|
goto L1a
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.SDY.g(int, int, short, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public SDY() {
|
||
|
}
|
||
|
|
||
|
public static List<YFD> b(ZKA zka) {
|
||
|
int i;
|
||
|
int i2 = 2 % 2;
|
||
|
C14957gcv.e(zka, "");
|
||
|
List<C15801ijH> list = zka.a;
|
||
|
C14957gcv.e(list, "");
|
||
|
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
|
||
|
for (C15801ijH c15801ijH : list) {
|
||
|
int i3 = c + 125;
|
||
|
d = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
String str = c15801ijH.d;
|
||
|
String str2 = c15801ijH.e;
|
||
|
Integer num = c15801ijH.a;
|
||
|
if (num != null) {
|
||
|
i = num.intValue();
|
||
|
} else {
|
||
|
int i5 = c + 61;
|
||
|
d = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
i = 1;
|
||
|
}
|
||
|
Object[] objArr = new Object[1];
|
||
|
f(new byte[]{1}, new int[]{0, 1, 0, 1}, false, objArr);
|
||
|
arrayList.add(new YFD(0, "", str, str2, ((String) objArr[0]).intern(), Integer.valueOf(i)));
|
||
|
}
|
||
|
ArrayList arrayList2 = arrayList;
|
||
|
int i7 = d + 59;
|
||
|
c = i7 % 128;
|
||
|
if (i7 % 2 != 0) {
|
||
|
int i8 = 77 / 0;
|
||
|
}
|
||
|
return arrayList2;
|
||
|
}
|
||
|
|
||
|
private static void f(byte[] bArr, int[] iArr, boolean z, Object[] objArr) {
|
||
|
char[] cArr;
|
||
|
int i = 2;
|
||
|
int i2 = 2 % 2;
|
||
|
TVH tvh = new TVH();
|
||
|
int i3 = 0;
|
||
|
int i4 = iArr[0];
|
||
|
int i5 = iArr[1];
|
||
|
int i6 = iArr[2];
|
||
|
int i7 = iArr[3];
|
||
|
char[] cArr2 = e;
|
||
|
if (cArr2 != null) {
|
||
|
int i8 = $10 + 51;
|
||
|
$11 = i8 % 128;
|
||
|
int i9 = i8 % 2;
|
||
|
int length = cArr2.length;
|
||
|
char[] cArr3 = new char[length];
|
||
|
int i10 = 0;
|
||
|
while (i10 < length) {
|
||
|
int i11 = $10 + 59;
|
||
|
$11 = i11 % 128;
|
||
|
int i12 = i11 % i;
|
||
|
try {
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
objArr2[i3] = Integer.valueOf(cArr2[i10]);
|
||
|
Object obj = xzZ.y.get(1645349359);
|
||
|
if (obj != null) {
|
||
|
cArr = cArr2;
|
||
|
} else {
|
||
|
Class cls = (Class) xzZ.c(224 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (-16777211) - Color.rgb(i3, i3, i3), (char) (View.combineMeasuredStates(i3, i3) + 41977));
|
||
|
byte b = (byte) i3;
|
||
|
byte b2 = b;
|
||
|
cArr = cArr2;
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
g(b, b2, b2, objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
||
|
xzZ.y.put(1645349359, obj);
|
||
|
}
|
||
|
cArr3[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
||
|
i10++;
|
||
|
cArr2 = cArr;
|
||
|
i = 2;
|
||
|
i3 = 0;
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
cArr2 = cArr3;
|
||
|
}
|
||
|
char[] cArr4 = new char[i5];
|
||
|
System.arraycopy(cArr2, i4, cArr4, 0, i5);
|
||
|
if (bArr != null) {
|
||
|
int i13 = $10 + 43;
|
||
|
$11 = i13 % 128;
|
||
|
int i14 = i13 % 2;
|
||
|
char[] cArr5 = new char[i5];
|
||
|
tvh.c = 0;
|
||
|
char c2 = 0;
|
||
|
while (tvh.c < i5) {
|
||
|
if (bArr[tvh.c] == 1) {
|
||
|
int i15 = $11 + 23;
|
||
|
$10 = i15 % 128;
|
||
|
int i16 = i15 % 2;
|
||
|
int i17 = tvh.c;
|
||
|
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
|
||
|
Object obj2 = xzZ.y.get(850398076);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 454, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(850398076, obj2);
|
||
|
}
|
||
|
cArr5[i17] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
|
||
|
} else {
|
||
|
int i18 = tvh.c;
|
||
|
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
|
||
|
Object obj3 = xzZ.y.get(1084521042);
|
||
|
if (obj3 == null) {
|
||
|
obj3 = ((Class) xzZ.c(14 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (View.MeasureSpec.makeMeasureSpec(0, 0) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(1084521042, obj3);
|
||
|
}
|
||
|
cArr5[i18] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
|
||
|
}
|
||
|
c2 = cArr5[tvh.c];
|
||
|
Object[] objArr6 = {tvh, tvh};
|
||
|
Object obj4 = xzZ.y.get(1698744941);
|
||
|
if (obj4 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(401 - TextUtils.indexOf((CharSequence) "", '0'), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) (21608 - KeyEvent.normalizeMetaState(0)));
|
||
|
byte b3 = (byte) 1;
|
||
|
byte b4 = (byte) (b3 - 1);
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
g(b3, b4, b4, objArr7);
|
||
|
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1698744941, obj4);
|
||
|
}
|
||
|
((Method) obj4).invoke(null, objArr6);
|
||
|
}
|
||
|
cArr4 = cArr5;
|
||
|
}
|
||
|
if (i7 > 0) {
|
||
|
int i19 = $11 + 81;
|
||
|
$10 = i19 % 128;
|
||
|
if (i19 % 2 != 0) {
|
||
|
char[] cArr6 = new char[i5];
|
||
|
System.arraycopy(cArr4, 0, cArr6, 0, i5);
|
||
|
int i20 = i5 + i7;
|
||
|
System.arraycopy(cArr6, 1, cArr4, i20, i7);
|
||
|
System.arraycopy(cArr6, i7, cArr4, 1, i20);
|
||
|
} else {
|
||
|
char[] cArr7 = new char[i5];
|
||
|
System.arraycopy(cArr4, 0, cArr7, 0, i5);
|
||
|
int i21 = i5 - i7;
|
||
|
System.arraycopy(cArr7, 0, cArr4, i21, i7);
|
||
|
System.arraycopy(cArr7, i7, cArr4, 0, i21);
|
||
|
}
|
||
|
}
|
||
|
if (z) {
|
||
|
int i22 = $10 + 69;
|
||
|
$11 = i22 % 128;
|
||
|
int i23 = i22 % 2;
|
||
|
char[] cArr8 = new char[i5];
|
||
|
int i24 = 0;
|
||
|
while (true) {
|
||
|
tvh.c = i24;
|
||
|
if (tvh.c >= i5) {
|
||
|
break;
|
||
|
}
|
||
|
int i25 = $11 + 23;
|
||
|
$10 = i25 % 128;
|
||
|
if (i25 % 2 != 0) {
|
||
|
cArr8[tvh.c] = cArr4[(tvh.c + i5) << 1];
|
||
|
} else {
|
||
|
cArr8[tvh.c] = cArr4[(i5 - tvh.c) - 1];
|
||
|
}
|
||
|
i24 = tvh.c + 1;
|
||
|
}
|
||
|
cArr4 = cArr8;
|
||
|
}
|
||
|
if (i6 > 0) {
|
||
|
tvh.c = 0;
|
||
|
while (tvh.c < i5) {
|
||
|
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
|
||
|
tvh.c++;
|
||
|
int i26 = $11 + 123;
|
||
|
$10 = i26 % 128;
|
||
|
int i27 = i26 % 2;
|
||
|
}
|
||
|
}
|
||
|
objArr[0] = new String(cArr4);
|
||
|
}
|
||
|
}
|