apkfuckery/com.discord/smali/f/a/d/a.smali
2020-11-09 19:03:49 +00:00

77 lines
1.9 KiB
Smali

.class public final Lf/a/d/a;
.super Ly/n/c/k;
.source "OverlayManager.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/n/c/k;",
"Lkotlin/jvm/functions/Function1<",
"Lcom/discord/overlay/views/OverlayBubbleWrap;",
"Ljava/lang/Boolean;",
">;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/discord/overlay/OverlayManager;
# direct methods
.method public constructor <init>(Lcom/discord/overlay/OverlayManager;)V
.locals 0
iput-object p1, p0, Lf/a/d/a;->this$0:Lcom/discord/overlay/OverlayManager;
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><init>(I)V
return-void
.end method
# virtual methods
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
check-cast p1, Lcom/discord/overlay/views/OverlayBubbleWrap;
const-string v0, "bubbleWrap"
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
:try_start_0
iget-object v0, p0, Lf/a/d/a;->this$0:Lcom/discord/overlay/OverlayManager;
iget-object v0, v0, Lcom/discord/overlay/OverlayManager;->m:Landroid/view/WindowManager;
invoke-interface {v0, p1}, Landroid/view/WindowManager;->removeViewImmediate(Landroid/view/View;)V
iget-object v0, p0, Lf/a/d/a;->this$0:Lcom/discord/overlay/OverlayManager;
iget-object v0, v0, Lcom/discord/overlay/OverlayManager;->h:Lkotlin/jvm/functions/Function1;
invoke-interface {v0, p1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0
const/4 p1, 0x1
goto :goto_0
:catch_0
const/4 p1, 0x0
:goto_0
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p1
return-object p1
.end method