apkfuckery/com.discord/smali/com/discord/stores/StoreMessages$sendMessage$4...

102 lines
3.2 KiB
Smali
Raw Normal View History

2020-08-10 21:02:22 +00:00
.class public final Lcom/discord/stores/StoreMessages$sendMessage$4;
2020-08-20 19:28:48 +00:00
.super Ljava/lang/Object;
2020-08-10 21:02:22 +00:00
.source "StoreMessages.kt"
# interfaces
2020-08-20 19:28:48 +00:00
.implements Lrx/functions/Action1;
2020-08-10 21:02:22 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-08-20 19:28:48 +00:00
value = Lcom/discord/stores/StoreMessages;->sendMessage(JLcom/discord/models/domain/ModelUser;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lcom/discord/models/domain/ModelApplication;Lcom/discord/models/domain/activity/ModelActivity;Lcom/discord/models/domain/ModelMessage$Activity;)Lrx/Observable;
2020-08-10 21:02:22 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2020-08-20 19:28:48 +00:00
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Action1<",
"Lrx/Emitter<",
"TT;>;>;"
2020-08-10 21:02:22 +00:00
}
.end annotation
# instance fields
2020-08-20 19:28:48 +00:00
.field public final synthetic $channelId:J
.field public final synthetic $request:Lkotlin/jvm/functions/Function1;
2020-08-10 21:02:22 +00:00
.field public final synthetic this$0:Lcom/discord/stores/StoreMessages;
# direct methods
2020-08-20 19:28:48 +00:00
.method public constructor <init>(Lcom/discord/stores/StoreMessages;JLkotlin/jvm/functions/Function1;)V
2020-08-10 21:02:22 +00:00
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreMessages$sendMessage$4;->this$0:Lcom/discord/stores/StoreMessages;
2020-08-20 19:28:48 +00:00
iput-wide p2, p0, Lcom/discord/stores/StoreMessages$sendMessage$4;->$channelId:J
iput-object p4, p0, Lcom/discord/stores/StoreMessages$sendMessage$4;->$request:Lkotlin/jvm/functions/Function1;
2020-08-10 21:02:22 +00:00
2020-08-20 19:28:48 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-08-10 21:02:22 +00:00
return-void
.end method
# virtual methods
2020-08-20 19:28:48 +00:00
.method public bridge synthetic call(Ljava/lang/Object;)V
.locals 0
2020-08-10 21:02:22 +00:00
2020-08-20 19:28:48 +00:00
check-cast p1, Lrx/Emitter;
2020-08-10 21:02:22 +00:00
2020-08-20 19:28:48 +00:00
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessages$sendMessage$4;->call(Lrx/Emitter;)V
2020-08-10 21:02:22 +00:00
2020-08-20 19:28:48 +00:00
return-void
2020-08-10 21:02:22 +00:00
.end method
2020-08-20 19:28:48 +00:00
.method public final call(Lrx/Emitter;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Emitter<",
"Lcom/discord/utilities/messagesend/MessageResult;",
">;)V"
}
.end annotation
2020-08-10 21:02:22 +00:00
iget-object v0, p0, Lcom/discord/stores/StoreMessages$sendMessage$4;->this$0:Lcom/discord/stores/StoreMessages;
2020-08-20 19:28:48 +00:00
iget-wide v1, p0, Lcom/discord/stores/StoreMessages$sendMessage$4;->$channelId:J
2020-08-18 03:20:31 +00:00
2020-08-20 19:28:48 +00:00
invoke-static {v0, v1, v2}, Lcom/discord/stores/StoreMessages;->access$getMessageQueue(Lcom/discord/stores/StoreMessages;J)Lcom/discord/utilities/messagesend/MessageQueue;
2020-08-18 03:20:31 +00:00
move-result-object v0
2020-08-20 19:28:48 +00:00
iget-object v1, p0, Lcom/discord/stores/StoreMessages$sendMessage$4;->$request:Lkotlin/jvm/functions/Function1;
2020-08-18 03:20:31 +00:00
2020-08-20 19:28:48 +00:00
const-string v2, "emitter"
2020-08-18 03:20:31 +00:00
2020-08-20 19:28:48 +00:00
invoke-static {p1, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-08-10 21:02:22 +00:00
2020-08-20 19:28:48 +00:00
invoke-interface {v1, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
2020-08-18 03:20:31 +00:00
2020-08-20 19:28:48 +00:00
move-result-object p1
2020-08-18 03:20:31 +00:00
2020-08-20 19:28:48 +00:00
check-cast p1, Lcom/discord/utilities/messagesend/MessageRequest;
2020-08-18 03:20:31 +00:00
2020-08-20 19:28:48 +00:00
invoke-virtual {v0, p1}, Lcom/discord/utilities/messagesend/MessageQueue;->enqueue(Lcom/discord/utilities/messagesend/MessageRequest;)V
2020-08-18 03:20:31 +00:00
2020-08-20 19:28:48 +00:00
return-void
2020-08-10 21:02:22 +00:00
.end method