Weather Tracker v1.0.0版本的 MD5 值为:3edef27647e42a8ea0e7c0d2dbf56f97
以下内容为反编译后的 a.java 源代码,内容仅作参考
package com.applovin.exoplayer2.e.d;
import androidx.annotation.Nullable;
import com.applovin.exoplayer2.e.g.g;
import com.applovin.exoplayer2.e.h;
import com.applovin.exoplayer2.e.i;
import com.applovin.exoplayer2.e.j;
import com.applovin.exoplayer2.e.u;
import com.applovin.exoplayer2.e.v;
import com.applovin.exoplayer2.g.a;
import com.applovin.exoplayer2.l.y;
import com.applovin.exoplayer2.v;
import com.google.android.exoplayer2.util.MimeTypes;
import java.io.IOException;
public final class a implements h {
private j f489b;
private int c;
private int d;
private int e;
@Nullable
private com.applovin.exoplayer2.g.f.b g;
private i h;
private c i;
@Nullable
private g j;
private final y a = new y(6);
private long f = -1;
private int b(i iVar) throws IOException {
this.a.a(2);
iVar.d(this.a.d(), 0, 2);
return this.a.i();
}
private void d(i iVar) throws IOException {
this.a.a(2);
iVar.b(this.a.d(), 0, 2);
int i = this.a.i();
this.d = i;
if (i == 65498) {
if (this.f != -1) {
this.c = 4;
} else {
b();
}
} else if ((i < 65488 || i > 65497) && i != 65281) {
this.c = 1;
}
}
private void e(i iVar) throws IOException {
this.a.a(2);
iVar.b(this.a.d(), 0, 2);
this.e = this.a.i() - 2;
this.c = 2;
}
private void f(i iVar) throws IOException {
String B;
if (this.d == 65505) {
y yVar = new y(this.e);
iVar.b(yVar.d(), 0, this.e);
if (this.g == null && "http://ns.adobe.com/xap/1.0/".equals(yVar.B()) && (B = yVar.B()) != null) {
com.applovin.exoplayer2.g.f.b a = a(B, iVar.d());
this.g = a;
if (a != null) {
this.f = a.d;
}
}
} else {
iVar.b(this.e);
}
this.c = 0;
}
private void g(i iVar) throws IOException {
if (!iVar.b(this.a.d(), 0, 1, true)) {
b();
return;
}
iVar.a();
if (this.j == null) {
this.j = new g();
}
c cVar = new c(iVar, this.f);
this.i = cVar;
if (this.j.a(cVar)) {
this.j.a(new d(this.f, (j) com.applovin.exoplayer2.l.a.b(this.f489b)));
a();
return;
}
b();
}
@Override
public boolean a(i iVar) throws IOException {
if (b(iVar) != 65496) {
return false;
}
int b2 = b(iVar);
this.d = b2;
if (b2 == 65504) {
c(iVar);
this.d = b(iVar);
}
if (this.d != 65505) {
return false;
}
iVar.c(2);
this.a.a(6);
iVar.d(this.a.d(), 0, 6);
return this.a.o() == 1165519206 && this.a.i() == 0;
}
@Override
public void c() {
g gVar = this.j;
if (gVar != null) {
gVar.c();
}
}
private void c(i iVar) throws IOException {
this.a.a(2);
iVar.d(this.a.d(), 0, 2);
iVar.c(this.a.i() - 2);
}
private void b() {
a(new a.InterfaceC0055a[0]);
((j) com.applovin.exoplayer2.l.a.b(this.f489b)).a();
this.f489b.a(new v.b(-9223372036854775807L));
this.c = 6;
}
@Override
public void a(j jVar) {
this.f489b = jVar;
}
@Override
public int a(i iVar, u uVar) throws IOException {
int i = this.c;
if (i == 0) {
d(iVar);
return 0;
} else if (i == 1) {
e(iVar);
return 0;
} else if (i == 2) {
f(iVar);
return 0;
} else if (i == 4) {
long c = iVar.c();
long j = this.f;
if (c != j) {
uVar.a = j;
return 1;
}
g(iVar);
return 0;
} else if (i != 5) {
if (i == 6) {
return -1;
}
throw new IllegalStateException();
} else {
if (this.i == null || iVar != this.h) {
this.h = iVar;
this.i = new c(iVar, this.f);
}
int a = ((g) com.applovin.exoplayer2.l.a.b(this.j)).a(this.i, uVar);
if (a == 1) {
uVar.a += this.f;
}
return a;
}
}
@Override
public void a(long j, long j2) {
if (j == 0) {
this.c = 0;
this.j = null;
} else if (this.c == 5) {
((g) com.applovin.exoplayer2.l.a.b(this.j)).a(j, j2);
}
}
private void a() {
a((a.InterfaceC0055a) com.applovin.exoplayer2.l.a.b(this.g));
this.c = 5;
}
private void a(a.InterfaceC0055a... interfaceC0055aArr) {
((j) com.applovin.exoplayer2.l.a.b(this.f489b)).a(1024, 4).a(new v.a().e(MimeTypes.IMAGE_JPEG).a(new com.applovin.exoplayer2.g.a(interfaceC0055aArr)).a());
}
@Nullable
private static com.applovin.exoplayer2.g.f.b a(String str, long j) throws IOException {
b a;
if (j == -1 || (a = e.a(str)) == null) {
return null;
}
return a.a(j);
}
}