apkfuckery/com.discord/smali/e/a/g/e.smali
2020-04-08 18:24:01 +02:00

97 lines
1.8 KiB
Smali

.class public final Le/a/g/e;
.super Ljava/lang/Object;
.source "SamsungConnect.kt"
# interfaces
.implements Lrx/functions/Func2;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T1:",
"Ljava/lang/Object;",
"T2:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/functions/Func2<",
"TT1;TT2;TR;>;"
}
.end annotation
# static fields
.field public static final d:Le/a/g/e;
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Le/a/g/e;
invoke-direct {v0}, Le/a/g/e;-><init>()V
sput-object v0, Le/a/g/e;->d:Le/a/g/e;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public call(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
check-cast p1, Ljava/lang/Boolean;
check-cast p2, Ljava/lang/Boolean;
const-string v0, "isStaff"
invoke-static {p1, v0}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
if-nez p1, :cond_1
const-string p1, "isAllowed"
invoke-static {p2, p1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
if-eqz p1, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
goto :goto_1
:cond_1
:goto_0
const/4 p1, 0x1
:goto_1
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p1
return-object p1
.end method