apkfuckery/com.discord/smali_classes2/rx/functions/c$2.smali
2019-02-04 21:42:43 +01:00

85 lines
1.8 KiB
Smali

.class final Lrx/functions/c$2;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lrx/functions/FuncN;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lrx/functions/c;->d(Lrx/functions/Func2;)Lrx/functions/FuncN;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lrx/functions/FuncN<",
"TR;>;"
}
.end annotation
# instance fields
.field final synthetic bzP:Lrx/functions/Func2;
# direct methods
.method constructor <init>(Lrx/functions/Func2;)V
.locals 0
iput-object p1, p0, Lrx/functions/c$2;->bzP:Lrx/functions/Func2;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final varargs call([Ljava/lang/Object;)Ljava/lang/Object;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Ljava/lang/Object;",
")TR;"
}
.end annotation
array-length v0, p1
const/4 v1, 0x2
if-ne v0, v1, :cond_0
iget-object v0, p0, Lrx/functions/c$2;->bzP:Lrx/functions/Func2;
const/4 v1, 0x0
aget-object v1, p1, v1
const/4 v2, 0x1
aget-object p1, p1, v2
invoke-interface {v0, v1, p1}, Lrx/functions/Func2;->call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "Func2 expecting 2 arguments."
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method