apkfuckery/com.discord/smali/k$g.smali

62 lines
1.4 KiB
Smali
Raw Normal View History

2020-04-11 15:34:05 +00:00
.class public final Lk$g;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
2019-12-06 01:29:57 +00:00
.source "MediaEngineLegacy.kt"
2019-07-24 11:27:29 +00:00
# interfaces
2019-12-06 01:29:57 +00:00
.implements Lcom/hammerandchisel/libdiscord/Discord$LocalVoiceLevelChangedCallback;
2019-07-24 11:27:29 +00:00
# annotations
2019-12-06 01:29:57 +00:00
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-04-11 15:34:05 +00:00
value = Lk;->b(Lkotlin/jvm/functions/Function1;)V
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x19
2019-07-24 11:27:29 +00:00
name = null
.end annotation
2019-12-06 01:29:57 +00:00
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic a:Lkotlin/jvm/functions/Function1;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Lkotlin/jvm/functions/Function1;)V
2019-07-24 11:27:29 +00:00
.locals 0
2020-04-11 15:34:05 +00:00
iput-object p1, p0, Lk$g;->a:Lkotlin/jvm/functions/Function1;
2019-12-06 01:29:57 +00:00
2019-07-24 11:27:29 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2019-12-06 01:29:57 +00:00
.method public final onLocalVoiceLevelChanged(FI)V
.locals 2
2019-07-24 11:27:29 +00:00
2019-12-06 01:29:57 +00:00
const/4 v0, 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 01:29:57 +00:00
and-int/2addr p2, v0
2019-07-24 11:27:29 +00:00
2019-12-06 01:29:57 +00:00
if-eqz p2, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 01:29:57 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
2019-12-06 01:29:57 +00:00
:cond_0
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 01:29:57 +00:00
:goto_0
2020-04-11 15:34:05 +00:00
iget-object p2, p0, Lk$g;->a:Lkotlin/jvm/functions/Function1;
2019-07-24 11:27:29 +00:00
2019-12-06 01:29:57 +00:00
new-instance v1, Lcom/discord/rtcconnection/mediaengine/MediaEngine$LocalVoiceStatus;
2019-12-04 22:43:03 +00:00
2019-12-06 01:29:57 +00:00
invoke-direct {v1, p1, v0}, Lcom/discord/rtcconnection/mediaengine/MediaEngine$LocalVoiceStatus;-><init>(FZ)V
2019-12-04 22:43:03 +00:00
2019-12-06 01:29:57 +00:00
invoke-interface {p2, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
2019-12-04 22:43:03 +00:00
2019-12-06 01:29:57 +00:00
return-void
2019-07-24 11:27:29 +00:00
.end method