.class public Lk4/f0;
.super Lk4/e0;
.source ""


# instance fields
.field public P:J


# direct methods
.method public constructor <init>(Landroidx/databinding/f;Landroid/view/View;)V
    .registers 13

    const/4 v0, 0x4

    const/4 v1, 0x0

    invoke-static {p1, p2, v0, v1, v1}, Landroidx/databinding/ViewDataBinding;->k0(Landroidx/databinding/f;Landroid/view/View;ILandroidx/databinding/ViewDataBinding$e;Landroid/util/SparseIntArray;)[Ljava/lang/Object;

    move-result-object v0

    const/4 v2, 0x1

    .line 1
    aget-object v2, v0, v2

    move-object v7, v2

    check-cast v7, Landroid/widget/TextView;

    const/4 v2, 0x2

    aget-object v2, v0, v2

    move-object v8, v2

    check-cast v8, Landroid/widget/TextView;

    const/4 v2, 0x3

    aget-object v2, v0, v2

    move-object v9, v2

    check-cast v9, Landroid/widget/TextView;

    const/4 v6, 0x0

    move-object v3, p0

    move-object v4, p1

    move-object v5, p2

    invoke-direct/range {v3 .. v9}, Lk4/e0;-><init>(Ljava/lang/Object;Landroid/view/View;ILandroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/TextView;)V

    const-wide/16 v2, -0x1

    iput-wide v2, p0, Lk4/f0;->P:J

    const/4 p1, 0x0

    aget-object p1, v0, p1

    check-cast p1, Landroidx/constraintlayout/widget/ConstraintLayout;

    invoke-virtual {p1, v1}, Landroid/view/ViewGroup;->setTag(Ljava/lang/Object;)V

    iget-object p1, p0, Lk4/e0;->K:Landroid/widget/TextView;

    invoke-virtual {p1, v1}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    iget-object p1, p0, Lk4/e0;->L:Landroid/widget/TextView;

    invoke-virtual {p1, v1}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    iget-object p1, p0, Lk4/e0;->M:Landroid/widget/TextView;

    invoke-virtual {p1, v1}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    const p1, 0x7f0a00ba

    .line 2
    invoke-virtual {p2, p1, p0}, Landroid/view/View;->setTag(ILjava/lang/Object;)V

    .line 3
    invoke-virtual {p0}, Lk4/f0;->h0()V

    return-void
.end method


# virtual methods
.method public Q()V
    .registers 10

    monitor-enter p0

    :try_start_1
    iget-wide v0, p0, Lk4/f0;->P:J

    const-wide/16 v2, 0x0

    iput-wide v2, p0, Lk4/f0;->P:J

    monitor-exit p0
    :try_end_8
    .catchall {:try_start_1 .. :try_end_8} :catchall_5c

    iget-object v4, p0, Lk4/e0;->N:Lcom/floydwiz/gamingcenter/models/network/ChatMessage;

    const-wide/16 v5, 0x3

    and-long/2addr v0, v5

    cmp-long v0, v0, v2

    const/4 v1, 0x0

    if-eqz v0, :cond_48

    if-eqz v4, :cond_24

    invoke-virtual {v4}, Lcom/floydwiz/gamingcenter/models/network/ChatMessage;->getMessage()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v4}, Lcom/floydwiz/gamingcenter/models/network/ChatMessage;->getTimestamp()Ljava/lang/Long;

    move-result-object v5

    invoke-virtual {v4}, Lcom/floydwiz/gamingcenter/models/network/ChatMessage;->getName()Ljava/lang/String;

    move-result-object v4

    move-object v8, v5

    move-object v5, v1

    move-object v1, v8

    goto :goto_26

    :cond_24
    move-object v4, v1

    move-object v5, v4

    :goto_26
    if-nez v1, :cond_29

    goto :goto_2d

    .line 1
    :cond_29
    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v2

    .line 2
    :goto_2d
    new-instance v1, Ljava/text/SimpleDateFormat;

    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v6

    const-string v7, "HH:mm"

    invoke-direct {v1, v7, v6}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "SimpleDateFormat(\"HH:mm\"\u2026etDefault()).format(time)"

    invoke-static {v1, v2}, Lx/e;->e(Ljava/lang/Object;Ljava/lang/String;)V

    move-object v2, v1

    move-object v1, v4

    goto :goto_4a

    :cond_48
    move-object v2, v1

    move-object v5, v2

    :goto_4a
    if-eqz v0, :cond_5b

    .line 3
    iget-object v0, p0, Lk4/e0;->K:Landroid/widget/TextView;

    invoke-static {v0, v1}, Ls0/c;->a(Landroid/widget/TextView;Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lk4/e0;->L:Landroid/widget/TextView;

    invoke-static {v0, v5}, Ls0/c;->a(Landroid/widget/TextView;Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lk4/e0;->M:Landroid/widget/TextView;

    invoke-static {v0, v2}, Ls0/c;->a(Landroid/widget/TextView;Ljava/lang/CharSequence;)V

    :cond_5b
    return-void

    :catchall_5c
    move-exception v0

    :try_start_5d
    monitor-exit p0
    :try_end_5e
    .catchall {:try_start_5d .. :try_end_5e} :catchall_5c

    throw v0
.end method

.method public f0()Z
    .registers 5

    monitor-enter p0

    :try_start_1
    iget-wide v0, p0, Lk4/f0;->P:J

    const-wide/16 v2, 0x0

    cmp-long v0, v0, v2

    if-eqz v0, :cond_c

    const/4 v0, 0x1

    monitor-exit p0

    return v0

    :cond_c
    monitor-exit p0

    const/4 v0, 0x0

    return v0

    :catchall_f
    move-exception v0

    monitor-exit p0
    :try_end_11
    .catchall {:try_start_1 .. :try_end_11} :catchall_f

    throw v0
.end method

.method public h0()V
    .registers 3

    monitor-enter p0

    const-wide/16 v0, 0x2

    :try_start_3
    iput-wide v0, p0, Lk4/f0;->P:J

    monitor-exit p0
    :try_end_6
    .catchall {:try_start_3 .. :try_end_6} :catchall_a

    invoke-virtual {p0}, Landroidx/databinding/ViewDataBinding;->o0()V

    return-void

    :catchall_a
    move-exception v0

    :try_start_b
    monitor-exit p0
    :try_end_c
    .catchall {:try_start_b .. :try_end_c} :catchall_a

    throw v0
.end method

.method public l0(ILjava/lang/Object;I)Z
    .registers 4

    const/4 p1, 0x0

    return p1
.end method

.method public t0(Lcom/floydwiz/gamingcenter/models/network/ChatMessage;)V
    .registers 6

    iput-object p1, p0, Lk4/e0;->N:Lcom/floydwiz/gamingcenter/models/network/ChatMessage;

    monitor-enter p0

    :try_start_3
    iget-wide v0, p0, Lk4/f0;->P:J

    const-wide/16 v2, 0x1

    or-long/2addr v0, v2

    iput-wide v0, p0, Lk4/f0;->P:J

    monitor-exit p0
    :try_end_b
    .catchall {:try_start_3 .. :try_end_b} :catchall_13

    const/4 p1, 0x5

    invoke-virtual {p0, p1}, Landroidx/databinding/a;->z(I)V

    invoke-virtual {p0}, Landroidx/databinding/ViewDataBinding;->o0()V

    return-void

    :catchall_13
    move-exception p1

    :try_start_14
    monitor-exit p0
    :try_end_15
    .catchall {:try_start_14 .. :try_end_15} :catchall_13

    throw p1
.end method
