apkfuckery/com.discord/smali/e/a/b/l$h.smali
2020-03-26 06:26:27 +01:00

129 lines
3.5 KiB
Smali

.class public final Le/a/b/l$h;
.super Ljava/lang/Object;
.source "AppTransformers.kt"
# interfaces
.implements Lrx/Observable$c;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Le/a/b/l;->a(Lkotlin/jvm/functions/Function1;Ljava/lang/Class;Lrx/functions/Action1;Lkotlin/jvm/functions/Function1;Landroid/content/Context;Lkotlin/jvm/functions/Function0;)Lrx/Observable$c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/Observable$c<",
"TT;TT;>;"
}
.end annotation
# instance fields
.field public final synthetic d:Landroid/content/Context;
.field public final synthetic e:Ljava/lang/Class;
.field public final synthetic f:Lkotlin/jvm/functions/Function1;
.field public final synthetic g:Lkotlin/jvm/functions/Function1;
.field public final synthetic h:Lrx/functions/Action1;
.field public final synthetic i:Lkotlin/jvm/functions/Function0;
# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/lang/Class;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lrx/functions/Action1;Lkotlin/jvm/functions/Function0;)V
.locals 0
iput-object p1, p0, Le/a/b/l$h;->d:Landroid/content/Context;
iput-object p2, p0, Le/a/b/l$h;->e:Ljava/lang/Class;
iput-object p3, p0, Le/a/b/l$h;->f:Lkotlin/jvm/functions/Function1;
iput-object p4, p0, Le/a/b/l$h;->g:Lkotlin/jvm/functions/Function1;
iput-object p5, p0, Le/a/b/l$h;->h:Lrx/functions/Action1;
iput-object p6, p0, Le/a/b/l$h;->i:Lkotlin/jvm/functions/Function0;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public call(Ljava/lang/Object;)Ljava/lang/Object;
.locals 8
move-object v0, p1
check-cast v0, Lrx/Observable;
const-string p1, "observable"
invoke-static {v0, p1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v1, p0, Le/a/b/l$h;->d:Landroid/content/Context;
iget-object p1, p0, Le/a/b/l$h;->e:Ljava/lang/Class;
invoke-virtual {p1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v2
const-string p1, "errorClass.simpleName"
invoke-static {v2, p1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v3, p0, Le/a/b/l$h;->f:Lkotlin/jvm/functions/Function1;
iget-object v4, p0, Le/a/b/l$h;->g:Lkotlin/jvm/functions/Function1;
iget-object p1, p0, Le/a/b/l$h;->h:Lrx/functions/Action1;
const/4 v7, 0x0
if-eqz p1, :cond_0
new-instance v5, Le/a/b/b0;
invoke-direct {v5, p1}, Le/a/b/b0;-><init>(Lrx/functions/Action1;)V
goto :goto_0
:cond_0
move-object v5, v7
:goto_0
iget-object p1, p0, Le/a/b/l$h;->i:Lkotlin/jvm/functions/Function0;
if-eqz p1, :cond_1
goto :goto_1
:cond_1
sget-object p1, Le/a/b/t;->d:Le/a/b/t;
:goto_1
move-object v6, p1
invoke-static/range {v0 .. v6}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe(Lrx/Observable;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 v7
.end method