ProtoId.smali

.class public final Lcom/tencent/tinker/android/dex/ProtoId;
.super Lcom/tencent/tinker/android/dex/TableOfContents$Section$Item;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/tencent/tinker/android/dex/TableOfContents$Section$Item",
        "<",
        "Lcom/tencent/tinker/android/dex/ProtoId;",
        ">;"
    }
.end annotation


# instance fields
.field public parametersOffset:I

.field public returnTypeIndex:I

.field public shortyIndex:I


# direct methods
.method public constructor <init>(IIII)V
    .registers 5

    invoke-direct {p0, p1}, Lcom/tencent/tinker/android/dex/TableOfContents$Section$Item;-><init>(I)V

    iput p2, p0, Lcom/tencent/tinker/android/dex/ProtoId;->shortyIndex:I

    iput p3, p0, Lcom/tencent/tinker/android/dex/ProtoId;->returnTypeIndex:I

    iput p4, p0, Lcom/tencent/tinker/android/dex/ProtoId;->parametersOffset:I

    return-void
.end method


# virtual methods
.method public byteCountInDex()I
    .registers 2

    const/16 v0, 0xc

    return v0
.end method

.method public compareTo(Lcom/tencent/tinker/android/dex/ProtoId;)I
    .registers 4

    iget v0, p0, Lcom/tencent/tinker/android/dex/ProtoId;->shortyIndex:I

    iget v1, p1, Lcom/tencent/tinker/android/dex/ProtoId;->shortyIndex:I

    invoke-static {v0, v1}, Lcom/tencent/tinker/android/dex/util/CompareUtils;->uCompare(II)I

    move-result v0

    if-eqz v0, :cond_b

    :cond_a
    :goto_a
    return v0

    :cond_b
    iget v0, p0, Lcom/tencent/tinker/android/dex/ProtoId;->returnTypeIndex:I

    iget v1, p1, Lcom/tencent/tinker/android/dex/ProtoId;->returnTypeIndex:I

    invoke-static {v0, v1}, Lcom/tencent/tinker/android/dex/util/CompareUtils;->uCompare(II)I

    move-result v0

    if-nez v0, :cond_a

    iget v0, p0, Lcom/tencent/tinker/android/dex/ProtoId;->parametersOffset:I

    iget v1, p1, Lcom/tencent/tinker/android/dex/ProtoId;->parametersOffset:I

    invoke-static {v0, v1}, Lcom/tencent/tinker/android/dex/util/CompareUtils;->sCompare(II)I

    move-result v0

    goto :goto_a
.end method

.method public bridge synthetic compareTo(Ljava/lang/Object;)I
    .registers 3

    check-cast p1, Lcom/tencent/tinker/android/dex/ProtoId;

    invoke-virtual {p0, p1}, Lcom/tencent/tinker/android/dex/ProtoId;->compareTo(Lcom/tencent/tinker/android/dex/ProtoId;)I

    move-result v0

    return v0
.end method