apkfuckery/com.discord/smali/com/discord/stores/StoreCalls$ring$1.smali

122 lines
3.4 KiB
Smali

.class public final Lcom/discord/stores/StoreCalls$ring$1;
.super Ly/n/c/k;
.source "StoreCalls.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreCalls;->ring(JLjava/util/List;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/models/domain/ModelCall;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic $recipients:Ljava/util/List;
.field public final synthetic this$0:Lcom/discord/stores/StoreCalls;
# direct methods
.method public constructor <init>(Lcom/discord/stores/StoreCalls;Ljava/util/List;)V
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreCalls$ring$1;->this$0:Lcom/discord/stores/StoreCalls;
iput-object p2, p0, Lcom/discord/stores/StoreCalls$ring$1;->$recipients:Ljava/util/List;
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Lcom/discord/models/domain/ModelCall;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreCalls$ring$1;->invoke(Lcom/discord/models/domain/ModelCall;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Lcom/discord/models/domain/ModelCall;)V
.locals 17
move-object/from16 v0, p0
const-string v1, "call"
move-object/from16 v2, p1
invoke-static {v2, v1}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
sget-object v1, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
invoke-virtual {v1}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
move-result-object v1
invoke-virtual/range {p1 .. p1}, Lcom/discord/models/domain/ModelCall;->getChannelId()J
move-result-wide v3
invoke-virtual/range {p1 .. p1}, Lcom/discord/models/domain/ModelCall;->getMessageId()J
move-result-wide v5
iget-object v7, v0, Lcom/discord/stores/StoreCalls$ring$1;->$recipients:Ljava/util/List;
move-object v2, v1
invoke-virtual/range {v2 .. v7}, Lcom/discord/utilities/rest/RestAPI;->ring(JJLjava/util/List;)Lrx/Observable;
move-result-object v8
iget-object v1, v0, Lcom/discord/stores/StoreCalls$ring$1;->this$0:Lcom/discord/stores/StoreCalls;
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v9
sget-object v14, Lcom/discord/stores/StoreCalls$ring$1$1;->INSTANCE:Lcom/discord/stores/StoreCalls$ring$1$1;
const/4 v10, 0x0
const/4 v11, 0x0
const/4 v12, 0x0
const/4 v13, 0x0
const/16 v15, 0x1e
const/16 v16, 0x0
invoke-static/range {v8 .. v16}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
return-void
.end method