apkfuckery/com.discord/smali/f/a/b/o.smali

200 lines
5 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lf/a/b/o;
.super Ljava/lang/Object;
2020-09-02 04:07:20 +00:00
.source "AppState.kt"
2020-05-17 12:40:10 +00:00
2020-07-14 22:43:59 +00:00
# static fields
2020-09-02 04:07:20 +00:00
.field public static final a:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
.field public static final b:Lrx/subjects/BehaviorSubject;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/subjects/BehaviorSubject<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.end field
.field public static final c:Lf/a/b/o;
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
# direct methods
.method public static constructor <clinit>()V
2020-09-02 04:07:20 +00:00
.locals 2
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
new-instance v0, Lf/a/b/o;
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
invoke-direct {v0}, Lf/a/b/o;-><init>()V
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
sput-object v0, Lf/a/b/o;->c:Lf/a/b/o;
new-instance v0, Ljava/util/ArrayList;
const/4 v1, 0x4
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V
sput-object v0, Lf/a/b/o;->a:Ljava/util/ArrayList;
const/4 v0, 0x0
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-static {v0}, Lrx/subjects/BehaviorSubject;->h0(Ljava/lang/Object;)Lrx/subjects/BehaviorSubject;
move-result-object v0
sput-object v0, Lf/a/b/o;->b:Lrx/subjects/BehaviorSubject;
2020-07-08 16:44:49 +00:00
return-void
.end method
2020-07-14 22:43:59 +00:00
.method public constructor <init>()V
2020-07-08 16:44:49 +00:00
.locals 0
2020-07-14 22:43:59 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-07-08 16:44:49 +00:00
return-void
.end method
2020-07-14 22:43:59 +00:00
# virtual methods
2020-09-02 04:07:20 +00:00
.method public final declared-synchronized a(Ljava/lang/Object;)V
2020-09-16 23:45:23 +00:00
.locals 3
2020-09-02 04:07:20 +00:00
monitor-enter p0
2020-09-16 21:45:36 +00:00
:try_start_0
2020-09-16 23:45:23 +00:00
const-string v0, "consumer"
2020-09-22 06:09:03 +00:00
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
sget-object v0, Lf/a/b/o;->a:Ljava/util/ArrayList;
invoke-interface {v0, p1}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
sget-object v0, Lcom/discord/app/AppLog;->d:Lcom/discord/app/AppLog;
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
new-instance v1, Ljava/lang/StringBuilder;
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
const-string v2, "Gateway Connection consumer add "
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2020-09-02 04:07:20 +00:00
move-result-object p1
2020-09-16 23:45:23 +00:00
const/4 v1, 0x2
const/4 v2, 0x0
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-static {v0, p1, v2, v1, v2}, Lcom/discord/utilities/logging/Logger;->d$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
2020-09-02 04:07:20 +00:00
sget-object p1, Lf/a/b/o;->b:Lrx/subjects/BehaviorSubject;
sget-object v0, Lf/a/b/o;->a:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
move-result-object v0
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
invoke-virtual {p1, v0}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public final declared-synchronized b(Ljava/lang/Object;)V
2020-09-16 23:45:23 +00:00
.locals 3
2020-09-02 04:07:20 +00:00
monitor-enter p0
2020-09-16 21:45:36 +00:00
:try_start_0
2020-09-16 23:45:23 +00:00
const-string v0, "consumer"
2020-09-22 06:09:03 +00:00
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
sget-object v0, Lf/a/b/o;->a:Ljava/util/ArrayList;
invoke-interface {v0, p1}, Ljava/util/Collection;->remove(Ljava/lang/Object;)Z
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
sget-object v0, Lcom/discord/app/AppLog;->d:Lcom/discord/app/AppLog;
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
new-instance v1, Ljava/lang/StringBuilder;
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
const-string v2, "Gateway Connection consumer rm "
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-07-14 22:43:59 +00:00
move-result-object p1
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
const/4 v1, 0x2
const/4 v2, 0x0
2020-09-02 04:07:20 +00:00
2020-09-16 23:45:23 +00:00
invoke-static {v0, p1, v2, v1, v2}, Lcom/discord/utilities/logging/Logger;->d$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V
2020-09-02 04:07:20 +00:00
sget-object p1, Lf/a/b/o;->b:Lrx/subjects/BehaviorSubject;
sget-object v0, Lf/a/b/o;->a:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-virtual {p1, v0}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
2020-05-17 12:40:10 +00:00
.end method