apkfuckery/com.discord/smali_classes2/k0/i0/a/g$a.smali

205 lines
4.2 KiB
Smali
Raw Normal View History

2020-10-05 23:18:16 +00:00
.class public Lk0/i0/a/g$a;
2020-05-17 12:40:10 +00:00
.super Lrx/Subscriber;
.source "ResultOnSubscribe.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-10-05 23:18:16 +00:00
value = Lk0/i0/a/g;
2020-05-17 12:40:10 +00:00
.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<",
2020-10-05 23:18:16 +00:00
"Lk0/b0<",
2020-05-17 12:40:10 +00:00
"TR;>;>;"
}
.end annotation
# instance fields
.field public final d:Lrx/Subscriber;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Subscriber<",
"-",
2020-10-05 23:18:16 +00:00
"Lk0/i0/a/f<",
2020-05-17 12:40:10 +00:00
"TR;>;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lrx/Subscriber;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Subscriber<",
"-",
2020-10-05 23:18:16 +00:00
"Lk0/i0/a/f<",
2020-05-17 12:40:10 +00:00
"TR;>;>;)V"
}
.end annotation
invoke-direct {p0, p1}, Lrx/Subscriber;-><init>(Lrx/Subscriber;)V
2020-10-05 23:18:16 +00:00
iput-object p1, p0, Lk0/i0/a/g$a;->d:Lrx/Subscriber;
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
.method public onCompleted()V
.locals 1
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Lk0/i0/a/g$a;->d:Lrx/Subscriber;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-interface {v0}, Ll0/g;->onCompleted()V
2020-05-17 12:40:10 +00:00
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
2020-07-08 16:44:49 +00:00
.locals 5
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
:try_start_0
2020-10-05 23:18:16 +00:00
iget-object v1, p0, Lk0/i0/a/g$a;->d:Lrx/Subscriber;
2020-05-17 12:40:10 +00:00
if-eqz p1, :cond_0
2020-10-05 23:18:16 +00:00
new-instance v2, Lk0/i0/a/f;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-direct {v2, v0, p1}, Lk0/i0/a/f;-><init>(Lk0/b0;Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-interface {v1, v2}, Ll0/g;->onNext(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2020-10-05 23:18:16 +00:00
iget-object p1, p0, Lk0/i0/a/g$a;->d:Lrx/Subscriber;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-interface {p1}, Ll0/g;->onCompleted()V
2020-05-17 12:40:10 +00:00
return-void
2020-07-08 16:44:49 +00:00
:catchall_0
move-exception p1
goto :goto_0
2020-05-17 12:40:10 +00:00
:cond_0
:try_start_1
new-instance p1, Ljava/lang/NullPointerException;
2020-07-08 16:44:49 +00:00
const-string v1, "error == null"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {p1, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
throw p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
2020-07-08 16:44:49 +00:00
:goto_0
2020-05-17 12:40:10 +00:00
:try_start_2
2020-10-05 23:18:16 +00:00
iget-object v1, p0, Lk0/i0/a/g$a;->d:Lrx/Subscriber;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-interface {v1, p1}, Ll0/g;->onError(Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
:try_end_2
2020-07-08 16:44:49 +00:00
.catch Lrx/exceptions/OnCompletedFailedException; {:try_start_2 .. :try_end_2} :catch_0
.catch Lrx/exceptions/OnErrorFailedException; {:try_start_2 .. :try_end_2} :catch_0
.catch Lrx/exceptions/OnErrorNotImplementedException; {:try_start_2 .. :try_end_2} :catch_0
2020-05-17 12:40:10 +00:00
.catchall {:try_start_2 .. :try_end_2} :catchall_1
2020-07-08 16:44:49 +00:00
goto :goto_1
2020-05-17 12:40:10 +00:00
:catchall_1
2020-07-08 16:44:49 +00:00
move-exception v1
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {v1}, Lc0/j/a;->X(Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
new-instance v2, Lrx/exceptions/CompositeException;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v3, 0x2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
new-array v3, v3, [Ljava/lang/Throwable;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v4, 0x0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
aput-object p1, v3, v4
2020-05-17 12:40:10 +00:00
const/4 p1, 0x1
2020-07-08 16:44:49 +00:00
aput-object v1, v3, p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {v2, v3}, Lrx/exceptions/CompositeException;-><init>([Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
sget-object p1, Ll0/o/o;->f:Ll0/o/o;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {p1}, Ll0/o/o;->b()Ll0/o/b;
2020-05-17 12:40:10 +00:00
move-result-object p1
2020-07-08 16:44:49 +00:00
if-eqz p1, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_1
:cond_1
throw v0
2020-05-17 12:40:10 +00:00
:catch_0
2020-10-05 23:18:16 +00:00
sget-object p1, Ll0/o/o;->f:Ll0/o/o;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {p1}, Ll0/o/o;->b()Ll0/o/b;
2020-05-17 12:40:10 +00:00
move-result-object p1
2020-07-08 16:44:49 +00:00
if-eqz p1, :cond_2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:goto_1
2020-05-17 12:40:10 +00:00
return-void
2020-07-08 16:44:49 +00:00
:cond_2
throw v0
2020-05-17 12:40:10 +00:00
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 3
2020-10-05 23:18:16 +00:00
check-cast p1, Lk0/b0;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Lk0/i0/a/g$a;->d:Lrx/Subscriber;
2020-05-17 12:40:10 +00:00
if-eqz p1, :cond_0
2020-10-05 23:18:16 +00:00
new-instance v1, Lk0/i0/a/f;
2020-05-17 12:40:10 +00:00
const/4 v2, 0x0
2020-10-05 23:18:16 +00:00
invoke-direct {v1, p1, v2}, Lk0/i0/a/f;-><init>(Lk0/b0;Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-interface {v0, v1}, Ll0/g;->onNext(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
return-void
:cond_0
new-instance p1, Ljava/lang/NullPointerException;
const-string v0, "response == null"
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p1
.end method