92 lines
2.5 KiB
Smali
92 lines
2.5 KiB
Smali
.class public final Lcom/discord/stores/StoreStickers$observeStickerPack$2;
|
|
.super Ly/m/c/k;
|
|
.source "StoreStickers.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/stores/StoreStickers;->observeStickerPack(J)Lrx/Observable;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ly/m/c/k;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lcom/discord/stores/StoreStickers$StickerPackState;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $stickerPackId:J
|
|
|
|
.field public final synthetic this$0:Lcom/discord/stores/StoreStickers;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/stores/StoreStickers;J)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreStickers$observeStickerPack$2;->this$0:Lcom/discord/stores/StoreStickers;
|
|
|
|
iput-wide p2, p0, Lcom/discord/stores/StoreStickers$observeStickerPack$2;->$stickerPackId:J
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Ly/m/c/k;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final invoke()Lcom/discord/stores/StoreStickers$StickerPackState;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreStickers$observeStickerPack$2;->this$0:Lcom/discord/stores/StoreStickers;
|
|
|
|
invoke-static {v0}, Lcom/discord/stores/StoreStickers;->access$getStickerPacks$p(Lcom/discord/stores/StoreStickers;)Ljava/util/Map;
|
|
|
|
move-result-object v0
|
|
|
|
iget-wide v1, p0, Lcom/discord/stores/StoreStickers$observeStickerPack$2;->$stickerPackId:J
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/discord/stores/StoreStickers$StickerPackState;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
sget-object v0, Lcom/discord/stores/StoreStickers$StickerPackState$Unknown;->INSTANCE:Lcom/discord/stores/StoreStickers$StickerPackState$Unknown;
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lcom/discord/stores/StoreStickers$observeStickerPack$2;->invoke()Lcom/discord/stores/StoreStickers$StickerPackState;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|