apkfuckery/com.discord/smali/e/c/a/l0.smali
2020-04-27 22:53:11 +02:00

121 lines
2.5 KiB
Smali

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