apkfuckery/com.discord/smali/com/facebook/d/b.smali

206 lines
4.5 KiB
Smali
Raw Normal View History

2019-02-17 02:24:41 +00:00
.class public final Lcom/facebook/d/b;
.super Ljava/lang/Object;
.source "DefaultImageFormats.java"
# static fields
2019-03-26 19:13:28 +00:00
.field public static final MJ:Lcom/facebook/d/c;
2019-03-16 01:04:31 +00:00
.field public static final MK:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
2019-03-16 01:04:31 +00:00
.field public static final ML:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
2019-03-16 01:04:31 +00:00
.field public static final MM:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
2019-03-16 01:04:31 +00:00
.field public static final MN:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
2019-03-16 01:04:31 +00:00
.field public static final MO:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
2019-03-16 01:04:31 +00:00
.field public static final MP:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
2019-03-16 01:04:31 +00:00
.field public static final MQ:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
2019-03-16 01:04:31 +00:00
.field public static final MR:Lcom/facebook/d/c;
2019-03-02 23:27:57 +00:00
2019-03-16 01:04:31 +00:00
.field public static final MS:Lcom/facebook/d/c;
2019-03-02 23:27:57 +00:00
2019-03-16 01:04:31 +00:00
.field public static final MT:Lcom/facebook/d/c;
2019-03-14 20:04:00 +00:00
2019-02-17 02:24:41 +00:00
# direct methods
.method static constructor <clinit>()V
.locals 3
new-instance v0, Lcom/facebook/d/c;
const-string v1, "JPEG"
const-string v2, "jpeg"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
2019-03-26 19:13:28 +00:00
sput-object v0, Lcom/facebook/d/b;->MJ:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
new-instance v0, Lcom/facebook/d/c;
const-string v1, "PNG"
const-string v2, "png"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
2019-03-26 19:13:28 +00:00
sput-object v0, Lcom/facebook/d/b;->MK:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
new-instance v0, Lcom/facebook/d/c;
const-string v1, "GIF"
const-string v2, "gif"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
2019-03-26 19:13:28 +00:00
sput-object v0, Lcom/facebook/d/b;->ML:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
new-instance v0, Lcom/facebook/d/c;
const-string v1, "BMP"
const-string v2, "bmp"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
2019-03-26 19:13:28 +00:00
sput-object v0, Lcom/facebook/d/b;->MM:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
new-instance v0, Lcom/facebook/d/c;
const-string v1, "ICO"
const-string v2, "ico"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
2019-03-26 19:13:28 +00:00
sput-object v0, Lcom/facebook/d/b;->MN:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
new-instance v0, Lcom/facebook/d/c;
const-string v1, "WEBP_SIMPLE"
const-string v2, "webp"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
2019-03-26 19:13:28 +00:00
sput-object v0, Lcom/facebook/d/b;->MO:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
new-instance v0, Lcom/facebook/d/c;
const-string v1, "WEBP_LOSSLESS"
const-string v2, "webp"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
2019-03-26 19:13:28 +00:00
sput-object v0, Lcom/facebook/d/b;->MP:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
new-instance v0, Lcom/facebook/d/c;
const-string v1, "WEBP_EXTENDED"
const-string v2, "webp"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
2019-03-26 19:13:28 +00:00
sput-object v0, Lcom/facebook/d/b;->MQ:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
new-instance v0, Lcom/facebook/d/c;
const-string v1, "WEBP_EXTENDED_WITH_ALPHA"
const-string v2, "webp"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
2019-03-26 19:13:28 +00:00
sput-object v0, Lcom/facebook/d/b;->MR:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
new-instance v0, Lcom/facebook/d/c;
const-string v1, "WEBP_ANIMATED"
const-string v2, "webp"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
2019-03-26 19:13:28 +00:00
sput-object v0, Lcom/facebook/d/b;->MS:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
new-instance v0, Lcom/facebook/d/c;
const-string v1, "HEIF"
const-string v2, "heif"
invoke-direct {v0, v1, v2}, Lcom/facebook/d/c;-><init>(Ljava/lang/String;Ljava/lang/String;)V
2019-03-26 19:13:28 +00:00
sput-object v0, Lcom/facebook/d/b;->MT:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
return-void
.end method
.method public static a(Lcom/facebook/d/c;)Z
.locals 1
invoke-static {p0}, Lcom/facebook/d/b;->b(Lcom/facebook/d/c;)Z
move-result v0
if-nez v0, :cond_1
2019-03-26 19:13:28 +00:00
sget-object v0, Lcom/facebook/d/b;->MS:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
if-ne p0, v0, :cond_0
goto :goto_0
:cond_0
const/4 p0, 0x0
return p0
:cond_1
:goto_0
const/4 p0, 0x1
return p0
.end method
.method public static b(Lcom/facebook/d/c;)Z
.locals 1
2019-03-26 19:13:28 +00:00
sget-object v0, Lcom/facebook/d/b;->MO:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
if-eq p0, v0, :cond_1
2019-03-26 19:13:28 +00:00
sget-object v0, Lcom/facebook/d/b;->MP:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
if-eq p0, v0, :cond_1
2019-03-26 19:13:28 +00:00
sget-object v0, Lcom/facebook/d/b;->MQ:Lcom/facebook/d/c;
2019-02-17 02:24:41 +00:00
2019-02-22 00:19:04 +00:00
if-eq p0, v0, :cond_1
2019-03-26 19:13:28 +00:00
sget-object v0, Lcom/facebook/d/b;->MR:Lcom/facebook/d/c;
2019-02-22 00:19:04 +00:00
2019-02-17 02:24:41 +00:00
if-ne p0, v0, :cond_0
goto :goto_0
:cond_0
const/4 p0, 0x0
return p0
:cond_1
:goto_0
const/4 p0, 0x1
return p0
.end method