apkfuckery/com.discord/smali/f/d/a/e$d.smali

114 lines
2.6 KiB
Smali
Raw Normal View History

2020-09-09 19:21:20 +00:00
.class public Lf/d/a/e$d;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
.source "LottieCompositionFactory.java"
# interfaces
.implements Ljava/util/concurrent/Callable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-09-09 19:21:20 +00:00
value = Lf/d/a/e;->f(Landroid/content/Context;ILjava/lang/String;)Lf/d/a/p;
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2020-09-09 19:21:20 +00:00
accessFlags = 0x1
2020-05-17 12:40:10 +00:00
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/concurrent/Callable<",
2020-09-09 19:21:20 +00:00
"Lf/d/a/n<",
2020-05-17 12:40:10 +00:00
"Lf/d/a/d;",
">;>;"
}
.end annotation
# instance fields
2020-09-09 19:21:20 +00:00
.field public final synthetic d:Ljava/lang/ref/WeakReference;
2020-05-17 12:40:10 +00:00
2020-09-09 19:21:20 +00:00
.field public final synthetic e:Landroid/content/Context;
.field public final synthetic f:I
2020-05-17 12:40:10 +00:00
# direct methods
2020-09-09 19:21:20 +00:00
.method public constructor <init>(Ljava/lang/ref/WeakReference;Landroid/content/Context;I)V
2020-05-17 12:40:10 +00:00
.locals 0
2020-09-09 19:21:20 +00:00
iput-object p1, p0, Lf/d/a/e$d;->d:Ljava/lang/ref/WeakReference;
iput-object p2, p0, Lf/d/a/e$d;->e:Landroid/content/Context;
2020-05-17 12:40:10 +00:00
2020-09-09 19:21:20 +00:00
iput p3, p0, Lf/d/a/e$d;->f:I
2020-05-17 12:40:10 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public call()Ljava/lang/Object;
2020-09-09 19:21:20 +00:00
.locals 3
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
2020-09-09 19:21:20 +00:00
iget-object v0, p0, Lf/d/a/e$d;->d:Ljava/lang/ref/WeakReference;
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-09-09 19:21:20 +00:00
check-cast v0, Landroid/content/Context;
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
if-eqz v0, :cond_0
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
goto :goto_0
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
:cond_0
iget-object v0, p0, Lf/d/a/e$d;->e:Landroid/content/Context;
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
:goto_0
iget v1, p0, Lf/d/a/e$d;->f:I
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-static {v0, v1}, Lf/d/a/e;->j(Landroid/content/Context;I)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
move-result-object v2
:try_start_0
invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
2020-07-08 16:44:49 +00:00
move-result-object v0
2020-09-09 19:21:20 +00:00
invoke-virtual {v0, v1}, Landroid/content/res/Resources;->openRawResource(I)Ljava/io/InputStream;
2020-05-17 12:40:10 +00:00
move-result-object v0
2020-09-09 19:21:20 +00:00
invoke-static {v0, v2}, Lf/d/a/e;->d(Ljava/io/InputStream;Ljava/lang/String;)Lf/d/a/n;
2020-07-08 16:44:49 +00:00
move-result-object v0
:try_end_0
2020-09-09 19:21:20 +00:00
.catch Landroid/content/res/Resources$NotFoundException; {:try_start_0 .. :try_end_0} :catch_0
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
goto :goto_1
2020-07-08 16:44:49 +00:00
:catch_0
move-exception v0
2020-09-09 19:21:20 +00:00
new-instance v1, Lf/d/a/n;
2020-07-08 16:44:49 +00:00
2020-09-09 19:21:20 +00:00
invoke-direct {v1, v0}, Lf/d/a/n;-><init>(Ljava/lang/Throwable;)V
2020-07-08 16:44:49 +00:00
move-object v0, v1
2020-09-09 19:21:20 +00:00
:goto_1
2020-05-17 12:40:10 +00:00
return-object v0
.end method