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

89 lines
2.9 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lf/a/e/c;
.super Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
.source "OverlayManager.kt"
2020-05-17 12:40:10 +00:00
# interfaces
2020-07-08 16:44:49 +00:00
.implements Landroid/view/View$OnClickListener;
2020-05-17 12:40:10 +00:00
# instance fields
2020-07-08 16:44:49 +00:00
.field public final synthetic d:Lcom/discord/overlay/OverlayManager;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
.field public final synthetic e:Lkotlin/jvm/functions/Function1;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
.field public final synthetic f:Lcom/discord/overlay/views/OverlayBubbleWrap;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
.field public final synthetic g:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# direct methods
.method public constructor <init>(Lcom/discord/overlay/OverlayManager;Lkotlin/jvm/functions/Function1;Lcom/discord/overlay/views/OverlayBubbleWrap;Ljava/lang/Object;)V
.locals 0
iput-object p1, p0, Lf/a/e/c;->d:Lcom/discord/overlay/OverlayManager;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-object p2, p0, Lf/a/e/c;->e:Lkotlin/jvm/functions/Function1;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-object p3, p0, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-object p4, p0, Lf/a/e/c;->g:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
2020-07-08 16:44:49 +00:00
.method public final onClick(Landroid/view/View;)V
.locals 2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p0, Lf/a/e/c;->e:Lkotlin/jvm/functions/Function1;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-interface {p1, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
check-cast p1, Lcom/discord/overlay/views/OverlayBubbleWrap;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
new-instance v0, Lf/a/e/c$a;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {v0, p0}, Lf/a/e/c$a;-><init>(Lf/a/e/c;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->addOnAttachStateChangeListener(Landroid/view/View$OnAttachStateChangeListener;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lf/a/e/c;->d:Lcom/discord/overlay/OverlayManager;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {v0, p1}, Lcom/discord/overlay/OverlayManager;->a(Lcom/discord/overlay/views/OverlayBubbleWrap;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p0, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 v0, 0x0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p1, v0}, Lcom/discord/overlay/views/OverlayBubbleWrap;->setBubbleTouchable(Z)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p0, Lf/a/e/c;->d:Lcom/discord/overlay/OverlayManager;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p1, Lcom/discord/overlay/OverlayManager;->m:Landroid/view/WindowManager;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-interface {p1, v0}, Landroid/view/WindowManager;->removeViewImmediate(Landroid/view/View;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p0, Lf/a/e/c;->d:Lcom/discord/overlay/OverlayManager;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p1, Lcom/discord/overlay/OverlayManager;->m:Landroid/view/WindowManager;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lf/a/e/c;->f:Lcom/discord/overlay/views/OverlayBubbleWrap;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {v0}, Lcom/discord/overlay/views/OverlayBubbleWrap;->getWindowLayoutParams()Landroid/view/WindowManager$LayoutParams;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-interface {p1, v0, v1}, Landroid/view/WindowManager;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
2020-05-17 12:40:10 +00:00
return-void
.end method