apkfuckery/com.discord/smali/f/a/e/a.smali
2020-07-25 00:57:58 +00:00

84 lines
2 KiB
Smali

.class public final Lf/a/e/a;
.super Lj0/n/c/i;
.source "OverlayManager.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lj0/n/c/i;",
"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/e/a;->this$0:Lcom/discord/overlay/OverlayManager;
const/4 p1, 0x1
invoke-direct {p0, p1}, Lj0/n/c/i;-><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;
if-eqz p1, :cond_0
:try_start_0
iget-object v0, p0, Lf/a/e/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/e/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
:cond_0
const-string p1, "bubbleWrap"
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method