- 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
67 lines
1.8 KiB
Java
67 lines
1.8 KiB
Java
package com.applovin.impl;
|
|
|
|
import com.applovin.impl.bf;
|
|
import java.util.regex.Matcher;
|
|
import java.util.regex.Pattern;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class z9 {
|
|
private static final Pattern c = Pattern.compile("^ [0-9a-fA-F]{8} ([0-9a-fA-F]{8}) ([0-9a-fA-F]{8})");
|
|
public int a = -1;
|
|
public int b = -1;
|
|
|
|
public boolean a() {
|
|
return (this.a == -1 || this.b == -1) ? false : true;
|
|
}
|
|
|
|
public boolean a(int i) {
|
|
int i2 = i >> 12;
|
|
int i3 = i & 4095;
|
|
if (i2 <= 0 && i3 <= 0) {
|
|
return false;
|
|
}
|
|
this.a = i2;
|
|
this.b = i3;
|
|
return true;
|
|
}
|
|
|
|
public boolean a(bf bfVar) {
|
|
for (int i = 0; i < bfVar.c(); i++) {
|
|
bf.b a = bfVar.a(i);
|
|
if (a instanceof u3) {
|
|
u3 u3Var = (u3) a;
|
|
if ("iTunSMPB".equals(u3Var.c) && a(u3Var.d)) {
|
|
return true;
|
|
}
|
|
} else if (a instanceof sb) {
|
|
sb sbVar = (sb) a;
|
|
if ("com.apple.iTunes".equals(sbVar.b) && "iTunSMPB".equals(sbVar.c) && a(sbVar.d)) {
|
|
return true;
|
|
}
|
|
} else {
|
|
continue;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
private boolean a(String str) {
|
|
Matcher matcher = c.matcher(str);
|
|
if (!matcher.find()) {
|
|
return false;
|
|
}
|
|
try {
|
|
int parseInt = Integer.parseInt((String) xp.a((Object) matcher.group(1)), 16);
|
|
int parseInt2 = Integer.parseInt((String) xp.a((Object) matcher.group(2)), 16);
|
|
if (parseInt <= 0 && parseInt2 <= 0) {
|
|
return false;
|
|
}
|
|
this.a = parseInt;
|
|
this.b = parseInt2;
|
|
return true;
|
|
} catch (NumberFormatException unused) {
|
|
return false;
|
|
}
|
|
}
|
|
}
|