Live Football Updates v1.0版本的 MD5 值为:95609b5a5bec0a5f5a0b6e8e4d8f1cba

以下内容为反编译后的 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 f34249b;
    public int f34250c;
    public int f34251d;
    public int f34252e;
    public f3.a f34254g;
    public n f34255h;
    public d i;
    public h f34256j;
    public final u f34248a = new u(6);
    public long f34253f = -1;

    @Override
    public final void a() {
        h hVar = this.f34256j;
        if (hVar != null) {
            hVar.getClass();
        }
    }

    public final void b() {
        o oVar = this.f34249b;
        oVar.getClass();
        oVar.k();
        this.f34249b.f(new b0.b(-9223372036854775807L));
        this.f34250c = 6;
    }

    @Override
    public final m c() {
        return this;
    }

    public final int d(i iVar) throws IOException {
        u uVar = this.f34248a;
        uVar.D(2);
        iVar.c(uVar.f30516a, 0, 2, false);
        return uVar.A();
    }

    @Override
    public final void f(o oVar) {
        this.f34249b = 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.f34251d = d10;
        u uVar = this.f34248a;
        if (d10 == 65504) {
            uVar.D(2);
            iVar.c(uVar.f30516a, 0, 2, false);
            iVar.l(uVar.A() - 2, false);
            this.f34251d = d(iVar);
        }
        if (this.f34251d != 65505) {
            return false;
        }
        iVar.l(2, false);
        uVar.D(6);
        iVar.c(uVar.f30516a, 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.f34250c = 0;
            this.f34256j = null;
        } else if (this.f34250c == 5) {
            h hVar = this.f34256j;
            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.f34250c;
        u uVar = this.f34248a;
        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.f34255h) {
                            this.f34255h = nVar;
                            this.i = new d((i) nVar, this.f34253f);
                        }
                        h hVar = this.f34256j;
                        hVar.getClass();
                        int k10 = hVar.k(this.i, d70Var);
                        if (k10 == 1) {
                            d70Var.f7218a += this.f34253f;
                        }
                        return k10;
                    }
                    i iVar = (i) nVar;
                    long j10 = iVar.f29952d;
                    long j11 = this.f34253f;
                    if (j10 != j11) {
                        d70Var.f7218a = j11;
                        return 1;
                    }
                    if (!iVar.c(uVar.f30516a, 0, 1, true)) {
                        b();
                    } else {
                        iVar.f29954f = 0;
                        if (this.f34256j == null) {
                            this.f34256j = new h(8, p.a.f26950a);
                        }
                        d dVar = new d(iVar, this.f34253f);
                        this.i = dVar;
                        if (this.f34256j.g(dVar)) {
                            h hVar2 = this.f34256j;
                            long j12 = this.f34253f;
                            o oVar = this.f34249b;
                            oVar.getClass();
                            hVar2.f(new e(j12, oVar));
                            f3.a aVar2 = this.f34254g;
                            aVar2.getClass();
                            o oVar2 = this.f34249b;
                            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.f34250c = 5;
                        } else {
                            b();
                        }
                    }
                    return 0;
                }
                if (this.f34251d == 65505) {
                    u uVar2 = new u(this.f34252e);
                    i iVar2 = (i) nVar;
                    iVar2.a(uVar2.f30516a, 0, this.f34252e, false);
                    if (this.f34254g == null && "http://ns.adobe.com/xap/1.0/".equals(uVar2.p()) && (p10 = uVar2.p()) != null) {
                        long j13 = iVar2.f29951c;
                        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.f34258b;
                                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.f34259a) | z10;
                                        if (size == 0) {
                                            j13 -= aVar4.f34261c;
                                            j4 = 0;
                                        } else {
                                            j4 = j13 - aVar4.f34260b;
                                        }
                                        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.f34257a, j16, j17);
                                        this.f34254g = aVar;
                                        if (aVar != null) {
                                            this.f34253f = aVar.f22620d;
                                        }
                                    }
                                }
                            }
                        }
                        aVar = null;
                        this.f34254g = aVar;
                        if (aVar != null) {
                        }
                    }
                } else {
                    ((i) nVar).i(this.f34252e);
                }
                this.f34250c = 0;
                return 0;
            }
            uVar.D(2);
            ((i) nVar).a(uVar.f30516a, 0, 2, false);
            this.f34252e = uVar.A() - 2;
            this.f34250c = 2;
            return 0;
        }
        uVar.D(2);
        ((i) nVar).a(uVar.f30516a, 0, 2, false);
        int A = uVar.A();
        this.f34251d = A;
        if (A == 65498) {
            if (this.f34253f != -1) {
                this.f34250c = 4;
                return 0;
            }
            b();
            return 0;
        } else if ((A < 65488 || A > 65497) && A != 65281) {
            this.f34250c = 1;
            return 0;
        } else {
            return 0;
        }
    }
}