apkfuckery/com.discord/smali/f/a/b/e.smali
2020-09-18 17:51:47 +00:00

69 lines
1.6 KiB
Smali

.class public final Lf/a/b/e;
.super Lc0/n/c/j;
.source "AppActivity.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function2;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lc0/n/c/j;",
"Lkotlin/jvm/functions/Function2<",
"Ljava/lang/Integer;",
"Ljava/lang/Boolean;",
"Landroid/util/TypedValue;",
">;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/discord/app/AppActivity;
# direct methods
.method public constructor <init>(Lcom/discord/app/AppActivity;)V
.locals 0
iput-object p1, p0, Lf/a/b/e;->this$0:Lcom/discord/app/AppActivity;
const/4 p1, 0x2
invoke-direct {p0, p1}, Lc0/n/c/j;-><init>(I)V
return-void
.end method
# virtual methods
.method public invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
move-result p1
check-cast p2, Ljava/lang/Boolean;
invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z
move-result p2
new-instance v0, Landroid/util/TypedValue;
invoke-direct {v0}, Landroid/util/TypedValue;-><init>()V
iget-object v1, p0, Lf/a/b/e;->this$0:Lcom/discord/app/AppActivity;
invoke-virtual {v1}, Landroid/app/Activity;->getTheme()Landroid/content/res/Resources$Theme;
move-result-object v1
invoke-virtual {v1, p1, v0, p2}, Landroid/content/res/Resources$Theme;->resolveAttribute(ILandroid/util/TypedValue;Z)Z
return-object v0
.end method