Files
rr3-apk/decompiled-community/sources/com/applovin/impl/zr.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

44 lines
1.2 KiB
Java

package com.applovin.impl;
import com.facebook.internal.security.CertificateUtil;
import java.util.regex.Pattern;
/* loaded from: classes.dex */
public abstract class zr {
private static final Pattern a = Pattern.compile("^NOTE([ \t].*)?$");
public static boolean a(bh bhVar) {
String l = bhVar.l();
return l != null && l.startsWith("WEBVTT");
}
public static long b(String str) {
String[] b = xp.b(str, "\\.");
long j = 0;
for (String str2 : xp.a(b[0], CertificateUtil.DELIMITER)) {
j = (j * 60) + Long.parseLong(str2);
}
long j2 = j * 1000;
if (b.length == 2) {
j2 += Long.parseLong(b[1]);
}
return j2 * 1000;
}
public static void b(bh bhVar) {
int d = bhVar.d();
if (a(bhVar)) {
return;
}
bhVar.f(d);
throw dh.a("Expected WEBVTT. Got " + bhVar.l(), null);
}
public static float a(String str) {
if (str.endsWith("%")) {
return Float.parseFloat(str.substring(0, str.length() - 1)) / 100.0f;
}
throw new NumberFormatException("Percentages must end with %");
}
}