- 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
70 lines
1.7 KiB
Java
70 lines
1.7 KiB
Java
package com.applovin.impl;
|
|
|
|
import com.mbridge.msdk.playercommon.exoplayer2.util.MimeTypes;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes.dex */
|
|
final class mf {
|
|
public final long a;
|
|
public final List b;
|
|
|
|
public static final class a {
|
|
public final String a;
|
|
public final String b;
|
|
public final long c;
|
|
public final long d;
|
|
|
|
public a(String str, String str2, long j, long j2) {
|
|
this.a = str;
|
|
this.b = str2;
|
|
this.c = j;
|
|
this.d = j2;
|
|
}
|
|
}
|
|
|
|
public mf(long j, List list) {
|
|
this.a = j;
|
|
this.b = list;
|
|
}
|
|
|
|
public nf a(long j) {
|
|
long j2;
|
|
if (this.b.size() < 2) {
|
|
return null;
|
|
}
|
|
long j3 = j;
|
|
long j4 = -1;
|
|
long j5 = -1;
|
|
long j6 = -1;
|
|
long j7 = -1;
|
|
boolean z = false;
|
|
for (int size = this.b.size() - 1; size >= 0; size--) {
|
|
a aVar = (a) this.b.get(size);
|
|
boolean equals = MimeTypes.VIDEO_MP4.equals(aVar.a) | z;
|
|
if (size == 0) {
|
|
j3 -= aVar.d;
|
|
j2 = 0;
|
|
} else {
|
|
j2 = j3 - aVar.c;
|
|
}
|
|
long j8 = j3;
|
|
j3 = j2;
|
|
if (!equals || j3 == j8) {
|
|
z = equals;
|
|
} else {
|
|
j7 = j8 - j3;
|
|
j6 = j3;
|
|
z = false;
|
|
}
|
|
if (size == 0) {
|
|
j4 = j3;
|
|
j5 = j8;
|
|
}
|
|
}
|
|
if (j6 == -1 || j7 == -1 || j4 == -1 || j5 == -1) {
|
|
return null;
|
|
}
|
|
return new nf(j4, j5, this.a, j6, j7);
|
|
}
|
|
}
|