154 lines
4.3 KiB
Smali
154 lines
4.3 KiB
Smali
.class public final Lcom/discord/stores/StoreNux$updateNux$1;
|
|
.super Ly/u/b/k;
|
|
.source "StoreNux.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/stores/StoreNux;->updateNux(Lkotlin/jvm/functions/Function1;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ly/u/b/k;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $updateFunction:Lkotlin/jvm/functions/Function1;
|
|
|
|
.field public final synthetic this$0:Lcom/discord/stores/StoreNux;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/stores/StoreNux;Lkotlin/jvm/functions/Function1;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreNux$updateNux$1;->this$0:Lcom/discord/stores/StoreNux;
|
|
|
|
iput-object p2, p0, Lcom/discord/stores/StoreNux$updateNux$1;->$updateFunction:Lkotlin/jvm/functions/Function1;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
invoke-direct {p0, p1}, Ly/u/b/k;-><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/StoreNux$updateNux$1;->invoke()V
|
|
|
|
sget-object v0, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final invoke()V
|
|
.locals 10
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreNux$updateNux$1$inExp$2;->INSTANCE:Lcom/discord/stores/StoreNux$updateNux$1$inExp$2;
|
|
|
|
invoke-static {v0}, Lf/n/a/j/a;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lcom/discord/stores/StoreNux;->$$delegatedProperties:[Lkotlin/reflect/KProperty;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
aget-object v1, v1, v2
|
|
|
|
iget-object v1, p0, Lcom/discord/stores/StoreNux$updateNux$1;->$updateFunction:Lkotlin/jvm/functions/Function1;
|
|
|
|
iget-object v2, p0, Lcom/discord/stores/StoreNux$updateNux$1;->this$0:Lcom/discord/stores/StoreNux;
|
|
|
|
invoke-static {v2}, Lcom/discord/stores/StoreNux;->access$getNuxState$p(Lcom/discord/stores/StoreNux;)Lcom/discord/stores/StoreNux$NuxState;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-interface {v1, v2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
move-object v2, v1
|
|
|
|
check-cast v2, Lcom/discord/stores/StoreNux$NuxState;
|
|
|
|
iget-object v1, p0, Lcom/discord/stores/StoreNux$updateNux$1;->this$0:Lcom/discord/stores/StoreNux;
|
|
|
|
invoke-virtual {v2}, Lcom/discord/stores/StoreNux$NuxState;->getPostRegister()Z
|
|
|
|
move-result v3
|
|
|
|
iget-object v4, p0, Lcom/discord/stores/StoreNux$updateNux$1;->this$0:Lcom/discord/stores/StoreNux;
|
|
|
|
invoke-static {v4}, Lcom/discord/stores/StoreNux;->access$getNuxState$p(Lcom/discord/stores/StoreNux;)Lcom/discord/stores/StoreNux$NuxState;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v4}, Lcom/discord/stores/StoreNux$NuxState;->getPostRegister()Z
|
|
|
|
move-result v4
|
|
|
|
if-eq v3, v4, :cond_0
|
|
|
|
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v3, 0x1
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/16 v8, 0x1e
|
|
|
|
const/4 v9, 0x0
|
|
|
|
invoke-static/range {v2 .. v9}, Lcom/discord/stores/StoreNux$NuxState;->copy$default(Lcom/discord/stores/StoreNux$NuxState;ZZZZLjava/lang/Long;ILjava/lang/Object;)Lcom/discord/stores/StoreNux$NuxState;
|
|
|
|
move-result-object v2
|
|
|
|
:cond_0
|
|
invoke-static {v1, v2}, Lcom/discord/stores/StoreNux;->access$setNuxState$p(Lcom/discord/stores/StoreNux;Lcom/discord/stores/StoreNux$NuxState;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/stores/StoreNux$updateNux$1;->this$0:Lcom/discord/stores/StoreNux;
|
|
|
|
invoke-static {v0}, Lcom/discord/stores/StoreNux;->access$getNuxState$p(Lcom/discord/stores/StoreNux;)Lcom/discord/stores/StoreNux$NuxState;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v0, v1}, Lcom/discord/stores/StoreNux;->access$publishNuxUpdated(Lcom/discord/stores/StoreNux;Lcom/discord/stores/StoreNux$NuxState;)V
|
|
|
|
return-void
|
|
.end method
|