Changes of com.discord v1255

This commit is contained in:
root 2020-09-09 19:21:20 +00:00
parent f9a1079ca0
commit de564f6f1c
12605 changed files with 896612 additions and 782429 deletions

View file

@ -64,7 +64,7 @@
const-string v1, "gifimage"
invoke-static {v1}, Lcom/facebook/soloader/SoLoader;->f(Ljava/lang/String;)Z
invoke-static {v1}, Lf/g/m/o/a;->c(Ljava/lang/String;)Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
@ -81,12 +81,17 @@
throw v1
.end method
.method public static native nativeCreateFromDirectByteBuffer(Ljava/nio/ByteBuffer;)Lcom/facebook/animated/gif/GifImage;
.method public static native nativeCreateFromDirectByteBuffer(Ljava/nio/ByteBuffer;IZ)Lcom/facebook/animated/gif/GifImage;
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method public static native nativeCreateFromNativeMemory(JI)Lcom/facebook/animated/gif/GifImage;
.method public static native nativeCreateFromFileDescriptor(IIZ)Lcom/facebook/animated/gif/GifImage;
.annotation build Lf/g/d/d/c;
.end annotation
.end method
.method public static native nativeCreateFromNativeMemory(JIIZ)Lcom/facebook/animated/gif/GifImage;
.annotation build Lf/g/d/d/c;
.end annotation
.end method
@ -141,6 +146,11 @@
.end annotation
.end method
.method private native nativeIsAnimated()Z
.annotation build Lf/g/d/d/c;
.end annotation
.end method
# virtual methods
.method public a()I
@ -181,38 +191,28 @@
return v2
.end method
.method public c(I)Lf/g/j/a/a/d;
.locals 0
.method public c(Ljava/nio/ByteBuffer;Lcom/facebook/imagepipeline/common/ImageDecodeOptions;)Lf/g/j/a/a/c;
.locals 1
invoke-direct {p0, p1}, Lcom/facebook/animated/gif/GifImage;->nativeGetFrame(I)Lcom/facebook/animated/gif/GifFrame;
invoke-static {}, Lcom/facebook/animated/gif/GifImage;->j()V
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->rewind()Ljava/nio/Buffer;
iget v0, p2, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->b:I
iget-boolean p2, p2, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->f:Z
invoke-static {p1, v0, p2}, Lcom/facebook/animated/gif/GifImage;->nativeCreateFromDirectByteBuffer(Ljava/nio/ByteBuffer;IZ)Lcom/facebook/animated/gif/GifImage;
move-result-object p1
return-object p1
.end method
.method public d(JI)Lf/g/j/a/a/c;
.locals 3
.method public d(I)Lf/g/j/a/a/d;
.locals 0
invoke-static {}, Lcom/facebook/animated/gif/GifImage;->j()V
const-wide/16 v0, 0x0
cmp-long v2, p1, v0
if-eqz v2, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
invoke-static {v0}, Le0/a/b/b/a;->h(Z)V
invoke-static {p1, p2, p3}, Lcom/facebook/animated/gif/GifImage;->nativeCreateFromNativeMemory(JI)Lcom/facebook/animated/gif/GifImage;
invoke-direct {p0, p1}, Lcom/facebook/animated/gif/GifImage;->nativeGetFrame(I)Lcom/facebook/animated/gif/GifFrame;
move-result-object p1
@ -326,14 +326,32 @@
return-void
.end method
.method public g(Ljava/nio/ByteBuffer;)Lf/g/j/a/a/c;
.locals 0
.method public g(JILcom/facebook/imagepipeline/common/ImageDecodeOptions;)Lf/g/j/a/a/c;
.locals 3
invoke-static {}, Lcom/facebook/animated/gif/GifImage;->j()V
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->rewind()Ljava/nio/Buffer;
const-wide/16 v0, 0x0
invoke-static {p1}, Lcom/facebook/animated/gif/GifImage;->nativeCreateFromDirectByteBuffer(Ljava/nio/ByteBuffer;)Lcom/facebook/animated/gif/GifImage;
cmp-long v2, p1, v0
if-eqz v2, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
invoke-static {v0}, Le0/a/b/b/a;->g(Z)V
iget v0, p4, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->b:I
iget-boolean p4, p4, Lcom/facebook/imagepipeline/common/ImageDecodeOptions;->f:Z
invoke-static {p1, p2, p3, v0, p4}, Lcom/facebook/animated/gif/GifImage;->nativeCreateFromNativeMemory(JIIZ)Lcom/facebook/animated/gif/GifImage;
move-result-object p1

View file

@ -100,38 +100,24 @@
return v0
.end method
.method public c(I)Lf/g/j/a/a/d;
.method public c(Ljava/nio/ByteBuffer;Lcom/facebook/imagepipeline/common/ImageDecodeOptions;)Lf/g/j/a/a/c;
.locals 0
invoke-direct {p0, p1}, Lcom/facebook/animated/webp/WebPImage;->nativeGetFrame(I)Lcom/facebook/animated/webp/WebPFrame;
invoke-static {}, Lf/g/j/n/b;->a()V
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->rewind()Ljava/nio/Buffer;
invoke-static {p1}, Lcom/facebook/animated/webp/WebPImage;->nativeCreateFromDirectByteBuffer(Ljava/nio/ByteBuffer;)Lcom/facebook/animated/webp/WebPImage;
move-result-object p1
return-object p1
.end method
.method public d(JI)Lf/g/j/a/a/c;
.locals 3
.method public d(I)Lf/g/j/a/a/d;
.locals 0
invoke-static {}, Lf/g/j/m/c;->a()V
const-wide/16 v0, 0x0
cmp-long v2, p1, v0
if-eqz v2, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
invoke-static {v0}, Le0/a/b/b/a;->h(Z)V
invoke-static {p1, p2, p3}, Lcom/facebook/animated/webp/WebPImage;->nativeCreateFromNativeMemory(JI)Lcom/facebook/animated/webp/WebPImage;
invoke-direct {p0, p1}, Lcom/facebook/animated/webp/WebPImage;->nativeGetFrame(I)Lcom/facebook/animated/webp/WebPFrame;
move-result-object p1
@ -232,14 +218,28 @@
return-void
.end method
.method public g(Ljava/nio/ByteBuffer;)Lf/g/j/a/a/c;
.locals 0
.method public g(JILcom/facebook/imagepipeline/common/ImageDecodeOptions;)Lf/g/j/a/a/c;
.locals 2
invoke-static {}, Lf/g/j/m/c;->a()V
invoke-static {}, Lf/g/j/n/b;->a()V
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->rewind()Ljava/nio/Buffer;
const-wide/16 v0, 0x0
invoke-static {p1}, Lcom/facebook/animated/webp/WebPImage;->nativeCreateFromDirectByteBuffer(Ljava/nio/ByteBuffer;)Lcom/facebook/animated/webp/WebPImage;
cmp-long p4, p1, v0
if-eqz p4, :cond_0
const/4 p4, 0x1
goto :goto_0
:cond_0
const/4 p4, 0x0
:goto_0
invoke-static {p4}, Le0/a/b/b/a;->g(Z)V
invoke-static {p1, p2, p3}, Lcom/facebook/animated/webp/WebPImage;->nativeCreateFromNativeMemory(JI)Lcom/facebook/animated/webp/WebPImage;
move-result-object p1