apkfuckery/com.discord/smali/WidgetRemoteAuthViewModel$ViewState$b.smali
2020-04-11 17:34:05 +02:00

178 lines
3.9 KiB
Smali

.class public final LWidgetRemoteAuthViewModel$ViewState$b;
.super LWidgetRemoteAuthViewModel$ViewState;
.source "WidgetRemoteAuthViewModel.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = LWidgetRemoteAuthViewModel$ViewState;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
# instance fields
.field public final a:Ljava/lang/String;
.field public final b:Z
.field public final c:Z
# direct methods
.method public constructor <init>(Ljava/lang/String;ZZ)V
.locals 1
const/4 v0, 0x0
if-eqz p1, :cond_0
invoke-direct {p0, v0}, LWidgetRemoteAuthViewModel$ViewState;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
iput-object p1, p0, LWidgetRemoteAuthViewModel$ViewState$b;->a:Ljava/lang/String;
iput-boolean p2, p0, LWidgetRemoteAuthViewModel$ViewState$b;->b:Z
iput-boolean p3, p0, LWidgetRemoteAuthViewModel$ViewState$b;->c:Z
return-void
:cond_0
const-string p1, "handshakeToken"
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 2
if-eq p0, p1, :cond_1
instance-of v0, p1, LWidgetRemoteAuthViewModel$ViewState$b;
if-eqz v0, :cond_0
check-cast p1, LWidgetRemoteAuthViewModel$ViewState$b;
iget-object v0, p0, LWidgetRemoteAuthViewModel$ViewState$b;->a:Ljava/lang/String;
iget-object v1, p1, LWidgetRemoteAuthViewModel$ViewState$b;->a:Ljava/lang/String;
invoke-static {v0, v1}, Lz/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-boolean v0, p0, LWidgetRemoteAuthViewModel$ViewState$b;->b:Z
iget-boolean v1, p1, LWidgetRemoteAuthViewModel$ViewState$b;->b:Z
if-ne v0, v1, :cond_0
iget-boolean v0, p0, LWidgetRemoteAuthViewModel$ViewState$b;->c:Z
iget-boolean p1, p1, LWidgetRemoteAuthViewModel$ViewState$b;->c:Z
if-ne v0, p1, :cond_0
goto :goto_0
:cond_0
const/4 p1, 0x0
return p1
:cond_1
:goto_0
const/4 p1, 0x1
return p1
.end method
.method public hashCode()I
.locals 3
iget-object v0, p0, LWidgetRemoteAuthViewModel$ViewState$b;->a:Ljava/lang/String;
if-eqz v0, :cond_0
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
mul-int/lit8 v0, v0, 0x1f
iget-boolean v1, p0, LWidgetRemoteAuthViewModel$ViewState$b;->b:Z
const/4 v2, 0x1
if-eqz v1, :cond_1
const/4 v1, 0x1
:cond_1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
iget-boolean v1, p0, LWidgetRemoteAuthViewModel$ViewState$b;->c:Z
if-eqz v1, :cond_2
const/4 v1, 0x1
:cond_2
add-int/2addr v0, v1
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
const-string v0, "Loaded(handshakeToken="
invoke-static {v0}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, LWidgetRemoteAuthViewModel$ViewState$b;->a:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ", isTemporary="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-boolean v1, p0, LWidgetRemoteAuthViewModel$ViewState$b;->b:Z
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
const-string v1, ", loginAllowed="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-boolean v1, p0, LWidgetRemoteAuthViewModel$ViewState$b;->c:Z
const-string v2, ")"
invoke-static {v0, v1, v2}, Lf/e/b/a/a;->a(Ljava/lang/StringBuilder;ZLjava/lang/String;)Ljava/lang/String;
move-result-object v0
return-object v0
.end method