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

135 lines
3.2 KiB
Smali

.class public final Lcom/discord/stores/StoreCalls$call$2$1;
.super Ljava/lang/Object;
.source "StoreCalls.kt"
# interfaces
.implements Le0/l/i;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/stores/StoreCalls$call$2;->invoke(J)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Le0/l/i<",
"TT;",
"Lrx/Observable<",
"+TR;>;>;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/discord/stores/StoreCalls$call$2;
# direct methods
.method public constructor <init>(Lcom/discord/stores/StoreCalls$call$2;)V
.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
.method public bridge synthetic call(Ljava/lang/Object;)Ljava/lang/Object;
.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;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Integer;",
")",
"Lrx/Observable<",
"Ljava/lang/Boolean;",
">;"
}
.end annotation
const/4 v0, 0x1
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
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p1
new-instance v0, Le0/m/e/j;
invoke-direct {v0, p1}, Le0/m/e/j;-><init>(Ljava/lang/Object;)V
goto :goto_1
: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
iget-object v1, p0, Lcom/discord/stores/StoreCalls$call$2$1;->this$0:Lcom/discord/stores/StoreCalls$call$2;
iget-wide v1, v1, Lcom/discord/stores/StoreCalls$call$2;->$channelId:J
invoke-virtual {p1, v1, v2}, Lcom/discord/utilities/rest/RestAPI;->call(J)Lrx/Observable;
move-result-object p1
const/4 v1, 0x0
invoke-static {v1, v0}, Le/a/b/l;->a(ZI)Lrx/Observable$c;
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;
invoke-virtual {p1, v0}, Lrx/Observable;->f(Le0/l/i;)Lrx/Observable;
move-result-object v0
:goto_1
return-object v0
.end method