暗网解密 v2.0.4版本的 MD5 值为:d3a04548fef88e775cbe4c3c6e7d81ad
以下内容为反编译后的 a.java 源代码,内容仅作参考
package c.g.a.a.u2.h0;
import androidx.annotation.Nullable;
import c.g.a.a.e3.e0;
import c.g.a.a.e3.g;
import c.g.a.a.u2.j;
import c.g.a.a.u2.k;
import c.g.a.a.u2.l;
import c.g.a.a.u2.x;
import c.g.a.a.u2.y;
import com.google.android.exoplayer2.Format;
import com.google.android.exoplayer2.metadata.Metadata;
import com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata;
public final class a implements j {
public l f3042b;
public int f3043c;
public int f3044d;
public int f3045e;
@Nullable
public MotionPhotoMetadata f3047g;
public k f3048h;
public c i;
@Nullable
public c.g.a.a.u2.k0.k j;
public final e0 f3041a = new e0(6);
public long f3046f = -1;
@Nullable
public static MotionPhotoMetadata f(String str, long j) {
b a2;
if (j == -1 || (a2 = e.a(str)) == null) {
return null;
}
return a2.a(j);
}
public final void a(k kVar) {
this.f3041a.L(2);
kVar.o(this.f3041a.d(), 0, 2);
kVar.h(this.f3041a.J() - 2);
}
@Override
public void b(l lVar) {
this.f3042b = lVar;
}
@Override
public void c(long j, long j2) {
if (j == 0) {
this.f3043c = 0;
this.j = null;
} else if (this.f3043c == 5) {
((c.g.a.a.u2.k0.k) g.e(this.j)).c(j, j2);
}
}
public final void d() {
h(new Metadata.Entry[0]);
((l) g.e(this.f3042b)).o();
this.f3042b.i(new y.b(-9223372036854775807L));
this.f3043c = 6;
}
@Override
public boolean e(k kVar) {
if (i(kVar) != 65496) {
return false;
}
int i = i(kVar);
this.f3044d = i;
if (i == 65504) {
a(kVar);
this.f3044d = i(kVar);
}
if (this.f3044d != 65505) {
return false;
}
kVar.h(2);
this.f3041a.L(6);
kVar.o(this.f3041a.d(), 0, 6);
return this.f3041a.F() == 1165519206 && this.f3041a.J() == 0;
}
@Override
public int g(k kVar, x xVar) {
int i = this.f3043c;
if (i == 0) {
j(kVar);
return 0;
} else if (i == 1) {
l(kVar);
return 0;
} else if (i == 2) {
k(kVar);
return 0;
} else if (i == 4) {
long position = kVar.getPosition();
long j = this.f3046f;
if (position != j) {
xVar.f3611a = j;
return 1;
}
m(kVar);
return 0;
} else if (i != 5) {
if (i == 6) {
return -1;
}
throw new IllegalStateException();
} else {
if (this.i == null || kVar != this.f3048h) {
this.f3048h = kVar;
this.i = new c(kVar, this.f3046f);
}
int g2 = ((c.g.a.a.u2.k0.k) g.e(this.j)).g(this.i, xVar);
if (g2 == 1) {
xVar.f3611a += this.f3046f;
}
return g2;
}
}
public final void h(Metadata.Entry... entryArr) {
((l) g.e(this.f3042b)).e(1024, 4).e(new Format.b().K("image/jpeg").X(new Metadata(entryArr)).E());
}
public final int i(k kVar) {
this.f3041a.L(2);
kVar.o(this.f3041a.d(), 0, 2);
return this.f3041a.J();
}
public final void j(k kVar) {
this.f3041a.L(2);
kVar.readFully(this.f3041a.d(), 0, 2);
int J = this.f3041a.J();
this.f3044d = J;
if (J == 65498) {
if (this.f3046f != -1) {
this.f3043c = 4;
} else {
d();
}
} else if ((J < 65488 || J > 65497) && J != 65281) {
this.f3043c = 1;
}
}
public final void k(k kVar) {
String x;
if (this.f3044d == 65505) {
e0 e0Var = new e0(this.f3045e);
kVar.readFully(e0Var.d(), 0, this.f3045e);
if (this.f3047g == null && "http://ns.adobe.com/xap/1.0/".equals(e0Var.x()) && (x = e0Var.x()) != null) {
MotionPhotoMetadata f2 = f(x, kVar.b());
this.f3047g = f2;
if (f2 != null) {
this.f3046f = f2.f7918e;
}
}
} else {
kVar.m(this.f3045e);
}
this.f3043c = 0;
}
public final void l(k kVar) {
this.f3041a.L(2);
kVar.readFully(this.f3041a.d(), 0, 2);
this.f3045e = this.f3041a.J() - 2;
this.f3043c = 2;
}
public final void m(k kVar) {
if (!kVar.f(this.f3041a.d(), 0, 1, true)) {
d();
return;
}
kVar.l();
if (this.j == null) {
this.j = new c.g.a.a.u2.k0.k();
}
c cVar = new c(kVar, this.f3046f);
this.i = cVar;
if (this.j.e(cVar)) {
this.j.b(new d(this.f3046f, (l) g.e(this.f3042b)));
n();
return;
}
d();
}
public final void n() {
h((Metadata.Entry) g.e(this.f3047g));
this.f3043c = 5;
}
@Override
public void release() {
c.g.a.a.u2.k0.k kVar = this.j;
if (kVar != null) {
kVar.release();
}
}
}