267 lines
11 KiB
Java
267 lines
11 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.SharedPreferences;
|
||
|
import android.content.res.Resources;
|
||
|
import android.graphics.Color;
|
||
|
import android.graphics.PointF;
|
||
|
import android.os.Process;
|
||
|
import android.text.TextUtils;
|
||
|
import android.util.TypedValue;
|
||
|
import android.view.KeyEvent;
|
||
|
import android.view.MotionEvent;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||
|
import java.lang.reflect.Method;
|
||
|
import net.sf.scuba.smartcards.ISOFileInfo;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class DR extends C16157lj {
|
||
|
private static int a;
|
||
|
private static int b;
|
||
|
private static int d;
|
||
|
private static short[] f;
|
||
|
private static byte[] g;
|
||
|
private static int i;
|
||
|
private static final byte[] $$d = {29, 33, 79, 109};
|
||
|
private static final int $$e = 32;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int h = 0;
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002b). 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 q(int r6, int r7, int r8, java.lang.Object[] r9) {
|
||
|
/*
|
||
|
byte[] r0 = o.DR.$$d
|
||
|
int r7 = r7 * 4
|
||
|
int r7 = r7 + 4
|
||
|
int r6 = r6 * 2
|
||
|
int r6 = 110 - r6
|
||
|
int r8 = r8 * 4
|
||
|
int r1 = r8 + 1
|
||
|
byte[] r1 = new byte[r1]
|
||
|
r2 = 0
|
||
|
if (r0 != 0) goto L16
|
||
|
r3 = r7
|
||
|
r4 = r2
|
||
|
goto L2b
|
||
|
L16:
|
||
|
r3 = r2
|
||
|
L17:
|
||
|
byte r4 = (byte) r6
|
||
|
r1[r3] = r4
|
||
|
int r4 = r3 + 1
|
||
|
if (r3 != r8) goto L26
|
||
|
java.lang.String r6 = new java.lang.String
|
||
|
r6.<init>(r1, r2)
|
||
|
r9[r2] = r6
|
||
|
return
|
||
|
L26:
|
||
|
r3 = r0[r7]
|
||
|
r5 = r3
|
||
|
r3 = r7
|
||
|
r7 = r5
|
||
|
L2b:
|
||
|
int r7 = -r7
|
||
|
int r3 = r3 + 1
|
||
|
int r6 = r6 + r7
|
||
|
r7 = r3
|
||
|
r3 = r4
|
||
|
goto L17
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.DR.q(int, int, int, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
@InterfaceC13391fZD
|
||
|
public DR(Resources resources, SharedPreferences sharedPreferences) {
|
||
|
super(resources, sharedPreferences);
|
||
|
C14957gcv.e(resources, "");
|
||
|
C14957gcv.e(sharedPreferences, "");
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:12:0x00d2 */
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public static o.XB b(o.XG r18) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 418
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.DR.b(o.XG):o.XB");
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class LWm {
|
||
|
private LWm() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ LWm(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private static void n(short s, byte b2, int i2, int i3, int i4, Object[] objArr) {
|
||
|
int i5;
|
||
|
char c;
|
||
|
int i6 = 2 % 2;
|
||
|
DFY dfy = new DFY();
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
try {
|
||
|
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(d)};
|
||
|
Object obj = xzZ.y.get(-2092856797);
|
||
|
if (obj == null) {
|
||
|
Class cls = (Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 337, TextUtils.getOffsetBefore("", 0) + 5, (char) (Process.myTid() >> 22));
|
||
|
byte b3 = (byte) 0;
|
||
|
byte b4 = b3;
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
q(b3, b4, b4, objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(-2092856797, obj);
|
||
|
}
|
||
|
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
|
||
|
if (intValue == -1) {
|
||
|
int i7 = $10 + 75;
|
||
|
$11 = i7 % 128;
|
||
|
int i8 = i7 % 2;
|
||
|
i5 = 1;
|
||
|
} else {
|
||
|
i5 = 0;
|
||
|
}
|
||
|
float f2 = BitmapDescriptorFactory.HUE_RED;
|
||
|
if (i5 != 0) {
|
||
|
byte[] bArr = g;
|
||
|
if (bArr != null) {
|
||
|
int length = bArr.length;
|
||
|
byte[] bArr2 = new byte[length];
|
||
|
int i9 = 0;
|
||
|
while (i9 < length) {
|
||
|
Object[] objArr4 = {Integer.valueOf(bArr[i9])};
|
||
|
Object obj2 = xzZ.y.get(-1648115392);
|
||
|
if (obj2 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(60 - (PointF.length(f2, f2) > f2 ? 1 : (PointF.length(f2, f2) == f2 ? 0 : -1)), 5 - View.MeasureSpec.getMode(0), (char) Color.alpha(0));
|
||
|
byte b5 = (byte) 1;
|
||
|
byte b6 = (byte) (b5 - 1);
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
q(b5, b6, b6, objArr5);
|
||
|
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
|
||
|
xzZ.y.put(-1648115392, obj2);
|
||
|
}
|
||
|
bArr2[i9] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
|
||
|
i9++;
|
||
|
f2 = BitmapDescriptorFactory.HUE_RED;
|
||
|
}
|
||
|
bArr = bArr2;
|
||
|
}
|
||
|
if (bArr != null) {
|
||
|
int i10 = $11 + 7;
|
||
|
$10 = i10 % 128;
|
||
|
int i11 = i10 % 2;
|
||
|
byte[] bArr3 = g;
|
||
|
try {
|
||
|
Object[] objArr6 = {Integer.valueOf(i3), Integer.valueOf(b)};
|
||
|
Object obj3 = xzZ.y.get(-2092856797);
|
||
|
if (obj3 == null) {
|
||
|
Class cls3 = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 337, (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) TextUtils.getTrimmedLength(""));
|
||
|
byte b7 = (byte) 0;
|
||
|
byte b8 = b7;
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
q(b7, b8, b8, objArr7);
|
||
|
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(-2092856797, obj3);
|
||
|
}
|
||
|
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (d ^ (-7303220121662775787L))));
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
} else {
|
||
|
intValue = (short) (((short) (f[i3 + ((int) (b ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (d ^ (-7303220121662775787L))));
|
||
|
}
|
||
|
}
|
||
|
if (intValue > 0) {
|
||
|
int i12 = $11 + 75;
|
||
|
$10 = i12 % 128;
|
||
|
int i13 = i12 % 2;
|
||
|
dfy.c = ((i3 + intValue) - 2) + ((int) (b ^ (-7303220121662775787L))) + i5;
|
||
|
Object[] objArr8 = {dfy, Integer.valueOf(i4), Integer.valueOf(a), sb};
|
||
|
Object obj4 = xzZ.y.get(1546973421);
|
||
|
if (obj4 == null) {
|
||
|
obj4 = ((Class) xzZ.c(747 - MotionEvent.axisFromString(""), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (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)))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
|
||
|
xzZ.y.put(1546973421, obj4);
|
||
|
}
|
||
|
((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a);
|
||
|
dfy.e = dfy.a;
|
||
|
byte[] bArr4 = g;
|
||
|
if (bArr4 != null) {
|
||
|
int length2 = bArr4.length;
|
||
|
byte[] bArr5 = new byte[length2];
|
||
|
for (int i14 = 0; i14 < length2; i14++) {
|
||
|
bArr5[i14] = (byte) (bArr4[i14] ^ (-7303220121662775787L));
|
||
|
}
|
||
|
bArr4 = bArr5;
|
||
|
}
|
||
|
boolean z = bArr4 != null;
|
||
|
dfy.d = 1;
|
||
|
while (dfy.d < intValue) {
|
||
|
if (z) {
|
||
|
int i15 = $11 + 121;
|
||
|
$10 = i15 % 128;
|
||
|
if (i15 % 2 != 0) {
|
||
|
byte[] bArr6 = g;
|
||
|
dfy.c = dfy.c >>> 1;
|
||
|
c = (char) (dfy.e >> (((byte) (((byte) (bArr6[r7] * (-7303220121662775787L))) % s)) ^ b2));
|
||
|
} else {
|
||
|
byte[] bArr7 = g;
|
||
|
dfy.c = dfy.c - 1;
|
||
|
c = (char) (dfy.e + (((byte) (((byte) (bArr7[r7] ^ (-7303220121662775787L))) + s)) ^ b2));
|
||
|
}
|
||
|
dfy.a = c;
|
||
|
} else {
|
||
|
short[] sArr = f;
|
||
|
dfy.c = dfy.c - 1;
|
||
|
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s)) ^ b2));
|
||
|
}
|
||
|
sb.append(dfy.a);
|
||
|
dfy.e = dfy.a;
|
||
|
dfy.d++;
|
||
|
}
|
||
|
}
|
||
|
objArr[0] = sb.toString();
|
||
|
} catch (Throwable th2) {
|
||
|
Throwable cause2 = th2.getCause();
|
||
|
if (cause2 == null) {
|
||
|
throw th2;
|
||
|
}
|
||
|
throw cause2;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static void i() {
|
||
|
b = 1357110185;
|
||
|
d = 1406017051;
|
||
|
a = 1759732821;
|
||
|
g = new byte[]{-29, -126, 117, ISOFileInfo.PROP_INFO, -26};
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
i = 1;
|
||
|
i();
|
||
|
new LWm((byte) 0);
|
||
|
int i2 = h + 21;
|
||
|
i = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
}
|
||
|
}
|