91快播 v3.3.0版本的 MD5 值为:094b9519ad2388a8147509cb8a126145

以下内容为反编译后的 C4186.java 源代码,内容仅作参考


package anta.ᘓ;

import android.util.Log;
import anta.ࡁ.C1441;
import anta.ᆖ.C2647;
import anta.Ꮩ.C3324;
import anta.Ꮩ.C3335;
import anta.ᕐ.C3737;
import anta.ᕐ.C3836;
import anta.ᘓ.C4189;
import anta.㝽.C7664;
import anta.㽔.C10451;
import anta.㽔.InterfaceC10433;
import anta.㽔.InterfaceC10440;
import anta.㽔.InterfaceC10452;
import anta.㽔.InterfaceC10454;
import anta.㽔.InterfaceC10458;
import java.util.Objects;
import org.xmlpull.v1.XmlPullParserException;
public final class C4186 implements InterfaceC10458 {
    public int f10524;
    public C4187 f10525;
    public int f10526;
    public C2647 f10527;
    public InterfaceC10433 f10528;
    public int f10529;
    public InterfaceC10452 f10530;
    public C1441 f10532;
    public final C3324 f10523 = new C3324(6);
    public long f10531 = -1;

    @Override
    public void release() {
        C2647 c2647 = this.f10527;
        if (c2647 != null) {
            Objects.requireNonNull(c2647);
        }
    }

    @Override
    public void mo2690(long j, long j2) {
        if (j == 0) {
            this.f10524 = 0;
            this.f10527 = null;
        } else if (this.f10524 == 5) {
            C2647 c2647 = this.f10527;
            Objects.requireNonNull(c2647);
            c2647.mo2690(j, j2);
        }
    }

    @Override
    public void mo2691(InterfaceC10433 interfaceC10433) {
        this.f10528 = interfaceC10433;
    }

    @Override
    public boolean mo2693(InterfaceC10452 interfaceC10452) {
        if (m4380(interfaceC10452) != 65496) {
            return false;
        }
        int m4380 = m4380(interfaceC10452);
        this.f10529 = m4380;
        if (m4380 == 65504) {
            this.f10523.m3458(2);
            interfaceC10452.mo4391(this.f10523.f8121, 0, 2);
            interfaceC10452.mo4388(this.f10523.m3444() - 2);
            this.f10529 = m4380(interfaceC10452);
        }
        if (this.f10529 != 65505) {
            return false;
        }
        interfaceC10452.mo4388(2);
        this.f10523.m3458(6);
        interfaceC10452.mo4391(this.f10523.f8121, 0, 6);
        return this.f10523.m3445() == 1165519206 && this.f10523.m3444() == 0;
    }

    public final void m4378() {
        m4379(new C7664.InterfaceC7666[0]);
        InterfaceC10433 interfaceC10433 = this.f10528;
        Objects.requireNonNull(interfaceC10433);
        interfaceC10433.mo3269();
        this.f10528.mo3257(new InterfaceC10454.C10456(-9223372036854775807L, 0L));
        this.f10524 = 6;
    }

    public final void m4379(C7664.InterfaceC7666... interfaceC7666Arr) {
        InterfaceC10433 interfaceC10433 = this.f10528;
        Objects.requireNonNull(interfaceC10433);
        InterfaceC10440 mo3266 = interfaceC10433.mo3266(1024, 4);
        C3737.C3739 c3739 = new C3737.C3739();
        c3739.f9334 = new C7664(interfaceC7666Arr);
        mo3266.mo3244(c3739.m3954());
    }

