; ; AnimatedGameObject::playAnimation from 0x1404a5200 to 0x1404a5327 (295 bytes) ; ; 3 xrefs: ; > PlayLayer::loadFromCheckpoint @ 0x1403b7c35 ; > EffectGameObject::triggerObject @ 0x1404a6b0a ; > @ 0x1406dc854 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_8], rbx ; +0x0, 0x1404a5200 push rdi ; +0x5, 0x1404a5205 sub rsp, 0A0h ; +0x6, 0x1404a5206 mov rax, cs:__security_cookie ; +0xd, 0x1404a520d xor rax, rsp ; +0x14, 0x1404a5214 mov [rsp+0A8h+var_18], rax ; +0x17, 0x1404a5217 mov r10d, edx ; +0x1f, 0x1404a521f mov rbx, rcx ; +0x22, 0x1404a5222 mov r8d, [rcx+40Ch] ; +0x25, 0x1404a5225 lea rcx, [rsp+0A8h+Src] ; +0x2c, 0x1404a522c call AnimatedGameObject__animationForID ; +0x31, 0x1404a5231 nop ; +0x36, 0x1404a5236 mov r8, [rsp+0A8h+Size]; Size ; +0x37, 0x1404a5237 test r8, r8 ; +0x3f, 0x1404a523f jz loc_1404A52FC ; +0x42, 0x1404a5242 mov [rbx+60Ch], r10d ; +0x48, 0x1404a5248 lea rcx, [rbx+5E8h]; void * ; +0x4f, 0x1404a524f lea rax, [rsp+0A8h+Src] ; +0x56, 0x1404a5256 cmp rcx, rax ; +0x5b, 0x1404a525b jz short loc_1404A5279 ; +0x5e, 0x1404a525e lea rdx, [rsp+0A8h+Src] ; +0x60, 0x1404a5260 cmp [rsp+0A8h+var_20], 0Fh ; +0x65, 0x1404a5265 cmova rdx, [rsp+0A8h+Src]; Src ; +0x6e, 0x1404a526e call sub_14003CCE0 ; +0x74, 0x1404a5274 mov byte ptr [rbx+5E1h], 1 ; +0x79, 0x1404a5279 lea rdx, [rsp+0A8h+Src] ; +0x80, 0x1404a5280 cmp byte ptr [rbx+305h], 0 ; +0x85, 0x1404a5285 jnz short loc_1404A52DA ; +0x8c, 0x1404a528c lea rcx, [rsp+0A8h+var_58] ; +0x8e, 0x1404a528e call sub_14003BDB0 ; +0x93, 0x1404a5293 mov rdi, rax ; +0x98, 0x1404a5298 mov [rsp+0A8h+var_88], rax ; +0x9b, 0x1404a529b mov rbx, [rbx+5C8h] ; +0xa0, 0x1404a52a0 mov rcx, [rbx+298h] ; +0xa7, 0x1404a52a7 call SpriteAnimationManager__overridePrio ; +0xae, 0x1404a52ae mov rdx, rdi ; +0xb3, 0x1404a52b3 lea rcx, [rsp+0A8h+var_78] ; +0xb6, 0x1404a52b6 call sub_14003BDB0 ; +0xbb, 0x1404a52bb mov rdx, rax ; +0xc0, 0x1404a52c0 mov rcx, [rbx+298h] ; +0xc3, 0x1404a52c3 call SpriteAnimationManager__runAnimation ; +0xca, 0x1404a52ca nop ; +0xcf, 0x1404a52cf mov rcx, rdi ; +0xd0, 0x1404a52d0 call sub_14003A830 ; +0xd3, 0x1404a52d3 jmp short loc_1404A52FC ; +0xd8, 0x1404a52d8 lea rcx, [rsp+0A8h+var_78] ; +0xda, 0x1404a52da call sub_14003BDB0 ; +0xdf, 0x1404a52df movss xmm2, cs:dword_1406229EC ; +0xe4, 0x1404a52e4 mov rdx, rax ; +0xec, 0x1404a52ec mov rcx, [rbx+5C8h] ; +0xef, 0x1404a52ef call CCAnimatedSprite__tweenToAnimation ; +0xf6, 0x1404a52f6 nop ; +0xfb, 0x1404a52fb lea rcx, [rsp+0A8h+Src] ; +0xfc, 0x1404a52fc call sub_14003A830 ; +0x101, 0x1404a5301 mov rcx, [rsp+0A8h+var_18] ; +0x106, 0x1404a5306 xor rcx, rsp; StackCookie ; +0x10e, 0x1404a530e call __security_check_cookie ; +0x111, 0x1404a5311 mov rbx, [rsp+0A8h+arg_8] ; +0x116, 0x1404a5316 add rsp, 0A0h ; +0x11e, 0x1404a531e pop rdi ; +0x125, 0x1404a5325 retn ; +0x126, 0x1404a5326