106 lines
3.3 KiB
Smali
106 lines
3.3 KiB
Smali
.class public final Lcom/discord/stores/StoreStickers$onStickerUsed$1;
|
|
.super Lk0/n/c/j;
|
|
.source "StoreStickers.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/stores/StoreStickers;->onStickerUsed(Lcom/discord/models/sticker/dto/ModelSticker;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lk0/n/c/j;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $sticker:Lcom/discord/models/sticker/dto/ModelSticker;
|
|
|
|
.field public final synthetic this$0:Lcom/discord/stores/StoreStickers;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/stores/StoreStickers;Lcom/discord/models/sticker/dto/ModelSticker;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreStickers$onStickerUsed$1;->this$0:Lcom/discord/stores/StoreStickers;
|
|
|
|
iput-object p2, p0, Lcom/discord/stores/StoreStickers$onStickerUsed$1;->$sticker:Lcom/discord/models/sticker/dto/ModelSticker;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Lk0/n/c/j;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic invoke()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lcom/discord/stores/StoreStickers$onStickerUsed$1;->invoke()V
|
|
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final invoke()V
|
|
.locals 7
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreStickers$onStickerUsed$1;->this$0:Lcom/discord/stores/StoreStickers;
|
|
|
|
invoke-static {v0}, Lcom/discord/stores/StoreStickers;->access$getFrecency$p(Lcom/discord/stores/StoreStickers;)Lcom/discord/utilities/media/MediaFrecencyTracker;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreStickers$onStickerUsed$1;->$sticker:Lcom/discord/models/sticker/dto/ModelSticker;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/models/sticker/dto/ModelSticker;->getId()J
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-static {v2, v3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
const-wide/16 v3, 0x0
|
|
|
|
const/4 v5, 0x2
|
|
|
|
const/4 v6, 0x0
|
|
|
|
invoke-static/range {v1 .. v6}, Lcom/discord/utilities/frecency/FrecencyTracker;->track$default(Lcom/discord/utilities/frecency/FrecencyTracker;Ljava/lang/Object;JILjava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreStickers$onStickerUsed$1;->this$0:Lcom/discord/stores/StoreStickers;
|
|
|
|
invoke-static {v0}, Lcom/discord/stores/StoreStickers;->access$getFrecencyCache$p(Lcom/discord/stores/StoreStickers;)Lcom/discord/utilities/persister/Persister;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/discord/stores/StoreStickers$onStickerUsed$1;->this$0:Lcom/discord/stores/StoreStickers;
|
|
|
|
invoke-static {v1}, Lcom/discord/stores/StoreStickers;->access$getFrecency$p(Lcom/discord/stores/StoreStickers;)Lcom/discord/utilities/media/MediaFrecencyTracker;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/discord/utilities/persister/Persister;->set(Ljava/lang/Object;Z)Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|