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

106 lines
2.2 KiB
Smali
Raw Normal View History

2020-05-11 18:18:42 +00:00
.class public Le/c/a/k0;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "AttributionHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
2020-05-11 18:18:42 +00:00
.field public final synthetic d:Le/c/a/m0;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
.field public final synthetic e:Le/c/a/g0;
2019-12-06 03:29:40 +00:00
# direct methods
2020-05-11 18:18:42 +00:00
.method public constructor <init>(Le/c/a/g0;Le/c/a/m0;)V
2019-12-06 03:29:40 +00:00
.locals 0
2020-05-11 18:18:42 +00:00
iput-object p1, p0, Le/c/a/k0;->e:Le/c/a/g0;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
iput-object p2, p0, Le/c/a/k0;->d:Le/c/a/m0;
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 5
2020-05-11 18:18:42 +00:00
iget-object v0, p0, Le/c/a/k0;->e:Le/c/a/g0;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
iget-object v0, v0, Le/c/a/g0;->b:Ljava/lang/ref/WeakReference;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v0
2020-05-11 18:18:42 +00:00
check-cast v0, Le/c/a/s0;
2019-12-06 03:29:40 +00:00
if-nez v0, :cond_0
return-void
:cond_0
2020-05-11 18:18:42 +00:00
iget-object v1, p0, Le/c/a/k0;->e:Le/c/a/g0;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
iget-object v2, p0, Le/c/a/k0;->d:Le/c/a/m0;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
invoke-virtual {v1, v0, v2}, Le/c/a/g0;->a(Le/c/a/s0;Le/c/a/o1;)V
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
iget-object v1, v2, Le/c/a/o1;->f:Lorg/json/JSONObject;
2019-12-06 03:29:40 +00:00
if-nez v1, :cond_1
goto :goto_0
:cond_1
const-string v3, "attribution"
invoke-virtual {v1, v3}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
move-result-object v1
if-nez v1, :cond_2
goto :goto_0
:cond_2
const/4 v3, 0x0
const-string v4, "deeplink"
invoke-virtual {v1, v4, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
if-nez v1, :cond_3
goto :goto_0
:cond_3
invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
move-result-object v1
2020-05-11 18:18:42 +00:00
iput-object v1, v2, Le/c/a/m0;->h:Landroid/net/Uri;
2019-12-06 03:29:40 +00:00
:goto_0
2020-05-11 18:18:42 +00:00
check-cast v0, Le/c/a/g;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
iget-object v1, v0, Le/c/a/g;->a:Le/c/a/p0;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
new-instance v3, Le/c/a/e;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
invoke-direct {v3, v0, v2}, Le/c/a/e;-><init>(Le/c/a/g;Le/c/a/m0;)V
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
iget-object v0, v1, Le/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v3}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
return-void
.end method