ParticleSystem$NewIndices.smali
.class Lorg/jbox2d/particle/ParticleSystem$NewIndices;
.super Ljava/lang/Object;
.source "ParticleSystem.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/jbox2d/particle/ParticleSystem;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0xa
name = "NewIndices"
.end annotation
# instance fields
.field end:I
.field mid:I
.field start:I
# direct methods
.method private constructor <init>()V
.registers 1
.prologue
.line 1381
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method synthetic constructor <init>(Lorg/jbox2d/particle/ParticleSystem$1;)V
.registers 2
.prologue
.line 1381
invoke-direct {p0}, Lorg/jbox2d/particle/ParticleSystem$NewIndices;-><init>()V
return-void
.end method
# virtual methods
.method final getIndex(I)I
.registers 4
.prologue
.line 1385
iget v0, p0, Lorg/jbox2d/particle/ParticleSystem$NewIndices;->start:I
if-ge p1, v0, :cond_5
.line 1392
:cond_4
:goto_4
return p1
.line 1387
:cond_5
iget v0, p0, Lorg/jbox2d/particle/ParticleSystem$NewIndices;->mid:I
if-ge p1, v0, :cond_11
.line 1388
iget v0, p0, Lorg/jbox2d/particle/ParticleSystem$NewIndices;->end:I
add-int/2addr v0, p1
iget v1, p0, Lorg/jbox2d/particle/ParticleSystem$NewIndices;->mid:I
sub-int p1, v0, v1
goto :goto_4
.line 1389
:cond_11
iget v0, p0, Lorg/jbox2d/particle/ParticleSystem$NewIndices;->end:I
if-ge p1, v0, :cond_4
.line 1390
iget v0, p0, Lorg/jbox2d/particle/ParticleSystem$NewIndices;->start:I
add-int/2addr v0, p1
iget v1, p0, Lorg/jbox2d/particle/ParticleSystem$NewIndices;->mid:I
sub-int p1, v0, v1
goto :goto_4
.end method