Changes of com.discord v1349
This commit is contained in:
parent
ee3363e6d6
commit
3f4974bc38
11672 changed files with 479129 additions and 478996 deletions
190
com.discord/smali_classes2/f0/g0/a/a$a.smali
Normal file
190
com.discord/smali_classes2/f0/g0/a/a$a.smali
Normal file
|
@ -0,0 +1,190 @@
|
|||
.class public Lf0/g0/a/a$a;
|
||||
.super Lrx/Subscriber;
|
||||
.source "BodyOnSubscribe.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf0/g0/a/a;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Lrx/Subscriber<",
|
||||
"Lf0/z<",
|
||||
"TR;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lrx/Subscriber;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/Subscriber<",
|
||||
"-TR;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public e:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/Subscriber;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Subscriber<",
|
||||
"-TR;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1}, Lrx/Subscriber;-><init>(Lrx/Subscriber;)V
|
||||
|
||||
iput-object p1, p0, Lf0/g0/a/a$a;->d:Lrx/Subscriber;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onCompleted()V
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lf0/g0/a/a$a;->e:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lf0/g0/a/a$a;->d:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0}, Lg0/g;->onCompleted()V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 2
|
||||
|
||||
iget-boolean v0, p0, Lf0/g0/a/a$a;->e:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lf0/g0/a/a$a;->d:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0, p1}, Lg0/g;->onError(Ljava/lang/Throwable;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
new-instance v0, Ljava/lang/AssertionError;
|
||||
|
||||
const-string v1, "This should never happen! Report as a Retrofit bug with the full stacktrace."
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/lang/Throwable;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
||||
|
||||
sget-object p1, Lg0/o/o;->f:Lg0/o/o;
|
||||
|
||||
invoke-virtual {p1}, Lg0/o/o;->b()Lg0/o/b;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNext(Ljava/lang/Object;)V
|
||||
.locals 5
|
||||
|
||||
check-cast p1, Lf0/z;
|
||||
|
||||
invoke-virtual {p1}, Lf0/z;->a()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lf0/g0/a/a$a;->d:Lrx/Subscriber;
|
||||
|
||||
iget-object p1, p1, Lf0/z;->b:Ljava/lang/Object;
|
||||
|
||||
invoke-interface {v0, p1}, Lg0/g;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Lf0/g0/a/a$a;->e:Z
|
||||
|
||||
new-instance v1, Lretrofit2/adapter/rxjava/HttpException;
|
||||
|
||||
invoke-direct {v1, p1}, Lretrofit2/adapter/rxjava/HttpException;-><init>(Lf0/z;)V
|
||||
|
||||
:try_start_0
|
||||
iget-object p1, p0, Lf0/g0/a/a$a;->d:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {p1, v1}, Lg0/g;->onError(Ljava/lang/Throwable;)V
|
||||
:try_end_0
|
||||
.catch Lrx/exceptions/OnCompletedFailedException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catch Lrx/exceptions/OnErrorFailedException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catch Lrx/exceptions/OnErrorNotImplementedException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
invoke-static {p1}, Ly/a/g0;->P(Ljava/lang/Throwable;)V
|
||||
|
||||
new-instance v2, Lrx/exceptions/CompositeException;
|
||||
|
||||
const/4 v3, 0x2
|
||||
|
||||
new-array v3, v3, [Ljava/lang/Throwable;
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
aput-object v1, v3, v4
|
||||
|
||||
aput-object p1, v3, v0
|
||||
|
||||
invoke-direct {v2, v3}, Lrx/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
|
||||
|
||||
sget-object p1, Lg0/o/o;->f:Lg0/o/o;
|
||||
|
||||
invoke-virtual {p1}, Lg0/o/o;->b()Lg0/o/b;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
sget-object p1, Lg0/o/o;->f:Lg0/o/o;
|
||||
|
||||
invoke-virtual {p1}, Lg0/o/o;->b()Lg0/o/b;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
75
com.discord/smali_classes2/f0/g0/a/a.smali
Normal file
75
com.discord/smali_classes2/f0/g0/a/a.smali
Normal file
|
@ -0,0 +1,75 @@
|
|||
.class public final Lf0/g0/a/a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "BodyOnSubscribe.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Observable$a;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lf0/g0/a/a$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/Observable$a<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lrx/Observable$a;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/Observable$a<",
|
||||
"Lf0/z<",
|
||||
"TT;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/Observable$a;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Observable$a<",
|
||||
"Lf0/z<",
|
||||
"TT;>;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf0/g0/a/a;->d:Lrx/Observable$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 2
|
||||
|
||||
check-cast p1, Lrx/Subscriber;
|
||||
|
||||
iget-object v0, p0, Lf0/g0/a/a;->d:Lrx/Observable$a;
|
||||
|
||||
new-instance v1, Lf0/g0/a/a$a;
|
||||
|
||||
invoke-direct {v1, p1}, Lf0/g0/a/a$a;-><init>(Lrx/Subscriber;)V
|
||||
|
||||
invoke-interface {v0, v1}, Lrx/functions/Action1;->call(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
464
com.discord/smali_classes2/f0/g0/a/b.smali
Normal file
464
com.discord/smali_classes2/f0/g0/a/b.smali
Normal file
|
@ -0,0 +1,464 @@
|
|||
.class public final Lf0/g0/a/b;
|
||||
.super Ljava/util/concurrent/atomic/AtomicInteger;
|
||||
.source "CallArbiter.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Subscription;
|
||||
.implements Lrx/Producer;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/util/concurrent/atomic/AtomicInteger;",
|
||||
"Lrx/Subscription;",
|
||||
"Lrx/Producer;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field private final call:Lf0/d;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lf0/d<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field private volatile response:Lf0/z;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lf0/z<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field private final subscriber:Lrx/Subscriber;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/Subscriber<",
|
||||
"-",
|
||||
"Lf0/z<",
|
||||
"TT;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field private volatile unsubscribed:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf0/d;Lrx/Subscriber;)V
|
||||
.locals 1
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lf0/d<",
|
||||
"TT;>;",
|
||||
"Lrx/Subscriber<",
|
||||
"-",
|
||||
"Lf0/z<",
|
||||
"TT;>;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-direct {p0, v0}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V
|
||||
|
||||
iput-object p1, p0, Lf0/g0/a/b;->call:Lf0/d;
|
||||
|
||||
iput-object p2, p0, Lf0/g0/a/b;->subscriber:Lrx/Subscriber;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Lf0/z;)V
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lf0/z<",
|
||||
"TT;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
:try_start_0
|
||||
iget-boolean v0, p0, Lf0/g0/a/b;->unsubscribed:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
iget-object v0, p0, Lf0/g0/a/b;->subscriber:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0, p1}, Lg0/g;->onNext(Ljava/lang/Object;)V
|
||||
:try_end_0
|
||||
.catch Lrx/exceptions/OnCompletedFailedException; {:try_start_0 .. :try_end_0} :catch_2
|
||||
.catch Lrx/exceptions/OnErrorFailedException; {:try_start_0 .. :try_end_0} :catch_2
|
||||
.catch Lrx/exceptions/OnErrorNotImplementedException; {:try_start_0 .. :try_end_0} :catch_2
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
:try_start_1
|
||||
iget-boolean p1, p0, Lf0/g0/a/b;->unsubscribed:Z
|
||||
|
||||
if-nez p1, :cond_1
|
||||
|
||||
iget-object p1, p0, Lf0/g0/a/b;->subscriber:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {p1}, Lg0/g;->onCompleted()V
|
||||
:try_end_1
|
||||
.catch Lrx/exceptions/OnCompletedFailedException; {:try_start_1 .. :try_end_1} :catch_0
|
||||
.catch Lrx/exceptions/OnErrorFailedException; {:try_start_1 .. :try_end_1} :catch_0
|
||||
.catch Lrx/exceptions/OnErrorNotImplementedException; {:try_start_1 .. :try_end_1} :catch_0
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catchall_1
|
||||
move-exception p1
|
||||
|
||||
invoke-static {p1}, Ly/a/g0;->P(Ljava/lang/Throwable;)V
|
||||
|
||||
sget-object p1, Lg0/o/o;->f:Lg0/o/o;
|
||||
|
||||
invoke-virtual {p1}, Lg0/o/o;->b()Lg0/o/b;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:catch_0
|
||||
sget-object p1, Lg0/o/o;->f:Lg0/o/o;
|
||||
|
||||
invoke-virtual {p1}, Lg0/o/o;->b()Lg0/o/b;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:cond_1
|
||||
:goto_1
|
||||
return-void
|
||||
|
||||
:goto_2
|
||||
invoke-static {p1}, Ly/a/g0;->P(Ljava/lang/Throwable;)V
|
||||
|
||||
:try_start_2
|
||||
iget-object v0, p0, Lf0/g0/a/b;->subscriber:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0, p1}, Lg0/g;->onError(Ljava/lang/Throwable;)V
|
||||
:try_end_2
|
||||
.catch Lrx/exceptions/OnCompletedFailedException; {:try_start_2 .. :try_end_2} :catch_1
|
||||
.catch Lrx/exceptions/OnErrorFailedException; {:try_start_2 .. :try_end_2} :catch_1
|
||||
.catch Lrx/exceptions/OnErrorNotImplementedException; {:try_start_2 .. :try_end_2} :catch_1
|
||||
.catchall {:try_start_2 .. :try_end_2} :catchall_2
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:catchall_2
|
||||
move-exception v0
|
||||
|
||||
invoke-static {v0}, Ly/a/g0;->P(Ljava/lang/Throwable;)V
|
||||
|
||||
new-instance v1, Lrx/exceptions/CompositeException;
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
new-array v2, v2, [Ljava/lang/Throwable;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
aput-object p1, v2, v3
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
aput-object v0, v2, p1
|
||||
|
||||
invoke-direct {v1, v2}, Lrx/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
|
||||
|
||||
sget-object p1, Lg0/o/o;->f:Lg0/o/o;
|
||||
|
||||
invoke-virtual {p1}, Lg0/o/o;->b()Lg0/o/b;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:catch_1
|
||||
sget-object p1, Lg0/o/o;->f:Lg0/o/o;
|
||||
|
||||
invoke-virtual {p1}, Lg0/o/o;->b()Lg0/o/b;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:goto_3
|
||||
return-void
|
||||
|
||||
:catch_2
|
||||
sget-object p1, Lg0/o/o;->f:Lg0/o/o;
|
||||
|
||||
invoke-virtual {p1}, Lg0/o/o;->b()Lg0/o/b;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public b(Ljava/lang/Throwable;)V
|
||||
.locals 4
|
||||
|
||||
const/4 v0, 0x3
|
||||
|
||||
invoke-virtual {p0, v0}, Ljava/util/concurrent/atomic/AtomicInteger;->set(I)V
|
||||
|
||||
iget-boolean v0, p0, Lf0/g0/a/b;->unsubscribed:Z
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lf0/g0/a/b;->subscriber:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0, p1}, Lg0/g;->onError(Ljava/lang/Throwable;)V
|
||||
:try_end_0
|
||||
.catch Lrx/exceptions/OnCompletedFailedException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catch Lrx/exceptions/OnErrorFailedException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catch Lrx/exceptions/OnErrorNotImplementedException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception v0
|
||||
|
||||
invoke-static {v0}, Ly/a/g0;->P(Ljava/lang/Throwable;)V
|
||||
|
||||
new-instance v1, Lrx/exceptions/CompositeException;
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
new-array v2, v2, [Ljava/lang/Throwable;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
aput-object p1, v2, v3
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
aput-object v0, v2, p1
|
||||
|
||||
invoke-direct {v1, v2}, Lrx/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
|
||||
|
||||
sget-object p1, Lg0/o/o;->f:Lg0/o/o;
|
||||
|
||||
invoke-virtual {p1}, Lg0/o/o;->b()Lg0/o/b;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
sget-object p1, Lg0/o/o;->f:Lg0/o/o;
|
||||
|
||||
invoke-virtual {p1}, Lg0/o/o;->b()Lg0/o/b;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:cond_0
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public c(Lf0/z;)V
|
||||
.locals 4
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lf0/z<",
|
||||
"TT;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
|
||||
|
||||
move-result v0
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
const/4 v2, 0x3
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
if-eq v0, v3, :cond_2
|
||||
|
||||
if-eq v0, v1, :cond_1
|
||||
|
||||
if-eq v0, v2, :cond_1
|
||||
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v1, "Unknown state: "
|
||||
|
||||
invoke-static {v1, v0}, Lf/e/c/a/a;->j(Ljava/lang/String;I)Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_1
|
||||
new-instance p1, Ljava/lang/AssertionError;
|
||||
|
||||
invoke-direct {p1}, Ljava/lang/AssertionError;-><init>()V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {p0, v3, v2}, Ljava/util/concurrent/atomic/AtomicInteger;->compareAndSet(II)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {p0, p1}, Lf0/g0/a/b;->a(Lf0/z;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_3
|
||||
iput-object p1, p0, Lf0/g0/a/b;->response:Lf0/z;
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-virtual {p0, v0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;->compareAndSet(II)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public isUnsubscribed()Z
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Lf0/g0/a/b;->unsubscribed:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public l(J)V
|
||||
.locals 3
|
||||
|
||||
const-wide/16 v0, 0x0
|
||||
|
||||
cmp-long v2, p1, v0
|
||||
|
||||
if-nez v2, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
|
||||
|
||||
move-result p1
|
||||
|
||||
const/4 p2, 0x1
|
||||
|
||||
if-eqz p1, :cond_4
|
||||
|
||||
if-eq p1, p2, :cond_3
|
||||
|
||||
const/4 p2, 0x3
|
||||
|
||||
const/4 v0, 0x2
|
||||
|
||||
if-eq p1, v0, :cond_2
|
||||
|
||||
if-ne p1, p2, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
new-instance p2, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string v0, "Unknown state: "
|
||||
|
||||
invoke-static {v0, p1}, Lf/e/c/a/a;->j(Ljava/lang/String;I)Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p2
|
||||
|
||||
:cond_2
|
||||
invoke-virtual {p0, v0, p2}, Ljava/util/concurrent/atomic/AtomicInteger;->compareAndSet(II)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object p1, p0, Lf0/g0/a/b;->response:Lf0/z;
|
||||
|
||||
invoke-virtual {p0, p1}, Lf0/g0/a/b;->a(Lf0/z;)V
|
||||
|
||||
:cond_3
|
||||
:goto_0
|
||||
return-void
|
||||
|
||||
:cond_4
|
||||
const/4 p1, 0x0
|
||||
|
||||
invoke-virtual {p0, p1, p2}, Ljava/util/concurrent/atomic/AtomicInteger;->compareAndSet(II)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public unsubscribe()V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
iput-boolean v0, p0, Lf0/g0/a/b;->unsubscribed:Z
|
||||
|
||||
iget-object v0, p0, Lf0/g0/a/b;->call:Lf0/d;
|
||||
|
||||
invoke-interface {v0}, Lf0/d;->cancel()V
|
||||
|
||||
return-void
|
||||
.end method
|
93
com.discord/smali_classes2/f0/g0/a/c.smali
Normal file
93
com.discord/smali_classes2/f0/g0/a/c.smali
Normal file
|
@ -0,0 +1,93 @@
|
|||
.class public final Lf0/g0/a/c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "CallExecuteOnSubscribe.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Observable$a;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/Observable$a<",
|
||||
"Lf0/z<",
|
||||
"TT;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lf0/d;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lf0/d<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf0/d;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lf0/d<",
|
||||
"TT;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf0/g0/a/c;->d:Lf0/d;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 2
|
||||
|
||||
check-cast p1, Lrx/Subscriber;
|
||||
|
||||
iget-object v0, p0, Lf0/g0/a/c;->d:Lf0/d;
|
||||
|
||||
invoke-interface {v0}, Lf0/d;->y()Lf0/d;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Lf0/g0/a/b;
|
||||
|
||||
invoke-direct {v1, v0, p1}, Lf0/g0/a/b;-><init>(Lf0/d;Lrx/Subscriber;)V
|
||||
|
||||
invoke-virtual {p1, v1}, Lrx/Subscriber;->add(Lrx/Subscription;)V
|
||||
|
||||
invoke-virtual {p1, v1}, Lrx/Subscriber;->setProducer(Lrx/Producer;)V
|
||||
|
||||
:try_start_0
|
||||
invoke-interface {v0}, Lf0/d;->execute()Lf0/z;
|
||||
|
||||
move-result-object p1
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
invoke-virtual {v1, p1}, Lf0/g0/a/b;->c(Lf0/z;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
invoke-static {p1}, Ly/a/g0;->P(Ljava/lang/Throwable;)V
|
||||
|
||||
invoke-virtual {v1, p1}, Lf0/g0/a/b;->b(Ljava/lang/Throwable;)V
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
101
com.discord/smali_classes2/f0/g0/a/d.smali
Normal file
101
com.discord/smali_classes2/f0/g0/a/d.smali
Normal file
|
@ -0,0 +1,101 @@
|
|||
.class public final Lf0/g0/a/d;
|
||||
.super Ljava/lang/Object;
|
||||
.source "Result.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Lf0/z;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lf0/z<",
|
||||
"TT;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final b:Ljava/lang/Throwable;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lf0/z;Ljava/lang/Throwable;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lf0/z<",
|
||||
"TT;>;",
|
||||
"Ljava/lang/Throwable;",
|
||||
")V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf0/g0/a/d;->a:Lf0/z;
|
||||
|
||||
iput-object p2, p0, Lf0/g0/a/d;->b:Ljava/lang/Throwable;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public toString()Ljava/lang/String;
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lf0/g0/a/d;->b:Ljava/lang/Throwable;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
const-string v0, "Result{isError=true, error=\""
|
||||
|
||||
invoke-static {v0}, Lf/e/c/a/a;->G(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lf0/g0/a/d;->b:Ljava/lang/Throwable;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v1, "\"}"
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_0
|
||||
const-string v0, "Result{isError=false, response="
|
||||
|
||||
invoke-static {v0}, Lf/e/c/a/a;->G(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Lf0/g0/a/d;->a:Lf0/z;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
||||
const/16 v1, 0x7d
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
return-object v0
|
||||
.end method
|
178
com.discord/smali_classes2/f0/g0/a/e$a.smali
Normal file
178
com.discord/smali_classes2/f0/g0/a/e$a.smali
Normal file
|
@ -0,0 +1,178 @@
|
|||
.class public Lf0/g0/a/e$a;
|
||||
.super Lrx/Subscriber;
|
||||
.source "ResultOnSubscribe.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Lf0/g0/a/e;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
accessFlags = 0x9
|
||||
name = "a"
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Lrx/Subscriber<",
|
||||
"Lf0/z<",
|
||||
"TR;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lrx/Subscriber;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/Subscriber<",
|
||||
"-",
|
||||
"Lf0/g0/a/d<",
|
||||
"TR;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/Subscriber;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Subscriber<",
|
||||
"-",
|
||||
"Lf0/g0/a/d<",
|
||||
"TR;>;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0, p1}, Lrx/Subscriber;-><init>(Lrx/Subscriber;)V
|
||||
|
||||
iput-object p1, p0, Lf0/g0/a/e$a;->d:Lrx/Subscriber;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onCompleted()V
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf0/g0/a/e$a;->d:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0}, Lg0/g;->onCompleted()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onError(Ljava/lang/Throwable;)V
|
||||
.locals 4
|
||||
|
||||
:try_start_0
|
||||
iget-object v0, p0, Lf0/g0/a/e$a;->d:Lrx/Subscriber;
|
||||
|
||||
const-string v1, "error == null"
|
||||
|
||||
invoke-static {p1, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
||||
|
||||
new-instance v1, Lf0/g0/a/d;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-direct {v1, v2, p1}, Lf0/g0/a/d;-><init>(Lf0/z;Ljava/lang/Throwable;)V
|
||||
|
||||
invoke-interface {v0, v1}, Lg0/g;->onNext(Ljava/lang/Object;)V
|
||||
:try_end_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
iget-object p1, p0, Lf0/g0/a/e$a;->d:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {p1}, Lg0/g;->onCompleted()V
|
||||
|
||||
return-void
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
:try_start_1
|
||||
iget-object v0, p0, Lf0/g0/a/e$a;->d:Lrx/Subscriber;
|
||||
|
||||
invoke-interface {v0, p1}, Lg0/g;->onError(Ljava/lang/Throwable;)V
|
||||
:try_end_1
|
||||
.catch Lrx/exceptions/OnCompletedFailedException; {:try_start_1 .. :try_end_1} :catch_0
|
||||
.catch Lrx/exceptions/OnErrorFailedException; {:try_start_1 .. :try_end_1} :catch_0
|
||||
.catch Lrx/exceptions/OnErrorNotImplementedException; {:try_start_1 .. :try_end_1} :catch_0
|
||||
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catchall_1
|
||||
move-exception v0
|
||||
|
||||
invoke-static {v0}, Ly/a/g0;->P(Ljava/lang/Throwable;)V
|
||||
|
||||
new-instance v1, Lrx/exceptions/CompositeException;
|
||||
|
||||
const/4 v2, 0x2
|
||||
|
||||
new-array v2, v2, [Ljava/lang/Throwable;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
aput-object p1, v2, v3
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
aput-object v0, v2, p1
|
||||
|
||||
invoke-direct {v1, v2}, Lrx/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
|
||||
|
||||
sget-object p1, Lg0/o/o;->f:Lg0/o/o;
|
||||
|
||||
invoke-virtual {p1}, Lg0/o/o;->b()Lg0/o/b;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:catch_0
|
||||
sget-object p1, Lg0/o/o;->f:Lg0/o/o;
|
||||
|
||||
invoke-virtual {p1}, Lg0/o/o;->b()Lg0/o/b;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public onNext(Ljava/lang/Object;)V
|
||||
.locals 3
|
||||
|
||||
check-cast p1, Lf0/z;
|
||||
|
||||
iget-object v0, p0, Lf0/g0/a/e$a;->d:Lrx/Subscriber;
|
||||
|
||||
const-string v1, "response == null"
|
||||
|
||||
invoke-static {p1, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
||||
|
||||
new-instance v1, Lf0/g0/a/d;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
invoke-direct {v1, p1, v2}, Lf0/g0/a/d;-><init>(Lf0/z;Ljava/lang/Throwable;)V
|
||||
|
||||
invoke-interface {v0, v1}, Lg0/g;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
76
com.discord/smali_classes2/f0/g0/a/e.smali
Normal file
76
com.discord/smali_classes2/f0/g0/a/e.smali
Normal file
|
@ -0,0 +1,76 @@
|
|||
.class public final Lf0/g0/a/e;
|
||||
.super Ljava/lang/Object;
|
||||
.source "ResultOnSubscribe.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/Observable$a;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Lf0/g0/a/e$a;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/Observable$a<",
|
||||
"Lf0/g0/a/d<",
|
||||
"TT;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lrx/Observable$a;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/Observable$a<",
|
||||
"Lf0/z<",
|
||||
"TT;>;>;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/Observable$a;)V
|
||||
.locals 0
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lrx/Observable$a<",
|
||||
"Lf0/z<",
|
||||
"TT;>;>;)V"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf0/g0/a/e;->d:Lrx/Observable$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 2
|
||||
|
||||
check-cast p1, Lrx/Subscriber;
|
||||
|
||||
iget-object v0, p0, Lf0/g0/a/e;->d:Lrx/Observable$a;
|
||||
|
||||
new-instance v1, Lf0/g0/a/e$a;
|
||||
|
||||
invoke-direct {v1, p1}, Lf0/g0/a/e$a;-><init>(Lrx/Subscriber;)V
|
||||
|
||||
invoke-interface {v0, v1}, Lrx/functions/Action1;->call(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
169
com.discord/smali_classes2/f0/g0/a/f.smali
Normal file
169
com.discord/smali_classes2/f0/g0/a/f.smali
Normal file
|
@ -0,0 +1,169 @@
|
|||
.class public final Lf0/g0/a/f;
|
||||
.super Ljava/lang/Object;
|
||||
.source "RxJavaCallAdapter.java"
|
||||
|
||||
# interfaces
|
||||
.implements Lf0/e;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<R:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lf0/e<",
|
||||
"TR;",
|
||||
"Ljava/lang/Object;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Ljava/lang/reflect/Type;
|
||||
|
||||
.field public final b:Z
|
||||
|
||||
.field public final c:Z
|
||||
|
||||
.field public final d:Z
|
||||
|
||||
.field public final e:Z
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Ljava/lang/reflect/Type;Lrx/Scheduler;ZZZZZ)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Lf0/g0/a/f;->a:Ljava/lang/reflect/Type;
|
||||
|
||||
iput-boolean p4, p0, Lf0/g0/a/f;->b:Z
|
||||
|
||||
iput-boolean p5, p0, Lf0/g0/a/f;->c:Z
|
||||
|
||||
iput-boolean p6, p0, Lf0/g0/a/f;->d:Z
|
||||
|
||||
iput-boolean p7, p0, Lf0/g0/a/f;->e:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Ljava/lang/reflect/Type;
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Lf0/g0/a/f;->a:Ljava/lang/reflect/Type;
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
||||
.method public b(Lf0/d;)Ljava/lang/Object;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Lf0/d<",
|
||||
"TR;>;)",
|
||||
"Ljava/lang/Object;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
new-instance v0, Lf0/g0/a/c;
|
||||
|
||||
invoke-direct {v0, p1}, Lf0/g0/a/c;-><init>(Lf0/d;)V
|
||||
|
||||
iget-boolean p1, p0, Lf0/g0/a/f;->b:Z
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
new-instance p1, Lf0/g0/a/e;
|
||||
|
||||
invoke-direct {p1, v0}, Lf0/g0/a/e;-><init>(Lrx/Observable$a;)V
|
||||
|
||||
:goto_0
|
||||
move-object v0, p1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_0
|
||||
iget-boolean p1, p0, Lf0/g0/a/f;->c:Z
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
new-instance p1, Lf0/g0/a/a;
|
||||
|
||||
invoke-direct {p1, v0}, Lf0/g0/a/a;-><init>(Lrx/Observable$a;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_1
|
||||
:goto_1
|
||||
new-instance p1, Lrx/Observable;
|
||||
|
||||
invoke-static {v0}, Lg0/o/l;->a(Lrx/Observable$a;)Lrx/Observable$a;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-direct {p1, v0}, Lrx/Observable;-><init>(Lrx/Observable$a;)V
|
||||
|
||||
iget-boolean v0, p0, Lf0/g0/a/f;->d:Z
|
||||
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
new-instance v0, Lg0/h;
|
||||
|
||||
new-instance v1, Lg0/l/a/h0;
|
||||
|
||||
invoke-direct {v1, p1}, Lg0/l/a/h0;-><init>(Lrx/Observable;)V
|
||||
|
||||
invoke-direct {v0, v1}, Lg0/h;-><init>(Lg0/h$a;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_2
|
||||
iget-boolean v0, p0, Lf0/g0/a/f;->e:Z
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
new-instance v0, Lg0/c;
|
||||
|
||||
invoke-direct {v0, p1}, Lg0/c;-><init>(Lrx/Observable;)V
|
||||
|
||||
:try_start_0
|
||||
new-instance p1, Lg0/d;
|
||||
|
||||
invoke-direct {p1, v0}, Lg0/d;-><init>(Lg0/d$a;)V
|
||||
:try_end_0
|
||||
.catch Ljava/lang/NullPointerException; {:try_start_0 .. :try_end_0} :catch_0
|
||||
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||||
|
||||
return-object p1
|
||||
|
||||
:catchall_0
|
||||
move-exception p1
|
||||
|
||||
invoke-static {p1}, Lg0/o/l;->b(Ljava/lang/Throwable;)V
|
||||
|
||||
new-instance v0, Ljava/lang/NullPointerException;
|
||||
|
||||
const-string v1, "Actually not, but can\'t pass out an exception otherwise..."
|
||||
|
||||
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, p1}, Ljava/lang/NullPointerException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
||||
|
||||
throw v0
|
||||
|
||||
:catch_0
|
||||
move-exception p1
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_3
|
||||
return-object p1
|
||||
.end method
|
240
com.discord/smali_classes2/f0/g0/a/g.smali
Normal file
240
com.discord/smali_classes2/f0/g0/a/g.smali
Normal file
|
@ -0,0 +1,240 @@
|
|||
.class public final Lf0/g0/a/g;
|
||||
.super Lf0/e$a;
|
||||
.source "RxJavaCallAdapterFactory.java"
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lrx/Scheduler;Z)V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Lf0/e$a;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lf0/b0;)Lf0/e;
|
||||
.locals 10
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/reflect/Type;",
|
||||
"[",
|
||||
"Ljava/lang/annotation/Annotation;",
|
||||
"Lf0/b0;",
|
||||
")",
|
||||
"Lf0/e<",
|
||||
"**>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
invoke-static {p1}, Lf0/f0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-class p3, Lg0/h;
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
const/4 v1, 0x0
|
||||
|
||||
if-ne p2, p3, :cond_0
|
||||
|
||||
const/4 v8, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v8, 0x0
|
||||
|
||||
:goto_0
|
||||
const-class p3, Lg0/d;
|
||||
|
||||
if-ne p2, p3, :cond_1
|
||||
|
||||
const/4 p3, 0x1
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
const/4 p3, 0x0
|
||||
|
||||
:goto_1
|
||||
const-class v2, Lrx/Observable;
|
||||
|
||||
if-eq p2, v2, :cond_2
|
||||
|
||||
if-nez v8, :cond_2
|
||||
|
||||
if-nez p3, :cond_2
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_2
|
||||
if-eqz p3, :cond_3
|
||||
|
||||
new-instance p1, Lf0/g0/a/f;
|
||||
|
||||
const-class v1, Ljava/lang/Void;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v5, 0x1
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v7, 0x1
|
||||
|
||||
move-object v0, p1
|
||||
|
||||
invoke-direct/range {v0 .. v7}, Lf0/g0/a/f;-><init>(Ljava/lang/reflect/Type;Lrx/Scheduler;ZZZZZ)V
|
||||
|
||||
return-object p1
|
||||
|
||||
:cond_3
|
||||
instance-of p2, p1, Ljava/lang/reflect/ParameterizedType;
|
||||
|
||||
if-nez p2, :cond_5
|
||||
|
||||
if-eqz v8, :cond_4
|
||||
|
||||
const-string p1, "Single"
|
||||
|
||||
goto :goto_2
|
||||
|
||||
:cond_4
|
||||
const-string p1, "Observable"
|
||||
|
||||
:goto_2
|
||||
new-instance p2, Ljava/lang/IllegalStateException;
|
||||
|
||||
new-instance p3, Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V
|
||||
|
||||
invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v0, " return type must be parameterized as "
|
||||
|
||||
invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v0, "<Foo> or "
|
||||
|
||||
invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string p1, "<? extends Foo>"
|
||||
|
||||
invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-direct {p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p2
|
||||
|
||||
:cond_5
|
||||
check-cast p1, Ljava/lang/reflect/ParameterizedType;
|
||||
|
||||
invoke-static {v1, p1}, Lf0/f0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
invoke-static {p1}, Lf0/f0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
||||
|
||||
move-result-object p2
|
||||
|
||||
const-class p3, Lf0/z;
|
||||
|
||||
if-ne p2, p3, :cond_7
|
||||
|
||||
instance-of p2, p1, Ljava/lang/reflect/ParameterizedType;
|
||||
|
||||
if-eqz p2, :cond_6
|
||||
|
||||
check-cast p1, Ljava/lang/reflect/ParameterizedType;
|
||||
|
||||
invoke-static {v1, p1}, Lf0/f0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_6
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "Response must be parameterized as Response<Foo> or Response<? extends Foo>"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_7
|
||||
const-class p3, Lf0/g0/a/d;
|
||||
|
||||
if-ne p2, p3, :cond_9
|
||||
|
||||
instance-of p2, p1, Ljava/lang/reflect/ParameterizedType;
|
||||
|
||||
if-eqz p2, :cond_8
|
||||
|
||||
check-cast p1, Ljava/lang/reflect/ParameterizedType;
|
||||
|
||||
invoke-static {v1, p1}, Lf0/f0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
:goto_3
|
||||
move-object v3, p1
|
||||
|
||||
move v6, v0
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_8
|
||||
new-instance p1, Ljava/lang/IllegalStateException;
|
||||
|
||||
const-string p2, "Result must be parameterized as Result<Foo> or Result<? extends Foo>"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
|
||||
:cond_9
|
||||
move-object v3, p1
|
||||
|
||||
const/4 v6, 0x0
|
||||
|
||||
const/4 v7, 0x1
|
||||
|
||||
:goto_4
|
||||
new-instance p1, Lf0/g0/a/f;
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const/4 v9, 0x0
|
||||
|
||||
move-object v2, p1
|
||||
|
||||
invoke-direct/range {v2 .. v9}, Lf0/g0/a/f;-><init>(Ljava/lang/reflect/Type;Lrx/Scheduler;ZZZZZ)V
|
||||
|
||||
return-object p1
|
||||
.end method
|
Loading…
Add table
Add a link
Reference in a new issue