CommunityReportViewModel$b.smali

.class public final Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lcom/imo/android/imoim/community/report/a/e;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;
.end annotation

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


# instance fields
.field final synthetic a:Lkotlin/f/b/aa$d;

.field final synthetic b:Ljava/util/List;

.field final synthetic c:Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;

.field final synthetic d:Ljava/util/List;

.field final synthetic e:Ljava/util/List;

.field final synthetic f:Ljava/lang/String;

.field final synthetic g:Ljava/lang/String;

.field final synthetic h:Ljava/lang/String;


# direct methods
.method public constructor <init>(Lkotlin/f/b/aa$d;Ljava/util/List;Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;Ljava/util/List;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .registers 9

    iput-object p1, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->a:Lkotlin/f/b/aa$d;

    iput-object p2, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->b:Ljava/util/List;

    iput-object p3, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->c:Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;

    iput-object p4, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->d:Ljava/util/List;

    iput-object p5, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->e:Ljava/util/List;

    iput-object p6, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->f:Ljava/lang/String;

    iput-object p7, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->g:Ljava/lang/String;

    iput-object p8, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->h:Ljava/lang/String;

    .line 50
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final a()V
    .registers 3

    .line 72
    iget-object v0, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->c:Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;

    invoke-static {v0}, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;->d(Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;)Landroidx/lifecycle/MutableLiveData;

    move-result-object v0

    sget-object v1, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;

    invoke-virtual {v0, v1}, Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V

    .line 73
    iget-object v0, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->c:Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;

    invoke-static {v0}, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;->b(Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;)V

    return-void
.end method

.method public final a(Ljava/lang/String;)V
    .registers 6

    const-string v0, "url"

    invoke-static {p1, v0}, Lkotlin/f/b/o;->b(Ljava/lang/Object;Ljava/lang/String;)V

    .line 52
    iget-object v0, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->c:Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;

    invoke-static {v0}, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;->a(Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;)Z

    move-result v0

    if-eqz v0, :cond_13

    .line 53
    iget-object p1, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->c:Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;

    invoke-static {p1}, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;->b(Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;)V

    return-void

    .line 56
    :cond_13
    iget-object v0, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->d:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 58
    iget-object p1, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->a:Lkotlin/f/b/aa$d;

    iget p1, p1, Lkotlin/f/b/aa$d;->a:I

    iget-object v0, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-ne p1, v0, :cond_43

    .line 59
    iget-object p1, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->c:Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;

    invoke-static {p1}, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;->c(Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;)Landroidx/lifecycle/MutableLiveData;

    move-result-object p1

    const/16 v0, 0x64

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V

    .line 60
    iget-object p1, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->c:Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;

    iget-object v0, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->f:Ljava/lang/String;

    iget-object v1, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->g:Ljava/lang/String;

    iget-object v2, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->d:Ljava/util/List;

    iget-object v3, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->h:Ljava/lang/String;

    invoke-static {p1, v0, v1, v2, v3}, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;->a(Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;)V

    return-void

    .line 63
    :cond_43
    iget-object p1, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->d:Ljava/util/List;

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p1

    int-to-float p1, p1

    iget-object v0, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    int-to-float v0, v0

    div-float/2addr p1, v0

    const/high16 v0, 0x42c80000    # 100.0f

    mul-float p1, p1, v0

    float-to-int p1, p1

    .line 65
    iget-object v0, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->c:Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;

    invoke-static {v0}, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;->c(Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;)Landroidx/lifecycle/MutableLiveData;

    move-result-object v0

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroidx/lifecycle/MutableLiveData;->postValue(Ljava/lang/Object;)V

    .line 66
    iget-object p1, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->a:Lkotlin/f/b/aa$d;

    iget v0, p1, Lkotlin/f/b/aa$d;->a:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p1, Lkotlin/f/b/aa$d;->a:I

    .line 67
    iget-object p1, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->c:Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;

    iget-object v0, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->b:Ljava/util/List;

    iget-object v1, p0, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel$b;->a:Lkotlin/f/b/aa$d;

    iget v1, v1, Lkotlin/f/b/aa$d;->a:I

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    move-object v1, p0

    check-cast v1, Lcom/imo/android/imoim/community/report/a/e;

    invoke-static {p1, v0, v1}, Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;->a(Lcom/imo/android/imoim/community/report/viewmodel/CommunityReportViewModel;Ljava/lang/String;Lcom/imo/android/imoim/community/report/a/e;)V

    return-void
.end method