.class public final Ls4/g$a;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lya/d;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Ls4/g;->f(Landroid/view/View;)V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lya/d<",
        "Lcom/floydwiz/gamingcenter/models/network/ChatResponse;",
        ">;"
    }
.end annotation


# instance fields
.field public final synthetic a:Ls4/g;

.field public final synthetic b:Landroid/view/View;


# direct methods
.method public constructor <init>(Ls4/g;Landroid/view/View;)V
    .registers 3

    iput-object p1, p0, Ls4/g$a;->a:Ls4/g;

    iput-object p2, p0, Ls4/g$a;->b:Landroid/view/View;

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

    return-void
.end method


# virtual methods
.method public a(Lya/b;Ljava/lang/Throwable;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lya/b<",
            "Lcom/floydwiz/gamingcenter/models/network/ChatResponse;",
            ">;",
            "Ljava/lang/Throwable;",
            ")V"
        }
    .end annotation

    const-string v0, "call"

    invoke-static {p1, v0}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    const-string p1, "t"

    invoke-static {p2, p1}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {p2}, Ljava/lang/Throwable;->printStackTrace()V

    iget-object p1, p0, Ls4/g$a;->a:Ls4/g;

    .line 1
    iget-object p1, p1, Ls4/g;->g:Landroidx/lifecycle/t;

    .line 2
    sget-object p2, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;

    invoke-virtual {p1, p2}, Landroidx/lifecycle/t;->k(Ljava/lang/Object;)V

    iget-object p1, p0, Ls4/g$a;->b:Landroid/view/View;

    invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object p1

    iget-object p2, p0, Ls4/g$a;->b:Landroid/view/View;

    invoke-virtual {p2}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object p2

    const v0, 0x7f11004c

    invoke-virtual {p2, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p2

    const/4 v0, 0x0

    invoke-static {p1, p2, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/Toast;->show()V

    return-void
.end method

.method public b(Lya/b;Lya/z;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lya/b<",
            "Lcom/floydwiz/gamingcenter/models/network/ChatResponse;",
            ">;",
            "Lya/z<",
            "Lcom/floydwiz/gamingcenter/models/network/ChatResponse;",
            ">;)V"
        }
    .end annotation

    const-string v0, "call"

    invoke-static {p1, v0}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    const-string p1, "response"

    invoke-static {p2, p1}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    iget-object p1, p0, Ls4/g$a;->a:Ls4/g;

    .line 1
    iget-object p1, p1, Ls4/g;->g:Landroidx/lifecycle/t;

    .line 2
    sget-object v0, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;

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

    iget-object p1, p0, Ls4/g$a;->a:Ls4/g;

    .line 3
    iget-object p1, p1, Ls4/g;->f:Landroidx/lifecycle/t;

    const-string v0, ""

    .line 4
    invoke-virtual {p1, v0}, Landroidx/lifecycle/t;->k(Ljava/lang/Object;)V

    iget-object p1, p0, Ls4/g$a;->a:Ls4/g;

    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Ls4/g;->h(Z)V

    .line 5
    iget-object p1, p2, Lya/z;->b:Ljava/lang/Object;

    .line 6
    check-cast p1, Lcom/floydwiz/gamingcenter/models/network/ChatResponse;

    if-nez p1, :cond_2a

    const/4 p1, 0x0

    goto :goto_2e

    :cond_2a
    invoke-virtual {p1}, Lcom/floydwiz/gamingcenter/models/network/ChatResponse;->getSuccess()Ljava/lang/Boolean;

    move-result-object p1

    :goto_2e
    const-string p2, "debugchat chat message sent "

    invoke-static {p2, p1}, Lx/e;->k(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    sget-object p2, Ljava/lang/System;->out:Ljava/io/PrintStream;

    invoke-virtual {p2, p1}, Ljava/io/PrintStream;->println(Ljava/lang/Object;)V

    return-void
.end method
