337 lines
12 KiB
Java
337 lines
12 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.SharedPreferences;
|
||
|
import android.content.res.Resources;
|
||
|
import android.os.SystemClock;
|
||
|
import android.text.AndroidCharacter;
|
||
|
import android.text.TextUtils;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import android.widget.ExpandableListView;
|
||
|
import java.lang.reflect.Method;
|
||
|
import net.sf.scuba.smartcards.ISO7816;
|
||
|
|
||
|
/* renamed from: o.zB, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C17710zB extends C16157lj {
|
||
|
private static long a;
|
||
|
private static char[] b;
|
||
|
private static int g;
|
||
|
private static final byte[] $$d = {ISO7816.INS_DECREASE_STAMPED, 125, -39, -65};
|
||
|
private static final int $$e = 64;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int d = 0;
|
||
|
|
||
|
/* 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:0x002d). 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(short r6, byte r7, short r8, java.lang.Object[] r9) {
|
||
|
/*
|
||
|
byte[] r0 = o.C17710zB.$$d
|
||
|
int r7 = r7 + 4
|
||
|
int r6 = 106 - r6
|
||
|
int r8 = r8 * 3
|
||
|
int r1 = r8 + 1
|
||
|
byte[] r1 = new byte[r1]
|
||
|
r2 = 0
|
||
|
if (r0 != 0) goto L12
|
||
|
r3 = r7
|
||
|
r4 = r2
|
||
|
goto L2d
|
||
|
L12:
|
||
|
r3 = r2
|
||
|
L13:
|
||
|
r5 = r7
|
||
|
r7 = r6
|
||
|
r6 = r5
|
||
|
byte r4 = (byte) r7
|
||
|
r1[r3] = r4
|
||
|
int r6 = r6 + 1
|
||
|
int r4 = r3 + 1
|
||
|
if (r3 != r8) goto L27
|
||
|
java.lang.String r6 = new java.lang.String
|
||
|
r6.<init>(r1, r2)
|
||
|
r9[r2] = r6
|
||
|
return
|
||
|
L27:
|
||
|
r3 = r0[r6]
|
||
|
r5 = r7
|
||
|
r7 = r6
|
||
|
r6 = r3
|
||
|
r3 = r5
|
||
|
L2d:
|
||
|
int r6 = -r6
|
||
|
int r6 = r6 + r3
|
||
|
r3 = r4
|
||
|
goto L13
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.C17710zB.q(short, byte, short, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
@InterfaceC13391fZD
|
||
|
public C17710zB(Resources resources, SharedPreferences sharedPreferences) {
|
||
|
super(resources, sharedPreferences);
|
||
|
C14957gcv.e(resources, "");
|
||
|
C14957gcv.e(sharedPreferences, "");
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.zB$IeS */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class IeS {
|
||
|
private IeS() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ IeS(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static TX d(C6410cS c6410cS, C1226Yl c1226Yl, CWS cws, String str, EKc eKc) {
|
||
|
String str2;
|
||
|
String str3;
|
||
|
Integer num;
|
||
|
Integer num2;
|
||
|
int i = 2 % 2;
|
||
|
C14957gcv.e(c6410cS, "");
|
||
|
C14957gcv.e(cws, "");
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(eKc, "");
|
||
|
String str4 = cws.l;
|
||
|
if (str4 == null) {
|
||
|
int i2 = d + 121;
|
||
|
g = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
str4 = "";
|
||
|
}
|
||
|
String str5 = cws.b;
|
||
|
String str6 = str5 == null ? "" : str5;
|
||
|
String str7 = c6410cS.f;
|
||
|
String str8 = c6410cS.j;
|
||
|
String b2 = b(eKc);
|
||
|
String str9 = c6410cS.d;
|
||
|
Object obj = null;
|
||
|
String e = c1226Yl != null ? c1226Yl.e() : null;
|
||
|
if (e == null) {
|
||
|
e = "";
|
||
|
}
|
||
|
if (c1226Yl != null) {
|
||
|
int i4 = d + 121;
|
||
|
g = i4 % 128;
|
||
|
if (i4 % 2 == 0) {
|
||
|
c1226Yl.c();
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
str2 = c1226Yl.c();
|
||
|
} else {
|
||
|
str2 = null;
|
||
|
}
|
||
|
String m = m(c6410cS.g);
|
||
|
String m2 = m(c6410cS.i);
|
||
|
String m3 = m(c6410cS.c);
|
||
|
String m4 = m(c6410cS.a);
|
||
|
String m5 = m(c(cws.c));
|
||
|
String str10 = c6410cS.b;
|
||
|
TO to = new TO(C14851gaI.c);
|
||
|
String str11 = c6410cS.h;
|
||
|
String str12 = cws.d;
|
||
|
Double d2 = cws.h;
|
||
|
double doubleValue = d2 != null ? d2.doubleValue() : 0.0d;
|
||
|
if (c1226Yl != null) {
|
||
|
int i5 = g + 113;
|
||
|
str3 = str12;
|
||
|
d = i5 % 128;
|
||
|
if (i5 % 2 != 0) {
|
||
|
num2 = c1226Yl.m;
|
||
|
int i6 = 42 / 0;
|
||
|
} else {
|
||
|
num2 = c1226Yl.m;
|
||
|
}
|
||
|
num = num2;
|
||
|
} else {
|
||
|
str3 = str12;
|
||
|
num = null;
|
||
|
}
|
||
|
return new TX(str4, str7, str6, str8, b2, str9, e, str2, str, m, m2, m3, m4, m5, str10, to, str11, doubleValue, str3, num);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:10:?, code lost:
|
||
|
|
||
|
return r7;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:11:0x0015, code lost:
|
||
|
|
||
|
if (r7 != null) goto L8;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x0012, code lost:
|
||
|
|
||
|
if (r7 != null) goto L8;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:8:0x0017, code lost:
|
||
|
|
||
|
r7 = o.gdZ.a(r7, ",", "");
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:9:0x001f, code lost:
|
||
|
|
||
|
if (r7 != null) goto L12;
|
||
|
*/
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
private static java.lang.String m(java.lang.String r7) {
|
||
|
/*
|
||
|
r0 = 2
|
||
|
int r1 = r0 % r0
|
||
|
int r1 = o.C17710zB.g
|
||
|
int r1 = r1 + 101
|
||
|
int r2 = r1 % 128
|
||
|
o.C17710zB.d = r2
|
||
|
int r1 = r1 % r0
|
||
|
r2 = 0
|
||
|
if (r1 == 0) goto L15
|
||
|
r1 = 17
|
||
|
int r1 = r1 / r2
|
||
|
if (r7 == 0) goto L21
|
||
|
goto L17
|
||
|
L15:
|
||
|
if (r7 == 0) goto L21
|
||
|
L17:
|
||
|
java.lang.String r1 = ","
|
||
|
java.lang.String r3 = ""
|
||
|
java.lang.String r7 = o.gdZ.a(r7, r1, r3)
|
||
|
if (r7 != 0) goto L4d
|
||
|
L21:
|
||
|
double r3 = android.telephony.cdma.CdmaCellLocation.convertQuartSecToDecDegrees(r2)
|
||
|
r5 = 0
|
||
|
int r7 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))
|
||
|
char r7 = (char) r7
|
||
|
int r1 = android.view.View.MeasureSpec.getSize(r2)
|
||
|
int r3 = android.view.ViewConfiguration.getEdgeSlop()
|
||
|
int r3 = r3 >> 16
|
||
|
r4 = 1
|
||
|
int r3 = 1 - r3
|
||
|
java.lang.Object[] r4 = new java.lang.Object[r4]
|
||
|
n(r7, r1, r3, r4)
|
||
|
r7 = r4[r2]
|
||
|
java.lang.String r7 = (java.lang.String) r7
|
||
|
java.lang.String r7 = r7.intern()
|
||
|
int r1 = o.C17710zB.d
|
||
|
int r1 = r1 + 27
|
||
|
int r2 = r1 % 128
|
||
|
o.C17710zB.g = r2
|
||
|
int r1 = r1 % r0
|
||
|
L4d:
|
||
|
return r7
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.C17710zB.m(java.lang.String):java.lang.String");
|
||
|
}
|
||
|
|
||
|
private static void n(char c, int i, int i2, Object[] objArr) {
|
||
|
int i3 = 2 % 2;
|
||
|
dQY dqy = new dQY();
|
||
|
long[] jArr = new long[i2];
|
||
|
dqy.a = 0;
|
||
|
int i4 = $11 + 31;
|
||
|
$10 = i4 % 128;
|
||
|
while (true) {
|
||
|
int i5 = i4 % 2;
|
||
|
if (dqy.a >= i2) {
|
||
|
break;
|
||
|
}
|
||
|
int i6 = dqy.a;
|
||
|
try {
|
||
|
Object[] objArr2 = {Integer.valueOf(b[i + dqy.a])};
|
||
|
Object obj = xzZ.y.get(1095064095);
|
||
|
if (obj == null) {
|
||
|
Class cls = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 307, 5 - TextUtils.indexOf("", "", 0), (char) (32797 - (ViewConfiguration.getWindowTouchSlop() >> 8)));
|
||
|
byte b2 = (byte) (-1);
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
q((byte) 8, b2, (byte) (b2 + 1), objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
||
|
xzZ.y.put(1095064095, obj);
|
||
|
}
|
||
|
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(a), Integer.valueOf(c)};
|
||
|
Object obj2 = xzZ.y.get(-548438098);
|
||
|
if (obj2 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 412, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (AndroidCharacter.getMirror('0') - '0'));
|
||
|
byte b3 = (byte) (-1);
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
q((byte) 7, b3, (byte) (b3 + 1), objArr5);
|
||
|
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(-548438098, obj2);
|
||
|
}
|
||
|
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
|
||
|
Object[] objArr6 = {dqy, dqy};
|
||
|
Object obj3 = xzZ.y.get(1071125919);
|
||
|
if (obj3 == null) {
|
||
|
Class cls3 = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 407, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 29235));
|
||
|
byte b4 = (byte) 0;
|
||
|
byte b5 = (byte) (b4 - 1);
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
q(b4, b5, (byte) (b5 + 1), objArr7);
|
||
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1071125919, obj3);
|
||
|
}
|
||
|
((Method) obj3).invoke(null, objArr6);
|
||
|
i4 = $10 + 37;
|
||
|
$11 = i4 % 128;
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
char[] cArr = new char[i2];
|
||
|
dqy.a = 0;
|
||
|
while (dqy.a < i2) {
|
||
|
cArr[dqy.a] = (char) jArr[dqy.a];
|
||
|
try {
|
||
|
Object[] objArr8 = {dqy, dqy};
|
||
|
Object obj4 = xzZ.y.get(1071125919);
|
||
|
if (obj4 == null) {
|
||
|
Class cls4 = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 407, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) ((ViewConfiguration.getPressedStateDuration() >> 16) + 29234));
|
||
|
byte b6 = (byte) 0;
|
||
|
byte b7 = (byte) (b6 - 1);
|
||
|
Object[] objArr9 = new Object[1];
|
||
|
q(b6, b7, (byte) (b7 + 1), objArr9);
|
||
|
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1071125919, obj4);
|
||
|
}
|
||
|
((Method) obj4).invoke(null, objArr8);
|
||
|
} catch (Throwable th2) {
|
||
|
Throwable cause2 = th2.getCause();
|
||
|
if (cause2 == null) {
|
||
|
throw th2;
|
||
|
}
|
||
|
throw cause2;
|
||
|
}
|
||
|
}
|
||
|
objArr[0] = new String(cArr);
|
||
|
}
|
||
|
|
||
|
static void f() {
|
||
|
b = new char[]{36834};
|
||
|
a = 2443889730993605301L;
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
g = 1;
|
||
|
f();
|
||
|
new IeS((byte) 0);
|
||
|
int i = d + 59;
|
||
|
g = i % 128;
|
||
|
if (i % 2 == 0) {
|
||
|
throw null;
|
||
|
}
|
||
|
}
|
||
|
}
|