apkfuckery/com.discord/smali/com/discord/stores/StoreEmoji$buildUsableEmoji...

98 lines
2.4 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lcom/discord/stores/StoreEmoji$buildUsableEmojiSet$2;
2020-09-23 03:12:49 +00:00
.super Lc0/n/c/k;
2020-05-17 12:40:10 +00:00
.source "StoreEmoji.kt"
# interfaces
2020-07-08 16:44:49 +00:00
.implements Lkotlin/jvm/functions/Function1;
2020-05-17 12:40:10 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreEmoji;->buildUsableEmojiSet(Ljava/util/Map;Lcom/discord/stores/StoreEmoji$EmojiContext;Ljava/util/List;ZZZZ)Lcom/discord/models/domain/emoji/EmojiSet;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-23 03:12:49 +00:00
"Lc0/n/c/k;",
2020-07-08 16:44:49 +00:00
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Boolean;",
"Ljava/lang/Boolean;",
2020-05-17 12:40:10 +00:00
">;"
}
.end annotation
2020-07-08 16:44:49 +00:00
# instance fields
.field public final synthetic $emojiContext:Lcom/discord/stores/StoreEmoji$EmojiContext;
.field public final synthetic $hasExternalEmojiPermission:Z
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-08 16:44:49 +00:00
.method public constructor <init>(ZLcom/discord/stores/StoreEmoji$EmojiContext;)V
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-boolean p1, p0, Lcom/discord/stores/StoreEmoji$buildUsableEmojiSet$2;->$hasExternalEmojiPermission:Z
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-object p2, p0, Lcom/discord/stores/StoreEmoji$buildUsableEmojiSet$2;->$emojiContext:Lcom/discord/stores/StoreEmoji$EmojiContext;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 p1, 0x1
2020-05-17 12:40:10 +00:00
2020-09-23 03:12:49 +00:00
invoke-direct {p0, p1}, Lc0/n/c/k;-><init>(I)V
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
2020-07-08 16:44:49 +00:00
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
.locals 0
2020-07-08 16:44:49 +00:00
check-cast p1, Ljava/lang/Boolean;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreEmoji$buildUsableEmojiSet$2;->invoke(Z)Z
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
return-object p1
.end method
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
.method public final invoke(Z)Z
.locals 1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lcom/discord/stores/StoreEmoji$buildUsableEmojiSet$2;->$emojiContext:Lcom/discord/stores/StoreEmoji$EmojiContext;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
instance-of v0, v0, Lcom/discord/stores/StoreEmoji$EmojiContext$Chat;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz v0, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz p1, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-boolean p1, p0, Lcom/discord/stores/StoreEmoji$buildUsableEmojiSet$2;->$hasExternalEmojiPermission:Z
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-nez p1, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 p1, 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_0
2020-05-17 12:40:10 +00:00
const/4 p1, 0x0
2020-07-08 16:44:49 +00:00
:goto_0
return p1
2020-05-17 12:40:10 +00:00
.end method