137 lines
4.2 KiB
Smali
137 lines
4.2 KiB
Smali
.class public final Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1$1;
|
|
.super Lj0/n/c/i;
|
|
.source "StoreMessageState.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1;->invoke()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lj0/n/c/i;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Lcom/discord/stores/StoreMessageState$State;",
|
|
"Lcom/discord/stores/StoreMessageState$State;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1$1;->this$0:Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-direct {p0, p1}, Lj0/n/c/i;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final invoke(Lcom/discord/stores/StoreMessageState$State;)Lcom/discord/stores/StoreMessageState$State;
|
|
.locals 5
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreMessageState$State;->getVisibleSpoilerEmbedMap()Ljava/util/Map;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v2, p0, Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1$1;->this$0:Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1;
|
|
|
|
iget v2, v2, Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1;->$spoilerEmbedIndex:I
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget-object v1, Lj0/i/p;->d:Lj0/i/p;
|
|
|
|
:goto_0
|
|
check-cast v1, Ljava/util/Set;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreMessageState$State;->getVisibleSpoilerEmbedMap()Ljava/util/Map;
|
|
|
|
move-result-object v2
|
|
|
|
iget-object v3, p0, Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1$1;->this$0:Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1;
|
|
|
|
iget v3, v3, Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1;->$spoilerEmbedIndex:I
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object v4, p0, Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1$1;->this$0:Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1;
|
|
|
|
iget-object v4, v4, Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1;->$key:Ljava/lang/String;
|
|
|
|
invoke-static {v1, v4}, Lf/n/a/k/a;->plus(Ljava/util/Set;Ljava/lang/Object;)Ljava/util/Set;
|
|
|
|
move-result-object v1
|
|
|
|
new-instance v4, Lkotlin/Pair;
|
|
|
|
invoke-direct {v4, v3, v1}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
|
|
|
invoke-static {v2, v4}, Lf/n/a/k/a;->plus(Ljava/util/Map;Lkotlin/Pair;)Ljava/util/Map;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-static {p1, v0, v1, v2, v0}, Lcom/discord/stores/StoreMessageState$State;->copy$default(Lcom/discord/stores/StoreMessageState$State;Ljava/util/Set;Ljava/util/Map;ILjava/lang/Object;)Lcom/discord/stores/StoreMessageState$State;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_1
|
|
const-string p1, "currentState"
|
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Lcom/discord/stores/StoreMessageState$State;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessageState$revealSpoilerEmbedData$1$1;->invoke(Lcom/discord/stores/StoreMessageState$State;)Lcom/discord/stores/StoreMessageState$State;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|