apkfuckery/com.discord/smali/f/c/a/s.smali
2020-11-02 23:44:01 +00:00

197 lines
4.3 KiB
Smali

.class public Lf/c/a/s;
.super Ljava/lang/Object;
.source "ActivityHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field public final synthetic d:Landroid/net/Uri;
.field public final synthetic e:J
.field public final synthetic f:Lf/c/a/a;
# direct methods
.method public constructor <init>(Lf/c/a/a;Landroid/net/Uri;J)V
.locals 0
iput-object p1, p0, Lf/c/a/s;->f:Lf/c/a/a;
iput-object p2, p0, Lf/c/a/s;->d:Landroid/net/Uri;
iput-wide p3, p0, Lf/c/a/s;->e:J
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 14
iget-object v0, p0, Lf/c/a/s;->f:Lf/c/a/a;
iget-object v1, p0, Lf/c/a/s;->d:Landroid/net/Uri;
iget-wide v2, p0, Lf/c/a/s;->e:J
invoke-virtual {v0}, Lf/c/a/a;->u()Z
move-result v4
if-nez v4, :cond_0
goto/16 :goto_1
:cond_0
invoke-static {v1}, Lf/c/a/e2;->x(Landroid/net/Uri;)Z
move-result v4
const/4 v5, 0x0
if-eqz v4, :cond_1
iget-object v0, v0, Lf/c/a/a;->d:Lf/c/a/w0;
const-string v2, "Deep link ("
invoke-static {v2}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
invoke-virtual {v1}, Landroid/net/Uri;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ") processing skipped"
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
new-array v2, v5, [Ljava/lang/Object;
invoke-interface {v0, v1, v2}, Lf/c/a/w0;->f(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_1
:cond_1
iget-object v4, v0, Lf/c/a/a;->c:Lf/c/a/v;
iget-object v6, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v7, v0, Lf/c/a/a;->l:Lf/c/a/p0;
iget-object v8, v0, Lf/c/a/a;->q:Lf/c/a/x1;
const/4 v9, 0x0
if-nez v1, :cond_2
goto :goto_0
:cond_2
invoke-virtual {v1}, Landroid/net/Uri;->toString()Ljava/lang/String;
move-result-object v10
if-eqz v10, :cond_5
invoke-virtual {v10}, Ljava/lang/String;->length()I
move-result v11
if-nez v11, :cond_3
goto :goto_0
:cond_3
invoke-static {}, Lf/c/a/a0;->a()Lf/c/a/w0;
move-result-object v11
const/4 v12, 0x1
new-array v13, v12, [Ljava/lang/Object;
aput-object v1, v13, v5
const-string v5, "Url to parse (%s)"
invoke-interface {v11, v5, v13}, Lf/c/a/w0;->g(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v5, Landroid/net/UrlQuerySanitizer;
invoke-direct {v5}, Landroid/net/UrlQuerySanitizer;-><init>()V
invoke-static {}, Landroid/net/UrlQuerySanitizer;->getAllButNulLegal()Landroid/net/UrlQuerySanitizer$ValueSanitizer;
move-result-object v11
invoke-virtual {v5, v11}, Landroid/net/UrlQuerySanitizer;->setUnregisteredParameterValueSanitizer(Landroid/net/UrlQuerySanitizer$ValueSanitizer;)V
invoke-virtual {v5, v12}, Landroid/net/UrlQuerySanitizer;->setAllowUnregisteredParamaters(Z)V
invoke-virtual {v5, v10}, Landroid/net/UrlQuerySanitizer;->parseUrl(Ljava/lang/String;)V
invoke-virtual {v5}, Landroid/net/UrlQuerySanitizer;->getParameterList()Ljava/util/List;
move-result-object v5
invoke-static {v5, v4, v6, v7, v8}, Lv/a/b/b/a;->W(Ljava/util/List;Lf/c/a/v;Lf/c/a/w;Lf/c/a/p0;Lf/c/a/x1;)Lf/c/a/n1;
move-result-object v4
if-nez v4, :cond_4
goto :goto_0
:cond_4
invoke-virtual {v1}, Landroid/net/Uri;->toString()Ljava/lang/String;
move-result-object v1
iput-object v1, v4, Lf/c/a/n1;->j:Ljava/lang/String;
iput-wide v2, v4, Lf/c/a/n1;->g:J
const-string v1, "deeplink"
invoke-virtual {v4, v1}, Lf/c/a/n1;->h(Ljava/lang/String;)Lf/c/a/u;
move-result-object v9
:cond_5
:goto_0
if-nez v9, :cond_6
goto :goto_1
:cond_6
iget-object v0, v0, Lf/c/a/a;->p:Lf/c/a/a1;
check-cast v0, Lf/c/a/s1;
iget-object v1, v0, Lf/c/a/s1;->f:Lf/c/a/f2/h;
new-instance v2, Lf/c/a/s1$a;
invoke-direct {v2, v0, v9}, Lf/c/a/s1$a;-><init>(Lf/c/a/s1;Lf/c/a/u;)V
check-cast v1, Lf/c/a/f2/c;
invoke-virtual {v1, v2}, Lf/c/a/f2/c;->c(Ljava/lang/Runnable;)V
:goto_1
return-void
.end method