apkfuckery/com.discord/smali_classes2/s0/k/d.smali
2020-09-02 04:07:20 +00:00

76 lines
1.5 KiB
Smali

.class public final Ls0/k/d;
.super Ljava/lang/Object;
.source "Functions.java"
# interfaces
.implements Lrx/functions/FuncN;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lrx/functions/FuncN<",
"TR;>;"
}
.end annotation
# instance fields
.field public final synthetic a:Lrx/functions/Func2;
# direct methods
.method public constructor <init>(Lrx/functions/Func2;)V
.locals 0
iput-object p1, p0, Ls0/k/d;->a:Lrx/functions/Func2;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public 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, Ls0/k/d;->a: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