521 lines
11 KiB
Smali
521 lines
11 KiB
Smali
.class public Lcom/esotericsoftware/spine/Animation$TransformConstraintTimeline;
|
|
.super Lcom/esotericsoftware/spine/Animation$CurveTimeline;
|
|
.source "Animation.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/esotericsoftware/spine/Animation;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "TransformConstraintTimeline"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field a:I
|
|
|
|
.field private final b:[F
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(I)V
|
|
.locals 0
|
|
|
|
.line 1258
|
|
invoke-direct {p0, p1}, Lcom/esotericsoftware/spine/Animation$CurveTimeline;-><init>(I)V
|
|
|
|
mul-int/lit8 p1, p1, 0x5
|
|
|
|
.line 1259
|
|
new-array p1, p1, [F
|
|
|
|
iput-object p1, p0, Lcom/esotericsoftware/spine/Animation$TransformConstraintTimeline;->b:[F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()I
|
|
.locals 2
|
|
|
|
.line 1263
|
|
sget-object v0, Lcom/esotericsoftware/spine/Animation$TimelineType;->transformConstraint:Lcom/esotericsoftware/spine/Animation$TimelineType;
|
|
|
|
invoke-virtual {v0}, Lcom/esotericsoftware/spine/Animation$TimelineType;->ordinal()I
|
|
|
|
move-result v0
|
|
|
|
shl-int/lit8 v0, v0, 0x18
|
|
|
|
iget v1, p0, Lcom/esotericsoftware/spine/Animation$TransformConstraintTimeline;->a:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public a(IFFFFF)V
|
|
.locals 1
|
|
|
|
mul-int/lit8 p1, p1, 0x5
|
|
|
|
.line 1284
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/Animation$TransformConstraintTimeline;->b:[F
|
|
|
|
aput p2, v0, p1
|
|
|
|
.line 1285
|
|
iget-object p2, p0, Lcom/esotericsoftware/spine/Animation$TransformConstraintTimeline;->b:[F
|
|
|
|
add-int/lit8 v0, p1, 0x1
|
|
|
|
aput p3, p2, v0
|
|
|
|
.line 1286
|
|
iget-object p2, p0, Lcom/esotericsoftware/spine/Animation$TransformConstraintTimeline;->b:[F
|
|
|
|
add-int/lit8 p3, p1, 0x2
|
|
|
|
aput p4, p2, p3
|
|
|
|
.line 1287
|
|
iget-object p2, p0, Lcom/esotericsoftware/spine/Animation$TransformConstraintTimeline;->b:[F
|
|
|
|
add-int/lit8 p3, p1, 0x3
|
|
|
|
aput p5, p2, p3
|
|
|
|
.line 1288
|
|
iget-object p2, p0, Lcom/esotericsoftware/spine/Animation$TransformConstraintTimeline;->b:[F
|
|
|
|
add-int/lit8 p1, p1, 0x4
|
|
|
|
aput p6, p2, p1
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/esotericsoftware/spine/Skeleton;FFLcom/badlogic/gdx/utils/Array;FLcom/esotericsoftware/spine/Animation$MixPose;Lcom/esotericsoftware/spine/Animation$MixDirection;)V
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/esotericsoftware/spine/Skeleton;",
|
|
"FF",
|
|
"Lcom/badlogic/gdx/utils/Array<",
|
|
"Lcom/esotericsoftware/spine/Event;",
|
|
">;F",
|
|
"Lcom/esotericsoftware/spine/Animation$MixPose;",
|
|
"Lcom/esotericsoftware/spine/Animation$MixDirection;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1294
|
|
iget-object p1, p1, Lcom/esotericsoftware/spine/Skeleton;->f:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget p2, p0, Lcom/esotericsoftware/spine/Animation$TransformConstraintTimeline;->a:I
|
|
|
|
invoke-virtual {p1, p2}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lcom/esotericsoftware/spine/TransformConstraint;
|
|
|
|
.line 1295
|
|
iget-object p2, p0, Lcom/esotericsoftware/spine/Animation$TransformConstraintTimeline;->b:[F
|
|
|
|
const/4 p4, 0x0
|
|
|
|
.line 1296
|
|
aget p4, p2, p4
|
|
|
|
cmpg-float p4, p3, p4
|
|
|
|
if-gez p4, :cond_0
|
|
|
|
.line 1297
|
|
iget-object p2, p1, Lcom/esotericsoftware/spine/TransformConstraint;->a:Lcom/esotericsoftware/spine/TransformConstraintData;
|
|
|
|
.line 1298
|
|
sget-object p3, Lcom/esotericsoftware/spine/Animation$1;->a:[I
|
|
|
|
invoke-virtual {p6}, Lcom/esotericsoftware/spine/Animation$MixPose;->ordinal()I
|
|
|
|
move-result p4
|
|
|
|
aget p3, p3, p4
|
|
|
|
packed-switch p3, :pswitch_data_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 1306
|
|
:pswitch_0
|
|
iget p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->d:F
|
|
|
|
iget p4, p2, Lcom/esotericsoftware/spine/TransformConstraintData;->e:F
|
|
|
|
iget p6, p1, Lcom/esotericsoftware/spine/TransformConstraint;->d:F
|
|
|
|
sub-float/2addr p4, p6
|
|
|
|
mul-float p4, p4, p5
|
|
|
|
add-float/2addr p3, p4
|
|
|
|
iput p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->d:F
|
|
|
|
.line 1307
|
|
iget p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->e:F
|
|
|
|
iget p4, p2, Lcom/esotericsoftware/spine/TransformConstraintData;->f:F
|
|
|
|
iget p6, p1, Lcom/esotericsoftware/spine/TransformConstraint;->e:F
|
|
|
|
sub-float/2addr p4, p6
|
|
|
|
mul-float p4, p4, p5
|
|
|
|
add-float/2addr p3, p4
|
|
|
|
iput p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->e:F
|
|
|
|
.line 1308
|
|
iget p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->f:F
|
|
|
|
iget p4, p2, Lcom/esotericsoftware/spine/TransformConstraintData;->g:F
|
|
|
|
iget p6, p1, Lcom/esotericsoftware/spine/TransformConstraint;->f:F
|
|
|
|
sub-float/2addr p4, p6
|
|
|
|
mul-float p4, p4, p5
|
|
|
|
add-float/2addr p3, p4
|
|
|
|
iput p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->f:F
|
|
|
|
.line 1309
|
|
iget p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->g:F
|
|
|
|
iget p2, p2, Lcom/esotericsoftware/spine/TransformConstraintData;->h:F
|
|
|
|
iget p4, p1, Lcom/esotericsoftware/spine/TransformConstraint;->g:F
|
|
|
|
sub-float/2addr p2, p4
|
|
|
|
mul-float p2, p2, p5
|
|
|
|
add-float/2addr p3, p2
|
|
|
|
iput p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->g:F
|
|
|
|
goto :goto_0
|
|
|
|
.line 1300
|
|
:pswitch_1
|
|
iget p3, p2, Lcom/esotericsoftware/spine/TransformConstraintData;->e:F
|
|
|
|
iput p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->d:F
|
|
|
|
.line 1301
|
|
iget p3, p2, Lcom/esotericsoftware/spine/TransformConstraintData;->f:F
|
|
|
|
iput p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->e:F
|
|
|
|
.line 1302
|
|
iget p3, p2, Lcom/esotericsoftware/spine/TransformConstraintData;->g:F
|
|
|
|
iput p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->f:F
|
|
|
|
.line 1303
|
|
iget p2, p2, Lcom/esotericsoftware/spine/TransformConstraintData;->h:F
|
|
|
|
iput p2, p1, Lcom/esotericsoftware/spine/TransformConstraint;->g:F
|
|
|
|
return-void
|
|
|
|
:goto_0
|
|
return-void
|
|
|
|
.line 1315
|
|
:cond_0
|
|
array-length p4, p2
|
|
|
|
const/4 p7, 0x5
|
|
|
|
sub-int/2addr p4, p7
|
|
|
|
aget p4, p2, p4
|
|
|
|
cmpl-float p4, p3, p4
|
|
|
|
if-ltz p4, :cond_1
|
|
|
|
.line 1316
|
|
array-length p3, p2
|
|
|
|
add-int/lit8 p4, p3, -0x4
|
|
|
|
.line 1317
|
|
aget p4, p2, p4
|
|
|
|
add-int/lit8 p7, p3, -0x3
|
|
|
|
.line 1318
|
|
aget p7, p2, p7
|
|
|
|
add-int/lit8 v0, p3, -0x2
|
|
|
|
.line 1319
|
|
aget v0, p2, v0
|
|
|
|
add-int/lit8 p3, p3, -0x1
|
|
|
|
.line 1320
|
|
aget p2, p2, p3
|
|
|
|
goto :goto_1
|
|
|
|
.line 1323
|
|
:cond_1
|
|
invoke-static {p2, p3, p7}, Lcom/esotericsoftware/spine/Animation;->a([FFI)I
|
|
|
|
move-result p4
|
|
|
|
add-int/lit8 p7, p4, -0x4
|
|
|
|
.line 1324
|
|
aget p7, p2, p7
|
|
|
|
add-int/lit8 v0, p4, -0x3
|
|
|
|
.line 1325
|
|
aget v0, p2, v0
|
|
|
|
add-int/lit8 v1, p4, -0x2
|
|
|
|
.line 1326
|
|
aget v1, p2, v1
|
|
|
|
add-int/lit8 v2, p4, -0x1
|
|
|
|
.line 1327
|
|
aget v2, p2, v2
|
|
|
|
.line 1328
|
|
aget v3, p2, p4
|
|
|
|
.line 1329
|
|
div-int/lit8 v4, p4, 0x5
|
|
|
|
add-int/lit8 v4, v4, -0x1
|
|
|
|
const/high16 v5, 0x3f800000 # 1.0f
|
|
|
|
sub-float/2addr p3, v3
|
|
|
|
add-int/lit8 v6, p4, -0x5
|
|
|
|
aget v6, p2, v6
|
|
|
|
sub-float/2addr v6, v3
|
|
|
|
div-float/2addr p3, v6
|
|
|
|
sub-float/2addr v5, p3
|
|
|
|
invoke-virtual {p0, v4, v5}, Lcom/esotericsoftware/spine/Animation$TransformConstraintTimeline;->a(IF)F
|
|
|
|
move-result p3
|
|
|
|
add-int/lit8 v3, p4, 0x1
|
|
|
|
.line 1332
|
|
aget v3, p2, v3
|
|
|
|
sub-float/2addr v3, p7
|
|
|
|
mul-float v3, v3, p3
|
|
|
|
add-float/2addr p7, v3
|
|
|
|
add-int/lit8 v3, p4, 0x2
|
|
|
|
.line 1333
|
|
aget v3, p2, v3
|
|
|
|
sub-float/2addr v3, v0
|
|
|
|
mul-float v3, v3, p3
|
|
|
|
add-float/2addr v0, v3
|
|
|
|
add-int/lit8 v3, p4, 0x3
|
|
|
|
.line 1334
|
|
aget v3, p2, v3
|
|
|
|
sub-float/2addr v3, v1
|
|
|
|
mul-float v3, v3, p3
|
|
|
|
add-float/2addr v1, v3
|
|
|
|
add-int/lit8 p4, p4, 0x4
|
|
|
|
.line 1335
|
|
aget p2, p2, p4
|
|
|
|
sub-float/2addr p2, v2
|
|
|
|
mul-float p2, p2, p3
|
|
|
|
add-float/2addr p2, v2
|
|
|
|
move p4, p7
|
|
|
|
move p7, v0
|
|
|
|
move v0, v1
|
|
|
|
.line 1337
|
|
:goto_1
|
|
sget-object p3, Lcom/esotericsoftware/spine/Animation$MixPose;->setup:Lcom/esotericsoftware/spine/Animation$MixPose;
|
|
|
|
if-ne p6, p3, :cond_2
|
|
|
|
.line 1338
|
|
iget-object p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->a:Lcom/esotericsoftware/spine/TransformConstraintData;
|
|
|
|
.line 1339
|
|
iget p6, p3, Lcom/esotericsoftware/spine/TransformConstraintData;->e:F
|
|
|
|
iget v1, p3, Lcom/esotericsoftware/spine/TransformConstraintData;->e:F
|
|
|
|
sub-float/2addr p4, v1
|
|
|
|
mul-float p4, p4, p5
|
|
|
|
add-float/2addr p6, p4
|
|
|
|
iput p6, p1, Lcom/esotericsoftware/spine/TransformConstraint;->d:F
|
|
|
|
.line 1340
|
|
iget p4, p3, Lcom/esotericsoftware/spine/TransformConstraintData;->f:F
|
|
|
|
iget p6, p3, Lcom/esotericsoftware/spine/TransformConstraintData;->f:F
|
|
|
|
sub-float/2addr p7, p6
|
|
|
|
mul-float p7, p7, p5
|
|
|
|
add-float/2addr p4, p7
|
|
|
|
iput p4, p1, Lcom/esotericsoftware/spine/TransformConstraint;->e:F
|
|
|
|
.line 1341
|
|
iget p4, p3, Lcom/esotericsoftware/spine/TransformConstraintData;->g:F
|
|
|
|
iget p6, p3, Lcom/esotericsoftware/spine/TransformConstraintData;->g:F
|
|
|
|
sub-float/2addr v0, p6
|
|
|
|
mul-float v0, v0, p5
|
|
|
|
add-float/2addr p4, v0
|
|
|
|
iput p4, p1, Lcom/esotericsoftware/spine/TransformConstraint;->f:F
|
|
|
|
.line 1342
|
|
iget p4, p3, Lcom/esotericsoftware/spine/TransformConstraintData;->h:F
|
|
|
|
iget p3, p3, Lcom/esotericsoftware/spine/TransformConstraintData;->h:F
|
|
|
|
sub-float/2addr p2, p3
|
|
|
|
mul-float p2, p2, p5
|
|
|
|
add-float/2addr p4, p2
|
|
|
|
iput p4, p1, Lcom/esotericsoftware/spine/TransformConstraint;->g:F
|
|
|
|
goto :goto_2
|
|
|
|
.line 1344
|
|
:cond_2
|
|
iget p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->d:F
|
|
|
|
iget p6, p1, Lcom/esotericsoftware/spine/TransformConstraint;->d:F
|
|
|
|
sub-float/2addr p4, p6
|
|
|
|
mul-float p4, p4, p5
|
|
|
|
add-float/2addr p3, p4
|
|
|
|
iput p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->d:F
|
|
|
|
.line 1345
|
|
iget p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->e:F
|
|
|
|
iget p4, p1, Lcom/esotericsoftware/spine/TransformConstraint;->e:F
|
|
|
|
sub-float/2addr p7, p4
|
|
|
|
mul-float p7, p7, p5
|
|
|
|
add-float/2addr p3, p7
|
|
|
|
iput p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->e:F
|
|
|
|
.line 1346
|
|
iget p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->f:F
|
|
|
|
iget p4, p1, Lcom/esotericsoftware/spine/TransformConstraint;->f:F
|
|
|
|
sub-float/2addr v0, p4
|
|
|
|
mul-float v0, v0, p5
|
|
|
|
add-float/2addr p3, v0
|
|
|
|
iput p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->f:F
|
|
|
|
.line 1347
|
|
iget p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->g:F
|
|
|
|
iget p4, p1, Lcom/esotericsoftware/spine/TransformConstraint;->g:F
|
|
|
|
sub-float/2addr p2, p4
|
|
|
|
mul-float p2, p2, p5
|
|
|
|
add-float/2addr p3, p2
|
|
|
|
iput p3, p1, Lcom/esotericsoftware/spine/TransformConstraint;->g:F
|
|
|
|
:goto_2
|
|
return-void
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method public b()[F
|
|
.locals 1
|
|
|
|
.line 1278
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/Animation$TransformConstraintTimeline;->b:[F
|
|
|
|
return-object v0
|
|
.end method
|