; ; AnimatedGameObject::playAnimation from 0x140646fd0 to 0x1406470f2 (290 bytes) ; ; 3 xrefs: ; > PlayLayer::loadFromCheckpoint @ 0x140516df5 ; > EffectGameObject::triggerObject @ 0x14064863a ; > @ 0x1409313e8 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:35:37 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x140646fd0 push rdi ; +0x5, 0x140646fd5 sub rsp, 0A0h ; +0x6, 0x140646fd6 mov rax, cs:__security_cookie ; +0xd, 0x140646fdd xor rax, rsp ; +0x14, 0x140646fe4 mov [rsp+0A8h+var_18], rax ; +0x17, 0x140646fe7 mov r10d, edx ; +0x1f, 0x140646fef mov rbx, rcx ; +0x22, 0x140646ff2 mov r8d, [rcx+40Ch] ; +0x25, 0x140646ff5 lea rcx, [rsp+0A8h+Src] ; +0x2c, 0x140646ffc call AnimatedGameObject__animationForID ; +0x31, 0x140647001 nop ; +0x36, 0x140647006 mov r8, [rsp+0A8h+Size]; Size ; +0x37, 0x140647007 test r8, r8 ; +0x3f, 0x14064700f jz loc_1406470C7 ; +0x42, 0x140647012 mov [rbx+60Ch], r10d ; +0x48, 0x140647018 lea rcx, [rbx+5E8h]; void * ; +0x4f, 0x14064701f lea rax, [rsp+0A8h+Src] ; +0x56, 0x140647026 cmp rcx, rax ; +0x5b, 0x14064702b jz short loc_140647049 ; +0x5e, 0x14064702e lea rdx, [rsp+0A8h+Src] ; +0x60, 0x140647030 cmp [rsp+0A8h+var_20], 0Fh ; +0x65, 0x140647035 cmova rdx, [rsp+0A8h+Src]; Src ; +0x6e, 0x14064703e call sub_1400405A0 ; +0x74, 0x140647044 mov byte ptr [rbx+5E1h], 1 ; +0x79, 0x140647049 lea rdx, [rsp+0A8h+Src] ; +0x80, 0x140647050 lea rcx, [rsp+0A8h+var_78] ; +0x85, 0x140647055 cmp byte ptr [rbx+305h], 0 ; +0x8a, 0x14064705a jz short loc_140647081 ; +0x91, 0x140647061 call sub_14003F4F0 ; +0x93, 0x140647063 movss xmm2, cs:dword_140834DDC ; +0x98, 0x140647068 mov rdx, rax ; +0xa0, 0x140647070 mov rcx, [rbx+5C8h] ; +0xa3, 0x140647073 call CCAnimatedSprite__tweenToAnimation ; +0xaa, 0x14064707a jmp short loc_1406470C7 ; +0xaf, 0x14064707f call sub_14003F4F0 ; +0xb1, 0x140647081 mov rdi, rax ; +0xb6, 0x140647086 mov [rsp+0A8h+var_88], rax ; +0xb9, 0x140647089 mov rbx, [rbx+5C8h] ; +0xbe, 0x14064708e mov rcx, [rbx+298h] ; +0xc5, 0x140647095 call SpriteAnimationManager__overridePrio ; +0xcc, 0x14064709c mov rdx, rdi ; +0xd1, 0x1406470a1 lea rcx, [rsp+0A8h+var_58] ; +0xd4, 0x1406470a4 call sub_14003F4F0 ; +0xd9, 0x1406470a9 mov rdx, rax ; +0xde, 0x1406470ae mov rcx, [rbx+298h] ; +0xe1, 0x1406470b1 call SpriteAnimationManager__runAnimation ; +0xe8, 0x1406470b8 nop ; +0xed, 0x1406470bd mov rcx, rdi ; +0xee, 0x1406470be call sub_14003D310 ; +0xf1, 0x1406470c1 nop ; +0xf6, 0x1406470c6 lea rcx, [rsp+0A8h+Src] ; +0xf7, 0x1406470c7 call sub_14003D310 ; +0xfc, 0x1406470cc mov rcx, [rsp+0A8h+var_18] ; +0x101, 0x1406470d1 xor rcx, rsp; StackCookie ; +0x109, 0x1406470d9 call __security_check_cookie ; +0x10c, 0x1406470dc mov rbx, [rsp+0A8h+arg_8] ; +0x111, 0x1406470e1 add rsp, 0A0h ; +0x119, 0x1406470e9 pop rdi ; +0x120, 0x1406470f0 retn ; +0x121, 0x1406470f1