- 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
90 lines
2.2 KiB
Java
90 lines
2.2 KiB
Java
package com.applovin.impl;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class hg implements k8 {
|
|
public static final o8 d = new o8() { // from class: com.applovin.impl.hg$$ExternalSyntheticLambda0
|
|
@Override // com.applovin.impl.o8
|
|
public final k8[] a() {
|
|
k8[] b;
|
|
b = hg.b();
|
|
return b;
|
|
}
|
|
};
|
|
private m8 a;
|
|
private gl b;
|
|
private boolean c;
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static /* synthetic */ k8[] b() {
|
|
return new k8[]{new hg()};
|
|
}
|
|
|
|
@Override // com.applovin.impl.k8
|
|
public void a() {
|
|
}
|
|
|
|
@Override // com.applovin.impl.k8
|
|
public void a(m8 m8Var) {
|
|
this.a = m8Var;
|
|
}
|
|
|
|
private boolean b(l8 l8Var) {
|
|
jg jgVar = new jg();
|
|
if (jgVar.a(l8Var, true) && (jgVar.b & 2) == 2) {
|
|
int min = Math.min(jgVar.i, 8);
|
|
bh bhVar = new bh(min);
|
|
l8Var.c(bhVar.c(), 0, min);
|
|
if (y8.c(a(bhVar))) {
|
|
this.b = new y8();
|
|
} else if (er.c(a(bhVar))) {
|
|
this.b = new er();
|
|
} else if (tg.b(a(bhVar))) {
|
|
this.b = new tg();
|
|
}
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
@Override // com.applovin.impl.k8
|
|
public int a(l8 l8Var, th thVar) {
|
|
b1.b(this.a);
|
|
if (this.b == null) {
|
|
if (b(l8Var)) {
|
|
l8Var.b();
|
|
} else {
|
|
throw dh.a("Failed to determine bitstream type", null);
|
|
}
|
|
}
|
|
if (!this.c) {
|
|
qo a = this.a.a(0, 1);
|
|
this.a.c();
|
|
this.b.a(this.a, a);
|
|
this.c = true;
|
|
}
|
|
return this.b.a(l8Var, thVar);
|
|
}
|
|
|
|
private static bh a(bh bhVar) {
|
|
bhVar.f(0);
|
|
return bhVar;
|
|
}
|
|
|
|
@Override // com.applovin.impl.k8
|
|
public void a(long j, long j2) {
|
|
gl glVar = this.b;
|
|
if (glVar != null) {
|
|
glVar.a(j, j2);
|
|
}
|
|
}
|
|
|
|
@Override // com.applovin.impl.k8
|
|
public boolean a(l8 l8Var) {
|
|
try {
|
|
return b(l8Var);
|
|
} catch (dh unused) {
|
|
return false;
|
|
}
|
|
}
|
|
}
|