apkfuckery/com.discord/smali/f/c/a/b.smali
2020-07-25 02:57:47 +00:00

116 lines
2.5 KiB
Smali

.class public Lf/c/a/b;
.super Ljava/lang/Object;
.source "ActivityHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field public final synthetic d:Lf/c/a/q0;
.field public final synthetic e:Lf/c/a/a;
# direct methods
.method public constructor <init>(Lf/c/a/a;Lf/c/a/q0;)V
.locals 0
iput-object p1, p0, Lf/c/a/b;->e:Lf/c/a/a;
iput-object p2, p0, Lf/c/a/b;->d:Lf/c/a/q0;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 6
iget-object v0, p0, Lf/c/a/b;->e:Lf/c/a/a;
iget-object v1, p0, Lf/c/a/b;->d:Lf/c/a/q0;
if-eqz v0, :cond_2
iget-object v2, v1, Lf/c/a/r1;->c:Ljava/lang/String;
invoke-virtual {v0, v2}, Lf/c/a/a;->K(Ljava/lang/String;)V
new-instance v2, Landroid/os/Handler;
iget-object v3, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v3, v3, Lf/c/a/w;->d:Landroid/content/Context;
invoke-virtual {v3}, Landroid/content/Context;->getMainLooper()Landroid/os/Looper;
move-result-object v3
invoke-direct {v2, v3}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
iget-boolean v3, v1, Lf/c/a/r1;->a:Z
const/4 v4, 0x0
if-eqz v3, :cond_0
iget-object v3, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v3, v3, Lf/c/a/w;->n:Lf/c/a/k1;
if-eqz v3, :cond_0
iget-object v3, v0, Lf/c/a/a;->d:Lf/c/a/w0;
new-array v4, v4, [Ljava/lang/Object;
const-string v5, "Launching success event tracking listener"
invoke-interface {v3, v5, v4}, Lf/c/a/w0;->f(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v3, Lf/c/a/n;
invoke-direct {v3, v0, v1}, Lf/c/a/n;-><init>(Lf/c/a/a;Lf/c/a/q0;)V
invoke-virtual {v2, v3}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
goto :goto_0
:cond_0
iget-boolean v3, v1, Lf/c/a/r1;->a:Z
if-nez v3, :cond_1
iget-object v3, v0, Lf/c/a/a;->m:Lf/c/a/w;
iget-object v3, v3, Lf/c/a/w;->o:Lf/c/a/j1;
if-eqz v3, :cond_1
iget-object v3, v0, Lf/c/a/a;->d:Lf/c/a/w0;
new-array v4, v4, [Ljava/lang/Object;
const-string v5, "Launching failed event tracking listener"
invoke-interface {v3, v5, v4}, Lf/c/a/w0;->f(Ljava/lang/String;[Ljava/lang/Object;)V
new-instance v3, Lf/c/a/o;
invoke-direct {v3, v0, v1}, Lf/c/a/o;-><init>(Lf/c/a/a;Lf/c/a/q0;)V
invoke-virtual {v2, v3}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:cond_1
:goto_0
return-void
:cond_2
const/4 v0, 0x0
throw v0
.end method