528 lines
12 KiB
Smali
528 lines
12 KiB
Smali
.class public final Lcom/discord/models/domain/ModelEntitlement;
|
|
.super Ljava/lang/Object;
|
|
.source "ModelEntitlement.kt"
|
|
|
|
|
|
# instance fields
|
|
.field private final applicationId:J
|
|
|
|
.field private final id:J
|
|
|
|
.field private final sku:Lcom/discord/models/domain/ModelSku;
|
|
|
|
.field private final skuId:J
|
|
|
|
.field private final type:I
|
|
|
|
.field private final userId:J
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(JJIJJLcom/discord/models/domain/ModelSku;)V
|
|
.locals 1
|
|
|
|
const-string v0, "sku"
|
|
|
|
invoke-static {p10, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-wide p1, p0, Lcom/discord/models/domain/ModelEntitlement;->id:J
|
|
|
|
iput-wide p3, p0, Lcom/discord/models/domain/ModelEntitlement;->applicationId:J
|
|
|
|
iput p5, p0, Lcom/discord/models/domain/ModelEntitlement;->type:I
|
|
|
|
iput-wide p6, p0, Lcom/discord/models/domain/ModelEntitlement;->userId:J
|
|
|
|
iput-wide p8, p0, Lcom/discord/models/domain/ModelEntitlement;->skuId:J
|
|
|
|
iput-object p10, p0, Lcom/discord/models/domain/ModelEntitlement;->sku:Lcom/discord/models/domain/ModelSku;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic copy$default(Lcom/discord/models/domain/ModelEntitlement;JJIJJLcom/discord/models/domain/ModelSku;ILjava/lang/Object;)Lcom/discord/models/domain/ModelEntitlement;
|
|
.locals 11
|
|
|
|
move-object v0, p0
|
|
|
|
and-int/lit8 v1, p11, 0x1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget-wide v1, v0, Lcom/discord/models/domain/ModelEntitlement;->id:J
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-wide v1, p1
|
|
|
|
:goto_0
|
|
and-int/lit8 v3, p11, 0x2
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
iget-wide v3, v0, Lcom/discord/models/domain/ModelEntitlement;->applicationId:J
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move-wide v3, p3
|
|
|
|
:goto_1
|
|
and-int/lit8 v5, p11, 0x4
|
|
|
|
if-eqz v5, :cond_2
|
|
|
|
iget v5, v0, Lcom/discord/models/domain/ModelEntitlement;->type:I
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move/from16 v5, p5
|
|
|
|
:goto_2
|
|
and-int/lit8 v6, p11, 0x8
|
|
|
|
if-eqz v6, :cond_3
|
|
|
|
iget-wide v6, v0, Lcom/discord/models/domain/ModelEntitlement;->userId:J
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
move-wide/from16 v6, p6
|
|
|
|
:goto_3
|
|
and-int/lit8 v8, p11, 0x10
|
|
|
|
if-eqz v8, :cond_4
|
|
|
|
iget-wide v8, v0, Lcom/discord/models/domain/ModelEntitlement;->skuId:J
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
move-wide/from16 v8, p8
|
|
|
|
:goto_4
|
|
and-int/lit8 v10, p11, 0x20
|
|
|
|
if-eqz v10, :cond_5
|
|
|
|
iget-object v10, v0, Lcom/discord/models/domain/ModelEntitlement;->sku:Lcom/discord/models/domain/ModelSku;
|
|
|
|
goto :goto_5
|
|
|
|
:cond_5
|
|
move-object/from16 v10, p10
|
|
|
|
:goto_5
|
|
move-wide p1, v1
|
|
|
|
move-wide p3, v3
|
|
|
|
move/from16 p5, v5
|
|
|
|
move-wide/from16 p6, v6
|
|
|
|
move-wide/from16 p8, v8
|
|
|
|
move-object/from16 p10, v10
|
|
|
|
invoke-virtual/range {p0 .. p10}, Lcom/discord/models/domain/ModelEntitlement;->copy(JJIJJLcom/discord/models/domain/ModelSku;)Lcom/discord/models/domain/ModelEntitlement;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final component1()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelEntitlement;->id:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final component2()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelEntitlement;->applicationId:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final component3()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/discord/models/domain/ModelEntitlement;->type:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final component4()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelEntitlement;->userId:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final component5()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelEntitlement;->skuId:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final component6()Lcom/discord/models/domain/ModelSku;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelEntitlement;->sku:Lcom/discord/models/domain/ModelSku;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final copy(JJIJJLcom/discord/models/domain/ModelSku;)Lcom/discord/models/domain/ModelEntitlement;
|
|
.locals 12
|
|
|
|
const-string v0, "sku"
|
|
|
|
move-object/from16 v11, p10
|
|
|
|
invoke-static {v11, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance v0, Lcom/discord/models/domain/ModelEntitlement;
|
|
|
|
move-object v1, v0
|
|
|
|
move-wide v2, p1
|
|
|
|
move-wide v4, p3
|
|
|
|
move/from16 v6, p5
|
|
|
|
move-wide/from16 v7, p6
|
|
|
|
move-wide/from16 v9, p8
|
|
|
|
invoke-direct/range {v1 .. v11}, Lcom/discord/models/domain/ModelEntitlement;-><init>(JJIJJLcom/discord/models/domain/ModelSku;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final equals(Ljava/lang/Object;)Z
|
|
.locals 7
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eq p0, p1, :cond_6
|
|
|
|
instance-of v1, p1, Lcom/discord/models/domain/ModelEntitlement;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_5
|
|
|
|
check-cast p1, Lcom/discord/models/domain/ModelEntitlement;
|
|
|
|
iget-wide v3, p0, Lcom/discord/models/domain/ModelEntitlement;->id:J
|
|
|
|
iget-wide v5, p1, Lcom/discord/models/domain/ModelEntitlement;->id:J
|
|
|
|
cmp-long v1, v3, v5
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-eqz v1, :cond_5
|
|
|
|
iget-wide v3, p0, Lcom/discord/models/domain/ModelEntitlement;->applicationId:J
|
|
|
|
iget-wide v5, p1, Lcom/discord/models/domain/ModelEntitlement;->applicationId:J
|
|
|
|
cmp-long v1, v3, v5
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const/4 v1, 0x0
|
|
|
|
:goto_1
|
|
if-eqz v1, :cond_5
|
|
|
|
iget v1, p0, Lcom/discord/models/domain/ModelEntitlement;->type:I
|
|
|
|
iget v3, p1, Lcom/discord/models/domain/ModelEntitlement;->type:I
|
|
|
|
if-ne v1, v3, :cond_2
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v1, 0x0
|
|
|
|
:goto_2
|
|
if-eqz v1, :cond_5
|
|
|
|
iget-wide v3, p0, Lcom/discord/models/domain/ModelEntitlement;->userId:J
|
|
|
|
iget-wide v5, p1, Lcom/discord/models/domain/ModelEntitlement;->userId:J
|
|
|
|
cmp-long v1, v3, v5
|
|
|
|
if-nez v1, :cond_3
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
const/4 v1, 0x0
|
|
|
|
:goto_3
|
|
if-eqz v1, :cond_5
|
|
|
|
iget-wide v3, p0, Lcom/discord/models/domain/ModelEntitlement;->skuId:J
|
|
|
|
iget-wide v5, p1, Lcom/discord/models/domain/ModelEntitlement;->skuId:J
|
|
|
|
cmp-long v1, v3, v5
|
|
|
|
if-nez v1, :cond_4
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
const/4 v1, 0x0
|
|
|
|
:goto_4
|
|
if-eqz v1, :cond_5
|
|
|
|
iget-object v1, p0, Lcom/discord/models/domain/ModelEntitlement;->sku:Lcom/discord/models/domain/ModelSku;
|
|
|
|
iget-object p1, p1, Lcom/discord/models/domain/ModelEntitlement;->sku:Lcom/discord/models/domain/ModelSku;
|
|
|
|
invoke-static {v1, p1}, Lkotlin/jvm/internal/k;->n(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
goto :goto_5
|
|
|
|
:cond_5
|
|
return v2
|
|
|
|
:cond_6
|
|
:goto_5
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getApplicationId()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelEntitlement;->applicationId:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final getId()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelEntitlement;->id:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final getSku()Lcom/discord/models/domain/ModelSku;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelEntitlement;->sku:Lcom/discord/models/domain/ModelSku;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getSkuId()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelEntitlement;->skuId:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final getType()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/discord/models/domain/ModelEntitlement;->type:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getUserId()J
|
|
.locals 2
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelEntitlement;->userId:J
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public final hashCode()I
|
|
.locals 7
|
|
|
|
iget-wide v0, p0, Lcom/discord/models/domain/ModelEntitlement;->id: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/ModelEntitlement;->applicationId:J
|
|
|
|
ushr-long v5, v3, v2
|
|
|
|
xor-long/2addr v3, v5
|
|
|
|
long-to-int v0, v3
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget v0, p0, Lcom/discord/models/domain/ModelEntitlement;->type:I
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-wide v3, p0, Lcom/discord/models/domain/ModelEntitlement;->userId:J
|
|
|
|
ushr-long v5, v3, v2
|
|
|
|
xor-long/2addr v3, v5
|
|
|
|
long-to-int v0, v3
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-wide v3, p0, Lcom/discord/models/domain/ModelEntitlement;->skuId:J
|
|
|
|
ushr-long v5, v3, v2
|
|
|
|
xor-long/2addr v3, v5
|
|
|
|
long-to-int v0, v3
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
mul-int/lit8 v1, v1, 0x1f
|
|
|
|
iget-object v0, p0, Lcom/discord/models/domain/ModelEntitlement;->sku:Lcom/discord/models/domain/ModelSku;
|
|
|
|
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
|
|
add-int/2addr v1, v0
|
|
|
|
return v1
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "ModelEntitlement(id="
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-wide v1, p0, Lcom/discord/models/domain/ModelEntitlement;->id:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", applicationId="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Lcom/discord/models/domain/ModelEntitlement;->applicationId:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", type="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Lcom/discord/models/domain/ModelEntitlement;->type:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", userId="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Lcom/discord/models/domain/ModelEntitlement;->userId:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", skuId="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-wide v1, p0, Lcom/discord/models/domain/ModelEntitlement;->skuId:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", sku="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v1, p0, Lcom/discord/models/domain/ModelEntitlement;->sku:Lcom/discord/models/domain/ModelSku;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ")"
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|