2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/restapi/RestAPIInterface$DefaultImpls;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "RestAPIInterface.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/discord/restapi/RestAPIInterface;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "DefaultImpls"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static synthetic getOauth2Authorize$default(Lcom/discord/restapi/RestAPIInterface;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lrx/Observable;
|
|
|
|
.locals 10
|
|
|
|
|
|
|
|
if-nez p9, :cond_3
|
|
|
|
|
|
|
|
and-int/lit8 v0, p8, 0x4
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
move-object v5, v1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-object v5, p3
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
and-int/lit8 v0, p8, 0x10
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
const-string v0, "consent"
|
|
|
|
|
|
|
|
move-object v7, v0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move-object v7, p5
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
and-int/lit8 v0, p8, 0x40
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
move-object v9, v1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move-object/from16 v9, p7
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
move-object v2, p0
|
|
|
|
|
|
|
|
move-object v3, p1
|
|
|
|
|
|
|
|
move-object v4, p2
|
|
|
|
|
|
|
|
move-object v6, p4
|
|
|
|
|
|
|
|
move-object/from16 v8, p6
|
|
|
|
|
|
|
|
invoke-interface/range {v2 .. v9}, Lcom/discord/restapi/RestAPIInterface;->getOauth2Authorize(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
|
|
|
|
const-string v1, "Super calls with default arguments not supported in this target, function: getOauth2Authorize"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static synthetic getOauth2SamsungAuthorize$default(Lcom/discord/restapi/RestAPIInterface;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Lrx/Observable;
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
if-nez p8, :cond_2
|
|
|
|
|
|
|
|
and-int/lit8 p8, p7, 0x4
|
|
|
|
|
|
|
|
if-eqz p8, :cond_0
|
|
|
|
|
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-object v3, p3
|
|
|
|
|
|
|
|
and-int/lit8 p3, p7, 0x10
|
|
|
|
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
|
|
|
|
const-string p5, "consent"
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move-object v5, p5
|
|
|
|
|
|
|
|
move-object v0, p0
|
|
|
|
|
|
|
|
move-object v1, p1
|
|
|
|
|
|
|
|
move-object v2, p2
|
|
|
|
|
|
|
|
move-object v4, p4
|
|
|
|
|
|
|
|
move-object v6, p6
|
|
|
|
|
|
|
|
invoke-interface/range {v0 .. v6}, Lcom/discord/restapi/RestAPIInterface;->getOauth2SamsungAuthorize(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance p0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
|
|
|
|
const-string p1, "Super calls with default arguments not supported in this target, function: getOauth2SamsungAuthorize"
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p0
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public static postOauth2Authorize$default(Lcom/discord/restapi/RestAPIInterface;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;ILjava/lang/Object;)Lrx/Observable;
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 14
|
|
|
|
|
|
|
|
move/from16 v0, p11
|
|
|
|
|
|
|
|
if-nez p12, :cond_6
|
|
|
|
|
|
|
|
and-int/lit8 v1, v0, 0x4
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
move-object v6, v2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-object/from16 v6, p3
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
and-int/lit8 v1, v0, 0x10
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
const-string v1, "consent"
|
|
|
|
|
|
|
|
move-object v8, v1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move-object/from16 v8, p5
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
and-int/lit8 v1, v0, 0x40
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
move-object v10, v2
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move-object/from16 v10, p7
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
and-int/lit16 v1, v0, 0x80
|
|
|
|
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
|
|
|
|
move-object v11, v2
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move-object/from16 v11, p8
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
and-int/lit16 v1, v0, 0x100
|
|
|
|
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
|
|
|
|
move-object v12, v2
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
move-object/from16 v12, p9
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
and-int/lit16 v0, v0, 0x200
|
|
|
|
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
new-instance v0, Lkotlin/Pair;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string v1, "authorize"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string v2, "true"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {v0, v1, v2}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-static {v0}, Lf/i/a/b/i1/e;->mapOf(Lkotlin/Pair;)Ljava/util/Map;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-result-object v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-object v13, v0
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
move-object/from16 v13, p10
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
move-object v3, p0
|
|
|
|
|
|
|
|
move-object v4, p1
|
|
|
|
|
|
|
|
move-object/from16 v5, p2
|
|
|
|
|
|
|
|
move-object/from16 v7, p4
|
|
|
|
|
|
|
|
move-object/from16 v9, p6
|
|
|
|
|
|
|
|
invoke-interface/range {v3 .. v13}, Lcom/discord/restapi/RestAPIInterface;->postOauth2Authorize(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
|
|
|
|
const-string v1, "Super calls with default arguments not supported in this target, function: postOauth2Authorize"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|