153 lines
3.8 KiB
Smali
153 lines
3.8 KiB
Smali
|
.class final Lcom/discord/stores/StoreApplicationStreaming$getForGuild$1$1;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "StoreApplicationStreaming.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lrx/functions/b;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/discord/stores/StoreApplicationStreaming$getForGuild$1;->call(Ljava/lang/Boolean;)Lrx/Observable;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x18
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
"R:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">",
|
||
|
"Ljava/lang/Object;",
|
||
|
"Lrx/functions/b<",
|
||
|
"TT;TR;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic this$0:Lcom/discord/stores/StoreApplicationStreaming$getForGuild$1;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lcom/discord/stores/StoreApplicationStreaming$getForGuild$1;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Lcom/discord/stores/StoreApplicationStreaming$getForGuild$1$1;->this$0:Lcom/discord/stores/StoreApplicationStreaming$getForGuild$1;
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p1, Ljava/util/Map;
|
||
|
|
||
|
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreApplicationStreaming$getForGuild$1$1;->call(Ljava/util/Map;)Ljava/util/Map;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public final call(Ljava/util/Map;)Ljava/util/Map;
|
||
|
.locals 7
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/util/Map<",
|
||
|
"Ljava/lang/Long;",
|
||
|
"Lcom/discord/models/domain/ModelApplicationStream;",
|
||
|
">;)",
|
||
|
"Ljava/util/Map<",
|
||
|
"Ljava/lang/Long;",
|
||
|
"Lcom/discord/models/domain/ModelApplicationStream;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "streams"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
new-instance v0, Ljava/util/LinkedHashMap;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
||
|
|
||
|
check-cast v0, Ljava/util/Map;
|
||
|
|
||
|
invoke-interface {p1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_2
|
||
|
|
||
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/util/Map$Entry;
|
||
|
|
||
|
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Lcom/discord/models/domain/ModelApplicationStream;
|
||
|
|
||
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelApplicationStream;->getGuildId()J
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
iget-object v4, p0, Lcom/discord/stores/StoreApplicationStreaming$getForGuild$1$1;->this$0:Lcom/discord/stores/StoreApplicationStreaming$getForGuild$1;
|
||
|
|
||
|
iget-wide v4, v4, Lcom/discord/stores/StoreApplicationStreaming$getForGuild$1;->$guildId:J
|
||
|
|
||
|
cmp-long v6, v2, v4
|
||
|
|
||
|
if-nez v6, :cond_1
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:goto_1
|
||
|
if-eqz v2, :cond_0
|
||
|
|
||
|
invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
return-object v0
|
||
|
.end method
|