apkfuckery/com.discord/smali/e/c/a/g$b.smali

234 lines
5 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Le/c/a/g$b;
.super Ljava/lang/Object;
.source "ActivityHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Le/c/a/g;->a(Ljava/lang/String;Z)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic d:Z
.field public final synthetic e:Ljava/lang/String;
.field public final synthetic f:Le/c/a/g;
# direct methods
.method public constructor <init>(Le/c/a/g;ZLjava/lang/String;)V
.locals 0
iput-object p1, p0, Le/c/a/g$b;->f:Le/c/a/g;
iput-boolean p2, p0, Le/c/a/g$b;->d:Z
iput-object p3, p0, Le/c/a/g$b;->e:Ljava/lang/String;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 10
iget-boolean v0, p0, Le/c/a/g$b;->d:Z
if-nez v0, :cond_0
new-instance v0, Le/c/a/w1;
iget-object v1, p0, Le/c/a/g$b;->f:Le/c/a/g;
iget-object v1, v1, Le/c/a/g;->j:Le/c/a/v;
iget-object v1, v1, Le/c/a/v;->a:Landroid/content/Context;
invoke-direct {v0, v1}, Le/c/a/w1;-><init>(Landroid/content/Context;)V
iget-object v1, p0, Le/c/a/g$b;->e:Ljava/lang/String;
invoke-virtual {v0, v1}, Le/c/a/w1;->c(Ljava/lang/String;)V
:cond_0
iget-object v0, p0, Le/c/a/g$b;->f:Le/c/a/g;
iget-object v1, v0, Le/c/a/g;->c:Le/c/a/t;
if-nez v1, :cond_1
return-void
:cond_1
iget-object v2, p0, Le/c/a/g$b;->e:Ljava/lang/String;
invoke-virtual {v0, v1}, Le/c/a/g;->a(Le/c/a/t;)Z
move-result v1
if-nez v1, :cond_2
goto/16 :goto_0
:cond_2
invoke-virtual {v0}, Le/c/a/g;->b()Z
move-result v1
if-nez v1, :cond_3
goto/16 :goto_0
:cond_3
if-nez v2, :cond_4
goto/16 :goto_0
:cond_4
iget-object v1, v0, Le/c/a/g;->c:Le/c/a/t;
iget-object v1, v1, Le/c/a/t;->pushToken:Ljava/lang/String;
invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_5
goto/16 :goto_0
:cond_5
iget-object v1, v0, Le/c/a/g;->c:Le/c/a/t;
iput-object v2, v1, Le/c/a/t;->pushToken:Ljava/lang/String;
invoke-virtual {v0}, Le/c/a/g;->k()V
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v8
new-instance v1, Le/c/a/j1;
iget-object v4, v0, Le/c/a/g;->j:Le/c/a/v;
iget-object v5, v0, Le/c/a/g;->i:Le/c/a/q0;
iget-object v6, v0, Le/c/a/g;->c:Le/c/a/t;
iget-object v7, v0, Le/c/a/g;->n:Le/c/a/u1;
move-object v3, v1
invoke-direct/range {v3 .. v9}, Le/c/a/j1;-><init>(Le/c/a/v;Le/c/a/q0;Le/c/a/t;Le/c/a/u1;J)V
new-instance v2, Ljava/util/HashMap;
invoke-direct {v2}, Ljava/util/HashMap;-><init>()V
invoke-virtual {v1, v2}, Le/c/a/j1;->d(Ljava/util/Map;)V
invoke-virtual {v1, v2}, Le/c/a/j1;->c(Ljava/util/Map;)V
invoke-virtual {v1, v2}, Le/c/a/j1;->b(Ljava/util/Map;)V
invoke-virtual {v1, v2}, Le/c/a/j1;->a(Ljava/util/Map;)V
const-string v3, "push"
const-string v4, "source"
invoke-static {v2, v4, v3}, Le/c/a/j1;->a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;)V
sget-object v3, Le/c/a/r;->k:Le/c/a/r;
invoke-virtual {v1, v3}, Le/c/a/j1;->a(Le/c/a/r;)Le/c/a/s;
move-result-object v1
const-string v3, "/sdk_info"
invoke-virtual {v1, v3}, Le/c/a/s;->b(Ljava/lang/String;)V
const-string v3, ""
invoke-virtual {v1, v3}, Le/c/a/s;->c(Ljava/lang/String;)V
invoke-virtual {v1, v2}, Le/c/a/s;->b(Ljava/util/Map;)V
iget-object v2, v0, Le/c/a/g;->b:Le/c/a/v0;
check-cast v2, Le/c/a/k1;
iget-object v3, v2, Le/c/a/k1;->a:Le/c/a/p0;
new-instance v4, Le/c/a/l1;
invoke-direct {v4, v2, v1}, Le/c/a/l1;-><init>(Le/c/a/k1;Le/c/a/s;)V
iget-object v2, v3, Le/c/a/p0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
invoke-virtual {v2, v4}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
new-instance v2, Le/c/a/w1;
iget-object v3, v0, Le/c/a/g;->j:Le/c/a/v;
iget-object v3, v3, Le/c/a/v;->a:Landroid/content/Context;
invoke-direct {v2, v3}, Le/c/a/w1;-><init>(Landroid/content/Context;)V
invoke-virtual {v2}, Le/c/a/w1;->d()V
iget-object v2, v0, Le/c/a/g;->j:Le/c/a/v;
iget-boolean v2, v2, Le/c/a/v;->f:Z
if-eqz v2, :cond_6
iget-object v0, v0, Le/c/a/g;->d:Le/c/a/u0;
const/4 v2, 0x1
new-array v2, v2, [Ljava/lang/Object;
const/4 v3, 0x0
invoke-virtual {v1}, Le/c/a/s;->m()Ljava/lang/String;
move-result-object v1
aput-object v1, v2, v3
check-cast v0, Le/c/a/b1;
const-string v1, "Buffered event %s"
invoke-virtual {v0, v1, v2}, Le/c/a/b1;->c(Ljava/lang/String;[Ljava/lang/Object;)V
goto :goto_0
:cond_6
iget-object v0, v0, Le/c/a/g;->b:Le/c/a/v0;
check-cast v0, Le/c/a/k1;
invoke-virtual {v0}, Le/c/a/k1;->c()V
:goto_0
return-void
.end method