377 lines
14 KiB
Java
377 lines
14 KiB
Java
|
package o;
|
||
|
|
||
|
import android.graphics.Color;
|
||
|
import android.media.AudioTrack;
|
||
|
import android.os.Process;
|
||
|
import android.text.TextUtils;
|
||
|
import android.util.TypedValue;
|
||
|
import android.view.KeyEvent;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||
|
import java.lang.reflect.Method;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.Arrays;
|
||
|
import java.util.Collection;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* renamed from: o.qz, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C16764qz {
|
||
|
private final String b;
|
||
|
private final String e;
|
||
|
private static final byte[] $$a = {45, 6, -13, -19};
|
||
|
private static final int $$b = 98;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int a = 0;
|
||
|
private static int d = 1;
|
||
|
private static char[] c = {39955};
|
||
|
|
||
|
private static void g(byte b, short s, byte b2, Object[] objArr) {
|
||
|
byte[] bArr = $$a;
|
||
|
int i = (b * 3) + 4;
|
||
|
int i2 = b2 * 3;
|
||
|
int i3 = 73 - (s * 2);
|
||
|
byte[] bArr2 = new byte[1 - i2];
|
||
|
int i4 = 0 - i2;
|
||
|
int i5 = -1;
|
||
|
if (bArr == null) {
|
||
|
i5 = -1;
|
||
|
i3 = i + i4;
|
||
|
i++;
|
||
|
}
|
||
|
while (true) {
|
||
|
int i6 = i5 + 1;
|
||
|
bArr2[i6] = (byte) i3;
|
||
|
if (i6 == i4) {
|
||
|
objArr[0] = new String(bArr2, 0);
|
||
|
return;
|
||
|
}
|
||
|
int i7 = i3;
|
||
|
i5 = i6;
|
||
|
i3 = bArr[i] + i7;
|
||
|
i++;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C16764qz() {
|
||
|
Object[] objArr = new Object[1];
|
||
|
f(new byte[]{1}, new int[]{0, 1, 0, 0}, true, objArr);
|
||
|
this.e = ((String) objArr[0]).intern();
|
||
|
this.b = "%.2f";
|
||
|
}
|
||
|
|
||
|
public final ILv e(KO ko) {
|
||
|
String str;
|
||
|
String str2;
|
||
|
int i = 2 % 2;
|
||
|
C14957gcv.e(ko, "");
|
||
|
String str3 = this.e;
|
||
|
String str4 = ko.d;
|
||
|
if (str4 == null) {
|
||
|
C14957gcv.a("");
|
||
|
str4 = null;
|
||
|
}
|
||
|
String str5 = ko.j;
|
||
|
if (str5 == null) {
|
||
|
C14957gcv.a("");
|
||
|
str5 = null;
|
||
|
}
|
||
|
List<KL> list = ko.e;
|
||
|
if (list != null) {
|
||
|
int i2 = d + 5;
|
||
|
a = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
list = null;
|
||
|
}
|
||
|
List<KL> list2 = list;
|
||
|
C14957gcv.e(list2, "");
|
||
|
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
|
||
|
for (KL kl : list2) {
|
||
|
int i4 = a + 17;
|
||
|
d = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
String str6 = kl.b;
|
||
|
String format = String.format(this.b, Arrays.copyOf(new Object[]{Double.valueOf(kl.j.b)}, 1));
|
||
|
C14957gcv.c((Object) format, "");
|
||
|
String format2 = String.format(this.b, Arrays.copyOf(new Object[]{Double.valueOf(kl.j.c)}, 1));
|
||
|
C14957gcv.c((Object) format2, "");
|
||
|
IV iv = (IV) C14881gav.b(kl.d, 1);
|
||
|
if (iv != null) {
|
||
|
int i6 = a + 113;
|
||
|
d = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
str = iv.i;
|
||
|
} else {
|
||
|
str = null;
|
||
|
}
|
||
|
String str7 = kl.g;
|
||
|
IV iv2 = (IV) C14881gav.b(kl.d, 0);
|
||
|
if (iv2 != null) {
|
||
|
int i8 = a + 109;
|
||
|
d = i8 % 128;
|
||
|
int i9 = i8 % 2;
|
||
|
str2 = iv2.i;
|
||
|
} else {
|
||
|
str2 = null;
|
||
|
}
|
||
|
arrayList.add(new C15754iLo(str6, format, format2, str, str7, str2));
|
||
|
}
|
||
|
ILv iLv = new ILv(str3, str4, str5, arrayList);
|
||
|
int i10 = d + 75;
|
||
|
a = i10 % 128;
|
||
|
int i11 = i10 % 2;
|
||
|
return iLv;
|
||
|
}
|
||
|
|
||
|
public final void a(ILv iLv, KK kk) {
|
||
|
int i = 2 % 2;
|
||
|
C14957gcv.e(iLv, "");
|
||
|
C14957gcv.e(kk, "");
|
||
|
String str = kk.d;
|
||
|
if (str != null) {
|
||
|
int i2 = a + 79;
|
||
|
d = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
str = null;
|
||
|
}
|
||
|
iLv.a = str;
|
||
|
List<C15754iLo> list = iLv.d;
|
||
|
if (list != null) {
|
||
|
int i4 = 0;
|
||
|
for (Object obj : list) {
|
||
|
if (i4 < 0) {
|
||
|
throw new ArithmeticException("Index overflow has happened.");
|
||
|
}
|
||
|
C15754iLo c15754iLo = (C15754iLo) obj;
|
||
|
List<KL> list2 = kk.e;
|
||
|
if (list2 == null) {
|
||
|
C14957gcv.a("");
|
||
|
list2 = null;
|
||
|
}
|
||
|
c15754iLo.e = list2.get(i4).b;
|
||
|
String str2 = this.b;
|
||
|
List<KL> list3 = kk.e;
|
||
|
if (list3 != null) {
|
||
|
int i5 = a + 35;
|
||
|
d = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
list3 = null;
|
||
|
}
|
||
|
String format = String.format(str2, Arrays.copyOf(new Object[]{Double.valueOf(list3.get(i4).j.b)}, 1));
|
||
|
C14957gcv.c((Object) format, "");
|
||
|
c15754iLo.a = format;
|
||
|
String str3 = this.b;
|
||
|
List<KL> list4 = kk.e;
|
||
|
if (list4 != null) {
|
||
|
int i7 = d + 101;
|
||
|
a = i7 % 128;
|
||
|
int i8 = i7 % 2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
list4 = null;
|
||
|
}
|
||
|
String format2 = String.format(str3, Arrays.copyOf(new Object[]{Double.valueOf(list4.get(i4).j.c)}, 1));
|
||
|
C14957gcv.c((Object) format2, "");
|
||
|
c15754iLo.d = format2;
|
||
|
List<KL> list5 = kk.e;
|
||
|
if (list5 == null) {
|
||
|
C14957gcv.a("");
|
||
|
list5 = null;
|
||
|
}
|
||
|
IV iv = (IV) C14881gav.b(list5.get(i4).d, 1);
|
||
|
c15754iLo.c = iv != null ? iv.i : null;
|
||
|
List<KL> list6 = kk.e;
|
||
|
if (list6 == null) {
|
||
|
C14957gcv.a("");
|
||
|
list6 = null;
|
||
|
}
|
||
|
c15754iLo.h = list6.get(i4).g;
|
||
|
List<KL> list7 = kk.e;
|
||
|
if (list7 == null) {
|
||
|
C14957gcv.a("");
|
||
|
list7 = null;
|
||
|
}
|
||
|
IV iv2 = (IV) C14881gav.b(list7.get(i4).d, 0);
|
||
|
c15754iLo.b = iv2 != null ? iv2.i : null;
|
||
|
i4++;
|
||
|
int i9 = d + 1;
|
||
|
a = i9 % 128;
|
||
|
int i10 = i9 % 2;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private static void f(byte[] bArr, int[] iArr, boolean z, Object[] objArr) {
|
||
|
char[] cArr;
|
||
|
char[] cArr2;
|
||
|
char c2;
|
||
|
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[] cArr3 = c;
|
||
|
float f = BitmapDescriptorFactory.HUE_RED;
|
||
|
if (cArr3 != null) {
|
||
|
int length = cArr3.length;
|
||
|
char[] cArr4 = new char[length];
|
||
|
int i7 = $11 + 111;
|
||
|
$10 = i7 % 128;
|
||
|
if (i7 % 2 != 0) {
|
||
|
int i8 = 3 % 3;
|
||
|
}
|
||
|
int i9 = 0;
|
||
|
while (i9 < length) {
|
||
|
try {
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
objArr2[i2] = Integer.valueOf(cArr3[i9]);
|
||
|
Object obj = xzZ.y.get(1645349359);
|
||
|
if (obj != null) {
|
||
|
cArr2 = cArr3;
|
||
|
} else {
|
||
|
Class cls = (Class) xzZ.c((AudioTrack.getMaxVolume() > f ? 1 : (AudioTrack.getMaxVolume() == f ? 0 : -1)) + 222, 5 - (AudioTrack.getMinVolume() > f ? 1 : (AudioTrack.getMinVolume() == f ? 0 : -1)), (char) (41976 - TextUtils.indexOf((CharSequence) "", '0', i2)));
|
||
|
byte b = (byte) i2;
|
||
|
byte b2 = (byte) (b + 1);
|
||
|
cArr2 = cArr3;
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
g(b, b2, (byte) (b2 - 1), objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
||
|
xzZ.y.put(1645349359, obj);
|
||
|
}
|
||
|
cArr4[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
||
|
i9++;
|
||
|
int i10 = $10 + 83;
|
||
|
$11 = i10 % 128;
|
||
|
if (i10 % 2 == 0) {
|
||
|
c2 = 3;
|
||
|
int i11 = 3 % 4;
|
||
|
} else {
|
||
|
c2 = 3;
|
||
|
}
|
||
|
cArr3 = cArr2;
|
||
|
i2 = 0;
|
||
|
f = BitmapDescriptorFactory.HUE_RED;
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
int i12 = $10 + 81;
|
||
|
$11 = i12 % 128;
|
||
|
int i13 = i12 % 2;
|
||
|
cArr3 = cArr4;
|
||
|
}
|
||
|
char[] cArr5 = new char[i4];
|
||
|
System.arraycopy(cArr3, i3, cArr5, 0, i4);
|
||
|
if (bArr != null) {
|
||
|
char[] cArr6 = new char[i4];
|
||
|
tvh.c = 0;
|
||
|
char c3 = 0;
|
||
|
while (tvh.c < i4) {
|
||
|
if (bArr[tvh.c] == 1) {
|
||
|
int i14 = tvh.c;
|
||
|
try {
|
||
|
Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c3)};
|
||
|
Object obj2 = xzZ.y.get(850398076);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c(502 - KeyEvent.getDeadChar(0, 0), (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) ((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)) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(850398076, obj2);
|
||
|
}
|
||
|
cArr6[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;
|
||
|
try {
|
||
|
Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c3)};
|
||
|
Object obj3 = xzZ.y.get(1084521042);
|
||
|
if (obj3 == null) {
|
||
|
obj3 = ((Class) xzZ.c((-16777201) - Color.rgb(0, 0, 0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (58134 - (Process.myPid() >> 22)))).getMethod("H", Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(1084521042, obj3);
|
||
|
}
|
||
|
cArr6[i15] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
|
||
|
} catch (Throwable th3) {
|
||
|
Throwable cause3 = th3.getCause();
|
||
|
if (cause3 == null) {
|
||
|
throw th3;
|
||
|
}
|
||
|
throw cause3;
|
||
|
}
|
||
|
}
|
||
|
c3 = cArr6[tvh.c];
|
||
|
Object[] objArr6 = {tvh, tvh};
|
||
|
Object obj4 = xzZ.y.get(1698744941);
|
||
|
if (obj4 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 402, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 21609));
|
||
|
byte b3 = (byte) 0;
|
||
|
byte b4 = b3;
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
g(b3, b4, b4, objArr7);
|
||
|
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1698744941, obj4);
|
||
|
}
|
||
|
((Method) obj4).invoke(null, objArr6);
|
||
|
}
|
||
|
cArr5 = cArr6;
|
||
|
}
|
||
|
if (i6 > 0) {
|
||
|
char[] cArr7 = new char[i4];
|
||
|
System.arraycopy(cArr5, 0, cArr7, 0, i4);
|
||
|
int i16 = i4 - i6;
|
||
|
System.arraycopy(cArr7, 0, cArr5, i16, i6);
|
||
|
System.arraycopy(cArr7, i6, cArr5, 0, i16);
|
||
|
}
|
||
|
if (z) {
|
||
|
int i17 = $11 + 43;
|
||
|
$10 = i17 % 128;
|
||
|
if (i17 % 2 != 0) {
|
||
|
cArr = new char[i4];
|
||
|
tvh.c = 1;
|
||
|
} else {
|
||
|
cArr = new char[i4];
|
||
|
tvh.c = 0;
|
||
|
}
|
||
|
while (tvh.c < i4) {
|
||
|
int i18 = $11 + 115;
|
||
|
$10 = i18 % 128;
|
||
|
int i19 = i18 % 2;
|
||
|
cArr[tvh.c] = cArr5[(i4 - tvh.c) - 1];
|
||
|
tvh.c++;
|
||
|
}
|
||
|
cArr5 = cArr;
|
||
|
}
|
||
|
if (i5 > 0) {
|
||
|
int i20 = $10 + 65;
|
||
|
$11 = i20 % 128;
|
||
|
if (i20 % 2 == 0) {
|
||
|
tvh.c = 1;
|
||
|
} else {
|
||
|
tvh.c = 0;
|
||
|
}
|
||
|
while (tvh.c < i4) {
|
||
|
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
|
||
|
tvh.c++;
|
||
|
}
|
||
|
}
|
||
|
objArr[0] = new String(cArr5);
|
||
|
}
|
||
|
}
|