apkfuckery/com.discord/smali/f/c/a/y.smali

96 lines
1.9 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public Lf/c/a/y;
.super Ljava/lang/Object;
2020-11-14 03:19:56 +00:00
.source "AttributionHandler.java"
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
# interfaces
.implements Ljava/lang/Runnable;
2020-11-12 02:11:44 +00:00
2020-11-14 02:19:59 +00:00
2020-11-14 03:19:56 +00:00
# instance fields
.field public final synthetic d:Lf/c/a/a0;
2020-11-13 19:18:44 +00:00
2020-11-14 03:19:56 +00:00
.field public final synthetic e:Lf/c/a/u;
2020-11-14 02:19:59 +00:00
# direct methods
2020-11-14 03:19:56 +00:00
.method public constructor <init>(Lf/c/a/u;Lf/c/a/a0;)V
2020-11-14 02:19:59 +00:00
.locals 0
2020-11-13 19:18:44 +00:00
2020-11-14 03:19:56 +00:00
iput-object p1, p0, Lf/c/a/y;->e:Lf/c/a/u;
iput-object p2, p0, Lf/c/a/y;->d:Lf/c/a/a0;
2020-11-12 02:11:44 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2020-11-14 03:19:56 +00:00
.method public run()V
.locals 5
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
iget-object v0, p0, Lf/c/a/y;->e:Lf/c/a/u;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
iget-object v0, v0, Lf/c/a/u;->h:Ljava/lang/ref/WeakReference;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
move-result-object v0
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
check-cast v0, Lf/c/a/h0;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
if-nez v0, :cond_0
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
return-void
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
:cond_0
iget-object v1, p0, Lf/c/a/y;->e:Lf/c/a/u;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
iget-object v2, p0, Lf/c/a/y;->d:Lf/c/a/a0;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-virtual {v1, v0, v2}, Lf/c/a/u;->a(Lf/c/a/h0;Lf/c/a/y0;)V
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
iget-object v1, v2, Lf/c/a/y0;->f:Lorg/json/JSONObject;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
if-nez v1, :cond_1
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
:cond_1
const-string v3, "attribution"
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-virtual {v1, v3}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
move-result-object v1
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
if-nez v1, :cond_2
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
:cond_2
const/4 v3, 0x0
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
const-string v4, "deeplink"
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
invoke-virtual {v1, v4, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
move-result-object v1
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
if-nez v1, :cond_3
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
goto :goto_0
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
:cond_3
invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
move-result-object v1
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
iput-object v1, v2, Lf/c/a/a0;->i:Landroid/net/Uri;
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
:goto_0
invoke-interface {v0, v2}, Lf/c/a/h0;->j(Lf/c/a/a0;)V
2020-11-12 02:11:44 +00:00
2020-11-14 03:19:56 +00:00
return-void
2020-11-12 02:11:44 +00:00
.end method