apkfuckery/com.discord/smali/WidgetFriendsAddUserRequestsModel$a.smali

110 lines
3.2 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final LWidgetFriendsAddUserRequestsModel$a;
.super Ljava/lang/Object;
.source "WidgetFriendsAddUserRequestsModel.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = LWidgetFriendsAddUserRequestsModel;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
2019-12-06 03:29:40 +00:00
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
2019-12-06 03:29:40 +00:00
# virtual methods
.method public final a()Lrx/Observable;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lrx/Observable<",
"LWidgetFriendsAddUserRequestsModel;",
">;"
}
.end annotation
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getUserRelationships()Lcom/discord/stores/StoreUserRelationships;
move-result-object v0
const/4 v1, 0x4
2020-03-14 04:13:36 +00:00
invoke-virtual {v0, v1}, Lcom/discord/stores/StoreUserRelationships;->observeForType(I)Lrx/Observable;
2019-12-06 03:29:40 +00:00
move-result-object v0
sget-object v1, LWidgetFriendsAddUserRequestsModel$a$a;->e:LWidgetFriendsAddUserRequestsModel$a$a;
2020-05-11 19:22:21 +00:00
invoke-virtual {v0, v1}, Lrx/Observable;->f(Lg0/l/i;)Lrx/Observable;
2019-12-06 03:29:40 +00:00
move-result-object v0
sget-object v1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {v1}, Lcom/discord/stores/StoreStream$Companion;->getUserRelationships()Lcom/discord/stores/StoreUserRelationships;
move-result-object v1
const/4 v2, 0x3
2020-03-14 04:13:36 +00:00
invoke-virtual {v1, v2}, Lcom/discord/stores/StoreUserRelationships;->observeForType(I)Lrx/Observable;
2019-12-06 03:29:40 +00:00
move-result-object v1
sget-object v2, LWidgetFriendsAddUserRequestsModel$a$a;->f:LWidgetFriendsAddUserRequestsModel$a$a;
2020-05-11 19:22:21 +00:00
invoke-virtual {v1, v2}, Lrx/Observable;->f(Lg0/l/i;)Lrx/Observable;
2019-12-06 03:29:40 +00:00
move-result-object v1
sget-object v2, LWidgetFriendsAddUserRequestsModel$a$b;->d:LWidgetFriendsAddUserRequestsModel$a$b;
if-eqz v2, :cond_0
2020-05-11 19:22:21 +00:00
new-instance v3, Lq;
2019-12-06 03:29:40 +00:00
2020-05-11 19:22:21 +00:00
invoke-direct {v3, v2}, Lq;-><init>(Lkotlin/jvm/functions/Function2;)V
2019-12-06 03:29:40 +00:00
move-object v2, v3
:cond_0
check-cast v2, Lrx/functions/Func2;
invoke-static {v0, v1, v2}, Lrx/Observable;->a(Lrx/Observable;Lrx/Observable;Lrx/functions/Func2;)Lrx/Observable;
move-result-object v0
const-string v1, "Observable\n .comb\u2026erRequestsModel\n )"
2020-05-11 19:22:21 +00:00
invoke-static {v0, v1}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
invoke-static {v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->computationLatest(Lrx/Observable;)Lrx/Observable;
move-result-object v0
invoke-virtual {v0}, Lrx/Observable;->a()Lrx/Observable;
move-result-object v0
const-string v1, "Observable\n .comb\u2026 .distinctUntilChanged()"
2020-05-11 19:22:21 +00:00
invoke-static {v0, v1}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
return-object v0
2019-07-24 11:27:29 +00:00
.end method