248 lines
9.5 KiB
Java
248 lines
9.5 KiB
Java
|
package o;
|
||
|
|
||
|
import android.graphics.PointF;
|
||
|
import android.os.SystemClock;
|
||
|
import android.text.TextUtils;
|
||
|
import android.view.KeyEvent;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||
|
import java.lang.reflect.Method;
|
||
|
import net.sf.scuba.smartcards.ISO7816;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class Muw extends ZTC {
|
||
|
private static final byte[] $$d = {123, ISO7816.INS_READ_RECORD2, ISO7816.INS_MSE, -23};
|
||
|
private static final int $$e = 188;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int c = 0;
|
||
|
private static int b = 1;
|
||
|
private static char[] e = {39955};
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:10:0x002a */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:7:0x0022 */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002a -> B:4:0x002e). 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 r7, byte r8, byte r9, java.lang.Object[] r10) {
|
||
|
/*
|
||
|
byte[] r0 = o.Muw.$$d
|
||
|
int r9 = r9 * 4
|
||
|
int r9 = 3 - r9
|
||
|
int r8 = r8 * 2
|
||
|
int r8 = 73 - r8
|
||
|
int r7 = r7 * 2
|
||
|
int r7 = 1 - r7
|
||
|
byte[] r1 = new byte[r7]
|
||
|
r2 = 0
|
||
|
if (r0 != 0) goto L17
|
||
|
r3 = r7
|
||
|
r8 = r9
|
||
|
r4 = r2
|
||
|
goto L2e
|
||
|
L17:
|
||
|
r3 = r2
|
||
|
r6 = r9
|
||
|
r9 = r8
|
||
|
r8 = r6
|
||
|
L1b:
|
||
|
int r4 = r3 + 1
|
||
|
byte r5 = (byte) r9
|
||
|
r1[r3] = r5
|
||
|
if (r4 != r7) goto L2a
|
||
|
java.lang.String r7 = new java.lang.String
|
||
|
r7.<init>(r1, r2)
|
||
|
r10[r2] = r7
|
||
|
return
|
||
|
L2a:
|
||
|
int r8 = r8 + 1
|
||
|
r3 = r0[r8]
|
||
|
L2e:
|
||
|
int r3 = -r3
|
||
|
int r9 = r9 + r3
|
||
|
r3 = r4
|
||
|
goto L1b
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.Muw.g(int, byte, byte, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public Muw() {
|
||
|
}
|
||
|
|
||
|
public static BOc e(ApB apB) {
|
||
|
int i = 2 % 2;
|
||
|
BOc bOc = new BOc();
|
||
|
bOc.c = apB.h();
|
||
|
bOc.b = apB.d();
|
||
|
bOc.f = XAP.d(apB.i());
|
||
|
bOc.h = apB.f();
|
||
|
bOc.a = apB.a();
|
||
|
bOc.j = apB.g();
|
||
|
bOc.e = apB.e();
|
||
|
bOc.g = apB.l();
|
||
|
boolean z = false;
|
||
|
if (apB.j() != null && !apB.j().isEmpty()) {
|
||
|
String j = apB.j();
|
||
|
Object[] objArr = new Object[1];
|
||
|
f(new byte[]{1}, new int[]{0, 1, 0, 0}, true, objArr);
|
||
|
if (j.equals(((String) objArr[0]).intern())) {
|
||
|
int i2 = c + 43;
|
||
|
b = i2 % 128;
|
||
|
if (i2 % 2 != 0) {
|
||
|
z = true;
|
||
|
}
|
||
|
bOc.i = z;
|
||
|
bOc.d = ((Boolean) ApB.a(new Object[]{apB}, 140331856, -140331854, System.identityHashCode(apB))).booleanValue();
|
||
|
return bOc;
|
||
|
}
|
||
|
}
|
||
|
int i3 = b + 99;
|
||
|
c = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
bOc.i = z;
|
||
|
bOc.d = ((Boolean) ApB.a(new Object[]{apB}, 140331856, -140331854, System.identityHashCode(apB))).booleanValue();
|
||
|
return bOc;
|
||
|
}
|
||
|
|
||
|
private static void f(byte[] bArr, int[] iArr, boolean z, Object[] objArr) {
|
||
|
Object method;
|
||
|
char[] cArr;
|
||
|
int i = 2 % 2;
|
||
|
TVH tvh = new TVH();
|
||
|
int i2 = 0;
|
||
|
int i3 = iArr[0];
|
||
|
int i4 = iArr[1];
|
||
|
int i5 = iArr[2];
|
||
|
int i6 = iArr[3];
|
||
|
char[] cArr2 = e;
|
||
|
char c2 = '0';
|
||
|
if (cArr2 != null) {
|
||
|
int length = cArr2.length;
|
||
|
char[] cArr3 = new char[length];
|
||
|
int i7 = $10 + 71;
|
||
|
$11 = i7 % 128;
|
||
|
int i8 = i7 % 2;
|
||
|
int i9 = 0;
|
||
|
while (i9 < length) {
|
||
|
try {
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
objArr2[i2] = Integer.valueOf(cArr2[i9]);
|
||
|
Object obj = xzZ.y.get(1645349359);
|
||
|
if (obj != null) {
|
||
|
cArr = cArr2;
|
||
|
} else {
|
||
|
Class cls = (Class) xzZ.c(222 - TextUtils.lastIndexOf("", c2, i2, i2), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) ((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 41977));
|
||
|
byte b2 = (byte) i2;
|
||
|
byte b3 = (byte) (b2 + 1);
|
||
|
cArr = cArr2;
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
g(b2, b3, (byte) (b3 - 1), objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
||
|
xzZ.y.put(1645349359, obj);
|
||
|
}
|
||
|
cArr3[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
||
|
i9++;
|
||
|
cArr2 = cArr;
|
||
|
i2 = 0;
|
||
|
c2 = '0';
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
cArr2 = cArr3;
|
||
|
}
|
||
|
char[] cArr4 = new char[i4];
|
||
|
System.arraycopy(cArr2, i3, cArr4, 0, i4);
|
||
|
if (bArr != null) {
|
||
|
char[] cArr5 = new char[i4];
|
||
|
tvh.c = 0;
|
||
|
char c3 = 0;
|
||
|
while (tvh.c < i4) {
|
||
|
if (bArr[tvh.c] == 1) {
|
||
|
int i10 = tvh.c;
|
||
|
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c3)};
|
||
|
Object obj2 = xzZ.y.get(850398076);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0) + 502, 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) ((ViewConfiguration.getTapTimeout() >> 16) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(850398076, obj2);
|
||
|
}
|
||
|
cArr5[i10] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
|
||
|
} else {
|
||
|
int i11 = tvh.c;
|
||
|
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c3)};
|
||
|
Object obj3 = xzZ.y.get(1084521042);
|
||
|
if (obj3 != null) {
|
||
|
method = obj3;
|
||
|
} else {
|
||
|
method = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 16, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (KeyEvent.getDeadChar(0, 0) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(1084521042, method);
|
||
|
}
|
||
|
cArr5[i11] = ((Character) ((Method) method).invoke(null, objArr5)).charValue();
|
||
|
}
|
||
|
char c4 = cArr5[tvh.c];
|
||
|
Object[] objArr6 = {tvh, tvh};
|
||
|
Object obj4 = xzZ.y.get(1698744941);
|
||
|
if (obj4 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(402 - TextUtils.getCapsMode("", 0, 0), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (21609 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))));
|
||
|
byte b4 = (byte) 0;
|
||
|
byte b5 = b4;
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
g(b4, b5, b5, objArr7);
|
||
|
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1698744941, obj4);
|
||
|
}
|
||
|
((Method) obj4).invoke(null, objArr6);
|
||
|
c3 = c4;
|
||
|
}
|
||
|
cArr4 = cArr5;
|
||
|
}
|
||
|
if (i6 > 0) {
|
||
|
char[] cArr6 = new char[i4];
|
||
|
System.arraycopy(cArr4, 0, cArr6, 0, i4);
|
||
|
int i12 = i4 - i6;
|
||
|
System.arraycopy(cArr6, 0, cArr4, i12, i6);
|
||
|
System.arraycopy(cArr6, i6, cArr4, 0, i12);
|
||
|
}
|
||
|
if (z) {
|
||
|
int i13 = $10 + 21;
|
||
|
$11 = i13 % 128;
|
||
|
int i14 = i13 % 2;
|
||
|
char[] cArr7 = new char[i4];
|
||
|
tvh.c = 0;
|
||
|
while (tvh.c < i4) {
|
||
|
int i15 = $10 + 23;
|
||
|
$11 = i15 % 128;
|
||
|
int i16 = i15 % 2;
|
||
|
cArr7[tvh.c] = cArr4[(i4 - tvh.c) - 1];
|
||
|
tvh.c++;
|
||
|
int i17 = $11 + 57;
|
||
|
$10 = i17 % 128;
|
||
|
int i18 = i17 % 2;
|
||
|
}
|
||
|
cArr4 = cArr7;
|
||
|
}
|
||
|
if (i5 > 0) {
|
||
|
int i19 = 0;
|
||
|
while (true) {
|
||
|
tvh.c = i19;
|
||
|
if (tvh.c >= i4) {
|
||
|
break;
|
||
|
}
|
||
|
int i20 = $10 + 57;
|
||
|
$11 = i20 % 128;
|
||
|
int i21 = i20 % 2;
|
||
|
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
|
||
|
i19 = tvh.c + 1;
|
||
|
}
|
||
|
}
|
||
|
objArr[0] = new String(cArr4);
|
||
|
}
|
||
|
}
|