- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
247 lines
7.1 KiB
Java
247 lines
7.1 KiB
Java
package com.applovin.impl;
|
|
|
|
import com.applovin.impl.dp;
|
|
import com.mbridge.msdk.playercommon.exoplayer2.C;
|
|
import java.util.Arrays;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class fa implements q7 {
|
|
private static final double[] q = {23.976023976023978d, 24.0d, 25.0d, 29.97002997002997d, 30.0d, 50.0d, 59.94005994005994d, 60.0d};
|
|
private String a;
|
|
private qo b;
|
|
private final vp c;
|
|
private final bh d;
|
|
private final yf e;
|
|
private final boolean[] f;
|
|
private final a g;
|
|
private long h;
|
|
private boolean i;
|
|
private boolean j;
|
|
private long k;
|
|
private long l;
|
|
private long m;
|
|
private long n;
|
|
private boolean o;
|
|
private boolean p;
|
|
|
|
@Override // com.applovin.impl.q7
|
|
public void a(long j, int i) {
|
|
this.l = j;
|
|
}
|
|
|
|
@Override // com.applovin.impl.q7
|
|
public void b() {
|
|
}
|
|
|
|
public fa() {
|
|
this(null);
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:49:0x0142 */
|
|
/* JADX WARN: Removed duplicated region for block: B:54:0x012c */
|
|
@Override // com.applovin.impl.q7
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public void a(com.applovin.impl.bh r21) {
|
|
/*
|
|
Method dump skipped, instructions count: 328
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.applovin.impl.fa.a(com.applovin.impl.bh):void");
|
|
}
|
|
|
|
public fa(vp vpVar) {
|
|
this.c = vpVar;
|
|
this.f = new boolean[4];
|
|
this.g = new a(128);
|
|
if (vpVar != null) {
|
|
this.e = new yf(178, 128);
|
|
this.d = new bh();
|
|
} else {
|
|
this.e = null;
|
|
this.d = null;
|
|
}
|
|
this.l = C.TIME_UNSET;
|
|
this.n = C.TIME_UNSET;
|
|
}
|
|
|
|
public static final class a {
|
|
private static final byte[] e = {0, 0, 1};
|
|
private boolean a;
|
|
public int b;
|
|
public int c;
|
|
public byte[] d;
|
|
|
|
public void a() {
|
|
this.a = false;
|
|
this.b = 0;
|
|
this.c = 0;
|
|
}
|
|
|
|
public a(int i) {
|
|
this.d = new byte[i];
|
|
}
|
|
|
|
public void a(byte[] bArr, int i, int i2) {
|
|
if (this.a) {
|
|
int i3 = i2 - i;
|
|
byte[] bArr2 = this.d;
|
|
int length = bArr2.length;
|
|
int i4 = this.b + i3;
|
|
if (length < i4) {
|
|
this.d = Arrays.copyOf(bArr2, i4 * 2);
|
|
}
|
|
System.arraycopy(bArr, i, this.d, this.b, i3);
|
|
this.b += i3;
|
|
}
|
|
}
|
|
|
|
public boolean a(int i, int i2) {
|
|
if (this.a) {
|
|
int i3 = this.b - i2;
|
|
this.b = i3;
|
|
if (this.c != 0 || i != 181) {
|
|
this.a = false;
|
|
return true;
|
|
}
|
|
this.c = i3;
|
|
} else if (i == 179) {
|
|
this.a = true;
|
|
}
|
|
byte[] bArr = e;
|
|
a(bArr, 0, bArr.length);
|
|
return false;
|
|
}
|
|
}
|
|
|
|
@Override // com.applovin.impl.q7
|
|
public void a(m8 m8Var, dp.d dVar) {
|
|
dVar.a();
|
|
this.a = dVar.b();
|
|
this.b = m8Var.a(dVar.c(), 2);
|
|
vp vpVar = this.c;
|
|
if (vpVar != null) {
|
|
vpVar.a(m8Var, dVar);
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:9:0x0073 */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private static android.util.Pair a(com.applovin.impl.fa.a r8, java.lang.String r9) {
|
|
/*
|
|
byte[] r0 = r8.d
|
|
int r1 = r8.b
|
|
byte[] r0 = java.util.Arrays.copyOf(r0, r1)
|
|
r1 = 4
|
|
r2 = r0[r1]
|
|
r2 = r2 & 255(0xff, float:3.57E-43)
|
|
r3 = 5
|
|
r4 = r0[r3]
|
|
r5 = r4 & 255(0xff, float:3.57E-43)
|
|
r6 = 6
|
|
r6 = r0[r6]
|
|
r6 = r6 & 255(0xff, float:3.57E-43)
|
|
int r2 = r2 << r1
|
|
int r5 = r5 >> r1
|
|
r2 = r2 | r5
|
|
r4 = r4 & 15
|
|
int r4 = r4 << 8
|
|
r4 = r4 | r6
|
|
r5 = 7
|
|
r6 = r0[r5]
|
|
r6 = r6 & 240(0xf0, float:3.36E-43)
|
|
int r6 = r6 >> r1
|
|
r7 = 2
|
|
if (r6 == r7) goto L3e
|
|
r7 = 3
|
|
if (r6 == r7) goto L38
|
|
if (r6 == r1) goto L30
|
|
r1 = 1065353216(0x3f800000, float:1.0)
|
|
goto L44
|
|
L30:
|
|
int r1 = r4 * 121
|
|
float r1 = (float) r1
|
|
int r6 = r2 * 100
|
|
L35:
|
|
float r6 = (float) r6
|
|
float r1 = r1 / r6
|
|
goto L44
|
|
L38:
|
|
int r1 = r4 * 16
|
|
float r1 = (float) r1
|
|
int r6 = r2 * 9
|
|
goto L35
|
|
L3e:
|
|
int r1 = r4 * 4
|
|
float r1 = (float) r1
|
|
int r6 = r2 * 3
|
|
goto L35
|
|
L44:
|
|
com.applovin.impl.f9$b r6 = new com.applovin.impl.f9$b
|
|
r6.<init>()
|
|
com.applovin.impl.f9$b r9 = r6.c(r9)
|
|
java.lang.String r6 = "video/mpeg2"
|
|
com.applovin.impl.f9$b r9 = r9.f(r6)
|
|
com.applovin.impl.f9$b r9 = r9.q(r2)
|
|
com.applovin.impl.f9$b r9 = r9.g(r4)
|
|
com.applovin.impl.f9$b r9 = r9.b(r1)
|
|
java.util.List r1 = java.util.Collections.singletonList(r0)
|
|
com.applovin.impl.f9$b r9 = r9.a(r1)
|
|
com.applovin.impl.f9 r9 = r9.a()
|
|
r1 = r0[r5]
|
|
r1 = r1 & 15
|
|
int r1 = r1 + (-1)
|
|
if (r1 < 0) goto L98
|
|
double[] r2 = com.applovin.impl.fa.q
|
|
int r4 = r2.length
|
|
if (r1 >= r4) goto L98
|
|
r1 = r2[r1]
|
|
int r8 = r8.c
|
|
int r8 = r8 + 9
|
|
r8 = r0[r8]
|
|
r0 = r8 & 96
|
|
int r0 = r0 >> r3
|
|
r8 = r8 & 31
|
|
if (r0 == r8) goto L90
|
|
double r3 = (double) r0
|
|
r5 = 4607182418800017408(0x3ff0000000000000, double:1.0)
|
|
double r3 = r3 + r5
|
|
int r8 = r8 + 1
|
|
double r5 = (double) r8
|
|
double r3 = r3 / r5
|
|
double r1 = r1 * r3
|
|
L90:
|
|
r3 = 4696837146684686336(0x412e848000000000, double:1000000.0)
|
|
double r3 = r3 / r1
|
|
long r0 = (long) r3
|
|
goto L9a
|
|
L98:
|
|
r0 = 0
|
|
L9a:
|
|
java.lang.Long r8 = java.lang.Long.valueOf(r0)
|
|
android.util.Pair r8 = android.util.Pair.create(r9, r8)
|
|
return r8
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.applovin.impl.fa.a(com.applovin.impl.fa$a, java.lang.String):android.util.Pair");
|
|
}
|
|
|
|
@Override // com.applovin.impl.q7
|
|
public void a() {
|
|
zf.a(this.f);
|
|
this.g.a();
|
|
yf yfVar = this.e;
|
|
if (yfVar != null) {
|
|
yfVar.b();
|
|
}
|
|
this.h = 0L;
|
|
this.i = false;
|
|
this.l = C.TIME_UNSET;
|
|
this.n = C.TIME_UNSET;
|
|
}
|
|
}
|