apkfuckery/com.discord/smali_classes2/h0/r/b$c.smali

407 lines
7 KiB
Smali
Raw Normal View History

2020-04-11 15:34:05 +00:00
.class public final Lh0/r/b$c;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "SubjectSubscriptionManager.java"
# interfaces
2020-04-11 15:34:05 +00:00
.implements Lh0/g;
2019-12-06 03:29:40 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-04-11 15:34:05 +00:00
value = Lh0/r/b;
2019-12-06 03:29:40 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "c"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
2020-04-11 15:34:05 +00:00
"Lh0/g<",
2019-12-06 03:29:40 +00:00
"TT;>;"
}
.end annotation
# instance fields
.field public final d:Lrx/Subscriber;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Subscriber<",
"-TT;>;"
}
.end annotation
.end field
.field public e:Z
.field public f:Z
.field public g:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field
.field public h:Z
# direct methods
.method public constructor <init>(Lrx/Subscriber;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Subscriber<",
"-TT;>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x1
2020-04-11 15:34:05 +00:00
iput-boolean v0, p0, Lh0/r/b$c;->e:Z
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
iput-object p1, p0, Lh0/r/b$c;->d:Lrx/Subscriber;
2019-12-06 03:29:40 +00:00
return-void
.end method
# virtual methods
.method public a(Ljava/lang/Object;)V
.locals 1
monitor-enter p0
:try_start_0
2020-04-11 15:34:05 +00:00
iget-boolean v0, p0, Lh0/r/b$c;->e:Z
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_3
2020-04-11 15:34:05 +00:00
iget-boolean v0, p0, Lh0/r/b$c;->f:Z
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
goto :goto_0
:cond_0
const/4 v0, 0x0
2020-04-11 15:34:05 +00:00
iput-boolean v0, p0, Lh0/r/b$c;->e:Z
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_1
const/4 v0, 0x1
:cond_1
2020-04-11 15:34:05 +00:00
iput-boolean v0, p0, Lh0/r/b$c;->f:Z
2019-12-06 03:29:40 +00:00
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz p1, :cond_2
const/4 v0, 0x0
2020-04-11 15:34:05 +00:00
invoke-virtual {p0, v0, p1}, Lh0/r/b$c;->a(Ljava/util/List;Ljava/lang/Object;)V
2019-12-06 03:29:40 +00:00
:cond_2
return-void
:cond_3
:goto_0
:try_start_1
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p1
.end method
.method public a(Ljava/util/List;Ljava/lang/Object;)V
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/Object;",
">;",
"Ljava/lang/Object;",
")V"
}
.end annotation
const/4 v0, 0x1
const/4 v1, 0x1
:goto_0
const/4 v2, 0x0
if-eqz p1, :cond_1
:try_start_0
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p1
:cond_0
:goto_1
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
if-eqz v3, :cond_0
2020-04-11 15:34:05 +00:00
iget-object v4, p0, Lh0/r/b$c;->d:Lrx/Subscriber;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-static {v4, v3}, Lh0/m/a/h;->a(Lh0/g;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
goto :goto_1
:catchall_0
move-exception p1
move-object p2, p1
goto :goto_4
:cond_1
if-eqz v1, :cond_3
if-eqz p2, :cond_2
2020-04-11 15:34:05 +00:00
iget-object p1, p0, Lh0/r/b$c;->d:Lrx/Subscriber;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-static {p1, p2}, Lh0/m/a/h;->a(Lh0/g;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
:cond_2
const/4 v1, 0x0
:cond_3
monitor-enter p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:try_start_1
2020-04-11 15:34:05 +00:00
iget-object p1, p0, Lh0/r/b$c;->g:Ljava/util/List;
2019-12-06 03:29:40 +00:00
const/4 v3, 0x0
2020-04-11 15:34:05 +00:00
iput-object v3, p0, Lh0/r/b$c;->g:Ljava/util/List;
2019-12-06 03:29:40 +00:00
if-nez p1, :cond_4
2020-04-11 15:34:05 +00:00
iput-boolean v2, p0, Lh0/r/b$c;->f:Z
2019-12-06 03:29:40 +00:00
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_2
:try_start_2
monitor-exit p0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
return-void
:catchall_1
move-exception p1
goto :goto_2
:cond_4
:try_start_3
monitor-exit p0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_2
goto :goto_0
:catchall_2
move-exception p1
const/4 v0, 0x0
:goto_2
move-object p2, p1
move-object p1, p0
:goto_3
:try_start_4
monitor-exit p1
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_4
:try_start_5
throw p2
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_3
:catchall_3
move-exception p2
goto :goto_5
:catchall_4
move-exception p2
goto :goto_3
:goto_4
move-object p1, p0
const/4 v0, 0x0
:goto_5
if-nez v0, :cond_5
monitor-enter p1
:try_start_6
2020-04-11 15:34:05 +00:00
iput-boolean v2, p1, Lh0/r/b$c;->f:Z
2019-12-06 03:29:40 +00:00
monitor-exit p1
goto :goto_6
:catchall_5
move-exception p2
monitor-exit p1
:try_end_6
.catchall {:try_start_6 .. :try_end_6} :catchall_5
throw p2
:cond_5
:goto_6
throw p2
.end method
.method public b(Ljava/lang/Object;)V
.locals 1
2020-04-11 15:34:05 +00:00
iget-boolean v0, p0, Lh0/r/b$c;->h:Z
2019-12-06 03:29:40 +00:00
if-nez v0, :cond_2
monitor-enter p0
const/4 v0, 0x0
:try_start_0
2020-04-11 15:34:05 +00:00
iput-boolean v0, p0, Lh0/r/b$c;->e:Z
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
iget-boolean v0, p0, Lh0/r/b$c;->f:Z
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_1
2020-04-11 15:34:05 +00:00
iget-object v0, p0, Lh0/r/b$c;->g:Ljava/util/List;
2019-12-06 03:29:40 +00:00
if-nez v0, :cond_0
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
2020-04-11 15:34:05 +00:00
iput-object v0, p0, Lh0/r/b$c;->g:Ljava/util/List;
2019-12-06 03:29:40 +00:00
:cond_0
2020-04-11 15:34:05 +00:00
iget-object v0, p0, Lh0/r/b$c;->g:Ljava/util/List;
2019-12-06 03:29:40 +00:00
invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
monitor-exit p0
return-void
:cond_1
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 v0, 0x1
2020-04-11 15:34:05 +00:00
iput-boolean v0, p0, Lh0/r/b$c;->h:Z
2019-12-06 03:29:40 +00:00
goto :goto_0
: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
:cond_2
:goto_0
2020-04-11 15:34:05 +00:00
iget-object v0, p0, Lh0/r/b$c;->d:Lrx/Subscriber;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-static {v0, p1}, Lh0/m/a/h;->a(Lh0/g;Ljava/lang/Object;)Z
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public onCompleted()V
.locals 1
2020-04-11 15:34:05 +00:00
iget-object v0, p0, Lh0/r/b$c;->d:Lrx/Subscriber;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-interface {v0}, Lh0/g;->onCompleted()V
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
2020-04-11 15:34:05 +00:00
iget-object v0, p0, Lh0/r/b$c;->d:Lrx/Subscriber;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-interface {v0, p1}, Lh0/g;->onError(Ljava/lang/Throwable;)V
2019-12-06 03:29:40 +00:00
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
2020-04-11 15:34:05 +00:00
iget-object v0, p0, Lh0/r/b$c;->d:Lrx/Subscriber;
2019-12-06 03:29:40 +00:00
2020-04-11 15:34:05 +00:00
invoke-interface {v0, p1}, Lh0/g;->onNext(Ljava/lang/Object;)V
2019-12-06 03:29:40 +00:00
return-void
.end method