    @Override
    public int mo2696(InterfaceC10452 interfaceC10452, C10451 c10451) {
        int i;
        String m3506;
        String m35062;
        C4189 c4189;
        long j;
        int i2 = this.f10524;
        if (i2 == 0) {
            this.f10523.m3458(2);
            interfaceC10452.readFully(this.f10523.f8121, 0, 2);
            int m3444 = this.f10523.m3444();
            this.f10529 = m3444;
            if (m3444 == 65498) {
                if (this.f10531 != -1) {
                    this.f10524 = 4;
                } else {
                    m4378();
                }
            } else if ((m3444 < 65488 || m3444 > 65497) && m3444 != 65281) {
                this.f10524 = 1;
            }
            return 0;
        } else if (i2 == 1) {
            this.f10523.m3458(2);
            interfaceC10452.readFully(this.f10523.f8121, 0, 2);
            this.f10526 = this.f10523.m3444() - 2;
            this.f10524 = 2;
            return 0;
        } else if (i2 != 2) {
            if (i2 != 4) {
                if (i2 != 5) {
                    if (i2 == 6) {
                        return -1;
                    }
                    throw new IllegalStateException();
                }
                if (this.f10525 == null || interfaceC10452 != this.f10530) {
                    this.f10530 = interfaceC10452;
                    this.f10525 = new C4187(interfaceC10452, this.f10531);
                }
                C2647 c2647 = this.f10527;
                Objects.requireNonNull(c2647);
                int mo2696 = c2647.mo2696(this.f10525, c10451);
                if (mo2696 == 1) {
                    c10451.f23443 += this.f10531;
                }
                return mo2696;
            }
            long mo4385 = interfaceC10452.mo4385();
            long j2 = this.f10531;
            if (mo4385 != j2) {
                c10451.f23443 = j2;
                return 1;
            }
            if (!interfaceC10452.mo4382(this.f10523.f8121, 0, 1, true)) {
                m4378();
            } else {
                interfaceC10452.mo4386();
                if (this.f10527 == null) {
                    this.f10527 = new C2647(0);
                }
                C4187 c4187 = new C4187(interfaceC10452, this.f10531);
                this.f10525 = c4187;
                if (this.f10527.mo2693(c4187)) {
                    C2647 c26472 = this.f10527;
                    long j3 = this.f10531;
                    InterfaceC10433 interfaceC10433 = this.f10528;
                    Objects.requireNonNull(interfaceC10433);
                    c26472.f6375 = new C4191(j3, interfaceC10433);
                    C1441 c1441 = this.f10532;
                    Objects.requireNonNull(c1441);
                    m4379(c1441);
                    this.f10524 = 5;
                } else {
                    m4378();
                }
            }
            return 0;
        } else {
            if (this.f10529 == 65505) {
                int i3 = this.f10526;
                byte[] bArr = new byte[i3];
                interfaceC10452.readFully(bArr, 0, i3);
                if (this.f10532 == null) {
                    C1441 c14412 = null;
                    if (i3 + 0 == 0) {
                        m3506 = null;
                        i = 0;
                    } else {
                        i = 0;
                        while (i < i3 && bArr[i] != 0) {
                            i++;
                        }
                        m3506 = C3335.m3506(bArr, 0, i + 0);
                        if (i < i3) {
                            i++;
                        }
                    }
                    if ("http://ns.adobe.com/xap/1.0/".equals(m3506)) {
                        if (i3 - i == 0) {
                            m35062 = null;
                        } else {
                            int i4 = i;
                            while (i4 < i3 && bArr[i4] != 0) {
                                i4++;
                            }
                            m35062 = C3335.m3506(bArr, i, i4 - i);
                        }
                        if (m35062 != null) {
                            long mo4381 = interfaceC10452.mo4381();
                            if (mo4381 != -1) {
                                try {
                                    c4189 = C4188.m4392(m35062);
                                } catch (C3836 | NumberFormatException | XmlPullParserException unused) {
                                    Log.w("MotionPhotoXmpParser", "Ignoring unexpected XMP metadata");
                                    c4189 = null;
                                }
                                if (c4189 != null && c4189.f10539.size() >= 2) {
                                    long j4 = -1;
                                    long j5 = -1;
                                    long j6 = -1;
                                    long j7 = -1;
                                    boolean z = false;
                                    for (int size = c4189.f10539.size() - 1; size >= 0; size--) {
                                        C4189.C4190 c4190 = c4189.f10539.get(size);
                                        z |= "video/mp4".equals(c4190.f10540);
                                        if (size == 0) {
                                            j = mo4381 - c4190.f10541;
                                            mo4381 = 0;
                                        } else {
                                            long j8 = mo4381 - c4190.f10542;
                                            j = mo4381;
                                            mo4381 = j8;
                                        }
                                        if (z && mo4381 != j) {
                                            j7 = j - mo4381;
                                            z = false;
                                            j6 = mo4381;
                                        }
                                        if (size == 0) {
                                            j5 = j;
                                            j4 = mo4381;
                                        }
                                    }
                                    if (j6 != -1 && j7 != -1 && j4 != -1 && j5 != -1) {
                                        c14412 = new C1441(j4, j5, c4189.f10538, j6, j7);
                                    }
                                }
                            }
                            this.f10532 = c14412;
                            if (c14412 != null) {
                                this.f10531 = c14412.f3979;
                            }
                        }
                    }
                }
            } else {
                interfaceC10452.mo4387(this.f10526);
            }
            this.f10524 = 0;
            return 0;
        }
    }

    public final int m4380(InterfaceC10452 interfaceC10452) {
        this.f10523.m3458(2);
        interfaceC10452.mo4391(this.f10523.f8121, 0, 2);
        return this.f10523.m3444();
    }
}