212 lines
7.3 KiB
Java
212 lines
7.3 KiB
Java
package o;
|
|
|
|
import android.os.Process;
|
|
import android.view.KeyEvent;
|
|
import android.view.ViewConfiguration;
|
|
import java.lang.reflect.Method;
|
|
import java.util.ArrayList;
|
|
import java.util.Arrays;
|
|
import java.util.Collection;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import net.sf.scuba.smartcards.ISO7816;
|
|
|
|
/* renamed from: o.qx, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C16757qx {
|
|
private final String a;
|
|
private final String e;
|
|
private static final byte[] $$a = {ISO7816.INS_INCREASE, 10, Byte.MIN_VALUE, -124};
|
|
private static final int $$b = 83;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int c = 0;
|
|
private static int b = 1;
|
|
private static long d = -1013301420468055036L;
|
|
|
|
private static void g(int i, short s, byte b2, Object[] objArr) {
|
|
int i2 = s * 3;
|
|
int i3 = 121 - (b2 * 2);
|
|
int i4 = 4 - (i * 2);
|
|
byte[] bArr = $$a;
|
|
byte[] bArr2 = new byte[1 - i2];
|
|
int i5 = 0 - i2;
|
|
int i6 = -1;
|
|
if (bArr == null) {
|
|
i4++;
|
|
i3 = i5 + (-i4);
|
|
}
|
|
while (true) {
|
|
i6++;
|
|
bArr2[i6] = (byte) i3;
|
|
if (i6 == i5) {
|
|
objArr[0] = new String(bArr2, 0);
|
|
return;
|
|
} else {
|
|
byte b3 = bArr[i4];
|
|
i4++;
|
|
i3 += -b3;
|
|
}
|
|
}
|
|
}
|
|
|
|
@InterfaceC13391fZD
|
|
public C16757qx() {
|
|
Object[] objArr = new Object[1];
|
|
f(new char[]{51673, 9388, 51689, 34092, 38141}, (ViewConfiguration.getPressedStateDuration() >> 16) + 1, objArr);
|
|
this.e = ((String) objArr[0]).intern();
|
|
this.a = "%.2f";
|
|
}
|
|
|
|
public final iwv d(String str, KO ko) {
|
|
String str2;
|
|
String str3;
|
|
int i = 2 % 2;
|
|
C14957gcv.e(str, "");
|
|
C14957gcv.e(ko, "");
|
|
String str4 = ko.g;
|
|
String str5 = ko.a;
|
|
List<KL> list = null;
|
|
if (str5 != null) {
|
|
int i2 = c + 63;
|
|
b = i2 % 128;
|
|
if (i2 % 2 == 0) {
|
|
throw null;
|
|
}
|
|
str2 = str5;
|
|
} else {
|
|
C14957gcv.a("");
|
|
str2 = null;
|
|
}
|
|
String str6 = ko.c;
|
|
if (str6 != null) {
|
|
int i3 = b + 81;
|
|
c = i3 % 128;
|
|
if (i3 % 2 != 0) {
|
|
list.hashCode();
|
|
throw null;
|
|
}
|
|
str3 = str6;
|
|
} else {
|
|
C14957gcv.a("");
|
|
str3 = null;
|
|
}
|
|
String str7 = this.e;
|
|
List<KL> list2 = ko.e;
|
|
if (list2 != null) {
|
|
int i4 = b + 121;
|
|
c = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
list = list2;
|
|
} else {
|
|
C14957gcv.a("");
|
|
}
|
|
List<KL> list3 = list;
|
|
C14957gcv.e(list3, "");
|
|
ArrayList arrayList = new ArrayList(list3 instanceof Collection ? list3.size() : 10);
|
|
for (KL kl : list3) {
|
|
String str8 = kl.b;
|
|
String format = String.format(this.a, Arrays.copyOf(new Object[]{Double.valueOf(kl.j.a)}, 1));
|
|
C14957gcv.c((Object) format, "");
|
|
String format2 = String.format(this.a, Arrays.copyOf(new Object[]{Double.valueOf(kl.j.b)}, 1));
|
|
C14957gcv.c((Object) format2, "");
|
|
String format3 = String.format(this.a, Arrays.copyOf(new Object[]{Double.valueOf(kl.j.c)}, 1));
|
|
C14957gcv.c((Object) format3, "");
|
|
arrayList.add(new Sez(str8, format, format2, format3));
|
|
}
|
|
return new iwv(str, str4, str2, str3, str7, arrayList);
|
|
}
|
|
|
|
public final void e(iwv iwvVar, List<KL> list) {
|
|
int i = 2 % 2;
|
|
int i2 = b + 43;
|
|
c = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
C14957gcv.e(iwvVar, "");
|
|
C14957gcv.e(list, "");
|
|
Iterator<T> it = iwvVar.c.iterator();
|
|
int i4 = 0;
|
|
while (!(!it.hasNext())) {
|
|
int i5 = b + 25;
|
|
c = i5 % 128;
|
|
if (i5 % 2 != 0) {
|
|
it.next();
|
|
throw null;
|
|
}
|
|
Object next = it.next();
|
|
if (i4 < 0) {
|
|
throw new ArithmeticException("Index overflow has happened.");
|
|
}
|
|
Sez sez = (Sez) next;
|
|
String str = list.get(i4).b;
|
|
C14957gcv.e(str, "");
|
|
sez.c = str;
|
|
String format = String.format(this.a, Arrays.copyOf(new Object[]{Double.valueOf(list.get(i4).j.a)}, 1));
|
|
C14957gcv.c((Object) format, "");
|
|
sez.e = format;
|
|
String format2 = String.format(this.a, Arrays.copyOf(new Object[]{Double.valueOf(list.get(i4).j.b)}, 1));
|
|
C14957gcv.c((Object) format2, "");
|
|
sez.b = format2;
|
|
String format3 = String.format(this.a, Arrays.copyOf(new Object[]{Double.valueOf(list.get(i4).j.c)}, 1));
|
|
C14957gcv.c((Object) format3, "");
|
|
sez.a = format3;
|
|
i4++;
|
|
int i6 = c + 107;
|
|
b = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
}
|
|
}
|
|
|
|
private static void f(char[] cArr, int i, Object[] objArr) {
|
|
int i2 = 2 % 2;
|
|
GuL guL = new GuL();
|
|
char[] a = GuL.a(d ^ (-7538262848231253921L), cArr, i);
|
|
guL.a = 4;
|
|
int i3 = $11 + 39;
|
|
$10 = i3 % 128;
|
|
if (i3 % 2 != 0) {
|
|
int i4 = 4 / 2;
|
|
}
|
|
while (guL.a < a.length) {
|
|
int i5 = $11 + 97;
|
|
$10 = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
guL.c = guL.a - 4;
|
|
int i7 = guL.a;
|
|
try {
|
|
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(d)};
|
|
Object obj = xzZ.y.get(428080616);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(208 - KeyEvent.normalizeMetaState(0), KeyEvent.getDeadChar(0, 0) + 5, (char) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 1706));
|
|
byte b2 = (byte) 0;
|
|
byte b3 = b2;
|
|
Object[] objArr3 = new Object[1];
|
|
g(b2, b3, (byte) (b3 + 1), objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
|
|
xzZ.y.put(428080616, obj);
|
|
}
|
|
a[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
Object[] objArr4 = {guL, guL};
|
|
Object obj2 = xzZ.y.get(-1875914398);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 392, (Process.myPid() >> 22) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24));
|
|
byte b4 = (byte) 0;
|
|
byte b5 = b4;
|
|
Object[] objArr5 = new Object[1];
|
|
g(b4, b5, b5, objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
|
|
xzZ.y.put(-1875914398, obj2);
|
|
}
|
|
((Method) obj2).invoke(null, objArr4);
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
objArr[0] = new String(a, 4, a.length - 4);
|
|
}
|
|
}
|