apkfuckery/com.discord/smali/com/discord/stores/StoreCalls$call$2$1.smali

135 lines
3.2 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Lcom/discord/stores/StoreCalls$call$2$1;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "StoreCalls.kt"
# interfaces
2020-02-20 19:33:18 +00:00
.implements Le0/l/i;
2019-07-24 11:27:29 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreCalls$call$2;->invoke(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 = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
2020-02-20 19:33:18 +00:00
"Le0/l/i<",
2019-07-24 11:27:29 +00:00
"TT;",
"Lrx/Observable<",
"+TR;>;>;"
}
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Lcom/discord/stores/StoreCalls$call$2;
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/StoreCalls$call$2;)V
2019-07-24 11:27:29 +00:00
.locals 0
iput-object p1, p0, Lcom/discord/stores/StoreCalls$call$2$1;->this$0:Lcom/discord/stores/StoreCalls$call$2;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
.locals 0
check-cast p1, Ljava/lang/Integer;
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreCalls$call$2$1;->call(Ljava/lang/Integer;)Lrx/Observable;
move-result-object p1
return-object p1
.end method
.method public final call(Ljava/lang/Integer;)Lrx/Observable;
2019-12-06 03:29:40 +00:00
.locals 3
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Integer;",
")",
"Lrx/Observable<",
"Ljava/lang/Boolean;",
">;"
}
.end annotation
2019-12-06 03:29:40 +00:00
const/4 v0, 0x1
2019-07-24 11:27:29 +00:00
if-nez p1, :cond_0
goto :goto_0
:cond_0
invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I
move-result p1
if-ne p1, v0, :cond_1
2019-12-06 03:29:40 +00:00
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
2019-07-24 11:27:29 +00:00
move-result-object p1
2020-02-20 19:33:18 +00:00
new-instance v0, Le0/m/e/j;
2019-12-06 03:29:40 +00:00
2020-02-20 19:33:18 +00:00
invoke-direct {v0, p1}, Le0/m/e/j;-><init>(Ljava/lang/Object;)V
2019-12-06 03:29:40 +00:00
goto :goto_1
2019-07-24 11:27:29 +00:00
:cond_1
:goto_0
sget-object p1, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
invoke-virtual {p1}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
move-result-object p1
2019-12-06 03:29:40 +00:00
iget-object v1, p0, Lcom/discord/stores/StoreCalls$call$2$1;->this$0:Lcom/discord/stores/StoreCalls$call$2;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
iget-wide v1, v1, Lcom/discord/stores/StoreCalls$call$2;->$channelId:J
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v1, v2}, Lcom/discord/utilities/rest/RestAPI;->call(J)Lrx/Observable;
2019-07-24 11:27:29 +00:00
move-result-object p1
2019-12-06 03:29:40 +00:00
const/4 v1, 0x0
2020-03-02 06:11:59 +00:00
invoke-static {v1, v0}, Le/a/b/l;->a(ZI)Lrx/Observable$c;
2019-07-24 11:27:29 +00:00
move-result-object v0
invoke-virtual {p1, v0}, Lrx/Observable;->a(Lrx/Observable$c;)Lrx/Observable;
move-result-object p1
sget-object v0, Lcom/discord/stores/StoreCalls$call$2$1$1;->INSTANCE:Lcom/discord/stores/StoreCalls$call$2$1$1;
2020-02-20 19:33:18 +00:00
invoke-virtual {p1, v0}, Lrx/Observable;->f(Le0/l/i;)Lrx/Observable;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:goto_1
return-object v0
2019-07-24 11:27:29 +00:00
.end method