349 lines
15 KiB
Java
349 lines
15 KiB
Java
package o;
|
|
|
|
import android.graphics.drawable.Drawable;
|
|
import android.os.Process;
|
|
import android.os.SystemClock;
|
|
import android.text.AndroidCharacter;
|
|
import android.view.KeyEvent;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import android.widget.ExpandableListView;
|
|
import java.lang.reflect.Method;
|
|
import net.sf.scuba.smartcards.ISO7816;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class qut extends ZTC {
|
|
private static final byte[] $$d = {78, -14, -82, ISO7816.INS_UPDATE_BINARY};
|
|
private static final int $$e = 54;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int c = 0;
|
|
private static int b = 1;
|
|
private static char[] e = {40013, 39971, 39954};
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002a). 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(short r5, int r6, short r7, java.lang.Object[] r8) {
|
|
/*
|
|
int r6 = r6 * 2
|
|
int r0 = 1 - r6
|
|
byte[] r1 = o.qut.$$d
|
|
int r7 = r7 * 2
|
|
int r7 = r7 + 71
|
|
int r5 = r5 + 4
|
|
byte[] r0 = new byte[r0]
|
|
r2 = 0
|
|
int r6 = 0 - r6
|
|
if (r1 != 0) goto L16
|
|
r3 = r6
|
|
r4 = r2
|
|
goto L2a
|
|
L16:
|
|
r3 = r2
|
|
L17:
|
|
byte r4 = (byte) r7
|
|
r0[r3] = r4
|
|
int r5 = r5 + 1
|
|
int r4 = r3 + 1
|
|
if (r3 != r6) goto L28
|
|
java.lang.String r5 = new java.lang.String
|
|
r5.<init>(r0, r2)
|
|
r8[r2] = r5
|
|
return
|
|
L28:
|
|
r3 = r1[r5]
|
|
L2a:
|
|
int r3 = -r3
|
|
int r7 = r7 + r3
|
|
r3 = r4
|
|
goto L17
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.qut.g(short, int, short, java.lang.Object[]):void");
|
|
}
|
|
|
|
@InterfaceC13391fZD
|
|
public qut() {
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:142:0x01d3, code lost:
|
|
|
|
if (r3.intValue() == 1) goto L180;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:264:0x0372, code lost:
|
|
|
|
if (r3.intValue() == 1) goto L332;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:299:0x037c, code lost:
|
|
|
|
r1 = r4;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:301:0x037a, code lost:
|
|
|
|
if (r3.intValue() == 1) goto L332;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:328:0x01dd, code lost:
|
|
|
|
r33 = r4;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:330:0x01db, code lost:
|
|
|
|
if (r3.intValue() == 1) goto L180;
|
|
*/
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* JADX WARN: Removed duplicated region for block: B:104:0x0158 */
|
|
/* JADX WARN: Removed duplicated region for block: B:109:0x0167 */
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0031 */
|
|
/* JADX WARN: Removed duplicated region for block: B:114:0x0176 */
|
|
/* JADX WARN: Removed duplicated region for block: B:119:0x0185 */
|
|
/* JADX WARN: Removed duplicated region for block: B:124:0x0194 */
|
|
/* JADX WARN: Removed duplicated region for block: B:129:0x01a3 */
|
|
/* JADX WARN: Removed duplicated region for block: B:134:0x01b2 */
|
|
/* JADX WARN: Removed duplicated region for block: B:139:0x01c1 */
|
|
/* JADX WARN: Removed duplicated region for block: B:146:0x01e9 */
|
|
/* JADX WARN: Removed duplicated region for block: B:151:0x01f8 */
|
|
/* JADX WARN: Removed duplicated region for block: B:156:0x0207 */
|
|
/* JADX WARN: Removed duplicated region for block: B:161:0x0216 */
|
|
/* JADX WARN: Removed duplicated region for block: B:166:0x0225 */
|
|
/* JADX WARN: Removed duplicated region for block: B:171:0x0234 */
|
|
/* JADX WARN: Removed duplicated region for block: B:176:0x0243 */
|
|
/* JADX WARN: Removed duplicated region for block: B:17:0x0050 */
|
|
/* JADX WARN: Removed duplicated region for block: B:181:0x0252 */
|
|
/* JADX WARN: Removed duplicated region for block: B:186:0x0261 */
|
|
/* JADX WARN: Removed duplicated region for block: B:191:0x0270 */
|
|
/* JADX WARN: Removed duplicated region for block: B:196:0x027f */
|
|
/* JADX WARN: Removed duplicated region for block: B:201:0x0299 */
|
|
/* JADX WARN: Removed duplicated region for block: B:206:0x02a8 */
|
|
/* JADX WARN: Removed duplicated region for block: B:211:0x02b7 */
|
|
/* JADX WARN: Removed duplicated region for block: B:216:0x02c6 */
|
|
/* JADX WARN: Removed duplicated region for block: B:221:0x02d5 */
|
|
/* JADX WARN: Removed duplicated region for block: B:226:0x02e4 */
|
|
/* JADX WARN: Removed duplicated region for block: B:22:0x005d */
|
|
/* JADX WARN: Removed duplicated region for block: B:231:0x02f3 */
|
|
/* JADX WARN: Removed duplicated region for block: B:236:0x0315 */
|
|
/* JADX WARN: Removed duplicated region for block: B:241:0x0326 */
|
|
/* JADX WARN: Removed duplicated region for block: B:246:0x0335 */
|
|
/* JADX WARN: Removed duplicated region for block: B:251:0x0344 */
|
|
/* JADX WARN: Removed duplicated region for block: B:256:0x0353 */
|
|
/* JADX WARN: Removed duplicated region for block: B:261:0x0362 */
|
|
/* JADX WARN: Removed duplicated region for block: B:268:0x0384 */
|
|
/* JADX WARN: Removed duplicated region for block: B:273:0x0393 */
|
|
/* JADX WARN: Removed duplicated region for block: B:278:0x03a2 */
|
|
/* JADX WARN: Removed duplicated region for block: B:27:0x006a */
|
|
/* JADX WARN: Removed duplicated region for block: B:283:0x03b1 */
|
|
/* JADX WARN: Removed duplicated region for block: B:288:0x03c0 */
|
|
/* JADX WARN: Removed duplicated region for block: B:302:0x037e */
|
|
/* JADX WARN: Removed duplicated region for block: B:308:0x031f */
|
|
/* JADX WARN: Removed duplicated region for block: B:317:0x0292 */
|
|
/* JADX WARN: Removed duplicated region for block: B:32:0x0077 */
|
|
/* JADX WARN: Removed duplicated region for block: B:331:0x01e0 */
|
|
/* JADX WARN: Removed duplicated region for block: B:342:0x0133 */
|
|
/* JADX WARN: Removed duplicated region for block: B:37:0x0084 */
|
|
/* JADX WARN: Removed duplicated region for block: B:42:0x0091 */
|
|
/* JADX WARN: Removed duplicated region for block: B:49:0x00b0 */
|
|
/* JADX WARN: Removed duplicated region for block: B:54:0x00bd */
|
|
/* JADX WARN: Removed duplicated region for block: B:59:0x00ca */
|
|
/* JADX WARN: Removed duplicated region for block: B:64:0x00d7 */
|
|
/* JADX WARN: Removed duplicated region for block: B:69:0x00e4 */
|
|
/* JADX WARN: Removed duplicated region for block: B:74:0x00f3 */
|
|
/* JADX WARN: Removed duplicated region for block: B:79:0x0102 */
|
|
/* JADX WARN: Removed duplicated region for block: B:84:0x0111 */
|
|
/* JADX WARN: Removed duplicated region for block: B:89:0x0129 */
|
|
/* JADX WARN: Removed duplicated region for block: B:94:0x013a */
|
|
/* JADX WARN: Removed duplicated region for block: B:99:0x0149 */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public static o.YIo d(o.iwl r63) {
|
|
/*
|
|
Method dump skipped, instructions count: 1071
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.qut.d(o.iwl):o.YIo");
|
|
}
|
|
|
|
private static String j(String str) {
|
|
int i = 2 % 2;
|
|
Object[] objArr = new Object[1];
|
|
f(new byte[]{1}, new int[]{0, 1, 93, 1}, false, objArr);
|
|
String intern = ((String) objArr[0]).intern();
|
|
Object[] objArr2 = new Object[1];
|
|
f(new byte[]{1}, new int[]{0, 1, 93, 1}, false, objArr2);
|
|
if (!C14957gcv.b((Object) str, (Object) ((String) objArr2[0]).intern())) {
|
|
Object[] objArr3 = new Object[1];
|
|
f(new byte[]{0}, new int[]{1, 1, 31, 0}, true, objArr3);
|
|
intern = ((String) objArr3[0]).intern();
|
|
Object[] objArr4 = new Object[1];
|
|
f(new byte[]{0}, new int[]{1, 1, 31, 0}, true, objArr4);
|
|
if (!C14957gcv.b((Object) str, (Object) ((String) objArr4[0]).intern())) {
|
|
Object[] objArr5 = new Object[1];
|
|
f(new byte[]{0}, new int[]{2, 1, 0, 1}, true, objArr5);
|
|
intern = ((String) objArr5[0]).intern();
|
|
}
|
|
} else {
|
|
int i2 = c + 93;
|
|
b = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
}
|
|
int i4 = b + 27;
|
|
c = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
int i5 = 67 / 0;
|
|
}
|
|
return intern;
|
|
}
|
|
|
|
private static void f(byte[] bArr, int[] iArr, boolean z, Object[] objArr) {
|
|
int i;
|
|
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[] cArr = e;
|
|
int i8 = -1;
|
|
if (cArr != null) {
|
|
int length = cArr.length;
|
|
char[] cArr2 = new char[length];
|
|
int i9 = 0;
|
|
while (i9 < length) {
|
|
try {
|
|
Object[] objArr2 = new Object[1];
|
|
objArr2[i3] = Integer.valueOf(cArr[i9]);
|
|
Object obj = xzZ.y.get(1645349359);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getJumpTapTimeout() >> 16), AndroidCharacter.getMirror('0') - '+', (char) (View.combineMeasuredStates(i3, i3) + 41977));
|
|
byte b2 = (byte) i8;
|
|
byte b3 = (byte) (b2 + 1);
|
|
Object[] objArr3 = new Object[1];
|
|
g(b2, b3, b3, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
|
xzZ.y.put(1645349359, obj);
|
|
}
|
|
cArr2[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
i9++;
|
|
i3 = 0;
|
|
i8 = -1;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
cArr = cArr2;
|
|
}
|
|
char[] cArr3 = new char[i5];
|
|
System.arraycopy(cArr, i4, cArr3, 0, i5);
|
|
if (bArr != null) {
|
|
char[] cArr4 = new char[i5];
|
|
tvh.c = 0;
|
|
char c2 = 0;
|
|
while (tvh.c < i5) {
|
|
int i10 = $10 + 99;
|
|
$11 = i10 % 128;
|
|
int i11 = i10 % 2;
|
|
if (bArr[tvh.c] == 1) {
|
|
int i12 = $10 + 75;
|
|
$11 = i12 % 128;
|
|
int i13 = i12 % 2;
|
|
int i14 = tvh.c;
|
|
try {
|
|
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
|
|
Object obj2 = xzZ.y.get(850398076);
|
|
if (obj2 == null) {
|
|
obj2 = ((Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 502, View.getDefaultSize(0, 0) + 5, (char) (54 - (ViewConfiguration.getLongPressTimeout() >> 16)))).getMethod("F", Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(850398076, obj2);
|
|
}
|
|
cArr4[i14] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
|
|
} catch (Throwable th2) {
|
|
Throwable cause2 = th2.getCause();
|
|
if (cause2 == null) {
|
|
throw th2;
|
|
}
|
|
throw cause2;
|
|
}
|
|
} else {
|
|
int i15 = tvh.c;
|
|
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
|
|
Object obj3 = xzZ.y.get(1084521042);
|
|
if (obj3 == null) {
|
|
obj3 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 15, 5 - Drawable.resolveOpacity(0, 0), (char) (58135 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))))).getMethod("H", Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(1084521042, obj3);
|
|
}
|
|
cArr4[i15] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
|
|
}
|
|
c2 = cArr4[tvh.c];
|
|
Object[] objArr6 = {tvh, tvh};
|
|
Object obj4 = xzZ.y.get(1698744941);
|
|
if (obj4 == null) {
|
|
Class cls2 = (Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 401, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (((Process.getThreadPriority(0) + 20) >> 6) + 21608));
|
|
byte b4 = (byte) (-1);
|
|
byte b5 = (byte) (b4 + 1);
|
|
Object[] objArr7 = new Object[1];
|
|
g(b4, b5, (byte) (b5 + 1), objArr7);
|
|
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(1698744941, obj4);
|
|
}
|
|
((Method) obj4).invoke(null, objArr6);
|
|
}
|
|
cArr3 = cArr4;
|
|
}
|
|
if (i7 > 0) {
|
|
int i16 = $10 + 61;
|
|
$11 = i16 % 128;
|
|
int i17 = i16 % 2;
|
|
char[] cArr5 = new char[i5];
|
|
i = 0;
|
|
System.arraycopy(cArr3, 0, cArr5, 0, i5);
|
|
int i18 = i5 - i7;
|
|
System.arraycopy(cArr5, 0, cArr3, i18, i7);
|
|
System.arraycopy(cArr5, i7, cArr3, 0, i18);
|
|
} else {
|
|
i = 0;
|
|
}
|
|
if (z) {
|
|
char[] cArr6 = new char[i5];
|
|
while (true) {
|
|
tvh.c = i;
|
|
if (tvh.c >= i5) {
|
|
break;
|
|
}
|
|
int i19 = $11 + 47;
|
|
$10 = i19 % 128;
|
|
if (i19 % 2 != 0) {
|
|
cArr6[tvh.c] = cArr3[i5 - tvh.c];
|
|
i = tvh.c;
|
|
} else {
|
|
cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1];
|
|
i = tvh.c + 1;
|
|
}
|
|
}
|
|
cArr3 = cArr6;
|
|
}
|
|
if (i6 > 0) {
|
|
int i20 = 0;
|
|
while (true) {
|
|
tvh.c = i20;
|
|
if (tvh.c >= i5) {
|
|
break;
|
|
}
|
|
int i21 = $11 + 33;
|
|
$10 = i21 % 128;
|
|
int i22 = i21 % 2;
|
|
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
|
|
i20 = tvh.c + 1;
|
|
}
|
|
}
|
|
objArr[0] = new String(cArr3);
|
|
}
|
|
}
|