255 lines
8.9 KiB
Java
255 lines
8.9 KiB
Java
package o;
|
|
|
|
import android.graphics.Color;
|
|
import android.text.TextUtils;
|
|
import android.view.KeyEvent;
|
|
import android.view.MotionEvent;
|
|
import android.view.ViewConfiguration;
|
|
import android.widget.ExpandableListView;
|
|
import java.lang.reflect.Method;
|
|
import net.sf.scuba.smartcards.ISO7816;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class QYT extends ZTC {
|
|
private final C0177Arq e;
|
|
private static final byte[] $$d = {113, ISO7816.INS_READ_BINARY, -18, 43};
|
|
private static final int $$e = 238;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int i = 0;
|
|
private static int f = 1;
|
|
private static char b = 61490;
|
|
private static char a = 5307;
|
|
private static char c = 23699;
|
|
private static char d = 45887;
|
|
|
|
/* 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:0x0027). 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(int r6, short r7, short r8, java.lang.Object[] r9) {
|
|
/*
|
|
int r8 = r8 * 4
|
|
int r8 = r8 + 1
|
|
byte[] r0 = o.QYT.$$d
|
|
int r6 = 67 - r6
|
|
int r7 = r7 + 4
|
|
byte[] r1 = new byte[r8]
|
|
r2 = 0
|
|
if (r0 != 0) goto L13
|
|
r3 = r6
|
|
r6 = r8
|
|
r4 = r2
|
|
goto L27
|
|
L13:
|
|
r3 = r2
|
|
L14:
|
|
int r7 = r7 + 1
|
|
int r4 = r3 + 1
|
|
byte r5 = (byte) r6
|
|
r1[r3] = r5
|
|
if (r4 != r8) goto L25
|
|
java.lang.String r6 = new java.lang.String
|
|
r6.<init>(r1, r2)
|
|
r9[r2] = r6
|
|
return
|
|
L25:
|
|
r3 = r0[r7]
|
|
L27:
|
|
int r6 = r6 + r3
|
|
r3 = r4
|
|
goto L14
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.QYT.h(int, short, short, java.lang.Object[]):void");
|
|
}
|
|
|
|
@InterfaceC13391fZD
|
|
public QYT(C0177Arq c0177Arq) {
|
|
this.e = c0177Arq;
|
|
}
|
|
|
|
public final iKd e(WYA wya) {
|
|
String str;
|
|
String str2;
|
|
int i2 = 2 % 2;
|
|
iKd ikd = new iKd();
|
|
ikd.L = wya.G;
|
|
ikd.J = wya.H;
|
|
ikd.d = wya.e;
|
|
ikd.a = wya.a;
|
|
ikd.e = wya.d;
|
|
ikd.M = wya.L;
|
|
ikd.H = wya.A;
|
|
ikd.K = wya.E;
|
|
ikd.x = wya.p;
|
|
ikd.p = wya.n;
|
|
ikd.f9170o = wya.l;
|
|
ikd.N = wya.I;
|
|
ikd.w = wya.s;
|
|
ikd.r = wya.f8432o;
|
|
ikd.l = wya.k;
|
|
ikd.h = wya.j;
|
|
ikd.C = wya.z;
|
|
ikd.F = wya.B;
|
|
ikd.B = wya.v;
|
|
ikd.E = wya.D;
|
|
ikd.z = wya.u;
|
|
String str3 = wya.f;
|
|
String str4 = "";
|
|
ikd.n = str3 != null ? str3.toLowerCase() : "";
|
|
ikd.m = wya.m;
|
|
ikd.D = wya.w;
|
|
ikd.q = wya.t;
|
|
ikd.g = wya.h;
|
|
ikd.b = wya.b;
|
|
ikd.c = wya.c;
|
|
ikd.t = wya.r;
|
|
ikd.I = wya.F;
|
|
ikd.y = wya.y;
|
|
boolean isEmpty = TextUtils.isEmpty(wya.g);
|
|
Object[] objArr = new Object[1];
|
|
g(new char[]{14614, 43568}, 1 - ExpandableListView.getPackedPositionGroup(0L), objArr);
|
|
String intern = ((String) objArr[0]).intern();
|
|
if (isEmpty) {
|
|
Object[] objArr2 = new Object[1];
|
|
g(new char[]{14614, 43568}, 1 - (ViewConfiguration.getPressedStateDuration() >> 16), objArr2);
|
|
str = ((String) objArr2[0]).intern();
|
|
int i3 = f + 97;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
} else {
|
|
str = wya.g;
|
|
}
|
|
ikd.i = str;
|
|
if (gjJ.b((CharSequence) wya.i)) {
|
|
int i5 = i;
|
|
int i6 = i5 + 13;
|
|
f = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
int i8 = i5 + 83;
|
|
f = i8 % 128;
|
|
if (i8 % 2 == 0) {
|
|
int i9 = 4 / 2;
|
|
}
|
|
} else {
|
|
intern = wya.i;
|
|
}
|
|
ikd.j = intern;
|
|
ikd.A = wya.C;
|
|
if (gjJ.b((CharSequence) wya.q)) {
|
|
int i10 = i + 67;
|
|
f = i10 % 128;
|
|
int i11 = i10 % 2;
|
|
str2 = this.e.a();
|
|
} else {
|
|
str2 = wya.q;
|
|
}
|
|
ikd.s = str2;
|
|
if (gjJ.b((CharSequence) wya.x)) {
|
|
int i12 = i + 93;
|
|
f = i12 % 128;
|
|
int i13 = i12 % 2;
|
|
} else {
|
|
str4 = wya.x;
|
|
}
|
|
ikd.v = str4;
|
|
return ikd;
|
|
}
|
|
|
|
private static void g(char[] cArr, int i2, Object[] objArr) {
|
|
int i3;
|
|
CharSequence charSequence;
|
|
Object method;
|
|
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) {
|
|
cArr3[0] = cArr[jtb.b];
|
|
cArr3[1] = cArr[jtb.b + 1];
|
|
int i6 = $11 + 93;
|
|
$10 = i6 % 128;
|
|
int i7 = i6 % i4;
|
|
int i8 = 58224;
|
|
int i9 = 0;
|
|
while (i9 < 16) {
|
|
int i10 = $10 + 47;
|
|
$11 = i10 % 128;
|
|
int i11 = i10 % i4;
|
|
char c2 = cArr3[1];
|
|
char c3 = cArr3[0];
|
|
int i12 = (c3 + i8) ^ ((c3 << 4) + ((char) (c ^ 41718355337583039L)));
|
|
int i13 = c3 >>> 5;
|
|
try {
|
|
Object[] objArr2 = new Object[4];
|
|
objArr2[3] = Integer.valueOf(d);
|
|
objArr2[i4] = Integer.valueOf(i13);
|
|
objArr2[1] = Integer.valueOf(i12);
|
|
objArr2[0] = Integer.valueOf(c2);
|
|
Object obj = xzZ.y.get(597144044);
|
|
if (obj != null) {
|
|
method = obj;
|
|
charSequence = "";
|
|
} else {
|
|
charSequence = "";
|
|
Class cls = (Class) xzZ.c(411 - TextUtils.lastIndexOf(charSequence, '0'), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) ((-1) - TextUtils.indexOf(charSequence, '0')));
|
|
byte b2 = (byte) 1;
|
|
byte b3 = (byte) (-b2);
|
|
Object[] objArr3 = new Object[1];
|
|
h(b2, b3, (byte) (b3 + 1), objArr3);
|
|
method = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(597144044, method);
|
|
}
|
|
char charValue = ((Character) ((Method) method).invoke(null, objArr2)).charValue();
|
|
cArr3[1] = charValue;
|
|
Object[] objArr4 = {Integer.valueOf(cArr3[0]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (b ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(a)};
|
|
Object obj2 = xzZ.y.get(597144044);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf(charSequence, '0', 0, 0) + 413, Color.alpha(0) + 5, (char) TextUtils.getTrimmedLength(charSequence));
|
|
byte b4 = (byte) 1;
|
|
byte b5 = (byte) (-b4);
|
|
Object[] objArr5 = new Object[1];
|
|
h(b4, b5, (byte) (b5 + 1), 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();
|
|
i8 -= 40503;
|
|
i9++;
|
|
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(97 - MotionEvent.axisFromString(""), 5 - KeyEvent.normalizeMetaState(0), (char) (ViewConfiguration.getScrollBarSize() >> 8));
|
|
byte b6 = (byte) 0;
|
|
byte b7 = (byte) (b6 - 1);
|
|
Object[] objArr7 = new Object[1];
|
|
h(b6, b7, (byte) (b7 + 1), 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, i2);
|
|
}
|
|
}
|