Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,108 @@
package com.applovin.impl;
import com.applovin.impl.ij;
import com.applovin.impl.tf;
/* loaded from: classes.dex */
final class ds implements lj {
private final long a;
private final int b;
private final long c;
private final long d;
private final long e;
private final long[] f;
@Override // com.applovin.impl.ij
public boolean b() {
return this.f != null;
}
@Override // com.applovin.impl.lj
public long c() {
return this.e;
}
@Override // com.applovin.impl.ij
public long d() {
return this.c;
}
public static ds a(long j, long j2, tf.a aVar, bh bhVar) {
int A;
int i = aVar.g;
int i2 = aVar.d;
int j3 = bhVar.j();
if ((j3 & 1) != 1 || (A = bhVar.A()) == 0) {
return null;
}
long c = xp.c(A, i * 1000000, i2);
if ((j3 & 6) != 6) {
return new ds(j2, aVar.c, c);
}
long y = bhVar.y();
long[] jArr = new long[100];
for (int i3 = 0; i3 < 100; i3++) {
jArr[i3] = bhVar.w();
}
if (j != -1) {
long j4 = j2 + y;
if (j != j4) {
pc.d("XingSeeker", "XING data size mismatch: " + j + ", " + j4);
}
}
return new ds(j2, aVar.c, c, y, jArr);
}
private ds(long j, int i, long j2) {
this(j, i, j2, -1L, null);
}
@Override // com.applovin.impl.ij
public ij.a b(long j) {
if (!b()) {
return new ij.a(new kj(0L, this.a + this.b));
}
long b = xp.b(j, 0L, this.c);
double d = (b * 100.0d) / this.c;
double d2 = 0.0d;
if (d > 0.0d) {
if (d >= 100.0d) {
d2 = 256.0d;
} else {
int i = (int) d;
double d3 = ((long[]) b1.b(this.f))[i];
d2 = d3 + ((d - i) * ((i == 99 ? 256.0d : r3[i + 1]) - d3));
}
}
return new ij.a(new kj(b, this.a + xp.b(Math.round((d2 / 256.0d) * this.d), this.b, this.d - 1)));
}
private ds(long j, int i, long j2, long j3, long[] jArr) {
this.a = j;
this.b = i;
this.c = j2;
this.f = jArr;
this.d = j3;
this.e = j3 != -1 ? j + j3 : -1L;
}
@Override // com.applovin.impl.lj
public long a(long j) {
long j2 = j - this.a;
if (!b() || j2 <= this.b) {
return 0L;
}
long[] jArr = (long[]) b1.b(this.f);
double d = (j2 * 256.0d) / this.d;
int b = xp.b(jArr, (long) d, true, true);
long a = a(b);
long j3 = jArr[b];
int i = b + 1;
long a2 = a(i);
return a + Math.round((j3 == (b == 99 ? 256L : jArr[i]) ? 0.0d : (d - j3) / (r0 - j3)) * (a2 - a));
}
private long a(int i) {
return (this.c * i) / 100;
}
}