- 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
231 lines
4.9 KiB
Java
231 lines
4.9 KiB
Java
package com.applovin.impl;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class e2 implements qi, ri {
|
|
private final int a;
|
|
private si c;
|
|
private int d;
|
|
private int f;
|
|
private cj g;
|
|
private f9[] h;
|
|
private long i;
|
|
private long j;
|
|
private boolean l;
|
|
private boolean m;
|
|
private final g9 b = new g9();
|
|
private long k = Long.MIN_VALUE;
|
|
|
|
@Override // com.applovin.impl.rh.b
|
|
public void a(int i, Object obj) {
|
|
}
|
|
|
|
public abstract void a(long j, boolean z);
|
|
|
|
public void a(boolean z, boolean z2) {
|
|
}
|
|
|
|
public abstract void a(f9[] f9VarArr, long j, long j2);
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final int b() {
|
|
return this.f;
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final void b(int i) {
|
|
this.d = i;
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi, com.applovin.impl.ri
|
|
public final int e() {
|
|
return this.a;
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final void g() {
|
|
this.l = true;
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final long i() {
|
|
return this.k;
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final boolean j() {
|
|
return this.k == Long.MIN_VALUE;
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final boolean k() {
|
|
return this.l;
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public gd l() {
|
|
return null;
|
|
}
|
|
|
|
@Override // com.applovin.impl.ri
|
|
public int m() {
|
|
return 0;
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final ri n() {
|
|
return this;
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final cj o() {
|
|
return this.g;
|
|
}
|
|
|
|
public final int s() {
|
|
return this.d;
|
|
}
|
|
|
|
public abstract void v();
|
|
|
|
public void w() {
|
|
}
|
|
|
|
public void x() {
|
|
}
|
|
|
|
public void y() {
|
|
}
|
|
|
|
public e2(int i) {
|
|
this.a = i;
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final void start() {
|
|
b1.b(this.f == 1);
|
|
this.f = 2;
|
|
x();
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final void h() {
|
|
((cj) b1.a(this.g)).a();
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final void stop() {
|
|
b1.b(this.f == 2);
|
|
this.f = 1;
|
|
y();
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final void f() {
|
|
b1.b(this.f == 1);
|
|
this.b.a();
|
|
this.f = 0;
|
|
this.g = null;
|
|
this.h = null;
|
|
this.l = false;
|
|
v();
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final void reset() {
|
|
b1.b(this.f == 0);
|
|
this.b.a();
|
|
w();
|
|
}
|
|
|
|
public final g9 r() {
|
|
this.b.a();
|
|
return this.b;
|
|
}
|
|
|
|
public final f9[] t() {
|
|
return (f9[]) b1.a(this.h);
|
|
}
|
|
|
|
public final si q() {
|
|
return (si) b1.a(this.c);
|
|
}
|
|
|
|
public final a8 a(Throwable th, f9 f9Var, int i) {
|
|
return a(th, f9Var, false, i);
|
|
}
|
|
|
|
public final boolean u() {
|
|
return j() ? this.l : ((cj) b1.a(this.g)).d();
|
|
}
|
|
|
|
public int b(long j) {
|
|
return ((cj) b1.a(this.g)).a(j - this.i);
|
|
}
|
|
|
|
public final a8 a(Throwable th, f9 f9Var, boolean z, int i) {
|
|
int i2;
|
|
if (f9Var != null && !this.m) {
|
|
this.m = true;
|
|
try {
|
|
i2 = ri.d(a(f9Var));
|
|
} catch (a8 unused) {
|
|
} finally {
|
|
this.m = false;
|
|
}
|
|
return a8.a(th, getName(), s(), f9Var, i2, z, i);
|
|
}
|
|
i2 = 4;
|
|
return a8.a(th, getName(), s(), f9Var, i2, z, i);
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final void a(si siVar, f9[] f9VarArr, cj cjVar, long j, boolean z, boolean z2, long j2, long j3) {
|
|
b1.b(this.f == 0);
|
|
this.c = siVar;
|
|
this.f = 1;
|
|
this.j = j;
|
|
a(z, z2);
|
|
a(f9VarArr, cjVar, j2, j3);
|
|
a(j, z);
|
|
}
|
|
|
|
public final int a(g9 g9Var, p5 p5Var, int i) {
|
|
int a = ((cj) b1.a(this.g)).a(g9Var, p5Var, i);
|
|
if (a == -4) {
|
|
if (p5Var.e()) {
|
|
this.k = Long.MIN_VALUE;
|
|
return this.l ? -4 : -3;
|
|
}
|
|
long j = p5Var.f + this.i;
|
|
p5Var.f = j;
|
|
this.k = Math.max(this.k, j);
|
|
} else if (a == -5) {
|
|
f9 f9Var = (f9) b1.a(g9Var.b);
|
|
if (f9Var.q != Long.MAX_VALUE) {
|
|
g9Var.b = f9Var.a().a(f9Var.q + this.i).a();
|
|
}
|
|
}
|
|
return a;
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final void a(f9[] f9VarArr, cj cjVar, long j, long j2) {
|
|
b1.b(!this.l);
|
|
this.g = cjVar;
|
|
if (this.k == Long.MIN_VALUE) {
|
|
this.k = j;
|
|
}
|
|
this.h = f9VarArr;
|
|
this.i = j2;
|
|
a(f9VarArr, j, j2);
|
|
}
|
|
|
|
@Override // com.applovin.impl.qi
|
|
public final void a(long j) {
|
|
this.l = false;
|
|
this.j = j;
|
|
this.k = j;
|
|
a(j, false);
|
|
}
|
|
}
|