apkfuckery/com.discord/smali/f/a/b/q.smali
2020-08-24 20:40:41 +00:00

870 lines
19 KiB
Smali

.class public final Lf/a/b/q;
.super Ljava/lang/Object;
.source "AppTransformers.kt"
# static fields
.field public static final a:Lf/a/b/q;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lf/a/b/q;
invoke-direct {v0}, Lf/a/b/q;-><init>()V
sput-object v0, Lf/a/b/q;->a:Lf/a/b/q;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static final a(Ljava/util/Collection;)Lrx/Observable$c;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"+TK;>;)",
"Lrx/Observable$c<",
"Ljava/util/Map<",
"TK;TT;>;",
"Ljava/util/Map<",
"TK;TT;>;>;"
}
.end annotation
sget-object v0, Lf/a/b/q$a;->d:Lf/a/b/q$a;
invoke-static {p0, v0}, Lf/a/b/q;->b(Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Lrx/Observable$c;
move-result-object p0
return-object p0
.end method
.method public static final b(Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Lrx/Observable$c;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
"V1:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Collection<",
"+TK;>;",
"Lkotlin/jvm/functions/Function1<",
"-TV;+TV1;>;)",
"Lrx/Observable$c<",
"Ljava/util/Map<",
"TK;TV;>;",
"Ljava/util/Map<",
"TK;TV1;>;>;"
}
.end annotation
if-eqz p1, :cond_1
invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
sget-object p0, Lf/a/b/q$b;->d:Lf/a/b/q$b;
goto :goto_0
:cond_0
new-instance v0, Lf/a/b/q$c;
invoke-direct {v0, p0, p1}, Lf/a/b/q$c;-><init>(Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)V
move-object p0, v0
:goto_0
return-object p0
:cond_1
const-string p0, "valueMapper"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
.end method
.method public static final c(Lkotlin/jvm/functions/Function1;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)Lrx/Observable$c;
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Ljava/lang/Boolean;",
">;TT;J",
"Ljava/util/concurrent/TimeUnit;",
")",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_1
if-eqz p4, :cond_0
new-instance v0, Lf/a/b/q$d;
move-object v1, v0
move-object v2, p0
move-object v3, p1
move-wide v4, p2
move-object v6, p4
invoke-direct/range {v1 .. v6}, Lf/a/b/q$d;-><init>(Lkotlin/jvm/functions/Function1;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)V
return-object v0
:cond_0
const-string p0, "timeUnit"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "predicate"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
.end method
.method public static synthetic d(Lkotlin/jvm/functions/Function1;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;I)Lrx/Observable$c;
.locals 0
and-int/lit8 p4, p5, 0x4
if-eqz p4, :cond_0
const-wide/16 p2, 0x1388
:cond_0
and-int/lit8 p4, p5, 0x8
if-eqz p4, :cond_1
sget-object p4, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
goto :goto_0
:cond_1
const/4 p4, 0x0
:goto_0
invoke-static {p0, p1, p2, p3, p4}, Lf/a/b/q;->c(Lkotlin/jvm/functions/Function1;Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)Lrx/Observable$c;
move-result-object p0
return-object p0
.end method
.method public static final e()Lrx/Observable$c;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">()",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
const/4 v0, 0x0
const/4 v1, 0x1
invoke-static {v0, v1}, Lf/a/b/q;->f(ZI)Lrx/Observable$c;
move-result-object v0
return-object v0
.end method
.method public static f(ZI)Lrx/Observable$c;
.locals 1
const/4 v0, 0x1
and-int/2addr p1, v0
if-eqz p1, :cond_0
const/4 p0, 0x1
:cond_0
new-instance p1, Lf/a/b/w;
invoke-direct {p1, p0}, Lf/a/b/w;-><init>(Z)V
return-object p1
.end method
.method public static final g(Lrx/functions/Action1;Ljava/lang/Class;)Lrx/Observable$c;
.locals 6
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lrx/functions/Action1<",
"-TT;>;",
"Ljava/lang/Class<",
"*>;)",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
const/4 v2, 0x0
const/4 v3, 0x0
const/4 v4, 0x0
const/16 v5, 0x1c
move-object v0, p0
move-object v1, p1
invoke-static/range {v0 .. v5}, Lf/a/b/q;->i(Lrx/functions/Action1;Ljava/lang/Class;Lrx/functions/Action1;Lrx/functions/Action1;Landroid/content/Context;I)Lrx/Observable$c;
move-result-object p0
return-object p0
.end method
.method public static h(Lf/a/b/q;Lkotlin/jvm/functions/Function1;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Landroid/content/Context;Lkotlin/jvm/functions/Function0;I)Lrx/Observable$c;
.locals 7
and-int/lit8 p0, p7, 0x4
const/4 p4, 0x0
if-eqz p0, :cond_0
move-object v5, p4
goto :goto_0
:cond_0
move-object v5, p3
:goto_0
and-int/lit8 p0, p7, 0x8
const/4 v3, 0x0
and-int/lit8 p0, p7, 0x10
if-eqz p0, :cond_1
move-object v1, p4
goto :goto_1
:cond_1
move-object v1, p5
:goto_1
and-int/lit8 p0, p7, 0x20
const/4 v6, 0x0
new-instance p0, Lf/a/b/c0;
move-object v0, p0
move-object v2, p2
move-object v4, p1
invoke-direct/range {v0 .. v6}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;)V
return-object p0
.end method
.method public static i(Lrx/functions/Action1;Ljava/lang/Class;Lrx/functions/Action1;Lrx/functions/Action1;Landroid/content/Context;I)Lrx/Observable$c;
.locals 7
and-int/lit8 p2, p5, 0x4
const/4 v5, 0x0
and-int/lit8 p2, p5, 0x8
const/4 p4, 0x0
if-eqz p2, :cond_0
move-object p3, p4
:cond_0
and-int/lit8 p2, p5, 0x10
const/4 v1, 0x0
if-eqz p0, :cond_3
if-eqz p1, :cond_2
new-instance v4, Lf/a/b/y;
invoke-direct {v4, p0}, Lf/a/b/y;-><init>(Lrx/functions/Action1;)V
if-eqz p3, :cond_1
new-instance p0, Lf/a/b/n0;
invoke-direct {p0, p3}, Lf/a/b/n0;-><init>(Lrx/functions/Action1;)V
move-object v3, p0
goto :goto_0
:cond_1
move-object v3, p4
:goto_0
new-instance p0, Lf/a/b/a0;
const/4 v6, 0x0
move-object v0, p0
move-object v2, p1
invoke-direct/range {v0 .. v6}, Lf/a/b/a0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
return-object p0
:cond_2
const-string p0, "errorClass"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw p4
:cond_3
const-string p0, "onNext"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw p4
.end method
.method public static j(Ljava/lang/Class;Lrx/functions/Action1;I)Lrx/Observable$c;
.locals 7
and-int/lit8 p1, p2, 0x2
const/4 v5, 0x0
const/4 p1, 0x0
if-eqz p0, :cond_1
sget-object v4, Lf/a/b/e0;->d:Lf/a/b/e0;
if-eqz v4, :cond_0
new-instance p1, Lf/a/b/a0;
const/4 v6, 0x0
move-object v0, p1
move-object v1, v6
move-object v2, p0
move-object v3, v6
invoke-direct/range {v0 .. v6}, Lf/a/b/a0;-><init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
return-object p1
:cond_0
const-string p0, "onNext"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw p1
:cond_1
const-string p0, "err"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw p1
.end method
.method public static final l(Lrx/functions/Action1;Landroid/content/Context;)Lrx/Observable$c;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lrx/functions/Action1<",
"-TT;>;",
"Landroid/content/Context;",
")",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
const/4 v0, 0x0
const/4 v1, 0x4
invoke-static {p0, p1, v0, v1}, Lf/a/b/q;->p(Lrx/functions/Action1;Landroid/content/Context;Lrx/functions/Action1;I)Lrx/Observable$c;
move-result-object p0
return-object p0
.end method
.method public static final m(Lrx/functions/Action1;Landroid/content/Context;Lrx/functions/Action1;)Lrx/Observable$c;
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lrx/functions/Action1<",
"-TT;>;",
"Landroid/content/Context;",
"Lrx/functions/Action1<",
"Lcom/discord/utilities/error/Error;",
">;)",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
const/4 v6, 0x0
if-eqz p0, :cond_3
new-instance v4, Lf/a/b/q$e;
invoke-direct {v4, p0}, Lf/a/b/q$e;-><init>(Lrx/functions/Action1;)V
if-eqz p2, :cond_0
new-instance p0, Lf/a/b/n0;
invoke-direct {p0, p2}, Lf/a/b/n0;-><init>(Lrx/functions/Action1;)V
goto :goto_0
:cond_0
move-object p0, v6
:goto_0
const/16 p2, 0x28
and-int/lit8 v0, p2, 0x4
if-eqz v0, :cond_1
move-object v5, v6
goto :goto_1
:cond_1
move-object v5, p0
:goto_1
and-int/lit8 p0, p2, 0x8
and-int/lit8 p0, p2, 0x10
if-eqz p0, :cond_2
move-object v1, v6
goto :goto_2
:cond_2
move-object v1, p1
:goto_2
and-int/lit8 p0, p2, 0x20
new-instance p0, Lf/a/b/c0;
const-string v2, "restClient"
move-object v0, p0
move-object v3, v6
invoke-direct/range {v0 .. v6}, Lf/a/b/c0;-><init>(Landroid/content/Context;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;)V
return-object p0
:cond_3
const-string p0, "onNext"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v6
.end method
.method public static final n(Lrx/functions/Action1;Lcom/discord/app/AppDialog;)Lrx/Observable$c;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lrx/functions/Action1<",
"-TT;>;",
"Lcom/discord/app/AppDialog;",
")",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_0
sget-object v1, Lf/a/b/q;->a:Lf/a/b/q;
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
move-result-object p1
new-instance v2, Lf/a/b/q$g;
invoke-direct {v2, p0}, Lf/a/b/q$g;-><init>(Lrx/functions/Action1;)V
invoke-virtual {v1, p1, v2, v0}, Lf/a/b/q;->k(Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;)Lrx/Observable$c;
move-result-object p0
return-object p0
:cond_0
const-string p0, "dialog"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
.end method
.method public static final o(Lrx/functions/Action1;Lcom/discord/app/AppFragment;)Lrx/Observable$c;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lrx/functions/Action1<",
"-TT;>;",
"Lcom/discord/app/AppFragment;",
")",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_1
if-eqz p1, :cond_0
sget-object v1, Lf/a/b/q;->a:Lf/a/b/q;
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
move-result-object p1
new-instance v2, Lf/a/b/q$f;
invoke-direct {v2, p0}, Lf/a/b/q$f;-><init>(Lrx/functions/Action1;)V
invoke-virtual {v1, p1, v2, v0}, Lf/a/b/q;->k(Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;)Lrx/Observable$c;
move-result-object p0
return-object p0
:cond_0
const-string p0, "fragment"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "onNext"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
.end method
.method public static synthetic p(Lrx/functions/Action1;Landroid/content/Context;Lrx/functions/Action1;I)Lrx/Observable$c;
.locals 0
and-int/lit8 p2, p3, 0x4
const/4 p2, 0x0
invoke-static {p0, p1, p2}, Lf/a/b/q;->m(Lrx/functions/Action1;Landroid/content/Context;Lrx/functions/Action1;)Lrx/Observable$c;
move-result-object p0
return-object p0
.end method
.method public static final q(Lkotlin/jvm/functions/Function1;Ljava/lang/Object;Lkotlin/jvm/functions/Function1;)Lrx/Observable$c;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">(",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Ljava/lang/Boolean;",
">;TR;",
"Lkotlin/jvm/functions/Function1<",
"-TT;+",
"Lrx/Observable<",
"TR;>;>;)",
"Lrx/Observable$c<",
"TT;TR;>;"
}
.end annotation
const/4 v0, 0x0
if-eqz p0, :cond_1
if-eqz p2, :cond_0
new-instance v0, Lf/a/b/q$h;
invoke-direct {v0, p1}, Lf/a/b/q$h;-><init>(Ljava/lang/Object;)V
new-instance p1, Lf/a/b/g0;
invoke-direct {p1, p0, v0, p2}, Lf/a/b/g0;-><init>(Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V
return-object p1
:cond_0
const-string p0, "defaultObservableFunc"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "observableCondition"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
.end method
.method public static final r(Lcom/discord/app/AppComponent;)Lrx/Observable$c;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/discord/app/AppComponent;",
")",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
const/4 v0, 0x0
const/4 v1, 0x2
invoke-static {p0, v0, v1}, Lf/a/b/q;->s(Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;I)Lrx/Observable$c;
move-result-object p0
return-object p0
.end method
.method public static s(Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;I)Lrx/Observable$c;
.locals 0
and-int/lit8 p1, p2, 0x2
const/4 p1, 0x0
if-eqz p0, :cond_0
new-instance p2, Lf/a/b/k0;
invoke-direct {p2, p0, p1}, Lf/a/b/k0;-><init>(Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;)V
return-object p2
:cond_0
const-string p0, "appComponent"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw p1
.end method
.method public static final t(Lcom/discord/utilities/dimmer/DimmerView;)Lrx/Observable$c;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lcom/discord/utilities/dimmer/DimmerView;",
")",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
const-wide/16 v0, 0x0
const/4 v2, 0x2
invoke-static {p0, v0, v1, v2}, Lf/a/b/q;->u(Lcom/discord/utilities/dimmer/DimmerView;JI)Lrx/Observable$c;
move-result-object p0
return-object p0
.end method
.method public static u(Lcom/discord/utilities/dimmer/DimmerView;JI)Lrx/Observable$c;
.locals 0
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_0
const-wide/16 p1, 0x1c2
:cond_0
new-instance p3, Lf/a/b/m0;
invoke-direct {p3, p0, p1, p2}, Lf/a/b/m0;-><init>(Lcom/discord/utilities/dimmer/DimmerView;J)V
return-object p3
.end method
# virtual methods
.method public final k(Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;)Lrx/Observable$c;
.locals 9
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/content/Context;",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Lkotlin/Unit;",
">;",
"Lrx/functions/Action1<",
"Lcom/discord/utilities/error/Error;",
">;)",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
const/4 v0, 0x0
if-eqz p2, :cond_1
if-eqz p3, :cond_0
new-instance v0, Lf/a/b/n0;
invoke-direct {v0, p3}, Lf/a/b/n0;-><init>(Lrx/functions/Action1;)V
:cond_0
move-object v4, v0
const/4 v5, 0x0
const/4 v7, 0x0
const/16 v8, 0x28
const-string v3, "restClient"
move-object v1, p0
move-object v2, p2
move-object v6, p1
invoke-static/range {v1 .. v8}, Lf/a/b/q;->h(Lf/a/b/q;Lkotlin/jvm/functions/Function1;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Landroid/content/Context;Lkotlin/jvm/functions/Function0;I)Lrx/Observable$c;
move-result-object p1
return-object p1
:cond_1
const-string p1, "onNext"
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
.end method