CPtr.smali

.class public Lcom/luajava/CPtr;
.super Ljava/lang/Object;


# instance fields
.field private peer:J


# direct methods
.method constructor <init>()V
    .registers 1

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

    return-void
.end method


# virtual methods
.method public equals(Ljava/lang/Object;)Z
    .registers 8

    const/4 v0, 0x1

    const/4 v1, 0x0

    if-nez p1, :cond_5

    :cond_4
    :goto_4
    return v1

    :cond_5
    if-ne p1, p0, :cond_9

    move v1, v0

    goto :goto_4

    :cond_9
    const-class v2, Lcom/luajava/CPtr;

    invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v3

    if-ne v2, v3, :cond_4

    iget-wide v2, p0, Lcom/luajava/CPtr;->peer:J

    check-cast p1, Lcom/luajava/CPtr;

    iget-wide v4, p1, Lcom/luajava/CPtr;->peer:J

    cmp-long v2, v2, v4

    if-nez v2, :cond_1d

    :goto_1b
    move v1, v0

    goto :goto_4

    :cond_1d
    move v0, v1

    goto :goto_1b
.end method

.method protected getPeer()J
    .registers 3

    iget-wide v0, p0, Lcom/luajava/CPtr;->peer:J

    return-wide v0
.end method