m.smali

.class public Lcom/sandboxol/gamedetail/view/fragment/introduce/m;
.super Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;
.source "GameDetailIntroduceTopItemViewModel.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/sandboxol/common/base/viewmodel/ListItemViewModel<",
        "Lcom/sandboxol/greendao/entity/BannerPic;",
        ">;"
    }
.end annotation


# instance fields
.field public a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

.field private b:Lcom/sandboxol/greendao/entity/Game;

.field private c:Z

.field private d:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/sandboxol/greendao/entity/AuthorInfo;",
            ">;"
        }
    .end annotation
.end field

.field public e:Landroidx/databinding/ObservableField;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/databinding/ObservableField<",
            "Ljava/lang/Boolean;",
            ">;"
        }
    .end annotation
.end field

.field public f:Landroidx/databinding/ObservableField;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/databinding/ObservableField<",
            "Ljava/lang/Boolean;",
            ">;"
        }
    .end annotation
.end field

.field public g:Landroidx/databinding/ObservableField;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/databinding/ObservableField<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field public h:Landroidx/databinding/ObservableField;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/databinding/ObservableField<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field public i:Landroidx/databinding/ObservableField;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/databinding/ObservableField<",
            "Ljava/lang/Boolean;",
            ">;"
        }
    .end annotation
.end field

.field public j:Landroidx/databinding/ObservableField;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/databinding/ObservableField<",
            "Ljava/lang/Boolean;",
            ">;"
        }
    .end annotation
.end field

.field public k:Landroidx/databinding/ObservableField;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/databinding/ObservableField<",
            "Ljava/lang/Boolean;",
            ">;"
        }
    .end annotation
.end field

.field public l:Lcom/sandboxol/common/command/ReplyCommand;

.field public m:Lcom/sandboxol/common/command/ReplyCommand;

.field public n:Lcom/sandboxol/common/command/ReplyCommand;

