2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/models/domain/ModelReadState;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "ModelReadState.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lcom/discord/models/domain/ModelReadState$Parser;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final channelId:J
|
|
|
|
|
|
|
|
.field public final lastMessageId:J
|
|
|
|
|
|
|
|
.field public final mentionCount:I
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.field public final version:I
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
# direct methods
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public constructor <init>(JJII)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-wide p1, p0, Lcom/discord/models/domain/ModelReadState;->channelId:J
|
|
|
|
|
|
|
|
iput-wide p3, p0, Lcom/discord/models/domain/ModelReadState;->lastMessageId:J
|
|
|
|
|
|
|
|
iput p5, p0, Lcom/discord/models/domain/ModelReadState;->mentionCount:I
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iput p6, p0, Lcom/discord/models/domain/ModelReadState;->version:I
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public constructor <init>(JJJJII)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
|
|
|
|
cmp-long v2, p3, v0
|
|
|
|
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
|
|
|
|
move-wide p2, p3
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-wide p2, p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
cmp-long p1, p5, v0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
move-wide p4, p5
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move-wide p4, p7
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
move-object p1, p0
|
|
|
|
|
|
|
|
move p6, p9
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move p7, p10
|
|
|
|
|
|
|
|
invoke-direct/range {p1 .. p7}, Lcom/discord/models/domain/ModelReadState;-><init>(JJII)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public synthetic constructor <init>(JJJJIIILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.locals 14
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
and-int/lit8 v0, p11, 0x4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
move-wide v8, v1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-wide/from16 v8, p5
|
|
|
|
|
|
|
|
:goto_0
|
2020-07-08 16:44:49 +00:00
|
|
|
and-int/lit8 v0, p11, 0x8
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
move-wide v10, v1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move-wide/from16 v10, p7
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
move-object v3, p0
|
|
|
|
|
|
|
|
move-wide v4, p1
|
|
|
|
|
|
|
|
move-wide/from16 v6, p3
|
|
|
|
|
|
|
|
move/from16 v12, p9
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move/from16 v13, p10
|
|
|
|
|
|
|
|
invoke-direct/range {v3 .. v13}, Lcom/discord/models/domain/ModelReadState;-><init>(JJJJII)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public synthetic constructor <init>(JJJJIILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct/range {p0 .. p10}, Lcom/discord/models/domain/ModelReadState;-><init>(JJJJII)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public static synthetic copy$default(Lcom/discord/models/domain/ModelReadState;JJIIILjava/lang/Object;)Lcom/discord/models/domain/ModelReadState;
|
|
|
|
.locals 7
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
and-int/lit8 p8, p7, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
if-eqz p8, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget-wide p1, p0, Lcom/discord/models/domain/ModelReadState;->channelId:J
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
move-wide v1, p1
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
and-int/lit8 p1, p7, 0x2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
iget-wide p3, p0, Lcom/discord/models/domain/ModelReadState;->lastMessageId:J
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move-wide v3, p3
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
and-int/lit8 p1, p7, 0x4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
iget p5, p0, Lcom/discord/models/domain/ModelReadState;->mentionCount:I
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
move v5, p5
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
and-int/lit8 p1, p7, 0x8
|
|
|
|
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
|
|
|
|
iget p6, p0, Lcom/discord/models/domain/ModelReadState;->version:I
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move v6, p6
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
move-object v0, p0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual/range {v0 .. v6}, Lcom/discord/models/domain/ModelReadState;->copy(JJII)Lcom/discord/models/domain/ModelReadState;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object p0
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final component1()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelReadState;->channelId:J
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final component2()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelReadState;->lastMessageId:J
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final component3()I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget v0, p0, Lcom/discord/models/domain/ModelReadState;->mentionCount:I
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public final component4()I
|
|
|
|
.locals 1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget v0, p0, Lcom/discord/models/domain/ModelReadState;->version:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final copy(JJII)Lcom/discord/models/domain/ModelReadState;
|
|
|
|
.locals 8
|
|
|
|
|
|
|
|
new-instance v7, Lcom/discord/models/domain/ModelReadState;
|
|
|
|
|
|
|
|
move-object v0, v7
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-wide v1, p1
|
|
|
|
|
|
|
|
move-wide v3, p3
|
|
|
|
|
|
|
|
move v5, p5
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move v6, p6
|
|
|
|
|
|
|
|
invoke-direct/range {v0 .. v6}, Lcom/discord/models/domain/ModelReadState;-><init>(JJII)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
return-object v7
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
if-eq p0, p1, :cond_1
|
|
|
|
|
|
|
|
instance-of v0, p1, Lcom/discord/models/domain/ModelReadState;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
check-cast p1, Lcom/discord/models/domain/ModelReadState;
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelReadState;->channelId:J
|
|
|
|
|
|
|
|
iget-wide v2, p1, Lcom/discord/models/domain/ModelReadState;->channelId:J
|
|
|
|
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelReadState;->lastMessageId:J
|
|
|
|
|
|
|
|
iget-wide v2, p1, Lcom/discord/models/domain/ModelReadState;->lastMessageId:J
|
|
|
|
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
|
|
|
|
iget v0, p0, Lcom/discord/models/domain/ModelReadState;->mentionCount:I
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget v1, p1, Lcom/discord/models/domain/ModelReadState;->mentionCount:I
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
iget v0, p0, Lcom/discord/models/domain/ModelReadState;->version:I
|
|
|
|
|
|
|
|
iget p1, p1, Lcom/discord/models/domain/ModelReadState;->version:I
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
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 final getChannelId()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelReadState;->channelId:J
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getLastMessageId()J
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelReadState;->lastMessageId:J
|
|
|
|
|
|
|
|
return-wide v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getMentionCount()I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget v0, p0, Lcom/discord/models/domain/ModelReadState;->mentionCount:I
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public final getVersion()I
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget v0, p0, Lcom/discord/models/domain/ModelReadState;->version:I
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
.method public hashCode()I
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelReadState;->channelId:J
|
|
|
|
|
|
|
|
const/16 v2, 0x20
|
|
|
|
|
|
|
|
ushr-long v3, v0, v2
|
|
|
|
|
|
|
|
xor-long/2addr v0, v3
|
|
|
|
|
|
|
|
long-to-int v1, v0
|
|
|
|
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
|
|
|
|
iget-wide v3, p0, Lcom/discord/models/domain/ModelReadState;->lastMessageId:J
|
|
|
|
|
|
|
|
ushr-long v5, v3, v2
|
|
|
|
|
|
|
|
xor-long v2, v3, v5
|
|
|
|
|
|
|
|
long-to-int v0, v2
|
|
|
|
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
|
|
|
|
iget v0, p0, Lcom/discord/models/domain/ModelReadState;->mentionCount:I
|
|
|
|
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
|
|
|
|
iget v0, p0, Lcom/discord/models/domain/ModelReadState;->version:I
|
|
|
|
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
return v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final isMentioned()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget v0, p0, Lcom/discord/models/domain/ModelReadState;->mentionCount:I
|
|
|
|
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const-string v0, "ModelReadState(channelId="
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-static {v0}, Lf/e/b/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iget-wide v1, p0, Lcom/discord/models/domain/ModelReadState;->channelId:J
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", lastMessageId="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget-wide v1, p0, Lcom/discord/models/domain/ModelReadState;->lastMessageId:J
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", mentionCount="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget v1, p0, Lcom/discord/models/domain/ModelReadState;->mentionCount:I
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
const-string v1, ", version="
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
|
|
|
|
iget v1, p0, Lcom/discord/models/domain/ModelReadState;->version:I
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
const-string v2, ")"
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-static {v0, v1, v2}, Lf/e/b/a/a;->t(Ljava/lang/StringBuilder;ILjava/lang/String;)Ljava/lang/String;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|