apkfuckery/com.discord/smali/e/c/a/l0.smali

122 lines
2.5 KiB
Smali
Raw Normal View History

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