.field public o:Lcom/sandboxol/common/command/ReplyCommand;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/sandboxol/greendao/entity/BannerPic;Lcom/sandboxol/greendao/entity/Game;)V
    .registers 9

    .line 1
    invoke-direct {p0, p1, p2}, Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;-><init>(Landroid/content/Context;Ljava/lang/Object;)V

    .line 2
    new-instance p2, Ljava/util/ArrayList;

    invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->d:Ljava/util/List;

    .line 3
    new-instance p2, Landroidx/databinding/ObservableField;

    const/4 v0, 0x0

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-direct {p2, v1}, Landroidx/databinding/ObservableField;-><init>(Ljava/lang/Object;)V

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->e:Landroidx/databinding/ObservableField;

    .line 4
    new-instance p2, Landroidx/databinding/ObservableField;

    invoke-direct {p2, v1}, Landroidx/databinding/ObservableField;-><init>(Ljava/lang/Object;)V

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->f:Landroidx/databinding/ObservableField;

    .line 5
    new-instance p2, Landroidx/databinding/ObservableField;

    const-string v2, ""

    invoke-direct {p2, v2}, Landroidx/databinding/ObservableField;-><init>(Ljava/lang/Object;)V

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->g:Landroidx/databinding/ObservableField;

    .line 6
    new-instance p2, Landroidx/databinding/ObservableField;

    invoke-direct {p2, v2}, Landroidx/databinding/ObservableField;-><init>(Ljava/lang/Object;)V

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->h:Landroidx/databinding/ObservableField;

    .line 7
    new-instance p2, Landroidx/databinding/ObservableField;

    invoke-direct {p2, v1}, Landroidx/databinding/ObservableField;-><init>(Ljava/lang/Object;)V

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->i:Landroidx/databinding/ObservableField;

    .line 8
    new-instance p2, Landroidx/databinding/ObservableField;

    invoke-direct {p2, v1}, Landroidx/databinding/ObservableField;-><init>(Ljava/lang/Object;)V

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->j:Landroidx/databinding/ObservableField;

    .line 9
    new-instance p2, Landroidx/databinding/ObservableField;

    invoke-direct {p2, v1}, Landroidx/databinding/ObservableField;-><init>(Ljava/lang/Object;)V

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->k:Landroidx/databinding/ObservableField;

    .line 10
    new-instance p2, Lcom/sandboxol/common/command/ReplyCommand;

    new-instance v1, Lcom/sandboxol/gamedetail/view/fragment/introduce/a;

    invoke-direct {v1, p0}, Lcom/sandboxol/gamedetail/view/fragment/introduce/a;-><init>(Lcom/sandboxol/gamedetail/view/fragment/introduce/m;)V

    invoke-direct {p2, v1}, Lcom/sandboxol/common/command/ReplyCommand;-><init>(Lrx/functions/Action0;)V

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->l:Lcom/sandboxol/common/command/ReplyCommand;

    .line 11
    new-instance p2, Lcom/sandboxol/common/command/ReplyCommand;

    new-instance v1, Lcom/sandboxol/gamedetail/view/fragment/introduce/c;

    invoke-direct {v1, p0}, Lcom/sandboxol/gamedetail/view/fragment/introduce/c;-><init>(Lcom/sandboxol/gamedetail/view/fragment/introduce/m;)V

    invoke-direct {p2, v1}, Lcom/sandboxol/common/command/ReplyCommand;-><init>(Lrx/functions/Action0;)V

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->m:Lcom/sandboxol/common/command/ReplyCommand;

    .line 12
    new-instance p2, Lcom/sandboxol/common/command/ReplyCommand;

    new-instance v1, Lcom/sandboxol/gamedetail/view/fragment/introduce/d;

    invoke-direct {v1, p0}, Lcom/sandboxol/gamedetail/view/fragment/introduce/d;-><init>(Lcom/sandboxol/gamedetail/view/fragment/introduce/m;)V

    invoke-direct {p2, v1}, Lcom/sandboxol/common/command/ReplyCommand;-><init>(Lrx/functions/Action0;)V

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->n:Lcom/sandboxol/common/command/ReplyCommand;

    .line 13
    new-instance p2, Lcom/sandboxol/common/command/ReplyCommand;

    new-instance v1, Lcom/sandboxol/gamedetail/view/fragment/introduce/k;

    invoke-direct {v1, p0}, Lcom/sandboxol/gamedetail/view/fragment/introduce/k;-><init>(Lcom/sandboxol/gamedetail/view/fragment/introduce/m;)V

    invoke-direct {p2, v1}, Lcom/sandboxol/common/command/ReplyCommand;-><init>(Lrx/functions/Action0;)V

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->o:Lcom/sandboxol/common/command/ReplyCommand;

    .line 14
    iput-object p3, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->b:Lcom/sandboxol/greendao/entity/Game;

    .line 15
    invoke-virtual {p3}, Lcom/sandboxol/greendao/entity/Game;->getWarmUpResponse()Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    move-result-object p2

    iput-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    .line 16
    iget-object p2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    if-eqz p2, :cond_ea

    .line 17
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/GameWarmUpResponse;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;

    move-result-object p2

    if-eqz p2, :cond_ea

    const/4 p2, 0x1

    .line 18
    :try_start_85
    iget-object v1, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->f:Landroidx/databinding/ObservableField;

    iget-object v2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    invoke-virtual {v2}, Lcom/sandboxol/greendao/entity/GameWarmUpResponse;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;

    move-result-object v2

    invoke-virtual {v2}, Lcom/sandboxol/greendao/entity/AuthorInfo;->getIsAddFriend()I

    move-result v2

    if-ne v2, p2, :cond_95

    const/4 v2, 0x1

    goto :goto_96

    :cond_95
    const/4 v2, 0x0

    :goto_96
    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroidx/databinding/ObservableField;->set(Ljava/lang/Object;)V

    .line 19
    invoke-static {}, Lcom/sandboxol/greendao/c/H;->newInstance()Lcom/sandboxol/greendao/c/H;

    move-result-object v1

    iget-object v2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    invoke-virtual {v2}, Lcom/sandboxol/greendao/entity/GameWarmUpResponse;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;

    move-result-object v2

    invoke-virtual {v2}, Lcom/sandboxol/greendao/entity/AuthorInfo;->getUserId()J

    move-result-wide v2

    new-instance v4, Lcom/sandboxol/gamedetail/view/fragment/introduce/l;

    invoke-direct {v4, p0, p1}, Lcom/sandboxol/gamedetail/view/fragment/introduce/l;-><init>(Lcom/sandboxol/gamedetail/view/fragment/introduce/m;Landroid/content/Context;)V

    invoke-virtual {v1, v2, v3, v4}, Lcom/sandboxol/greendao/c/H;->a(JLcom/sandboxol/greendao/a/c;)V
    :try_end_b3
    .catch Ljava/lang/Exception; {:try_start_85 .. :try_end_b3} :catch_b4

    goto :goto_b8

    :catch_b4
    move-exception v1

    .line 20
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    .line 21
    :goto_b8
    iget-object v1, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    invoke-virtual {v1}, Lcom/sandboxol/greendao/entity/GameWarmUpResponse;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;

    move-result-object v1

    invoke-virtual {v1}, Lcom/sandboxol/greendao/entity/AuthorInfo;->getIsTeam()I

    move-result v1

    const/4 v2, 0x2

    if-ne v1, v2, :cond_ea

    .line 22
    iget-object v1, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    invoke-virtual {v1}, Lcom/sandboxol/greendao/entity/GameWarmUpResponse;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;

    move-result-object v1

    invoke-virtual {v1}, Lcom/sandboxol/greendao/entity/AuthorInfo;->getTeamId()J

    move-result-wide v1

    iget-object v3, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    invoke-virtual {v3}, Lcom/sandboxol/greendao/entity/GameWarmUpResponse;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;

    move-result-object v3

    invoke-virtual {v3}, Lcom/sandboxol/greendao/entity/AuthorInfo;->getIsAddFriend()I

    move-result v3

    if-ne v3, p2, :cond_dd

    const/4 v3, 0x1

    goto :goto_de

    :cond_dd
    const/4 v3, 0x0

    :goto_de
    invoke-direct {p0, v1, v2, v0, v3}, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a(JZZ)V

    .line 23
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->f:Landroidx/databinding/ObservableField;

    invoke-static {p2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object p2

    invoke-virtual {v0, p2}, Landroidx/databinding/ObservableField;->set(Ljava/lang/Object;)V

    .line 24
    :cond_ea
    new-instance p2, Lcom/sandboxol/gamedetail/view/fragment/introduce/j;

    invoke-direct {p2}, Lcom/sandboxol/gamedetail/view/fragment/introduce/j;-><init>()V

    .line 25
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->h:Landroidx/databinding/ObservableField;

    iget-object v1, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->i:Landroidx/databinding/ObservableField;

    invoke-virtual {p2, p1, p3, v0, v1}, Lcom/sandboxol/gamedetail/view/fragment/introduce/j;->a(Landroid/content/Context;Lcom/sandboxol/greendao/entity/Game;Landroidx/databinding/ObservableField;Landroidx/databinding/ObservableField;)V

    .line 26
    iget-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->k:Landroidx/databinding/ObservableField;

    invoke-virtual {p3}, Lcom/sandboxol/greendao/entity/Game;->isShowEditTools()Z

    move-result p2

    invoke-static {p2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroidx/databinding/ObservableField;->set(Ljava/lang/Object;)V

    return-void
.end method

.method static synthetic a(Lcom/sandboxol/gamedetail/view/fragment/introduce/m;)Lcom/sandboxol/greendao/entity/Game;
    .registers 1

    .line 1
    iget-object p0, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->b:Lcom/sandboxol/greendao/entity/Game;

    return-object p0
.end method

.method private a(JZZ)V
    .registers 12

    .line 3
    new-instance v0, Lcom/sandboxol/gamedetail/view/fragment/introduce/j;

    invoke-direct {v0}, Lcom/sandboxol/gamedetail/view/fragment/introduce/j;-><init>()V

    iget-object v1, p0, Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;->context:Landroid/content/Context;

    iget-object v4, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->d:Ljava/util/List;

    move-wide v2, p1

    move v5, p3

    move v6, p4

    invoke-virtual/range {v0 .. v6}, Lcom/sandboxol/gamedetail/view/fragment/introduce/j;->a(Landroid/content/Context;JLjava/util/List;ZZ)V

    return-void
.end method

.method static synthetic a(Lcom/sandboxol/gamedetail/view/fragment/introduce/m;Z)Z
    .registers 2

    .line 2
    iput-boolean p1, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->c:Z

    return p1
.end method

.method static synthetic b(Lcom/sandboxol/gamedetail/view/fragment/introduce/m;)Landroid/content/Context;
    .registers 1

    .line 1
    iget-object p0, p0, Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;->context:Landroid/content/Context;

    return-object p0
.end method

.method static synthetic c(Lcom/sandboxol/gamedetail/view/fragment/introduce/m;)Landroid/content/Context;
    .registers 1

    .line 1
    iget-object p0, p0, Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;->context:Landroid/content/Context;

    return-object p0
.end method

.method static synthetic d(Lcom/sandboxol/gamedetail/view/fragment/introduce/m;)Landroid/content/Context;
    .registers 1

    .line 1
    iget-object p0, p0, Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;->context:Landroid/content/Context;

    return-object p0
.end method

.method public static synthetic e(Lcom/sandboxol/gamedetail/view/fragment/introduce/m;)V
    .registers 1

    invoke-direct {p0}, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->j()V

    return-void
.end method

.method public static synthetic f(Lcom/sandboxol/gamedetail/view/fragment/introduce/m;)V
    .registers 1

    invoke-direct {p0}, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->i()V

    return-void
.end method

.method private i()V
    .registers 12

    .line 1
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/GameWarmUpResponse;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;

    move-result-object v0

    if-eqz v0, :cond_62

    .line 2
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/GameWarmUpResponse;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;

    move-result-object v0

    invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/AuthorInfo;->getIsTeam()I

    move-result v0

    const/4 v1, 0x2

    if-ne v0, v1, :cond_4e

    .line 3
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->d:Ljava/util/List;

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-nez v0, :cond_36

    .line 4
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/GameWarmUpResponse;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;

    move-result-object v0

    invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/AuthorInfo;->getTeamId()J

    move-result-wide v3

    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/GameWarmUpResponse;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;

    move-result-object v0

    invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/AuthorInfo;->getIsAddFriend()I

    move-result v0

    if-ne v0, v2, :cond_32

    const/4 v1, 0x1

    :cond_32
    invoke-direct {p0, v3, v4, v2, v1}, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a(JZZ)V

    goto :goto_62

    .line 5
    :cond_36
    new-instance v3, Lcom/sandboxol/gamedetail/view/dialog/a/d;

    iget-object v4, p0, Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;->context:Landroid/content/Context;

    iget-object v5, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    invoke-virtual {v5}, Lcom/sandboxol/greendao/entity/GameWarmUpResponse;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;

    move-result-object v5

    invoke-virtual {v5}, Lcom/sandboxol/greendao/entity/AuthorInfo;->getIsAddFriend()I

    move-result v5

    if-ne v5, v2, :cond_47

    const/4 v1, 0x1

    :cond_47
    invoke-direct {v3, v4, v0, v1}, Lcom/sandboxol/gamedetail/view/dialog/a/d;-><init>(Landroid/content/Context;Ljava/util/List;Z)V

    invoke-virtual {v3}, Lcom/sandboxol/common/dialog/FullScreenDialog;->show()V

    goto :goto_62

    .line 6
    :cond_4e
    iget-object v5, p0, Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;->context:Landroid/content/Context;

    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/GameWarmUpResponse;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;

    move-result-object v0

    invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/AuthorInfo;->getUserId()J

    move-result-wide v6

    iget-object v8, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->e:Landroidx/databinding/ObservableField;

    const/4 v9, 0x1

    iget-object v10, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->g:Landroidx/databinding/ObservableField;

    invoke-static/range {v5 .. v10}, Lcom/sandboxol/center/router/manager/FriendManager;->addFriend(Landroid/content/Context;JLandroidx/databinding/ObservableField;ZLandroidx/databinding/ObservableField;)V

    :cond_62
    :goto_62
    return-void
.end method

.method private j()V
    .registers 5

    .line 1
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->j:Landroidx/databinding/ObservableField;

    const/4 v1, 0x1

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroidx/databinding/ObservableField;->set(Ljava/lang/Object;)V

    .line 2
    sget-object v0, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;

    const-wide/16 v1, 0x1f4

    invoke-static {v1, v2, v0}, Lrx/Observable;->timer(JLjava/util/concurrent/TimeUnit;)Lrx/Observable;

    move-result-object v0

    new-instance v1, Lcom/sandboxol/gamedetail/view/fragment/introduce/b;

    invoke-direct {v1, p0}, Lcom/sandboxol/gamedetail/view/fragment/introduce/b;-><init>(Lcom/sandboxol/gamedetail/view/fragment/introduce/m;)V

    invoke-virtual {v0, v1}, Lrx/Observable;->subscribe(Lrx/functions/Action1;)Lrx/Subscription;

    .line 3
    invoke-static {}, Lcom/sandboxol/common/base/app/BaseApplication;->getContext()Landroid/content/Context;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "game.update.content.open"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->b:Lcom/sandboxol/greendao/entity/Game;

    invoke-virtual {v2}, Lcom/sandboxol/greendao/entity/Game;->getGameId()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {}, Lcom/sandboxol/center/entity/AccountCenter;->newInstance()Lcom/sandboxol/center/entity/AccountCenter;

    move-result-object v2

    iget-object v2, v2, Lcom/sandboxol/center/entity/AccountCenter;->userId:Landroidx/databinding/ObservableField;

    invoke-virtual {v2}, Landroidx/databinding/ObservableField;->get()Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const-string v2, "game.update.sp.name"

    const/4 v3, 0x0

    invoke-static {v0, v2, v1, v3}, Lcom/sandboxol/common/utils/SharedUtils;->putBoolean(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Z)V

    return-void
.end method


# virtual methods
.method public synthetic a(Ljava/lang/Long;)V
    .registers 3

    .line 4
    iget-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->j:Landroidx/databinding/ObservableField;

    const/4 v0, 0x0

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroidx/databinding/ObservableField;->set(Ljava/lang/Object;)V

    .line 5
    iget-object p1, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->i:Landroidx/databinding/ObservableField;

    invoke-virtual {p1, v0}, Landroidx/databinding/ObservableField;->set(Ljava/lang/Object;)V

    return-void
.end method

.method public getItem()Lcom/sandboxol/greendao/entity/BannerPic;
    .registers 2

    .line 2
    invoke-super {p0}, Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;->getItem()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/sandboxol/greendao/entity/BannerPic;

    return-object v0
.end method

.method public bridge synthetic getItem()Ljava/lang/Object;
    .registers 2

    .line 1
    invoke-virtual {p0}, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->getItem()Lcom/sandboxol/greendao/entity/BannerPic;

    move-result-object v0

    return-object v0
.end method

.method public synthetic h()V
    .registers 5

    .line 1
    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/GameWarmUpResponse;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;

    move-result-object v0

    invoke-virtual {v0}, Lcom/sandboxol/greendao/entity/AuthorInfo;->getIsTeam()I

    move-result v0

    const/4 v1, 0x2

    if-eq v0, v1, :cond_2c

    iget-object v0, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->f:Landroidx/databinding/ObservableField;

    invoke-virtual {v0}, Landroidx/databinding/ObservableField;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-nez v0, :cond_1c

    goto :goto_2c

    .line 2
    :cond_1c
    iget-object v0, p0, Lcom/sandboxol/common/base/viewmodel/ListItemViewModel;->context:Landroid/content/Context;

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/sandboxol/gamedetail/view/fragment/introduce/m;->a:Lcom/sandboxol/greendao/entity/GameWarmUpResponse;

    invoke-virtual {v2}, Lcom/sandboxol/greendao/entity/GameWarmUpResponse;->getAuthorInfo()Lcom/sandboxol/greendao/entity/AuthorInfo;

    move-result-object v2

    invoke-virtual {v2}, Lcom/sandboxol/greendao/entity/AuthorInfo;->getUserId()J

    move-result-wide v2

    invoke-static {v0, v1, v2, v3}, Lcom/sandboxol/center/router/manager/FriendManager;->getFriendDataAndEnterFriendInfo(Landroid/content/Context;Lcom/sandboxol/greendao/entity/Friend;J)V

    :cond_2c
    :goto_2c
    return-void
.end method