Live Football Updates v1.0.1版本的 MD5 值为:636649089335ebb37514551724606ad0
以下内容为反编译后的 b.java 源代码,内容仅作参考
package y2;
import com.google.android.gms.internal.ads.d70;
import java.io.IOException;
import java.util.List;
import k3.h;
import n3.p;
import org.xmlpull.v1.XmlPullParserException;
import p1.r;
import p1.w;
import p1.y;
import r2.b0;
import r2.f0;
import r2.i;
import r2.m;
import r2.n;
import r2.o;
import s1.u;
import y2.c;
public final class b implements m {
public o f34254b;
public int f34255c;
public int f34256d;
public int f34257e;
public f3.a f34259g;
public n f34260h;
public d i;
public h f34261j;
public final u f34253a = new u(6);
public long f34258f = -1;
@Override
public final void a() {
h hVar = this.f34261j;
if (hVar != null) {
hVar.getClass();
}
}
public final void b() {
o oVar = this.f34254b;
oVar.getClass();
oVar.k();
this.f34254b.f(new b0.b(-9223372036854775807L));
this.f34255c = 6;
}
@Override
public final m c() {
return this;
}
public final int d(i iVar) throws IOException {
u uVar = this.f34253a;
uVar.D(2);
iVar.c(uVar.f30520a, 0, 2, false);
return uVar.A();
}
@Override
public final void f(o oVar) {
this.f34254b = oVar;
}
@Override
public final boolean g(n nVar) throws IOException {
i iVar = (i) nVar;
if (d(iVar) != 65496) {
return false;
}
int d10 = d(iVar);
this.f34256d = d10;
u uVar = this.f34253a;
if (d10 == 65504) {
uVar.D(2);
iVar.c(uVar.f30520a, 0, 2, false);
iVar.l(uVar.A() - 2, false);
this.f34256d = d(iVar);
}
if (this.f34256d != 65505) {
return false;
}
iVar.l(2, false);
uVar.D(6);
iVar.c(uVar.f30520a, 0, 6, false);
if (uVar.w() != 1165519206 || uVar.A() != 0) {
return false;
}
return true;
}
@Override
public final void h(long j4, long j10) {
if (j4 == 0) {
this.f34255c = 0;
this.f34261j = null;
} else if (this.f34255c == 5) {
h hVar = this.f34261j;
hVar.getClass();
hVar.h(j4, j10);
}
}
@Override
public final int k(n nVar, d70 d70Var) throws IOException {
String p10;
c cVar;
f3.a aVar;
long j4;
int i = this.f34255c;
u uVar = this.f34253a;
if (i != 0) {
if (i != 1) {
if (i != 2) {
if (i != 4) {
if (i != 5) {
if (i == 6) {
return -1;
}
throw new IllegalStateException();
}
if (this.i == null || nVar != this.f34260h) {
this.f34260h = nVar;
this.i = new d((i) nVar, this.f34258f);
}
h hVar = this.f34261j;
hVar.getClass();
int k10 = hVar.k(this.i, d70Var);
if (k10 == 1) {
d70Var.f7224a += this.f34258f;
}
return k10;
}
i iVar = (i) nVar;
long j10 = iVar.f29956d;
long j11 = this.f34258f;
if (j10 != j11) {
d70Var.f7224a = j11;
return 1;
}
if (!iVar.c(uVar.f30520a, 0, 1, true)) {
b();
} else {
iVar.f29958f = 0;
if (this.f34261j == null) {
this.f34261j = new h(8, p.a.f26955a);
}
d dVar = new d(iVar, this.f34258f);
this.i = dVar;
if (this.f34261j.g(dVar)) {
h hVar2 = this.f34261j;
long j12 = this.f34258f;
o oVar = this.f34254b;
oVar.getClass();
hVar2.f(new e(j12, oVar));
f3.a aVar2 = this.f34259g;
aVar2.getClass();
o oVar2 = this.f34254b;
oVar2.getClass();
f0 r10 = oVar2.r(1024, 4);
r.a aVar3 = new r.a();
aVar3.b("image/jpeg");
aVar3.i = new w(aVar2);
r10.b(new r(aVar3));
this.f34255c = 5;
} else {
b();
}
}
return 0;
}
if (this.f34256d == 65505) {
u uVar2 = new u(this.f34257e);
i iVar2 = (i) nVar;
iVar2.a(uVar2.f30520a, 0, this.f34257e, false);
if (this.f34259g == null && "http://ns.adobe.com/xap/1.0/".equals(uVar2.p()) && (p10 = uVar2.p()) != null) {
long j13 = iVar2.f29955c;
if (j13 != -1) {
try {
cVar = f.a(p10);
} catch (NumberFormatException | XmlPullParserException | y unused) {
s1.n.g("MotionPhotoXmpParser", "Ignoring unexpected XMP metadata");
cVar = null;
}
if (cVar != null) {
List<c.a> list = cVar.f34263b;
if (list.size() >= 2) {
int size = list.size() - 1;
long j14 = -1;
long j15 = -1;
long j16 = -1;
long j17 = -1;
boolean z10 = false;
while (size >= 0) {
c.a aVar4 = list.get(size);
boolean equals = "video/mp4".equals(aVar4.f34264a) | z10;
if (size == 0) {
j13 -= aVar4.f34266c;
j4 = 0;
} else {
j4 = j13 - aVar4.f34265b;
}
long j18 = j13;
j13 = j4;
if (equals && j13 != j18) {
j17 = j18 - j13;
j16 = j13;
equals = false;
}
if (size == 0) {
j14 = j13;
j15 = j18;
}
size--;
z10 = equals;
}
if (j16 != -1 && j17 != -1 && j14 != -1 && j15 != -1) {
aVar = new f3.a(j14, j15, cVar.f34262a, j16, j17);
this.f34259g = aVar;
if (aVar != null) {
this.f34258f = aVar.f22625d;
}
}
}
}
}
aVar = null;
this.f34259g = aVar;
if (aVar != null) {
}
}
} else {
((i) nVar).i(this.f34257e);
}
this.f34255c = 0;
return 0;
}
uVar.D(2);
((i) nVar).a(uVar.f30520a, 0, 2, false);
this.f34257e = uVar.A() - 2;
this.f34255c = 2;
return 0;
}
uVar.D(2);
((i) nVar).a(uVar.f30520a, 0, 2, false);
int A = uVar.A();
this.f34256d = A;
if (A == 65498) {
if (this.f34258f != -1) {
this.f34255c = 4;
return 0;
}
b();
return 0;
} else if ((A < 65488 || A > 65497) && A != 65281) {
this.f34255c = 1;
return 0;
} else {
return 0;
}
}
}