apkfuckery/com.discord/smali/f/d/a/h.smali

105 lines
2.3 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public Lf/d/a/h;
2020-11-14 03:19:56 +00:00
.super Ljava/lang/Object;
.source "LottieCompositionFactory.java"
2020-11-12 02:11:44 +00:00
# interfaces
2020-11-14 03:19:56 +00:00
.implements Ljava/util/concurrent/Callable;
2020-11-12 02:11:44 +00:00
# annotations
2020-11-14 03:19:56 +00:00
.annotation system Ldalvik/annotation/Signature;
2020-11-12 02:11:44 +00:00
value = {
2020-11-14 03:19:56 +00:00
"Ljava/lang/Object;",
"Ljava/util/concurrent/Callable<",
"Lf/d/a/p<",
"Lf/d/a/d;",
">;>;"
2020-11-12 02:11:44 +00:00
}
.end annotation
# instance fields
2020-11-14 03:19:56 +00:00
.field public final synthetic d:Ljava/lang/ref/WeakReference;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
.field public final synthetic e:Landroid/content/Context;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
.field public final synthetic f:I
2020-11-12 02:11:44 +00:00
# direct methods
2020-11-14 03:19:56 +00:00
.method public constructor <init>(Ljava/lang/ref/WeakReference;Landroid/content/Context;I)V
.locals 0
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
iput-object p1, p0, Lf/d/a/h;->d:Ljava/lang/ref/WeakReference;
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
iput-object p2, p0, Lf/d/a/h;->e:Landroid/content/Context;
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
iput p3, p0, Lf/d/a/h;->f:I
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-11-12 02:11:44 +00:00
return-void
.end method
# virtual methods
2020-11-14 03:19:56 +00:00
.method public call()Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Throws;
2020-11-12 02:11:44 +00:00
value = {
2020-11-14 03:19:56 +00:00
Ljava/lang/Exception;
2020-11-12 02:11:44 +00:00
}
.end annotation
2020-11-14 03:19:56 +00:00
iget-object v0, p0, Lf/d/a/h;->d:Ljava/lang/ref/WeakReference;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-object v0
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
check-cast v0, Landroid/content/Context;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
if-eqz v0, :cond_0
2020-11-14 02:19:59 +00:00
goto :goto_0
:cond_0
2020-11-14 03:19:56 +00:00
iget-object v0, p0, Lf/d/a/h;->e:Landroid/content/Context;
2020-11-14 02:19:59 +00:00
:goto_0
2020-11-14 03:19:56 +00:00
iget v1, p0, Lf/d/a/h;->f:I
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
invoke-static {v0, v1}, Lf/d/a/e;->f(Landroid/content/Context;I)Ljava/lang/String;
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
move-result-object v2
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
:try_start_0
invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
move-result-object v0
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
invoke-virtual {v0, v1}, Landroid/content/res/Resources;->openRawResource(I)Ljava/io/InputStream;
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
move-result-object v0
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
invoke-static {v0, v2}, Lf/d/a/e;->b(Ljava/io/InputStream;Ljava/lang/String;)Lf/d/a/p;
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
move-result-object v0
:try_end_0
.catch Landroid/content/res/Resources$NotFoundException; {:try_start_0 .. :try_end_0} :catch_0
2020-11-14 02:19:59 +00:00
goto :goto_1
2020-11-14 03:19:56 +00:00
:catch_0
move-exception v0
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
new-instance v1, Lf/d/a/p;
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
invoke-direct {v1, v0}, Lf/d/a/p;-><init>(Ljava/lang/Throwable;)V
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
move-object v0, v1
2020-11-14 02:19:59 +00:00
:goto_1
2020-11-14 03:19:56 +00:00
return-object v0
2020-11-12 02:11:44 +00:00
.end method