apkfuckery/com.discord/smali/com/discord/stores/StoreGuildsNsfw$deny$1.smali

116 lines
3 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Lcom/discord/stores/StoreGuildsNsfw$deny$1;
2019-12-13 02:35:12 +00:00
.super Ls/u/b/k;
2019-07-24 11:27:29 +00:00
.source "StoreGuildsNsfw.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreGuildsNsfw;->deny(J)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x19
2019-07-24 11:27:29 +00:00
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-13 02:35:12 +00:00
"Ls/u/b/k;",
2019-07-24 11:27:29 +00:00
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/models/domain/ModelChannel;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Lcom/discord/stores/StoreGuildsNsfw;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Lcom/discord/stores/StoreGuildsNsfw;)V
2019-07-24 11:27:29 +00:00
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreGuildsNsfw$deny$1;->this$0:Lcom/discord/stores/StoreGuildsNsfw;
const/4 p1, 0x1
2019-12-13 02:35:12 +00:00
invoke-direct {p0, p1}, Ls/u/b/k;-><init>(I)V
2019-07-24 11:27:29 +00:00
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
.locals 0
check-cast p1, Lcom/discord/models/domain/ModelChannel;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreGuildsNsfw$deny$1;->invoke(Lcom/discord/models/domain/ModelChannel;)V
2019-12-06 03:29:40 +00:00
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
2019-07-24 11:27:29 +00:00
return-object p1
.end method
.method public final invoke(Lcom/discord/models/domain/ModelChannel;)V
.locals 8
if-eqz p1, :cond_1
invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->isNsfw()Z
move-result v0
if-eqz v0, :cond_0
goto :goto_0
:cond_0
iget-object v0, p0, Lcom/discord/stores/StoreGuildsNsfw$deny$1;->this$0:Lcom/discord/stores/StoreGuildsNsfw;
invoke-virtual {v0}, Lcom/discord/stores/StoreGuildsNsfw;->getStream()Lcom/discord/stores/StoreStream;
move-result-object v0
invoke-virtual {v0}, Lcom/discord/stores/StoreStream;->getChannelsSelected$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreChannelsSelected;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/discord/stores/StoreChannelsSelected;->set(Lcom/discord/models/domain/ModelChannel;)V
2019-12-06 03:29:40 +00:00
goto :goto_1
2019-07-24 11:27:29 +00:00
:cond_1
:goto_0
iget-object p1, p0, Lcom/discord/stores/StoreGuildsNsfw$deny$1;->this$0:Lcom/discord/stores/StoreGuildsNsfw;
invoke-virtual {p1}, Lcom/discord/stores/StoreGuildsNsfw;->getStream()Lcom/discord/stores/StoreStream;
move-result-object p1
invoke-virtual {p1}, Lcom/discord/stores/StoreStream;->getChannelsSelected$app_productionDiscordExternalRelease()Lcom/discord/stores/StoreChannelsSelected;
move-result-object v0
const-wide/16 v1, 0x0
const-wide/16 v3, 0x0
const/4 v5, 0x0
const/4 v6, 0x4
const/4 v7, 0x0
invoke-static/range {v0 .. v7}, Lcom/discord/stores/StoreChannelsSelected;->set$default(Lcom/discord/stores/StoreChannelsSelected;JJIILjava/lang/Object;)V
2019-12-06 03:29:40 +00:00
:goto_1
2019-07-24 11:27:29 +00:00
return-void
.end method