apkfuckery/com.discord/smali/f/c/a/l0.smali
2020-05-11 21:22:21 +02:00

121 lines
2.5 KiB
Smali

.class public Lf/c/a/l0;
.super Ljava/lang/Object;
.source "AttributionHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field public final synthetic d:Lf/c/a/g0;
# direct methods
.method public constructor <init>(Lf/c/a/g0;)V
.locals 0
iput-object p1, p0, Lf/c/a/l0;->d:Lf/c/a/g0;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 6
iget-object v0, p0, Lf/c/a/l0;->d:Lf/c/a/g0;
iget-boolean v1, v0, Lf/c/a/g0;->f:Z
const/4 v2, 0x0
if-eqz v1, :cond_0
iget-object v0, v0, Lf/c/a/g0;->c:Lf/c/a/u0;
new-array v1, v2, [Ljava/lang/Object;
check-cast v0, Lf/c/a/b1;
const-string v2, "Attribution handler is paused"
invoke-virtual {v0, v2, v1}, Lf/c/a/b1;->a(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_0
iget-object v1, v0, Lf/c/a/g0;->c:Lf/c/a/u0;
const/4 v3, 0x1
new-array v4, v3, [Ljava/lang/Object;
iget-object v5, v0, Lf/c/a/g0;->d:Lf/c/a/s;
invoke-virtual {v5}, Lf/c/a/s;->f()Ljava/lang/String;
move-result-object v5
aput-object v5, v4, v2
check-cast v1, Lf/c/a/b1;
const-string v5, "%s"
invoke-virtual {v1, v5, v4}, Lf/c/a/b1;->d(Ljava/lang/String;[Ljava/lang/Object;)V
:try_start_0
iget-object v1, v0, Lf/c/a/g0;->d:Lf/c/a/s;
invoke-static {v1}, Ls/a/b/b/a;->a(Lf/c/a/s;)Lf/c/a/o1;
move-result-object v1
instance-of v4, v1, Lf/c/a/m0;
if-nez v4, :cond_1
goto :goto_0
:cond_1
check-cast v1, Lf/c/a/m0;
iget-object v4, v0, Lf/c/a/g0;->a:Lf/c/a/p0;
new-instance v5, Lf/c/a/k0;
invoke-direct {v5, v0, v1}, Lf/c/a/k0;-><init>(Lf/c/a/g0;Lf/c/a/m0;)V
iget-object v1, v4, Lf/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {v1, v5}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v1
iget-object v0, v0, Lf/c/a/g0;->c:Lf/c/a/u0;
new-array v3, v3, [Ljava/lang/Object;
invoke-virtual {v1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
move-result-object v1
aput-object v1, v3, v2
check-cast v0, Lf/c/a/b1;
const-string v1, "Failed to get attribution (%s)"
invoke-virtual {v0, v1, v3}, Lf/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
return-void
.end method