RoomsYoutubeComponent$g$5.smali

.class final Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;
.super Lkotlin/f/b/p;
.source "SourceFile"

# interfaces
.implements Lkotlin/f/a/m;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lkotlin/f/b/p;",
        "Lkotlin/f/a/m<",
        "Ljava/lang/Integer;",
        "Ljava/lang/Integer;",
        "Lkotlin/w;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;


# direct methods
.method constructor <init>(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;)V
    .registers 2

    iput-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    const/4 p1, 0x2

    invoke-direct {p0, p1}, Lkotlin/f/b/p;-><init>(I)V

    return-void
.end method


# virtual methods
.method public final synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .registers 10

    .line 45
    check-cast p1, Ljava/lang/Number;

    invoke-virtual {p1}, Ljava/lang/Number;->intValue()I

    move-result p1

    check-cast p2, Ljava/lang/Number;

    invoke-virtual {p2}, Ljava/lang/Number;->intValue()I

    move-result p2

    .line 1245
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)F

    move-result v0

    const/4 v1, 0x0

    cmpl-float v0, v0, v1

    if-lez v0, :cond_a9

    int-to-float p1, p1

    .line 1247
    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)F

    move-result v0

    mul-float p1, p1, v0

    int-to-float p2, p2

    div-float/2addr p1, p2

    .line 1249
    iget-object p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object p2, p2, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    cmpl-float v0, p1, v1

    if-lez v0, :cond_3d

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)F

    move-result v0

    cmpg-float v0, p1, v0

    if-nez v0, :cond_3d

    const/high16 v0, 0x3f800000    # 1.0f

    sub-float/2addr p1, v0

    :cond_3d
    invoke-static {p2, p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->a(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;F)V

    .line 1250
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object p1, p1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->s(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;

    move-result-object p1

    iget-object p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object p2, p2, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {p2}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->j(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)F

    move-result p2

    float-to-int p2, p2

    iget-object v0, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object v0, v0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {v0}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->r(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)F

    move-result v0

    invoke-virtual {p1, p2, v0}, Lcom/imo/android/imoim/rooms/youtube/YoutubePlayControlsView;->a(IF)V

    .line 1251
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object p1, p1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->g(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;

    move-result-object p1

    if-eqz p1, :cond_72

    iget-object p2, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object p2, p2, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {p2}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->j(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)F

    move-result p2

    float-to-int p2, p2

    invoke-virtual {p1, p2}, Lcom/imo/android/imoim/web/youtube/YouTubePlayerWebView;->a(I)V

    .line 1252
    :cond_72
    sget-object p1, Lcom/imo/android/imoim/rooms/entrance/c;->c:Lcom/imo/android/imoim/rooms/entrance/c;

    .line 2070
    invoke-static {}, Lcom/imo/android/imoim/rooms/entrance/c;->b()Lcom/imo/android/imoim/rooms/entrance/b/b;

    .line 1252
    invoke-static {}, Lcom/imo/android/imoim/rooms/av/a/c;->g()Ljava/lang/String;

    move-result-object v0

    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object p1, p1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->h(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;

    move-result-object v1

    .line 1253
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object p1, p1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->i(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;

    move-result-object v3

    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object p1, p1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->j(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)F

    move-result p1

    float-to-int v4, p1

    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object p1, p1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->k(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;

    move-result-object v5

    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object p1, p1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->l(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;

    move-result-object v6

    const-string v2, "seek"

    .line 1252
    invoke-static/range {v0 .. v6}, Lcom/imo/android/imoim/rooms/entrance/b/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V

    .line 1255
    :cond_a9
    iget-object p1, p0, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g$5;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;

    iget-object p1, p1, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent$g;->a:Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;

    invoke-static {p1}, Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;->m(Lcom/imo/android/imoim/rooms/av/component/RoomsYoutubeComponent;)Ljava/lang/String;

    move-result-object p1

    const/4 p2, 0x0

    new-array p2, p2, [Lkotlin/m;

    const-string v0, "progress"

    invoke-static {v0, p1, p2}, Lcom/imo/android/imoim/rooms/b/g;->a(Ljava/lang/String;Ljava/lang/String;[Lkotlin/m;)V

    .line 45
    sget-object p1, Lkotlin/w;->a:Lkotlin/w;

    return-object p1
.end method