apkfuckery/com.discord/smali/f/a/h/r/b/e$j.smali
2020-07-25 00:57:58 +00:00

83 lines
1.6 KiB
Smali

.class public final Lf/a/h/r/b/e$j;
.super Lj0/n/c/i;
.source "MediaEngineConnectionLegacy.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lf/a/h/r/b/e;->b(JF)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lj0/n/c/i;",
"Lkotlin/jvm/functions/Function1<",
"Lco/discord/media_engine/Connection;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic $userId:J
.field public final synthetic $volume:F
# direct methods
.method public constructor <init>(JF)V
.locals 0
iput-wide p1, p0, Lf/a/h/r/b/e$j;->$userId:J
iput p3, p0, Lf/a/h/r/b/e$j;->$volume:F
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 4
check-cast p1, Lco/discord/media_engine/Connection;
if-eqz p1, :cond_0
iget-wide v0, p0, Lf/a/h/r/b/e$j;->$userId:J
iget v2, p0, Lf/a/h/r/b/e$j;->$volume:F
const/high16 v3, 0x42c80000 # 100.0f
div-float/2addr v2, v3
invoke-virtual {p1, v0, v1, v2}, Lco/discord/media_engine/Connection;->setUserPlayoutVolume(JF)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
:cond_0
const-string p1, "$receiver"
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method