apkfuckery/com.discord/smali_classes2/r0/n/c.smali

392 lines
6.8 KiB
Smali
Raw Normal View History

2020-07-23 01:06:17 +00:00
.class public Lr0/n/c;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
.source "SerializedObserver.java"
# interfaces
2020-07-23 01:06:17 +00:00
.implements Lr0/g;
2020-05-17 12:40:10 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-07-23 01:06:17 +00:00
Lr0/n/c$a;
2020-05-17 12:40:10 +00:00
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
2020-07-23 01:06:17 +00:00
"Lr0/g<",
2020-05-17 12:40:10 +00:00
"TT;>;"
}
.end annotation
# instance fields
2020-07-23 01:06:17 +00:00
.field public final d:Lr0/g;
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-23 01:06:17 +00:00
"Lr0/g<",
2020-05-17 12:40:10 +00:00
"-TT;>;"
}
.end annotation
.end field
.field public e:Z
.field public volatile f:Z
2020-07-23 01:06:17 +00:00
.field public g:Lr0/n/c$a;
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-23 01:06:17 +00:00
.method public constructor <init>(Lr0/g;)V
2020-05-17 12:40:10 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-07-23 01:06:17 +00:00
"Lr0/g<",
2020-05-17 12:40:10 +00:00
"-TT;>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-07-23 01:06:17 +00:00
iput-object p1, p0, Lr0/n/c;->d:Lr0/g;
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
.method public onCompleted()V
.locals 2
2020-07-23 01:06:17 +00:00
iget-boolean v0, p0, Lr0/n/c;->f:Z
2020-05-17 12:40:10 +00:00
if-eqz v0, :cond_0
return-void
:cond_0
monitor-enter p0
:try_start_0
2020-07-23 01:06:17 +00:00
iget-boolean v0, p0, Lr0/n/c;->f:Z
2020-05-17 12:40:10 +00:00
if-eqz v0, :cond_1
monitor-exit p0
return-void
:cond_1
const/4 v0, 0x1
2020-07-23 01:06:17 +00:00
iput-boolean v0, p0, Lr0/n/c;->f:Z
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-boolean v1, p0, Lr0/n/c;->e:Z
2020-05-17 12:40:10 +00:00
if-eqz v1, :cond_3
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lr0/n/c;->g:Lr0/n/c$a;
2020-05-17 12:40:10 +00:00
if-nez v0, :cond_2
2020-07-23 01:06:17 +00:00
new-instance v0, Lr0/n/c$a;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct {v0}, Lr0/n/c$a;-><init>()V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-object v0, p0, Lr0/n/c;->g:Lr0/n/c$a;
2020-05-17 12:40:10 +00:00
:cond_2
2020-07-23 01:06:17 +00:00
sget-object v1, Lr0/l/a/h;->a:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {v0, v1}, Lr0/n/c$a;->a(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
monitor-exit p0
return-void
:cond_3
2020-07-23 01:06:17 +00:00
iput-boolean v0, p0, Lr0/n/c;->e:Z
2020-05-17 12:40:10 +00:00
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lr0/n/c;->d:Lr0/g;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-interface {v0}, Lr0/g;->onCompleted()V
2020-05-17 12:40:10 +00:00
return-void
:catchall_0
move-exception v0
:try_start_1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw v0
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 2
2020-07-25 00:57:58 +00:00
invoke-static {p1}, Lf/m/b/f/a;->h0(Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-boolean v0, p0, Lr0/n/c;->f:Z
2020-05-17 12:40:10 +00:00
if-eqz v0, :cond_0
return-void
:cond_0
monitor-enter p0
:try_start_0
2020-07-23 01:06:17 +00:00
iget-boolean v0, p0, Lr0/n/c;->f:Z
2020-05-17 12:40:10 +00:00
if-eqz v0, :cond_1
monitor-exit p0
return-void
:cond_1
const/4 v0, 0x1
2020-07-23 01:06:17 +00:00
iput-boolean v0, p0, Lr0/n/c;->f:Z
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-boolean v1, p0, Lr0/n/c;->e:Z
2020-05-17 12:40:10 +00:00
if-eqz v1, :cond_3
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lr0/n/c;->g:Lr0/n/c$a;
2020-05-17 12:40:10 +00:00
if-nez v0, :cond_2
2020-07-23 01:06:17 +00:00
new-instance v0, Lr0/n/c$a;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct {v0}, Lr0/n/c$a;-><init>()V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-object v0, p0, Lr0/n/c;->g:Lr0/n/c$a;
2020-05-17 12:40:10 +00:00
:cond_2
2020-07-23 01:06:17 +00:00
new-instance v1, Lr0/l/a/h$c;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct {v1, p1}, Lr0/l/a/h$c;-><init>(Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-virtual {v0, v1}, Lr0/n/c$a;->a(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
monitor-exit p0
return-void
:cond_3
2020-07-23 01:06:17 +00:00
iput-boolean v0, p0, Lr0/n/c;->e:Z
2020-05-17 12:40:10 +00:00
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lr0/n/c;->d:Lr0/g;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-interface {v0, p1}, Lr0/g;->onError(Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
return-void
:catchall_0
move-exception p1
:try_start_1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p1
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
2020-07-23 01:06:17 +00:00
iget-boolean v0, p0, Lr0/n/c;->f:Z
2020-05-17 12:40:10 +00:00
if-eqz v0, :cond_0
return-void
:cond_0
monitor-enter p0
:try_start_0
2020-07-23 01:06:17 +00:00
iget-boolean v0, p0, Lr0/n/c;->f:Z
2020-05-17 12:40:10 +00:00
if-eqz v0, :cond_1
monitor-exit p0
return-void
:cond_1
2020-07-23 01:06:17 +00:00
iget-boolean v0, p0, Lr0/n/c;->e:Z
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz v0, :cond_4
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lr0/n/c;->g:Lr0/n/c$a;
2020-05-17 12:40:10 +00:00
if-nez v0, :cond_2
2020-07-23 01:06:17 +00:00
new-instance v0, Lr0/n/c$a;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-direct {v0}, Lr0/n/c$a;-><init>()V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-object v0, p0, Lr0/n/c;->g:Lr0/n/c$a;
2020-05-17 12:40:10 +00:00
:cond_2
2020-07-08 16:44:49 +00:00
if-nez p1, :cond_3
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
sget-object p1, Lr0/l/a/h;->b:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_3
2020-07-23 01:06:17 +00:00
invoke-virtual {v0, p1}, Lr0/n/c$a;->a(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
monitor-exit p0
return-void
2020-07-08 16:44:49 +00:00
:cond_4
2020-05-17 12:40:10 +00:00
const/4 v0, 0x1
2020-07-23 01:06:17 +00:00
iput-boolean v0, p0, Lr0/n/c;->e:Z
2020-05-17 12:40:10 +00:00
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_3
:try_start_1
2020-07-23 01:06:17 +00:00
iget-object v1, p0, Lr0/n/c;->d:Lr0/g;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-interface {v1, p1}, Lr0/g;->onNext(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_2
2020-07-08 16:44:49 +00:00
:cond_5
2020-05-17 12:40:10 +00:00
:goto_0
monitor-enter p0
:try_start_2
2020-07-23 01:06:17 +00:00
iget-object v1, p0, Lr0/n/c;->g:Lr0/n/c$a;
2020-05-17 12:40:10 +00:00
const/4 v2, 0x0
2020-07-08 16:44:49 +00:00
if-nez v1, :cond_6
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-boolean v2, p0, Lr0/n/c;->e:Z
2020-05-17 12:40:10 +00:00
monitor-exit p0
return-void
2020-07-08 16:44:49 +00:00
:cond_6
2020-05-17 12:40:10 +00:00
const/4 v3, 0x0
2020-07-23 01:06:17 +00:00
iput-object v3, p0, Lr0/n/c;->g:Lr0/n/c$a;
2020-05-17 12:40:10 +00:00
monitor-exit p0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
2020-07-23 01:06:17 +00:00
iget-object v1, v1, Lr0/n/c$a;->a:[Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
array-length v3, v1
:goto_1
2020-07-08 16:44:49 +00:00
if-ge v2, v3, :cond_5
2020-05-17 12:40:10 +00:00
aget-object v4, v1, v2
2020-07-08 16:44:49 +00:00
if-nez v4, :cond_7
2020-05-17 12:40:10 +00:00
goto :goto_0
2020-07-08 16:44:49 +00:00
:cond_7
2020-05-17 12:40:10 +00:00
:try_start_3
2020-07-23 01:06:17 +00:00
iget-object v5, p0, Lr0/n/c;->d:Lr0/g;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v5, v4}, Lr0/l/a/h;->a(Lr0/g;Ljava/lang/Object;)Z
2020-05-17 12:40:10 +00:00
move-result v4
2020-07-08 16:44:49 +00:00
if-eqz v4, :cond_8
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-boolean v0, p0, Lr0/n/c;->f:Z
2020-05-17 12:40:10 +00:00
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
return-void
2020-07-08 16:44:49 +00:00
:cond_8
2020-05-17 12:40:10 +00:00
add-int/lit8 v2, v2, 0x1
goto :goto_1
:catchall_0
move-exception v1
2020-07-23 01:06:17 +00:00
iput-boolean v0, p0, Lr0/n/c;->f:Z
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v1}, Lf/m/b/f/a;->h0(Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lr0/n/c;->d:Lr0/g;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-static {v1, p1}, Lrx/exceptions/OnErrorThrowable;->a(Ljava/lang/Throwable;Ljava/lang/Object;)Ljava/lang/Throwable;
2020-05-17 12:40:10 +00:00
move-result-object p1
2020-07-23 01:06:17 +00:00
invoke-interface {v0, p1}, Lr0/g;->onError(Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
return-void
:catchall_1
move-exception p1
:try_start_4
monitor-exit p0
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_1
throw p1
:catchall_2
move-exception v1
2020-07-23 01:06:17 +00:00
iput-boolean v0, p0, Lr0/n/c;->f:Z
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lr0/n/c;->d:Lr0/g;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v1, v0, p1}, Lf/m/b/f/a;->i0(Ljava/lang/Throwable;Lr0/g;Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
return-void
:catchall_3
move-exception p1
:try_start_5
monitor-exit p0
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_3
throw p1
.end method