apkfuckery/com.discord/smali/com/discord/stores/StoreGuilds$Actions.smali

140 lines
4 KiB
Smali
Raw Normal View History

2020-03-19 04:19:10 +00:00
.class public final Lcom/discord/stores/StoreGuilds$Actions;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
2020-03-19 04:19:10 +00:00
.source "StoreGuilds.kt"
2019-07-24 11:27:29 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/discord/stores/StoreGuilds;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2020-03-19 04:19:10 +00:00
accessFlags = 0x19
2019-07-24 11:27:29 +00:00
name = "Actions"
.end annotation
2020-03-19 04:19:10 +00:00
# static fields
.field public static final INSTANCE:Lcom/discord/stores/StoreGuilds$Actions;
2019-07-24 11:27:29 +00:00
2020-03-19 04:19:10 +00:00
# direct methods
.method public static constructor <clinit>()V
2019-12-06 03:29:40 +00:00
.locals 1
2019-07-24 11:27:29 +00:00
2020-03-19 04:19:10 +00:00
new-instance v0, Lcom/discord/stores/StoreGuilds$Actions;
2019-07-24 11:27:29 +00:00
2020-03-19 04:19:10 +00:00
invoke-direct {v0}, Lcom/discord/stores/StoreGuilds$Actions;-><init>()V
2019-07-24 11:27:29 +00:00
2020-03-19 04:19:10 +00:00
sput-object v0, Lcom/discord/stores/StoreGuilds$Actions;->INSTANCE:Lcom/discord/stores/StoreGuilds$Actions;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
return-void
2019-07-24 11:27:29 +00:00
.end method
2020-03-19 04:19:10 +00:00
.method public constructor <init>()V
.locals 0
2019-07-24 11:27:29 +00:00
2020-03-19 04:19:10 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-07-24 11:27:29 +00:00
2020-03-19 04:19:10 +00:00
return-void
2019-07-24 11:27:29 +00:00
.end method
2020-03-19 04:19:10 +00:00
.method public static final requestMembers(Lcom/discord/app/AppComponent;Lrx/Observable;Z)V
.locals 10
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/discord/app/AppComponent;",
"Lrx/Observable<",
"Ljava/lang/String;",
">;Z)V"
}
.end annotation
2020-03-19 04:19:10 +00:00
const/4 v0, 0x0
if-eqz p0, :cond_1
if-eqz p1, :cond_0
2019-07-24 11:27:29 +00:00
const-wide/16 v1, 0x3e8
2020-03-19 04:19:10 +00:00
sget-object v3, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invoke-virtual {p1, v1, v2, v3}, Lrx/Observable;->b(JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
2019-07-24 11:27:29 +00:00
move-result-object p1
2020-03-19 04:19:10 +00:00
new-instance v1, Lcom/discord/stores/StoreGuilds$Actions$requestMembers$1;
2019-07-24 11:27:29 +00:00
2020-03-19 04:19:10 +00:00
invoke-direct {v1, p2}, Lcom/discord/stores/StoreGuilds$Actions$requestMembers$1;-><init>(Z)V
2019-07-24 11:27:29 +00:00
2020-03-26 05:26:27 +00:00
invoke-virtual {p1, v1}, Lrx/Observable;->f(Lg0/l/i;)Lrx/Observable;
2019-07-24 11:27:29 +00:00
move-result-object p1
2020-03-19 04:19:10 +00:00
sget-object p2, Lcom/discord/stores/StoreGuilds$Actions$requestMembers$2;->INSTANCE:Lcom/discord/stores/StoreGuilds$Actions$requestMembers$2;
2019-07-24 11:27:29 +00:00
2020-03-26 05:26:27 +00:00
invoke-virtual {p1, p2}, Lrx/Observable;->c(Lg0/l/i;)Lrx/Observable;
2019-07-24 11:27:29 +00:00
move-result-object p1
2019-12-06 03:29:40 +00:00
invoke-virtual {p1}, Lrx/Observable;->a()Lrx/Observable;
2019-07-24 11:27:29 +00:00
move-result-object p1
2020-03-19 04:19:10 +00:00
sget-object p2, Lcom/discord/stores/StoreGuilds$Actions$requestMembers$3;->INSTANCE:Lcom/discord/stores/StoreGuilds$Actions$requestMembers$3;
2019-07-24 11:27:29 +00:00
2020-03-26 05:26:27 +00:00
invoke-virtual {p1, p2}, Lrx/Observable;->k(Lg0/l/i;)Lrx/Observable;
2019-07-24 11:27:29 +00:00
move-result-object p1
2020-03-19 04:19:10 +00:00
const-string p2, "partialUserNameTokenEmit\u2026 }\n }"
2019-07-24 11:27:29 +00:00
2020-03-26 05:26:27 +00:00
invoke-static {p1, p2}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-07-24 11:27:29 +00:00
2020-03-19 04:19:10 +00:00
invoke-static {p1}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationLatest(Lrx/Observable;)Lrx/Observable;
2019-07-24 11:27:29 +00:00
move-result-object p1
2020-03-19 04:19:10 +00:00
const/4 p2, 0x2
2019-07-24 11:27:29 +00:00
2020-03-19 04:19:10 +00:00
invoke-static {p1, p0, v0, p2, v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
2019-07-24 11:27:29 +00:00
2020-03-19 04:19:10 +00:00
move-result-object v1
2019-07-24 11:27:29 +00:00
2020-03-19 04:19:10 +00:00
const/4 v2, 0x0
2019-07-24 11:27:29 +00:00
2020-03-19 04:19:10 +00:00
const/4 v4, 0x0
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
sget-object v5, Lcom/discord/stores/StoreGuilds$Actions$requestMembers$4;->INSTANCE:Lcom/discord/stores/StoreGuilds$Actions$requestMembers$4;
2019-12-06 03:29:40 +00:00
2020-03-19 04:19:10 +00:00
const/4 v6, 0x0
2019-07-24 11:27:29 +00:00
2020-03-19 04:19:10 +00:00
const/4 v7, 0x0
2019-07-24 11:27:29 +00:00
2020-03-19 04:19:10 +00:00
const/16 v8, 0x35
2019-07-24 11:27:29 +00:00
2020-03-19 04:19:10 +00:00
const/4 v9, 0x0
const-string v3, "requestGuildMembers"
invoke-static/range {v1 .. v9}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
2019-07-24 11:27:29 +00:00
return-void
2020-03-19 04:19:10 +00:00
:cond_0
const-string p0, "partialUserNameTokenEmitted"
2020-03-26 05:26:27 +00:00
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
2020-03-19 04:19:10 +00:00
throw v0
:cond_1
const-string p0, "fragment"
2020-03-26 05:26:27 +00:00
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
2020-03-19 04:19:10 +00:00
throw v0
2019-07-24 11:27:29 +00:00
.end method