355 lines
13 KiB
Java
355 lines
13 KiB
Java
package o;
|
|
|
|
import android.graphics.Color;
|
|
import android.graphics.ImageFormat;
|
|
import android.media.AudioTrack;
|
|
import android.os.SystemClock;
|
|
import android.text.TextUtils;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
|
import java.lang.reflect.Method;
|
|
import org.threeten.bp.OffsetDateTime;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class hXG extends ZTC {
|
|
private final TZa b;
|
|
private static final byte[] $$d = {105, 77, -86, 73};
|
|
private static final int $$e = 192;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int c = 0;
|
|
private static int e = 1;
|
|
private static int d = 2015661798;
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x002b */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x0023 */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002b -> B:4:0x0031). 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 r6, int r7, int r8, java.lang.Object[] r9) {
|
|
/*
|
|
int r7 = r7 * 3
|
|
int r7 = 3 - r7
|
|
int r6 = r6 * 4
|
|
int r0 = 1 - r6
|
|
byte[] r1 = o.hXG.$$d
|
|
int r8 = r8 * 7
|
|
int r8 = r8 + 69
|
|
byte[] r0 = new byte[r0]
|
|
r2 = 0
|
|
int r6 = 0 - r6
|
|
if (r1 != 0) goto L19
|
|
r3 = r8
|
|
r4 = r2
|
|
r8 = r7
|
|
goto L31
|
|
L19:
|
|
r3 = r2
|
|
L1a:
|
|
byte r4 = (byte) r8
|
|
r0[r3] = r4
|
|
int r7 = r7 + 1
|
|
int r4 = r3 + 1
|
|
if (r3 != r6) goto L2b
|
|
java.lang.String r6 = new java.lang.String
|
|
r6.<init>(r0, r2)
|
|
r9[r2] = r6
|
|
return
|
|
L2b:
|
|
r3 = r1[r7]
|
|
r5 = r8
|
|
r8 = r7
|
|
r7 = r3
|
|
r3 = r5
|
|
L31:
|
|
int r7 = r7 + r3
|
|
r3 = r4
|
|
r5 = r8
|
|
r8 = r7
|
|
r7 = r5
|
|
goto L1a
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.hXG.g(int, int, int, java.lang.Object[]):void");
|
|
}
|
|
|
|
@InterfaceC13391fZD
|
|
public hXG(TZa tZa) {
|
|
C14957gcv.e(tZa, "");
|
|
this.b = tZa;
|
|
}
|
|
|
|
public final Bpv b(C0724Nay c0724Nay) {
|
|
OffsetDateTime offsetDateTime;
|
|
Double d2;
|
|
String str;
|
|
GJE gje;
|
|
String str2;
|
|
String str3;
|
|
String str4;
|
|
C0722NYw c0722NYw;
|
|
C0722NYw c0722NYw2;
|
|
String str5;
|
|
int i = 2 % 2;
|
|
C14957gcv.e(c0724Nay, "");
|
|
String str6 = c0724Nay.a;
|
|
String str7 = c0724Nay.b.q;
|
|
String str8 = c0724Nay.b.k;
|
|
String str9 = c0724Nay.b.f9295o;
|
|
String str10 = c0724Nay.b.e;
|
|
String str11 = c0724Nay.b.f;
|
|
String str12 = c0724Nay.b.n;
|
|
String str13 = c0724Nay.b.b;
|
|
if (str13 != null) {
|
|
OffsetDateTime b = ZTC.b(str13, (OffsetDateTime) null);
|
|
int i2 = c + 13;
|
|
e = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
offsetDateTime = b;
|
|
} else {
|
|
offsetDateTime = null;
|
|
}
|
|
String str14 = c0724Nay.b.a;
|
|
String str15 = c0724Nay.b.j;
|
|
if (str15 != null) {
|
|
int i4 = e + 99;
|
|
c = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
d2 = Double.valueOf(Double.parseDouble(str15));
|
|
} else {
|
|
d2 = null;
|
|
}
|
|
C1789aOf c1789aOf = c0724Nay.b.i;
|
|
GJE c2 = c1789aOf != null ? TZa.c(c1789aOf) : null;
|
|
String str16 = c0724Nay.b.l;
|
|
GJE gje2 = c2;
|
|
Object[] objArr = new Object[1];
|
|
f(Color.argb(0, 0, 0, 0) + 1, 1 - (ViewConfiguration.getEdgeSlop() >> 16), 241 - ImageFormat.getBitsPerPixel(0), new char[]{0}, true, objArr);
|
|
boolean b2 = C14957gcv.b((Object) str16, (Object) ((String) objArr[0]).intern());
|
|
C1789aOf c1789aOf2 = c0724Nay.b.h;
|
|
GJE c3 = c1789aOf2 != null ? TZa.c(c1789aOf2) : null;
|
|
C12858fJb c12858fJb = c0724Nay.b.g;
|
|
if (c12858fJb != null) {
|
|
int i6 = c + 95;
|
|
e = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
str = c12858fJb.e;
|
|
} else {
|
|
str = null;
|
|
}
|
|
C12858fJb c12858fJb2 = c0724Nay.b.g;
|
|
if (c12858fJb2 != null) {
|
|
int i8 = c + 125;
|
|
gje = c3;
|
|
e = i8 % 128;
|
|
if (i8 % 2 == 0) {
|
|
String str17 = c12858fJb2.b;
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
str3 = c12858fJb2.b;
|
|
str2 = null;
|
|
} else {
|
|
gje = c3;
|
|
str2 = null;
|
|
str3 = null;
|
|
}
|
|
C0722NYw c0722NYw3 = new C0722NYw(str, str3);
|
|
C12858fJb c12858fJb3 = c0724Nay.b.m;
|
|
String str18 = c12858fJb3 != null ? c12858fJb3.e : str2;
|
|
C12858fJb c12858fJb4 = c0724Nay.b.m;
|
|
C0722NYw c0722NYw4 = new C0722NYw(str18, c12858fJb4 != null ? c12858fJb4.b : str2);
|
|
C12858fJb c12858fJb5 = c0724Nay.b.d;
|
|
if (c12858fJb5 != null) {
|
|
str4 = c12858fJb5.e;
|
|
} else {
|
|
int i9 = c + 65;
|
|
e = i9 % 128;
|
|
int i10 = i9 % 2;
|
|
str4 = null;
|
|
}
|
|
C12858fJb c12858fJb6 = c0724Nay.b.d;
|
|
if (c12858fJb6 != null) {
|
|
c0722NYw2 = c0722NYw3;
|
|
int i11 = c + 15;
|
|
c0722NYw = c0722NYw4;
|
|
e = i11 % 128;
|
|
int i12 = i11 % 2;
|
|
str5 = c12858fJb6.b;
|
|
} else {
|
|
c0722NYw = c0722NYw4;
|
|
c0722NYw2 = c0722NYw3;
|
|
str5 = null;
|
|
}
|
|
return new Bpv(str6, str7, str8, str9, str10, str11, str12, offsetDateTime, str14, d2, gje2, Boolean.valueOf(b2), gje, c0722NYw2, c0722NYw, new C0722NYw(str4, str5), a(c0724Nay.b.c), c0724Nay.d);
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:16:0x004a A[RETURN] */
|
|
/* JADX WARN: Removed duplicated region for block: B:18:0x004b */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private static o.gRJ a(o.ZHy r6) {
|
|
/*
|
|
r0 = 2
|
|
int r1 = r0 % r0
|
|
r1 = 0
|
|
if (r6 == 0) goto L9
|
|
java.lang.String r2 = r6.b
|
|
goto La
|
|
L9:
|
|
r2 = r1
|
|
La:
|
|
if (r6 == 0) goto Lf
|
|
java.lang.String r3 = r6.a
|
|
goto L10
|
|
Lf:
|
|
r3 = r1
|
|
L10:
|
|
if (r6 == 0) goto L24
|
|
int r4 = o.hXG.c
|
|
int r4 = r4 + 115
|
|
int r5 = r4 % 128
|
|
o.hXG.e = r5
|
|
int r4 = r4 % r0
|
|
java.lang.String r4 = r6.c
|
|
if (r4 == 0) goto L24
|
|
org.threeten.bp.OffsetDateTime r4 = o.ZTC.b(r4, r1)
|
|
goto L2e
|
|
L24:
|
|
int r4 = o.hXG.e
|
|
int r4 = r4 + 1
|
|
int r5 = r4 % 128
|
|
o.hXG.c = r5
|
|
int r4 = r4 % r0
|
|
r4 = r1
|
|
L2e:
|
|
if (r6 == 0) goto L39
|
|
java.lang.String r6 = r6.e
|
|
if (r6 == 0) goto L39
|
|
org.threeten.bp.OffsetDateTime r6 = o.ZTC.b(r6, r1)
|
|
goto L3a
|
|
L39:
|
|
r6 = r1
|
|
L3a:
|
|
o.gRJ r5 = new o.gRJ
|
|
r5.<init>(r2, r3, r4, r6)
|
|
int r6 = o.hXG.c
|
|
int r6 = r6 + 91
|
|
int r2 = r6 % 128
|
|
o.hXG.e = r2
|
|
int r6 = r6 % r0
|
|
if (r6 == 0) goto L4b
|
|
return r5
|
|
L4b:
|
|
throw r1
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.hXG.a(o.ZHy):o.gRJ");
|
|
}
|
|
|
|
private static void f(int i, int i2, int i3, char[] cArr, boolean z, Object[] objArr) {
|
|
int i4 = 2 % 2;
|
|
zUI zui = new zUI();
|
|
char[] cArr2 = new char[i];
|
|
zui.d = 0;
|
|
while (zui.d < i) {
|
|
zui.c = cArr[zui.d];
|
|
cArr2[zui.d] = (char) (i3 + zui.c);
|
|
int i5 = zui.d;
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(d)};
|
|
Object obj = xzZ.y.get(880493502);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(143 - (ViewConfiguration.getDoubleTapTimeout() >> 16), TextUtils.getOffsetAfter("", 0) + 7, (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1));
|
|
byte b = (byte) 0;
|
|
byte b2 = b;
|
|
Object[] objArr3 = new Object[1];
|
|
g(b, b2, b2, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(880493502, obj);
|
|
}
|
|
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
Object[] objArr4 = {zui, zui};
|
|
Object obj2 = xzZ.y.get(1294990079);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 341, 5 - TextUtils.indexOf("", ""), (char) View.MeasureSpec.makeMeasureSpec(0, 0));
|
|
byte b3 = (byte) 0;
|
|
byte b4 = b3;
|
|
Object[] objArr5 = new Object[1];
|
|
g(b3, b4, (byte) (b4 + 1), objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
|
|
xzZ.y.put(1294990079, obj2);
|
|
}
|
|
((Method) obj2).invoke(null, objArr4);
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
if (i2 > 0) {
|
|
int i6 = $11 + 7;
|
|
$10 = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
zui.a = i2;
|
|
char[] cArr3 = new char[i];
|
|
System.arraycopy(cArr2, 0, cArr3, 0, i);
|
|
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
|
|
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
|
|
}
|
|
if (z) {
|
|
char[] cArr4 = new char[i];
|
|
zui.d = 0;
|
|
while (zui.d < i) {
|
|
int i8 = $11 + 99;
|
|
$10 = i8 % 128;
|
|
if (i8 % 2 != 0) {
|
|
cArr4[zui.d] = cArr2[(i << zui.d) >>> 1];
|
|
Object[] objArr6 = {zui, zui};
|
|
Object obj3 = xzZ.y.get(1294990079);
|
|
if (obj3 == null) {
|
|
Class cls3 = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 342, TextUtils.getOffsetBefore("", 0) + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16));
|
|
byte b5 = (byte) 0;
|
|
byte b6 = b5;
|
|
Object[] objArr7 = new Object[1];
|
|
g(b5, b6, (byte) (b6 + 1), objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(1294990079, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
} else {
|
|
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
|
|
try {
|
|
Object[] objArr8 = {zui, zui};
|
|
Object obj4 = xzZ.y.get(1294990079);
|
|
if (obj4 == null) {
|
|
Class cls4 = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 342, Color.blue(0) + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
|
|
byte b7 = (byte) 0;
|
|
byte b8 = b7;
|
|
Object[] objArr9 = new Object[1];
|
|
g(b7, b8, (byte) (b8 + 1), objArr9);
|
|
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
|
|
xzZ.y.put(1294990079, obj4);
|
|
}
|
|
((Method) obj4).invoke(null, objArr8);
|
|
} catch (Throwable th2) {
|
|
Throwable cause2 = th2.getCause();
|
|
if (cause2 == null) {
|
|
throw th2;
|
|
}
|
|
throw cause2;
|
|
}
|
|
}
|
|
}
|
|
cArr2 = cArr4;
|
|
}
|
|
objArr[0] = new String(cArr2);
|
|
}
|
|
}
|