apkfuckery/com.discord/smali/f/d/a/n.smali
2020-07-08 16:44:49 +00:00

159 lines
3 KiB
Smali

.class public Lf/d/a/n;
.super Ljava/lang/Object;
.source "LottieTask.java"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field public final synthetic d:Lf/d/a/o;
# direct methods
.method public constructor <init>(Lf/d/a/o;)V
.locals 0
iput-object p1, p0, Lf/d/a/n;->d:Lf/d/a/o;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 4
iget-object v0, p0, Lf/d/a/n;->d:Lf/d/a/o;
iget-object v0, v0, Lf/d/a/o;->d:Lf/d/a/m;
if-nez v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lf/d/a/n;->d:Lf/d/a/o;
iget-object v0, v0, Lf/d/a/o;->d:Lf/d/a/m;
iget-object v1, v0, Lf/d/a/m;->a:Ljava/lang/Object;
if-eqz v1, :cond_2
iget-object v0, p0, Lf/d/a/n;->d:Lf/d/a/o;
monitor-enter v0
:try_start_0
new-instance v2, Ljava/util/ArrayList;
iget-object v3, v0, Lf/d/a/o;->a:Ljava/util/Set;
invoke-direct {v2, v3}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v2
:goto_0
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_1
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Lf/d/a/i;
invoke-interface {v3, v1}, Lf/d/a/i;->a(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:cond_1
monitor-exit v0
goto :goto_2
:catchall_0
move-exception v1
monitor-exit v0
throw v1
:cond_2
iget-object v1, p0, Lf/d/a/n;->d:Lf/d/a/o;
iget-object v0, v0, Lf/d/a/m;->b:Ljava/lang/Throwable;
monitor-enter v1
:try_start_1
new-instance v2, Ljava/util/ArrayList;
iget-object v3, v1, Lf/d/a/o;->b:Ljava/util/Set;
invoke-direct {v2, v3}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
invoke-virtual {v2}, Ljava/util/ArrayList;->isEmpty()Z
move-result v3
if-eqz v3, :cond_3
const-string v2, "Lottie encountered an error but no failure listener was added:"
invoke-static {v2, v0}, Lf/d/a/y/c;->c(Ljava/lang/String;Ljava/lang/Throwable;)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_1
monitor-exit v1
goto :goto_2
:cond_3
:try_start_2
invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v2
:goto_1
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_4
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Lf/d/a/i;
invoke-interface {v3, v0}, Lf/d/a/i;->a(Ljava/lang/Object;)V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
goto :goto_1
:cond_4
monitor-exit v1
:goto_2
return-void
:catchall_1
move-exception v0
monitor-exit v1
throw v0
.end method