2820 lines
70 KiB
Smali
2820 lines
70 KiB
Smali
.class public Lcom/esotericsoftware/spine/AnimationState;
|
|
.super Ljava/lang/Object;
|
|
.source "AnimationState.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/esotericsoftware/spine/AnimationState$AnimationStateAdapter;,
|
|
Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;,
|
|
Lcom/esotericsoftware/spine/AnimationState$EventType;,
|
|
Lcom/esotericsoftware/spine/AnimationState$EventQueue;,
|
|
Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final e:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
|
|
# instance fields
|
|
.field final a:Lcom/badlogic/gdx/utils/Array;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/badlogic/gdx/utils/Array<",
|
|
"Lcom/esotericsoftware/spine/AnimationState$TrackEntry;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field final b:Lcom/badlogic/gdx/utils/Array;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/badlogic/gdx/utils/Array<",
|
|
"Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field c:Z
|
|
|
|
.field d:Lcom/badlogic/gdx/utils/Pool;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/badlogic/gdx/utils/Pool<",
|
|
"Lcom/esotericsoftware/spine/AnimationState$TrackEntry;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private f:Lcom/esotericsoftware/spine/AnimationStateData;
|
|
|
|
.field private final g:Lcom/badlogic/gdx/utils/Array;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/badlogic/gdx/utils/Array<",
|
|
"Lcom/esotericsoftware/spine/Event;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
.field private final i:Lcom/badlogic/gdx/utils/IntSet;
|
|
|
|
.field private final j:Lcom/badlogic/gdx/utils/Array;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/badlogic/gdx/utils/Array<",
|
|
"Lcom/esotericsoftware/spine/AnimationState$TrackEntry;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private k:F
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 4
|
|
|
|
.line 53
|
|
new-instance v0, Lcom/esotericsoftware/spine/Animation;
|
|
|
|
const-string v1, "<empty>"
|
|
|
|
new-instance v2, Lcom/badlogic/gdx/utils/Array;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-direct {v2, v3}, Lcom/badlogic/gdx/utils/Array;-><init>(I)V
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-direct {v0, v1, v2, v3}, Lcom/esotericsoftware/spine/Animation;-><init>(Ljava/lang/String;Lcom/badlogic/gdx/utils/Array;F)V
|
|
|
|
sput-object v0, Lcom/esotericsoftware/spine/AnimationState;->e:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 97
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 81
|
|
new-instance v0, Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/Array;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
.line 82
|
|
new-instance v0, Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/Array;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->g:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
.line 83
|
|
new-instance v0, Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/Array;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
.line 84
|
|
new-instance v0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-direct {v0, p0}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;-><init>(Lcom/esotericsoftware/spine/AnimationState;)V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
.line 85
|
|
new-instance v0, Lcom/badlogic/gdx/utils/IntSet;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/IntSet;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->i:Lcom/badlogic/gdx/utils/IntSet;
|
|
|
|
.line 86
|
|
new-instance v0, Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/Array;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->j:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
.line 88
|
|
iput v0, p0, Lcom/esotericsoftware/spine/AnimationState;->k:F
|
|
|
|
.line 90
|
|
new-instance v0, Lcom/esotericsoftware/spine/AnimationState$1;
|
|
|
|
invoke-direct {v0, p0}, Lcom/esotericsoftware/spine/AnimationState$1;-><init>(Lcom/esotericsoftware/spine/AnimationState;)V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->d:Lcom/badlogic/gdx/utils/Pool;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lcom/esotericsoftware/spine/AnimationStateData;)V
|
|
.locals 1
|
|
|
|
.line 100
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 81
|
|
new-instance v0, Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/Array;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
.line 82
|
|
new-instance v0, Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/Array;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->g:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
.line 83
|
|
new-instance v0, Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/Array;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
.line 84
|
|
new-instance v0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-direct {v0, p0}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;-><init>(Lcom/esotericsoftware/spine/AnimationState;)V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
.line 85
|
|
new-instance v0, Lcom/badlogic/gdx/utils/IntSet;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/IntSet;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->i:Lcom/badlogic/gdx/utils/IntSet;
|
|
|
|
.line 86
|
|
new-instance v0, Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/Array;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->j:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
.line 88
|
|
iput v0, p0, Lcom/esotericsoftware/spine/AnimationState;->k:F
|
|
|
|
.line 90
|
|
new-instance v0, Lcom/esotericsoftware/spine/AnimationState$1;
|
|
|
|
invoke-direct {v0, p0}, Lcom/esotericsoftware/spine/AnimationState$1;-><init>(Lcom/esotericsoftware/spine/AnimationState;)V
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->d:Lcom/badlogic/gdx/utils/Pool;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 102
|
|
iput-object p1, p0, Lcom/esotericsoftware/spine/AnimationState;->f:Lcom/esotericsoftware/spine/AnimationStateData;
|
|
|
|
return-void
|
|
|
|
.line 101
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "data cannot be null."
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method private a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;Lcom/esotericsoftware/spine/Skeleton;Lcom/esotericsoftware/spine/Animation$MixPose;)F
|
|
.locals 30
|
|
|
|
move-object/from16 v9, p0
|
|
|
|
move-object/from16 v10, p1
|
|
|
|
.line 243
|
|
iget-object v11, v10, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
.line 244
|
|
iget-object v0, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
move-object/from16 v12, p2
|
|
|
|
move-object/from16 v13, p3
|
|
|
|
invoke-direct {v9, v11, v12, v13}, Lcom/esotericsoftware/spine/AnimationState;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;Lcom/esotericsoftware/spine/Skeleton;Lcom/esotericsoftware/spine/Animation$MixPose;)F
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object/from16 v12, p2
|
|
|
|
move-object/from16 v13, p3
|
|
|
|
.line 247
|
|
:goto_0
|
|
iget v0, v10, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->v:F
|
|
|
|
const/4 v14, 0x0
|
|
|
|
const/high16 v15, 0x3f800000 # 1.0f
|
|
|
|
cmpl-float v0, v0, v14
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
:goto_1
|
|
const/high16 v16, 0x3f800000 # 1.0f
|
|
|
|
goto :goto_2
|
|
|
|
.line 250
|
|
:cond_1
|
|
iget v0, v10, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->u:F
|
|
|
|
iget v1, v10, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->v:F
|
|
|
|
div-float/2addr v0, v1
|
|
|
|
cmpl-float v1, v0, v15
|
|
|
|
if-lez v1, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
move/from16 v16, v0
|
|
|
|
.line 254
|
|
:goto_2
|
|
iget v0, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->g:F
|
|
|
|
cmpg-float v0, v16, v0
|
|
|
|
if-gez v0, :cond_3
|
|
|
|
iget-object v0, v9, Lcom/esotericsoftware/spine/AnimationState;->g:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
:goto_3
|
|
move-object/from16 v17, v0
|
|
|
|
goto :goto_4
|
|
|
|
:cond_3
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_3
|
|
|
|
.line 255
|
|
:goto_4
|
|
iget v0, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->h:F
|
|
|
|
const/4 v2, 0x1
|
|
|
|
cmpg-float v0, v16, v0
|
|
|
|
if-gez v0, :cond_4
|
|
|
|
const/16 v18, 0x1
|
|
|
|
goto :goto_5
|
|
|
|
:cond_4
|
|
const/16 v18, 0x0
|
|
|
|
:goto_5
|
|
iget v0, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->i:F
|
|
|
|
cmpg-float v0, v16, v0
|
|
|
|
if-gez v0, :cond_5
|
|
|
|
const/16 v19, 0x1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_5
|
|
const/16 v19, 0x0
|
|
|
|
.line 256
|
|
:goto_6
|
|
iget v8, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->l:F
|
|
|
|
invoke-virtual {v11}, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c()F
|
|
|
|
move-result v7
|
|
|
|
.line 257
|
|
iget-object v0, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
iget-object v0, v0, Lcom/esotericsoftware/spine/Animation;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget v6, v0, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
.line 258
|
|
iget-object v0, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
iget-object v0, v0, Lcom/esotericsoftware/spine/Animation;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget-object v5, v0, Lcom/badlogic/gdx/utils/Array;->a:[Ljava/lang/Object;
|
|
|
|
.line 259
|
|
iget-object v0, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->y:Lcom/badlogic/gdx/utils/IntArray;
|
|
|
|
iget-object v4, v0, Lcom/badlogic/gdx/utils/IntArray;->a:[I
|
|
|
|
.line 260
|
|
iget-object v0, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->z:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget-object v3, v0, Lcom/badlogic/gdx/utils/Array;->a:[Ljava/lang/Object;
|
|
|
|
.line 262
|
|
iget-object v0, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->A:Lcom/badlogic/gdx/utils/FloatArray;
|
|
|
|
iget v0, v0, Lcom/badlogic/gdx/utils/FloatArray;->b:I
|
|
|
|
if-nez v0, :cond_6
|
|
|
|
const/16 v20, 0x1
|
|
|
|
goto :goto_7
|
|
|
|
:cond_6
|
|
const/16 v20, 0x0
|
|
|
|
:goto_7
|
|
if-eqz v20, :cond_7
|
|
|
|
.line 263
|
|
iget-object v0, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->A:Lcom/badlogic/gdx/utils/FloatArray;
|
|
|
|
shl-int/lit8 v2, v6, 0x1
|
|
|
|
invoke-virtual {v0, v2}, Lcom/badlogic/gdx/utils/FloatArray;->c(I)[F
|
|
|
|
.line 264
|
|
:cond_7
|
|
iget-object v0, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->A:Lcom/badlogic/gdx/utils/FloatArray;
|
|
|
|
iget-object v2, v0, Lcom/badlogic/gdx/utils/FloatArray;->a:[F
|
|
|
|
.line 267
|
|
iget v0, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->t:F
|
|
|
|
iget v1, v10, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->w:F
|
|
|
|
mul-float v22, v0, v1
|
|
|
|
sub-float v0, v15, v16
|
|
|
|
mul-float v23, v22, v0
|
|
|
|
.line 268
|
|
iput v14, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->x:F
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_8
|
|
if-ge v1, v6, :cond_b
|
|
|
|
.line 270
|
|
aget-object v0, v5, v1
|
|
|
|
check-cast v0, Lcom/esotericsoftware/spine/Animation$Timeline;
|
|
|
|
.line 271
|
|
aget v21, v4, v1
|
|
|
|
packed-switch v21, :pswitch_data_0
|
|
|
|
.line 287
|
|
sget-object v14, Lcom/esotericsoftware/spine/Animation$MixPose;->setup:Lcom/esotericsoftware/spine/Animation$MixPose;
|
|
|
|
.line 289
|
|
aget-object v21, v3, v1
|
|
|
|
move-object/from16 v15, v21
|
|
|
|
check-cast v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
move-object/from16 v25, v2
|
|
|
|
.line 290
|
|
iget v2, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->u:F
|
|
|
|
iget v15, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->v:F
|
|
|
|
div-float/2addr v2, v15
|
|
|
|
const/high16 v15, 0x3f800000 # 1.0f
|
|
|
|
sub-float v2, v15, v2
|
|
|
|
const/4 v15, 0x0
|
|
|
|
invoke-static {v15, v2}, Ljava/lang/Math;->max(FF)F
|
|
|
|
move-result v2
|
|
|
|
mul-float v2, v2, v22
|
|
|
|
move-object/from16 v21, v14
|
|
|
|
move v14, v2
|
|
|
|
goto :goto_b
|
|
|
|
.line 283
|
|
:pswitch_0
|
|
sget-object v21, Lcom/esotericsoftware/spine/Animation$MixPose;->setup:Lcom/esotericsoftware/spine/Animation$MixPose;
|
|
|
|
move-object/from16 v25, v2
|
|
|
|
move/from16 v14, v22
|
|
|
|
goto :goto_b
|
|
|
|
.line 279
|
|
:pswitch_1
|
|
sget-object v21, Lcom/esotericsoftware/spine/Animation$MixPose;->setup:Lcom/esotericsoftware/spine/Animation$MixPose;
|
|
|
|
move-object/from16 v25, v2
|
|
|
|
:goto_9
|
|
move/from16 v14, v23
|
|
|
|
goto :goto_b
|
|
|
|
:pswitch_2
|
|
if-nez v18, :cond_8
|
|
|
|
.line 273
|
|
instance-of v14, v0, Lcom/esotericsoftware/spine/Animation$AttachmentTimeline;
|
|
|
|
if-eqz v14, :cond_8
|
|
|
|
:goto_a
|
|
move/from16 v24, v1
|
|
|
|
move-object/from16 v25, v2
|
|
|
|
move-object/from16 v26, v3
|
|
|
|
move-object/from16 v27, v4
|
|
|
|
move-object/from16 v28, v5
|
|
|
|
move/from16 v29, v6
|
|
|
|
move v0, v7
|
|
|
|
move v15, v8
|
|
|
|
goto/16 :goto_c
|
|
|
|
:cond_8
|
|
if-nez v19, :cond_9
|
|
|
|
.line 274
|
|
instance-of v14, v0, Lcom/esotericsoftware/spine/Animation$DrawOrderTimeline;
|
|
|
|
if-eqz v14, :cond_9
|
|
|
|
goto :goto_a
|
|
|
|
:cond_9
|
|
move-object/from16 v25, v2
|
|
|
|
move-object/from16 v21, v13
|
|
|
|
goto :goto_9
|
|
|
|
.line 293
|
|
:goto_b
|
|
iget v2, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->x:F
|
|
|
|
add-float/2addr v2, v14
|
|
|
|
iput v2, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->x:F
|
|
|
|
.line 294
|
|
instance-of v2, v0, Lcom/esotericsoftware/spine/Animation$RotateTimeline;
|
|
|
|
if-eqz v2, :cond_a
|
|
|
|
shl-int/lit8 v15, v1, 0x1
|
|
|
|
move-object v2, v0
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move/from16 v24, v1
|
|
|
|
move-object v1, v2
|
|
|
|
move-object/from16 v2, p2
|
|
|
|
move-object/from16 v26, v3
|
|
|
|
move v3, v7
|
|
|
|
move-object/from16 v27, v4
|
|
|
|
move v4, v14
|
|
|
|
move-object/from16 v28, v5
|
|
|
|
move-object/from16 v5, v21
|
|
|
|
move/from16 v29, v6
|
|
|
|
move-object/from16 v6, v25
|
|
|
|
move v14, v7
|
|
|
|
move v7, v15
|
|
|
|
move v15, v8
|
|
|
|
move/from16 v8, v20
|
|
|
|
.line 295
|
|
invoke-direct/range {v0 .. v8}, Lcom/esotericsoftware/spine/AnimationState;->a(Lcom/esotericsoftware/spine/Animation$Timeline;Lcom/esotericsoftware/spine/Skeleton;FFLcom/esotericsoftware/spine/Animation$MixPose;[FIZ)V
|
|
|
|
move v0, v14
|
|
|
|
goto :goto_c
|
|
|
|
:cond_a
|
|
move-object v2, v0
|
|
|
|
move/from16 v24, v1
|
|
|
|
move-object/from16 v26, v3
|
|
|
|
move-object/from16 v27, v4
|
|
|
|
move-object/from16 v28, v5
|
|
|
|
move/from16 v29, v6
|
|
|
|
move v0, v7
|
|
|
|
move v15, v8
|
|
|
|
.line 297
|
|
sget-object v8, Lcom/esotericsoftware/spine/Animation$MixDirection;->out:Lcom/esotericsoftware/spine/Animation$MixDirection;
|
|
|
|
move-object v1, v2
|
|
|
|
move-object/from16 v2, p2
|
|
|
|
move v3, v15
|
|
|
|
move v4, v0
|
|
|
|
move-object/from16 v5, v17
|
|
|
|
move v6, v14
|
|
|
|
move-object/from16 v7, v21
|
|
|
|
invoke-interface/range {v1 .. v8}, Lcom/esotericsoftware/spine/Animation$Timeline;->a(Lcom/esotericsoftware/spine/Skeleton;FFLcom/badlogic/gdx/utils/Array;FLcom/esotericsoftware/spine/Animation$MixPose;Lcom/esotericsoftware/spine/Animation$MixDirection;)V
|
|
|
|
:goto_c
|
|
add-int/lit8 v1, v24, 0x1
|
|
|
|
move v7, v0
|
|
|
|
move v8, v15
|
|
|
|
move-object/from16 v2, v25
|
|
|
|
move-object/from16 v3, v26
|
|
|
|
move-object/from16 v4, v27
|
|
|
|
move-object/from16 v5, v28
|
|
|
|
move/from16 v6, v29
|
|
|
|
const/4 v14, 0x0
|
|
|
|
const/high16 v15, 0x3f800000 # 1.0f
|
|
|
|
goto/16 :goto_8
|
|
|
|
:cond_b
|
|
move v0, v7
|
|
|
|
.line 300
|
|
iget v1, v10, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->v:F
|
|
|
|
const/4 v2, 0x0
|
|
|
|
cmpl-float v1, v1, v2
|
|
|
|
if-lez v1, :cond_c
|
|
|
|
invoke-direct {v9, v11, v0}, Lcom/esotericsoftware/spine/AnimationState;->b(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;F)V
|
|
|
|
.line 301
|
|
:cond_c
|
|
iget-object v1, v9, Lcom/esotericsoftware/spine/AnimationState;->g:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v1}, Lcom/badlogic/gdx/utils/Array;->d()V
|
|
|
|
.line 302
|
|
iput v0, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->m:F
|
|
|
|
.line 303
|
|
iget v0, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->o:F
|
|
|
|
iput v0, v11, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->q:F
|
|
|
|
return v16
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method private a(ILcom/esotericsoftware/spine/Animation;ZLcom/esotericsoftware/spine/AnimationState$TrackEntry;)Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
.locals 1
|
|
|
|
.line 603
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->d:Lcom/badlogic/gdx/utils/Pool;
|
|
|
|
invoke-virtual {v0}, Lcom/badlogic/gdx/utils/Pool;->d()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
.line 604
|
|
iput p1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->e:I
|
|
|
|
.line 605
|
|
iput-object p2, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
.line 606
|
|
iput-boolean p3, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->f:Z
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 608
|
|
iput p1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->g:F
|
|
|
|
.line 609
|
|
iput p1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->h:F
|
|
|
|
.line 610
|
|
iput p1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->i:F
|
|
|
|
.line 612
|
|
iput p1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->j:F
|
|
|
|
.line 613
|
|
invoke-virtual {p2}, Lcom/esotericsoftware/spine/Animation;->a()F
|
|
|
|
move-result p3
|
|
|
|
iput p3, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->k:F
|
|
|
|
const/high16 p3, -0x40800000 # -1.0f
|
|
|
|
.line 614
|
|
iput p3, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->l:F
|
|
|
|
.line 615
|
|
iput p3, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->m:F
|
|
|
|
.line 617
|
|
iput p1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->n:F
|
|
|
|
.line 618
|
|
iput p1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->o:F
|
|
|
|
.line 619
|
|
iput p3, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->p:F
|
|
|
|
.line 620
|
|
iput p3, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->q:F
|
|
|
|
const p3, 0x7f7fffff # Float.MAX_VALUE
|
|
|
|
.line 621
|
|
iput p3, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->r:F
|
|
|
|
const/high16 p3, 0x3f800000 # 1.0f
|
|
|
|
.line 622
|
|
iput p3, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->s:F
|
|
|
|
.line 624
|
|
iput p3, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->t:F
|
|
|
|
.line 625
|
|
iput p3, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->w:F
|
|
|
|
.line 626
|
|
iput p1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->u:F
|
|
|
|
if-nez p4, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 627
|
|
:cond_0
|
|
iget-object p1, p0, Lcom/esotericsoftware/spine/AnimationState;->f:Lcom/esotericsoftware/spine/AnimationStateData;
|
|
|
|
iget-object p3, p4, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
invoke-virtual {p1, p3, p2}, Lcom/esotericsoftware/spine/AnimationStateData;->a(Lcom/esotericsoftware/spine/Animation;Lcom/esotericsoftware/spine/Animation;)F
|
|
|
|
move-result p1
|
|
|
|
:goto_0
|
|
iput p1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->v:F
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private a(ILcom/esotericsoftware/spine/AnimationState$TrackEntry;Z)V
|
|
.locals 3
|
|
|
|
.line 445
|
|
invoke-direct {p0, p1}, Lcom/esotericsoftware/spine/AnimationState;->c(I)Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
move-result-object v0
|
|
|
|
.line 446
|
|
iget-object v1, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v1, p1, p2}, Lcom/badlogic/gdx/utils/Array;->a(ILjava/lang/Object;)V
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
.line 449
|
|
iget-object p1, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->b(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
.line 450
|
|
:cond_0
|
|
iput-object v0, p2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 451
|
|
iput p1, p2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->u:F
|
|
|
|
.line 454
|
|
iget-object p3, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
if-eqz p3, :cond_1
|
|
|
|
iget p3, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->v:F
|
|
|
|
cmpl-float p1, p3, p1
|
|
|
|
if-lez p1, :cond_1
|
|
|
|
.line 455
|
|
iget p1, p2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->w:F
|
|
|
|
const/high16 p3, 0x3f800000 # 1.0f
|
|
|
|
iget v1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->u:F
|
|
|
|
iget v2, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->v:F
|
|
|
|
div-float/2addr v1, v2
|
|
|
|
invoke-static {p3, v1}, Ljava/lang/Math;->min(FF)F
|
|
|
|
move-result p3
|
|
|
|
mul-float p1, p1, p3
|
|
|
|
iput p1, p2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->w:F
|
|
|
|
.line 457
|
|
:cond_1
|
|
iget-object p1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->A:Lcom/badlogic/gdx/utils/FloatArray;
|
|
|
|
invoke-virtual {p1}, Lcom/badlogic/gdx/utils/FloatArray;->b()V
|
|
|
|
.line 460
|
|
:cond_2
|
|
iget-object p1, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {p1, p2}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Lcom/esotericsoftware/spine/Animation$Timeline;Lcom/esotericsoftware/spine/Skeleton;FFLcom/esotericsoftware/spine/Animation$MixPose;[FIZ)V
|
|
.locals 21
|
|
|
|
move/from16 v3, p3
|
|
|
|
move-object/from16 v6, p5
|
|
|
|
const/4 v5, 0x0
|
|
|
|
if-eqz p8, :cond_0
|
|
|
|
.line 311
|
|
aput v5, p6, p7
|
|
|
|
:cond_0
|
|
const/high16 v7, 0x3f800000 # 1.0f
|
|
|
|
cmpl-float v8, p4, v7
|
|
|
|
if-nez v8, :cond_1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/high16 v5, 0x3f800000 # 1.0f
|
|
|
|
.line 314
|
|
sget-object v7, Lcom/esotericsoftware/spine/Animation$MixDirection;->in:Lcom/esotericsoftware/spine/Animation$MixDirection;
|
|
|
|
move-object/from16 v0, p1
|
|
|
|
move-object/from16 v1, p2
|
|
|
|
move/from16 v3, p3
|
|
|
|
move-object/from16 v6, p5
|
|
|
|
invoke-interface/range {v0 .. v7}, Lcom/esotericsoftware/spine/Animation$Timeline;->a(Lcom/esotericsoftware/spine/Skeleton;FFLcom/badlogic/gdx/utils/Array;FLcom/esotericsoftware/spine/Animation$MixPose;Lcom/esotericsoftware/spine/Animation$MixDirection;)V
|
|
|
|
return-void
|
|
|
|
.line 318
|
|
:cond_1
|
|
move-object/from16 v8, p1
|
|
|
|
check-cast v8, Lcom/esotericsoftware/spine/Animation$RotateTimeline;
|
|
|
|
move-object/from16 v9, p2
|
|
|
|
.line 319
|
|
iget-object v9, v9, Lcom/esotericsoftware/spine/Skeleton;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget v10, v8, Lcom/esotericsoftware/spine/Animation$RotateTimeline;->a:I
|
|
|
|
invoke-virtual {v9, v10}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v9
|
|
|
|
check-cast v9, Lcom/esotericsoftware/spine/Bone;
|
|
|
|
.line 320
|
|
iget-object v10, v8, Lcom/esotericsoftware/spine/Animation$RotateTimeline;->b:[F
|
|
|
|
const/4 v11, 0x0
|
|
|
|
.line 321
|
|
aget v12, v10, v11
|
|
|
|
cmpg-float v12, v3, v12
|
|
|
|
if-gez v12, :cond_3
|
|
|
|
.line 322
|
|
sget-object v0, Lcom/esotericsoftware/spine/Animation$MixPose;->setup:Lcom/esotericsoftware/spine/Animation$MixPose;
|
|
|
|
if-ne v6, v0, :cond_2
|
|
|
|
iget-object v0, v9, Lcom/esotericsoftware/spine/Bone;->a:Lcom/esotericsoftware/spine/BoneData;
|
|
|
|
iget v0, v0, Lcom/esotericsoftware/spine/BoneData;->g:F
|
|
|
|
iput v0, v9, Lcom/esotericsoftware/spine/Bone;->g:F
|
|
|
|
:cond_2
|
|
return-void
|
|
|
|
.line 327
|
|
:cond_3
|
|
array-length v12, v10
|
|
|
|
const/4 v13, 0x2
|
|
|
|
sub-int/2addr v12, v13
|
|
|
|
aget v12, v10, v12
|
|
|
|
const-wide v14, 0x40d0001fffffffffL # 16384.499999999996
|
|
|
|
const/high16 v16, 0x43b40000 # 360.0f
|
|
|
|
const/16 v17, 0x1
|
|
|
|
cmpl-float v12, v3, v12
|
|
|
|
if-ltz v12, :cond_4
|
|
|
|
.line 328
|
|
iget-object v3, v9, Lcom/esotericsoftware/spine/Bone;->a:Lcom/esotericsoftware/spine/BoneData;
|
|
|
|
iget v3, v3, Lcom/esotericsoftware/spine/BoneData;->g:F
|
|
|
|
array-length v7, v10
|
|
|
|
add-int/lit8 v7, v7, -0x1
|
|
|
|
aget v7, v10, v7
|
|
|
|
add-float/2addr v3, v7
|
|
|
|
goto :goto_0
|
|
|
|
.line 331
|
|
:cond_4
|
|
invoke-static {v10, v3, v13}, Lcom/esotericsoftware/spine/Animation;->a([FFI)I
|
|
|
|
move-result v12
|
|
|
|
add-int/lit8 v13, v12, -0x1
|
|
|
|
.line 332
|
|
aget v13, v10, v13
|
|
|
|
.line 333
|
|
aget v18, v10, v12
|
|
|
|
shr-int/lit8 v19, v12, 0x1
|
|
|
|
add-int/lit8 v11, v19, -0x1
|
|
|
|
sub-float v3, v3, v18
|
|
|
|
add-int/lit8 v19, v12, -0x2
|
|
|
|
.line 334
|
|
aget v19, v10, v19
|
|
|
|
sub-float v19, v19, v18
|
|
|
|
div-float v3, v3, v19
|
|
|
|
sub-float/2addr v7, v3
|
|
|
|
invoke-virtual {v8, v11, v7}, Lcom/esotericsoftware/spine/Animation$RotateTimeline;->a(IF)F
|
|
|
|
move-result v3
|
|
|
|
add-int/lit8 v12, v12, 0x1
|
|
|
|
.line 337
|
|
aget v7, v10, v12
|
|
|
|
sub-float/2addr v7, v13
|
|
|
|
div-float v8, v7, v16
|
|
|
|
float-to-double v10, v8
|
|
|
|
.line 338
|
|
invoke-static {v10, v11}, Ljava/lang/Double;->isNaN(D)Z
|
|
|
|
sub-double v10, v14, v10
|
|
|
|
double-to-int v8, v10
|
|
|
|
rsub-int v8, v8, 0x4000
|
|
|
|
mul-int/lit16 v8, v8, 0x168
|
|
|
|
int-to-float v8, v8
|
|
|
|
sub-float/2addr v7, v8
|
|
|
|
mul-float v7, v7, v3
|
|
|
|
add-float/2addr v13, v7
|
|
|
|
.line 339
|
|
iget-object v3, v9, Lcom/esotericsoftware/spine/Bone;->a:Lcom/esotericsoftware/spine/BoneData;
|
|
|
|
iget v3, v3, Lcom/esotericsoftware/spine/BoneData;->g:F
|
|
|
|
add-float/2addr v13, v3
|
|
|
|
div-float v3, v13, v16
|
|
|
|
float-to-double v7, v3
|
|
|
|
.line 340
|
|
invoke-static {v7, v8}, Ljava/lang/Double;->isNaN(D)Z
|
|
|
|
sub-double v7, v14, v7
|
|
|
|
double-to-int v3, v7
|
|
|
|
rsub-int v3, v3, 0x4000
|
|
|
|
mul-int/lit16 v3, v3, 0x168
|
|
|
|
int-to-float v3, v3
|
|
|
|
sub-float v3, v13, v3
|
|
|
|
.line 344
|
|
:goto_0
|
|
sget-object v7, Lcom/esotericsoftware/spine/Animation$MixPose;->setup:Lcom/esotericsoftware/spine/Animation$MixPose;
|
|
|
|
if-ne v6, v7, :cond_5
|
|
|
|
iget-object v6, v9, Lcom/esotericsoftware/spine/Bone;->a:Lcom/esotericsoftware/spine/BoneData;
|
|
|
|
iget v6, v6, Lcom/esotericsoftware/spine/BoneData;->g:F
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
iget v6, v9, Lcom/esotericsoftware/spine/Bone;->g:F
|
|
|
|
:goto_1
|
|
sub-float/2addr v3, v6
|
|
|
|
cmpl-float v7, v3, v5
|
|
|
|
if-nez v7, :cond_6
|
|
|
|
.line 347
|
|
aget v4, p6, p7
|
|
|
|
goto :goto_6
|
|
|
|
:cond_6
|
|
div-float v7, v3, v16
|
|
|
|
float-to-double v7, v7
|
|
|
|
.line 349
|
|
invoke-static {v7, v8}, Ljava/lang/Double;->isNaN(D)Z
|
|
|
|
sub-double v7, v14, v7
|
|
|
|
double-to-int v7, v7
|
|
|
|
rsub-int v7, v7, 0x4000
|
|
|
|
mul-int/lit16 v7, v7, 0x168
|
|
|
|
int-to-float v7, v7
|
|
|
|
sub-float/2addr v3, v7
|
|
|
|
if-eqz p8, :cond_7
|
|
|
|
move v7, v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
goto :goto_2
|
|
|
|
.line 355
|
|
:cond_7
|
|
aget v4, p6, p7
|
|
|
|
add-int/lit8 v7, p7, 0x1
|
|
|
|
.line 356
|
|
aget v7, p6, v7
|
|
|
|
:goto_2
|
|
cmpl-float v8, v3, v5
|
|
|
|
if-lez v8, :cond_8
|
|
|
|
const/4 v8, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_8
|
|
const/4 v8, 0x0
|
|
|
|
:goto_3
|
|
cmpl-float v5, v4, v5
|
|
|
|
if-ltz v5, :cond_9
|
|
|
|
const/16 v20, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_9
|
|
const/16 v20, 0x0
|
|
|
|
.line 360
|
|
:goto_4
|
|
invoke-static {v7}, Ljava/lang/Math;->signum(F)F
|
|
|
|
move-result v5
|
|
|
|
invoke-static {v3}, Ljava/lang/Math;->signum(F)F
|
|
|
|
move-result v10
|
|
|
|
cmpl-float v5, v5, v10
|
|
|
|
if-eqz v5, :cond_b
|
|
|
|
invoke-static {v7}, Ljava/lang/Math;->abs(F)F
|
|
|
|
move-result v5
|
|
|
|
const/high16 v7, 0x42b40000 # 90.0f
|
|
|
|
cmpg-float v5, v5, v7
|
|
|
|
if-gtz v5, :cond_b
|
|
|
|
.line 362
|
|
invoke-static {v4}, Ljava/lang/Math;->abs(F)F
|
|
|
|
move-result v5
|
|
|
|
const/high16 v7, 0x43340000 # 180.0f
|
|
|
|
cmpl-float v5, v5, v7
|
|
|
|
if-lez v5, :cond_a
|
|
|
|
invoke-static {v4}, Ljava/lang/Math;->signum(F)F
|
|
|
|
move-result v5
|
|
|
|
mul-float v5, v5, v16
|
|
|
|
add-float/2addr v4, v5
|
|
|
|
:cond_a
|
|
move v5, v8
|
|
|
|
goto :goto_5
|
|
|
|
:cond_b
|
|
move/from16 v5, v20
|
|
|
|
:goto_5
|
|
add-float v7, v3, v4
|
|
|
|
rem-float v10, v4, v16
|
|
|
|
sub-float/2addr v7, v10
|
|
|
|
if-eq v5, v8, :cond_c
|
|
|
|
.line 366
|
|
invoke-static {v4}, Ljava/lang/Math;->signum(F)F
|
|
|
|
move-result v4
|
|
|
|
mul-float v4, v4, v16
|
|
|
|
add-float/2addr v7, v4
|
|
|
|
:cond_c
|
|
move v4, v7
|
|
|
|
.line 367
|
|
aput v4, p6, p7
|
|
|
|
:goto_6
|
|
add-int/lit8 v2, p7, 0x1
|
|
|
|
.line 369
|
|
aput v3, p6, v2
|
|
|
|
mul-float v4, v4, p4
|
|
|
|
add-float/2addr v6, v4
|
|
|
|
div-float v0, v6, v16
|
|
|
|
float-to-double v0, v0
|
|
|
|
.line 371
|
|
invoke-static {v0, v1}, Ljava/lang/Double;->isNaN(D)Z
|
|
|
|
sub-double/2addr v14, v0
|
|
|
|
double-to-int v0, v14
|
|
|
|
rsub-int v0, v0, 0x4000
|
|
|
|
mul-int/lit16 v0, v0, 0x168
|
|
|
|
int-to-float v0, v0
|
|
|
|
sub-float/2addr v6, v0
|
|
|
|
iput v6, v9, Lcom/esotericsoftware/spine/Bone;->g:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
.locals 2
|
|
|
|
.line 632
|
|
iget-object v0, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->b:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
:goto_0
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 634
|
|
iget-object v1, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {v1, v0}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->d(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
.line 635
|
|
iget-object v0, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->b:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 637
|
|
iput-object v0, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->b:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;F)Z
|
|
.locals 5
|
|
|
|
.line 164
|
|
iget-object v0, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
.line 167
|
|
:cond_0
|
|
invoke-direct {p0, v0, p2}, Lcom/esotericsoftware/spine/AnimationState;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;F)Z
|
|
|
|
move-result v1
|
|
|
|
.line 170
|
|
iget v2, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->u:F
|
|
|
|
const/4 v3, 0x0
|
|
|
|
cmpl-float v2, v2, v3
|
|
|
|
if-lez v2, :cond_4
|
|
|
|
iget v2, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->u:F
|
|
|
|
iget v4, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->v:F
|
|
|
|
cmpl-float v2, v2, v4
|
|
|
|
if-gez v2, :cond_1
|
|
|
|
iget v2, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->s:F
|
|
|
|
cmpl-float v2, v2, v3
|
|
|
|
if-nez v2, :cond_4
|
|
|
|
.line 172
|
|
:cond_1
|
|
iget p2, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->x:F
|
|
|
|
cmpl-float p2, p2, v3
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
iget p2, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->v:F
|
|
|
|
cmpl-float p2, p2, v3
|
|
|
|
if-nez p2, :cond_3
|
|
|
|
.line 173
|
|
:cond_2
|
|
iget-object p2, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
iput-object p2, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
.line 174
|
|
iget p2, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->w:F
|
|
|
|
iput p2, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->w:F
|
|
|
|
.line 175
|
|
iget-object p1, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
:cond_3
|
|
return v1
|
|
|
|
.line 180
|
|
:cond_4
|
|
iget v1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->m:F
|
|
|
|
iput v1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->l:F
|
|
|
|
.line 181
|
|
iget v1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->q:F
|
|
|
|
iput v1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->p:F
|
|
|
|
.line 182
|
|
iget v1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->o:F
|
|
|
|
iget v2, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->s:F
|
|
|
|
mul-float v2, v2, p2
|
|
|
|
add-float/2addr v1, v2
|
|
|
|
iput v1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->o:F
|
|
|
|
.line 183
|
|
iget v0, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->u:F
|
|
|
|
iget v1, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->s:F
|
|
|
|
mul-float p2, p2, v1
|
|
|
|
add-float/2addr v0, p2
|
|
|
|
iput v0, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->u:F
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method private b(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;F)V
|
|
.locals 9
|
|
|
|
.line 375
|
|
iget v0, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->j:F
|
|
|
|
iget v1, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->k:F
|
|
|
|
sub-float v2, v1, v0
|
|
|
|
.line 377
|
|
iget v3, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->p:F
|
|
|
|
rem-float/2addr v3, v2
|
|
|
|
.line 380
|
|
iget-object v4, p0, Lcom/esotericsoftware/spine/AnimationState;->g:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
.line 381
|
|
iget v5, v4, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
const/4 v6, 0x0
|
|
|
|
:goto_0
|
|
if-ge v6, v5, :cond_2
|
|
|
|
.line 383
|
|
invoke-virtual {v4, v6}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v7
|
|
|
|
check-cast v7, Lcom/esotericsoftware/spine/Event;
|
|
|
|
.line 384
|
|
iget v8, v7, Lcom/esotericsoftware/spine/Event;->d:F
|
|
|
|
cmpg-float v8, v8, v3
|
|
|
|
if-gez v8, :cond_0
|
|
|
|
goto :goto_2
|
|
|
|
.line 385
|
|
:cond_0
|
|
iget v8, v7, Lcom/esotericsoftware/spine/Event;->d:F
|
|
|
|
cmpl-float v8, v8, v1
|
|
|
|
if-lez v8, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
.line 386
|
|
:cond_1
|
|
iget-object v8, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {v8, p1, v7}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;Lcom/esotericsoftware/spine/Event;)V
|
|
|
|
:goto_1
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 390
|
|
:cond_2
|
|
:goto_2
|
|
iget-boolean v7, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->f:Z
|
|
|
|
if-eqz v7, :cond_3
|
|
|
|
iget p2, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->o:F
|
|
|
|
rem-float/2addr p2, v2
|
|
|
|
cmpl-float p2, v3, p2
|
|
|
|
if-lez p2, :cond_4
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
cmpl-float p2, p2, v1
|
|
|
|
if-ltz p2, :cond_4
|
|
|
|
iget p2, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->l:F
|
|
|
|
cmpg-float p2, p2, v1
|
|
|
|
if-gez p2, :cond_4
|
|
|
|
.line 392
|
|
:goto_3
|
|
iget-object p2, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {p2, p1}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->e(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
:cond_4
|
|
:goto_4
|
|
if-ge v6, v5, :cond_6
|
|
|
|
.line 397
|
|
invoke-virtual {v4, v6}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Lcom/esotericsoftware/spine/Event;
|
|
|
|
.line 398
|
|
iget p2, p2, Lcom/esotericsoftware/spine/Event;->d:F
|
|
|
|
cmpg-float p2, p2, v0
|
|
|
|
if-gez p2, :cond_5
|
|
|
|
goto :goto_5
|
|
|
|
.line 399
|
|
:cond_5
|
|
iget-object p2, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {v4, v6}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/esotericsoftware/spine/Event;
|
|
|
|
invoke-virtual {p2, p1, v1}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;Lcom/esotericsoftware/spine/Event;)V
|
|
|
|
:goto_5
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
:cond_6
|
|
return-void
|
|
.end method
|
|
|
|
.method private c(I)Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
.locals 2
|
|
|
|
.line 595
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget v0, v0, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
if-ge p1, v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
return-object p1
|
|
|
|
.line 596
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget-object v1, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget v1, v1, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
sub-int v1, p1, v1
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
invoke-virtual {v0, v1}, Lcom/badlogic/gdx/utils/Array;->c(I)[Ljava/lang/Object;
|
|
|
|
.line 597
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
iput p1, v0, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private c()V
|
|
.locals 6
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 641
|
|
iput-boolean v0, p0, Lcom/esotericsoftware/spine/AnimationState;->c:Z
|
|
|
|
.line 643
|
|
iget-object v1, p0, Lcom/esotericsoftware/spine/AnimationState;->i:Lcom/badlogic/gdx/utils/IntSet;
|
|
|
|
.line 644
|
|
invoke-virtual {v1}, Lcom/badlogic/gdx/utils/IntSet;->a()V
|
|
|
|
.line 645
|
|
iget-object v2, p0, Lcom/esotericsoftware/spine/AnimationState;->j:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
.line 647
|
|
iget-object v3, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget v3, v3, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
:goto_0
|
|
if-ge v0, v3, :cond_1
|
|
|
|
.line 648
|
|
iget-object v4, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v4, v0}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
check-cast v4, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
.line 649
|
|
invoke-virtual {v4, v5, v2, v1}, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;Lcom/badlogic/gdx/utils/Array;Lcom/badlogic/gdx/utils/IntSet;)Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
:cond_0
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(ILcom/esotericsoftware/spine/Animation;Z)Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
.locals 4
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 480
|
|
invoke-direct {p0, p1}, Lcom/esotericsoftware/spine/AnimationState;->c(I)Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 482
|
|
iget v2, v1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->q:F
|
|
|
|
const/high16 v3, -0x40800000 # -1.0f
|
|
|
|
cmpl-float v2, v2, v3
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
.line 484
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget-object v2, v1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
invoke-virtual {v0, p1, v2}, Lcom/badlogic/gdx/utils/Array;->a(ILjava/lang/Object;)V
|
|
|
|
.line 485
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->b(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
.line 486
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
.line 487
|
|
invoke-direct {p0, v1}, Lcom/esotericsoftware/spine/AnimationState;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
.line 488
|
|
iget-object v1, v1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
.line 491
|
|
:cond_0
|
|
invoke-direct {p0, v1}, Lcom/esotericsoftware/spine/AnimationState;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
.line 493
|
|
:cond_1
|
|
:goto_0
|
|
invoke-direct {p0, p1, p2, p3, v1}, Lcom/esotericsoftware/spine/AnimationState;->a(ILcom/esotericsoftware/spine/Animation;ZLcom/esotericsoftware/spine/AnimationState$TrackEntry;)Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
move-result-object p2
|
|
|
|
.line 494
|
|
invoke-direct {p0, p1, p2, v0}, Lcom/esotericsoftware/spine/AnimationState;->a(ILcom/esotericsoftware/spine/AnimationState$TrackEntry;Z)V
|
|
|
|
.line 495
|
|
iget-object p1, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {p1}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->a()V
|
|
|
|
return-object p2
|
|
|
|
.line 478
|
|
:cond_2
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "animation cannot be null."
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public a(ILcom/esotericsoftware/spine/Animation;ZF)Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
.locals 4
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
.line 517
|
|
invoke-direct {p0, p1}, Lcom/esotericsoftware/spine/AnimationState;->c(I)Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 519
|
|
:goto_0
|
|
iget-object v1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->b:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 520
|
|
iget-object v0, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->b:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
goto :goto_0
|
|
|
|
.line 523
|
|
:cond_0
|
|
invoke-direct {p0, p1, p2, p3, v0}, Lcom/esotericsoftware/spine/AnimationState;->a(ILcom/esotericsoftware/spine/Animation;ZLcom/esotericsoftware/spine/AnimationState$TrackEntry;)Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
move-result-object p3
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 526
|
|
invoke-direct {p0, p1, p3, v1}, Lcom/esotericsoftware/spine/AnimationState;->a(ILcom/esotericsoftware/spine/AnimationState$TrackEntry;Z)V
|
|
|
|
.line 527
|
|
iget-object p1, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {p1}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->a()V
|
|
|
|
goto :goto_1
|
|
|
|
.line 529
|
|
:cond_1
|
|
iput-object p3, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->b:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
cmpg-float p1, p4, v2
|
|
|
|
if-gtz p1, :cond_3
|
|
|
|
.line 531
|
|
iget p1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->k:F
|
|
|
|
iget v3, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->j:F
|
|
|
|
sub-float/2addr p1, v3
|
|
|
|
cmpl-float v3, p1, v2
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
.line 533
|
|
iget v2, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->o:F
|
|
|
|
div-float/2addr v2, p1
|
|
|
|
float-to-int v2, v2
|
|
|
|
add-int/2addr v2, v1
|
|
|
|
int-to-float v1, v2
|
|
|
|
mul-float p1, p1, v1
|
|
|
|
iget-object v1, p0, Lcom/esotericsoftware/spine/AnimationState;->f:Lcom/esotericsoftware/spine/AnimationStateData;
|
|
|
|
iget-object v0, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
invoke-virtual {v1, v0, p2}, Lcom/esotericsoftware/spine/AnimationStateData;->a(Lcom/esotericsoftware/spine/Animation;Lcom/esotericsoftware/spine/Animation;)F
|
|
|
|
move-result p2
|
|
|
|
sub-float/2addr p1, p2
|
|
|
|
add-float/2addr p4, p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const/4 p4, 0x0
|
|
|
|
.line 539
|
|
:cond_3
|
|
:goto_1
|
|
iput p4, p3, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->n:F
|
|
|
|
return-object p3
|
|
|
|
.line 515
|
|
:cond_4
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p2, "animation cannot be null."
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public a(ILjava/lang/String;Z)Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
.locals 1
|
|
|
|
.line 467
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->f:Lcom/esotericsoftware/spine/AnimationStateData;
|
|
|
|
iget-object v0, v0, Lcom/esotericsoftware/spine/AnimationStateData;->a:Lcom/esotericsoftware/spine/SkeletonData;
|
|
|
|
invoke-virtual {v0, p2}, Lcom/esotericsoftware/spine/SkeletonData;->c(Ljava/lang/String;)Lcom/esotericsoftware/spine/Animation;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 469
|
|
invoke-virtual {p0, p1, v0, p3}, Lcom/esotericsoftware/spine/AnimationState;->a(ILcom/esotericsoftware/spine/Animation;Z)Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
.line 468
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance p3, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v0, "Animation not found: "
|
|
|
|
invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public a()V
|
|
.locals 3
|
|
|
|
.line 408
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
iget-boolean v0, v0, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->a:Z
|
|
|
|
.line 409
|
|
iget-object v1, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
iput-boolean v2, v1, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->a:Z
|
|
|
|
.line 410
|
|
iget-object v1, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget v1, v1, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v1, :cond_0
|
|
|
|
.line 411
|
|
invoke-virtual {p0, v2}, Lcom/esotericsoftware/spine/AnimationState;->a(I)V
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 412
|
|
:cond_0
|
|
iget-object v1, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v1}, Lcom/badlogic/gdx/utils/Array;->d()V
|
|
|
|
.line 413
|
|
iget-object v1, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
iput-boolean v0, v1, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->a:Z
|
|
|
|
.line 414
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {v0}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->a()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(F)V
|
|
.locals 9
|
|
|
|
.line 107
|
|
iget v0, p0, Lcom/esotericsoftware/spine/AnimationState;->k:F
|
|
|
|
mul-float p1, p1, v0
|
|
|
|
.line 108
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget v0, v0, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_7
|
|
|
|
.line 109
|
|
iget-object v2, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v2, v1}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
if-nez v2, :cond_0
|
|
|
|
goto/16 :goto_3
|
|
|
|
.line 112
|
|
:cond_0
|
|
iget v3, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->m:F
|
|
|
|
iput v3, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->l:F
|
|
|
|
.line 113
|
|
iget v3, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->q:F
|
|
|
|
iput v3, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->p:F
|
|
|
|
.line 115
|
|
iget v3, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->s:F
|
|
|
|
mul-float v3, v3, p1
|
|
|
|
.line 117
|
|
iget v4, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->n:F
|
|
|
|
const/4 v5, 0x0
|
|
|
|
cmpl-float v4, v4, v5
|
|
|
|
if-lez v4, :cond_2
|
|
|
|
.line 118
|
|
iget v4, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->n:F
|
|
|
|
sub-float/2addr v4, v3
|
|
|
|
iput v4, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->n:F
|
|
|
|
.line 119
|
|
iget v3, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->n:F
|
|
|
|
cmpl-float v3, v3, v5
|
|
|
|
if-lez v3, :cond_1
|
|
|
|
goto :goto_3
|
|
|
|
.line 120
|
|
:cond_1
|
|
iget v3, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->n:F
|
|
|
|
neg-float v3, v3
|
|
|
|
.line 121
|
|
iput v5, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->n:F
|
|
|
|
.line 124
|
|
:cond_2
|
|
iget-object v4, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->b:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
const/4 v6, 0x0
|
|
|
|
if-eqz v4, :cond_3
|
|
|
|
.line 127
|
|
iget v7, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->p:F
|
|
|
|
iget v8, v4, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->n:F
|
|
|
|
sub-float/2addr v7, v8
|
|
|
|
cmpl-float v8, v7, v5
|
|
|
|
if-ltz v8, :cond_4
|
|
|
|
.line 129
|
|
iput v5, v4, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->n:F
|
|
|
|
.line 130
|
|
iget v5, v4, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->s:F
|
|
|
|
mul-float v5, v5, p1
|
|
|
|
add-float/2addr v7, v5
|
|
|
|
iput v7, v4, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->o:F
|
|
|
|
.line 131
|
|
iget v5, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->o:F
|
|
|
|
add-float/2addr v5, v3
|
|
|
|
iput v5, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->o:F
|
|
|
|
const/4 v2, 0x1
|
|
|
|
.line 132
|
|
invoke-direct {p0, v1, v4, v2}, Lcom/esotericsoftware/spine/AnimationState;->a(ILcom/esotericsoftware/spine/AnimationState$TrackEntry;Z)V
|
|
|
|
.line 133
|
|
:goto_1
|
|
iget-object v2, v4, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
if-eqz v2, :cond_6
|
|
|
|
.line 134
|
|
iget v2, v4, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->u:F
|
|
|
|
add-float/2addr v2, v3
|
|
|
|
iput v2, v4, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->u:F
|
|
|
|
.line 135
|
|
iget-object v4, v4, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
goto :goto_1
|
|
|
|
.line 139
|
|
:cond_3
|
|
iget v4, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->p:F
|
|
|
|
iget v5, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->r:F
|
|
|
|
cmpl-float v4, v4, v5
|
|
|
|
if-ltz v4, :cond_4
|
|
|
|
iget-object v4, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
if-nez v4, :cond_4
|
|
|
|
.line 141
|
|
iget-object v3, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v3, v1, v6}, Lcom/badlogic/gdx/utils/Array;->a(ILjava/lang/Object;)V
|
|
|
|
.line 142
|
|
iget-object v3, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {v3, v2}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
.line 143
|
|
invoke-direct {p0, v2}, Lcom/esotericsoftware/spine/AnimationState;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
goto :goto_3
|
|
|
|
.line 146
|
|
:cond_4
|
|
iget-object v4, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
if-eqz v4, :cond_5
|
|
|
|
invoke-direct {p0, v2, p1}, Lcom/esotericsoftware/spine/AnimationState;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;F)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_5
|
|
|
|
.line 148
|
|
iget-object v4, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
.line 149
|
|
iput-object v6, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
:goto_2
|
|
if-eqz v4, :cond_5
|
|
|
|
.line 151
|
|
iget-object v5, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {v5, v4}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
.line 152
|
|
iget-object v4, v4, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
goto :goto_2
|
|
|
|
.line 156
|
|
:cond_5
|
|
iget v4, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->o:F
|
|
|
|
add-float/2addr v4, v3
|
|
|
|
iput v4, v2, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->o:F
|
|
|
|
:cond_6
|
|
:goto_3
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 159
|
|
:cond_7
|
|
iget-object p1, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {p1}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->a()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(I)V
|
|
.locals 4
|
|
|
|
.line 422
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget v0, v0, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
if-lt p1, v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 423
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
return-void
|
|
|
|
.line 426
|
|
:cond_1
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
.line 428
|
|
invoke-direct {p0, p1}, Lcom/esotericsoftware/spine/AnimationState;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
move-object v0, p1
|
|
|
|
.line 432
|
|
:goto_0
|
|
iget-object v1, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
.line 439
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget p1, p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->e:I
|
|
|
|
invoke-virtual {v0, p1, v2}, Lcom/badlogic/gdx/utils/Array;->a(ILjava/lang/Object;)V
|
|
|
|
.line 441
|
|
iget-object p1, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {p1}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->a()V
|
|
|
|
return-void
|
|
|
|
.line 434
|
|
:cond_2
|
|
iget-object v3, p0, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {v3, v1}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->c(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;)V
|
|
|
|
.line 435
|
|
iput-object v2, v0, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
move-object v0, v1
|
|
|
|
goto :goto_0
|
|
.end method
|
|
|
|
.method public a(Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;)V
|
|
.locals 1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 662
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
.line 661
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "listener cannot be null."
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public a(Lcom/esotericsoftware/spine/Skeleton;)Z
|
|
.locals 27
|
|
|
|
move-object/from16 v9, p0
|
|
|
|
move-object/from16 v10, p1
|
|
|
|
if-eqz v10, :cond_e
|
|
|
|
.line 192
|
|
iget-boolean v0, v9, Lcom/esotericsoftware/spine/AnimationState;->c:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-direct/range {p0 .. p0}, Lcom/esotericsoftware/spine/AnimationState;->c()V
|
|
|
|
.line 194
|
|
:cond_0
|
|
iget-object v11, v9, Lcom/esotericsoftware/spine/AnimationState;->g:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
.line 196
|
|
iget-object v0, v9, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget v12, v0, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v14, 0x0
|
|
|
|
:goto_0
|
|
if-ge v14, v12, :cond_d
|
|
|
|
.line 197
|
|
iget-object v1, v9, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v1, v14}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
move-object v15, v1
|
|
|
|
check-cast v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
const/4 v8, 0x1
|
|
|
|
if-eqz v15, :cond_c
|
|
|
|
.line 198
|
|
iget v1, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->n:F
|
|
|
|
const/4 v2, 0x0
|
|
|
|
cmpl-float v1, v1, v2
|
|
|
|
if-lez v1, :cond_1
|
|
|
|
goto/16 :goto_a
|
|
|
|
:cond_1
|
|
if-nez v14, :cond_2
|
|
|
|
.line 200
|
|
sget-object v0, Lcom/esotericsoftware/spine/Animation$MixPose;->current:Lcom/esotericsoftware/spine/Animation$MixPose;
|
|
|
|
:goto_1
|
|
move-object v7, v0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
sget-object v0, Lcom/esotericsoftware/spine/Animation$MixPose;->currentLayered:Lcom/esotericsoftware/spine/Animation$MixPose;
|
|
|
|
goto :goto_1
|
|
|
|
.line 203
|
|
:goto_2
|
|
iget v0, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->t:F
|
|
|
|
.line 204
|
|
iget-object v1, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 205
|
|
invoke-direct {v9, v15, v10, v7}, Lcom/esotericsoftware/spine/AnimationState;->a(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;Lcom/esotericsoftware/spine/Skeleton;Lcom/esotericsoftware/spine/Animation$MixPose;)F
|
|
|
|
move-result v1
|
|
|
|
mul-float v0, v0, v1
|
|
|
|
:cond_3
|
|
move/from16 v16, v0
|
|
|
|
goto :goto_3
|
|
|
|
.line 206
|
|
:cond_4
|
|
iget v1, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->o:F
|
|
|
|
iget v3, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->r:F
|
|
|
|
cmpl-float v1, v1, v3
|
|
|
|
if-ltz v1, :cond_3
|
|
|
|
iget-object v1, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->b:Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
if-nez v1, :cond_3
|
|
|
|
const/16 v16, 0x0
|
|
|
|
.line 210
|
|
:goto_3
|
|
iget v6, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->l:F
|
|
|
|
invoke-virtual {v15}, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->c()F
|
|
|
|
move-result v5
|
|
|
|
.line 211
|
|
iget-object v0, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
iget-object v0, v0, Lcom/esotericsoftware/spine/Animation;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget v4, v0, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
.line 212
|
|
iget-object v0, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->a:Lcom/esotericsoftware/spine/Animation;
|
|
|
|
iget-object v0, v0, Lcom/esotericsoftware/spine/Animation;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget-object v3, v0, Lcom/badlogic/gdx/utils/Array;->a:[Ljava/lang/Object;
|
|
|
|
const/high16 v0, 0x3f800000 # 1.0f
|
|
|
|
cmpl-float v0, v16, v0
|
|
|
|
if-nez v0, :cond_6
|
|
|
|
const/4 v7, 0x0
|
|
|
|
:goto_4
|
|
if-ge v7, v4, :cond_5
|
|
|
|
.line 215
|
|
aget-object v0, v3, v7
|
|
|
|
check-cast v0, Lcom/esotericsoftware/spine/Animation$Timeline;
|
|
|
|
const/high16 v16, 0x3f800000 # 1.0f
|
|
|
|
sget-object v17, Lcom/esotericsoftware/spine/Animation$MixPose;->setup:Lcom/esotericsoftware/spine/Animation$MixPose;
|
|
|
|
sget-object v18, Lcom/esotericsoftware/spine/Animation$MixDirection;->in:Lcom/esotericsoftware/spine/Animation$MixDirection;
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
move v2, v6
|
|
|
|
move-object/from16 v19, v3
|
|
|
|
move v3, v5
|
|
|
|
move v13, v4
|
|
|
|
move-object v4, v11
|
|
|
|
move/from16 v20, v5
|
|
|
|
move/from16 v5, v16
|
|
|
|
move/from16 v21, v6
|
|
|
|
move-object/from16 v6, v17
|
|
|
|
move/from16 v16, v7
|
|
|
|
move-object/from16 v7, v18
|
|
|
|
invoke-interface/range {v0 .. v7}, Lcom/esotericsoftware/spine/Animation$Timeline;->a(Lcom/esotericsoftware/spine/Skeleton;FFLcom/badlogic/gdx/utils/Array;FLcom/esotericsoftware/spine/Animation$MixPose;Lcom/esotericsoftware/spine/Animation$MixDirection;)V
|
|
|
|
add-int/lit8 v7, v16, 0x1
|
|
|
|
move v4, v13
|
|
|
|
move-object/from16 v3, v19
|
|
|
|
move/from16 v5, v20
|
|
|
|
move/from16 v6, v21
|
|
|
|
goto :goto_4
|
|
|
|
:cond_5
|
|
move v0, v5
|
|
|
|
const/16 v22, 0x1
|
|
|
|
goto/16 :goto_9
|
|
|
|
:cond_6
|
|
move-object/from16 v19, v3
|
|
|
|
move v13, v4
|
|
|
|
move/from16 v20, v5
|
|
|
|
move/from16 v21, v6
|
|
|
|
.line 217
|
|
iget-object v0, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->y:Lcom/badlogic/gdx/utils/IntArray;
|
|
|
|
iget-object v6, v0, Lcom/badlogic/gdx/utils/IntArray;->a:[I
|
|
|
|
.line 219
|
|
iget-object v0, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->A:Lcom/badlogic/gdx/utils/FloatArray;
|
|
|
|
iget v0, v0, Lcom/badlogic/gdx/utils/FloatArray;->b:I
|
|
|
|
if-nez v0, :cond_7
|
|
|
|
const/16 v17, 0x1
|
|
|
|
goto :goto_5
|
|
|
|
:cond_7
|
|
const/16 v17, 0x0
|
|
|
|
:goto_5
|
|
if-eqz v17, :cond_8
|
|
|
|
.line 220
|
|
iget-object v0, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->A:Lcom/badlogic/gdx/utils/FloatArray;
|
|
|
|
shl-int/lit8 v1, v13, 0x1
|
|
|
|
invoke-virtual {v0, v1}, Lcom/badlogic/gdx/utils/FloatArray;->c(I)[F
|
|
|
|
.line 221
|
|
:cond_8
|
|
iget-object v0, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->A:Lcom/badlogic/gdx/utils/FloatArray;
|
|
|
|
iget-object v5, v0, Lcom/badlogic/gdx/utils/FloatArray;->a:[F
|
|
|
|
const/4 v4, 0x0
|
|
|
|
:goto_6
|
|
if-ge v4, v13, :cond_b
|
|
|
|
.line 224
|
|
aget-object v0, v19, v4
|
|
|
|
move-object v1, v0
|
|
|
|
check-cast v1, Lcom/esotericsoftware/spine/Animation$Timeline;
|
|
|
|
.line 225
|
|
aget v0, v6, v4
|
|
|
|
if-lt v0, v8, :cond_9
|
|
|
|
sget-object v0, Lcom/esotericsoftware/spine/Animation$MixPose;->setup:Lcom/esotericsoftware/spine/Animation$MixPose;
|
|
|
|
move-object/from16 v18, v0
|
|
|
|
goto :goto_7
|
|
|
|
:cond_9
|
|
move-object/from16 v18, v7
|
|
|
|
.line 226
|
|
:goto_7
|
|
instance-of v0, v1, Lcom/esotericsoftware/spine/Animation$RotateTimeline;
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
shl-int/lit8 v22, v4, 0x1
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move-object/from16 v2, p1
|
|
|
|
move/from16 v3, v20
|
|
|
|
move/from16 v23, v4
|
|
|
|
move/from16 v4, v16
|
|
|
|
move-object/from16 v24, v5
|
|
|
|
move-object/from16 v5, v18
|
|
|
|
move-object/from16 v25, v6
|
|
|
|
move-object/from16 v6, v24
|
|
|
|
move-object/from16 v26, v7
|
|
|
|
move/from16 v7, v22
|
|
|
|
const/16 v22, 0x1
|
|
|
|
move/from16 v8, v17
|
|
|
|
.line 227
|
|
invoke-direct/range {v0 .. v8}, Lcom/esotericsoftware/spine/AnimationState;->a(Lcom/esotericsoftware/spine/Animation$Timeline;Lcom/esotericsoftware/spine/Skeleton;FFLcom/esotericsoftware/spine/Animation$MixPose;[FIZ)V
|
|
|
|
goto :goto_8
|
|
|
|
:cond_a
|
|
move/from16 v23, v4
|
|
|
|
move-object/from16 v24, v5
|
|
|
|
move-object/from16 v25, v6
|
|
|
|
move-object/from16 v26, v7
|
|
|
|
const/16 v22, 0x1
|
|
|
|
.line 229
|
|
sget-object v7, Lcom/esotericsoftware/spine/Animation$MixDirection;->in:Lcom/esotericsoftware/spine/Animation$MixDirection;
|
|
|
|
move-object v0, v1
|
|
|
|
move-object/from16 v1, p1
|
|
|
|
move/from16 v2, v21
|
|
|
|
move/from16 v3, v20
|
|
|
|
move-object v4, v11
|
|
|
|
move/from16 v5, v16
|
|
|
|
move-object/from16 v6, v18
|
|
|
|
invoke-interface/range {v0 .. v7}, Lcom/esotericsoftware/spine/Animation$Timeline;->a(Lcom/esotericsoftware/spine/Skeleton;FFLcom/badlogic/gdx/utils/Array;FLcom/esotericsoftware/spine/Animation$MixPose;Lcom/esotericsoftware/spine/Animation$MixDirection;)V
|
|
|
|
:goto_8
|
|
add-int/lit8 v4, v23, 0x1
|
|
|
|
move-object/from16 v5, v24
|
|
|
|
move-object/from16 v6, v25
|
|
|
|
move-object/from16 v7, v26
|
|
|
|
const/4 v8, 0x1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_b
|
|
const/16 v22, 0x1
|
|
|
|
move/from16 v0, v20
|
|
|
|
.line 232
|
|
:goto_9
|
|
invoke-direct {v9, v15, v0}, Lcom/esotericsoftware/spine/AnimationState;->b(Lcom/esotericsoftware/spine/AnimationState$TrackEntry;F)V
|
|
|
|
.line 233
|
|
invoke-virtual {v11}, Lcom/badlogic/gdx/utils/Array;->d()V
|
|
|
|
.line 234
|
|
iput v0, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->m:F
|
|
|
|
.line 235
|
|
iget v0, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->o:F
|
|
|
|
iput v0, v15, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->q:F
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:cond_c
|
|
:goto_a
|
|
add-int/lit8 v14, v14, 0x1
|
|
|
|
goto/16 :goto_0
|
|
|
|
.line 238
|
|
:cond_d
|
|
iget-object v1, v9, Lcom/esotericsoftware/spine/AnimationState;->h:Lcom/esotericsoftware/spine/AnimationState$EventQueue;
|
|
|
|
invoke-virtual {v1}, Lcom/esotericsoftware/spine/AnimationState$EventQueue;->a()V
|
|
|
|
return v0
|
|
|
|
.line 191
|
|
:cond_e
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v1, "skeleton cannot be null."
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public b(I)Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
.locals 1
|
|
|
|
.line 655
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget v0, v0, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
if-lt p1, v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
|
|
.line 656
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public b()V
|
|
.locals 1
|
|
|
|
.line 672
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v0}, Lcom/badlogic/gdx/utils/Array;->d()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(F)V
|
|
.locals 0
|
|
|
|
.line 691
|
|
iput p1, p0, Lcom/esotericsoftware/spine/AnimationState;->k:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Lcom/esotericsoftware/spine/AnimationState$AnimationStateListener;)V
|
|
.locals 2
|
|
|
|
.line 667
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/AnimationState;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-virtual {v0, p1, v1}, Lcom/badlogic/gdx/utils/Array;->c(Ljava/lang/Object;Z)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 5
|
|
|
|
.line 710
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x40
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(I)V
|
|
|
|
.line 711
|
|
iget-object v1, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget v1, v1, Lcom/badlogic/gdx/utils/Array;->b:I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v1, :cond_2
|
|
|
|
.line 712
|
|
iget-object v3, p0, Lcom/esotericsoftware/spine/AnimationState;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v3, v2}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 714
|
|
:cond_0
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
|
|
|
|
move-result v4
|
|
|
|
if-lez v4, :cond_1
|
|
|
|
const-string v4, ", "
|
|
|
|
invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 715
|
|
:cond_1
|
|
invoke-virtual {v3}, Lcom/esotericsoftware/spine/AnimationState$TrackEntry;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
:goto_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 717
|
|
:cond_2
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_3
|
|
|
|
const-string v0, "<none>"
|
|
|
|
return-object v0
|
|
|
|
.line 718
|
|
:cond_3
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|