apkfuckery/com.discord/smali/f/a/b/e.smali

70 lines
1.6 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Lf/a/b/e;
2020-10-05 23:18:16 +00:00
.super Lc0/n/c/k;
2020-07-08 16:44:49 +00:00
.source "AppActivity.kt"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# interfaces
.implements Lkotlin/jvm/functions/Function2;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-10-05 23:18:16 +00:00
"Lc0/n/c/k;",
2020-07-08 16:44:49 +00:00
"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;
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-08 16:44:49 +00:00
.method public constructor <init>(Lcom/discord/app/AppActivity;)V
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-object p1, p0, Lf/a/b/e;->this$0:Lcom/discord/app/AppActivity;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 p1, 0x2
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-direct {p0, p1}, Lc0/n/c/k;-><init>(I)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
return-void
.end method
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# virtual methods
.method public invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
check-cast p1, Ljava/lang/Number;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
check-cast p2, Ljava/lang/Boolean;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
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
2020-05-17 12:40:10 +00:00
.end method