; ; cocos2d::CCAnimate::update from 0x180036a60 to 0x180036c9b (571 bytes) ; ; 6 xrefs: ; > @ 0x1800e9ef0 ; > @ 0x1801360c4 ; > @ 0x1801360d4 ; > @ 0x1801360f0 ; > @ 0x1801438a8 ; > @ 0x1801b09a8 ; ; 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 ; push rbx ; +0x0, 0x180036a60 push rbp ; +0x2, 0x180036a62 push rsi ; +0x3, 0x180036a63 push r12 ; +0x4, 0x180036a64 push r13 ; +0x6, 0x180036a66 push r15 ; +0x8, 0x180036a68 sub rsp, 58h ; +0xa, 0x180036a6a movaps [rsp+88h+var_48], xmm6 ; +0xe, 0x180036a6e mov rsi, rcx ; +0x13, 0x180036a73 movaps xmm6, xmm1 ; +0x16, 0x180036a76 movss xmm1, cs:flt_1800E61A8; Y ; +0x19, 0x180036a79 comiss xmm1, xmm6 ; +0x21, 0x180036a81 jbe short loc_180036AC3 ; +0x24, 0x180036a84 mov rax, [rcx+60h] ; +0x26, 0x180036a86 xorps xmm0, xmm0 ; +0x2a, 0x180036a8a mov ecx, [rcx+80h] ; +0x2d, 0x180036a8d mov edx, [rax+54h] ; +0x33, 0x180036a93 cvtsi2ss xmm0, rdx ; +0x36, 0x180036a96 mulss xmm6, xmm0 ; +0x3b, 0x180036a9b cvttss2si rax, xmm6 ; +0x3f, 0x180036a9f cmp eax, ecx ; +0x44, 0x180036aa4 jbe short loc_180036AB8 ; +0x46, 0x180036aa6 lea eax, [rcx+1] ; +0x48, 0x180036aa8 mov dword ptr [rsi+70h], 0 ; +0x4b, 0x180036aab mov [rsi+80h], eax ; +0x52, 0x180036ab2 movaps xmm0, xmm6; X ; +0x58, 0x180036ab8 call fmodf ; +0x5b, 0x180036abb movaps xmm6, xmm0 ; +0x60, 0x180036ac0 mov rax, [rsi+60h] ; +0x63, 0x180036ac3 mov r13, [rax+48h] ; +0x67, 0x180036ac7 mov rcx, r13; this ; +0x6b, 0x180036acb call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6e, 0x180036ace mov ebp, [rsi+70h] ; +0x73, 0x180036ad3 mov r12d, eax ; +0x76, 0x180036ad6 cmp ebp, eax ; +0x79, 0x180036ad9 jnb loc_180036C82 ; +0x7b, 0x180036adb mov [rsp+88h+arg_8], rdi ; +0x81, 0x180036ae1 mov [rsp+88h+var_38], r14 ; +0x89, 0x180036ae9 mov r14d, ebp ; +0x8e, 0x180036aee movaps [rsp+88h+var_58], xmm7 ; +0x91, 0x180036af1 movss xmm7, cs:dword_1800E6308 ; +0x96, 0x180036af6 xchg ax, ax ; +0x9e, 0x180036afe mov rcx, [rsi+68h] ; +0xa0, 0x180036b00 mov rdx, [rcx] ; +0xa4, 0x180036b04 mov rax, [rcx+8] ; +0xa7, 0x180036b07 sub rax, rdx ; +0xab, 0x180036b0b sar rax, 2 ; +0xae, 0x180036b0e cmp rax, r14 ; +0xb2, 0x180036b12 jbe loc_180036C95 ; +0xb5, 0x180036b15 comiss xmm6, dword ptr [rdx+r14*4] ; +0xbb, 0x180036b1b jb loc_180036C70 ; +0xc0, 0x180036b20 mov edx, ebp; unsigned int ; +0xc6, 0x180036b26 mov rcx, r13; this ; +0xc8, 0x180036b28 call ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0xcb, 0x180036b2b mov rcx, [rsi+40h] ; +0xd0, 0x180036b30 mov rdx, [rax+38h] ; +0xd4, 0x180036b34 mov r8, [rcx] ; +0xd8, 0x180036b38 call qword ptr [r8+3E0h] ; +0xdb, 0x180036b3b cmp byte ptr [rsi+84h], 0 ; +0xe2, 0x180036b42 jz short loc_180036BBE ; +0xe9, 0x180036b49 mov rcx, [rsi+40h] ; +0xeb, 0x180036b4b mov rax, [rcx] ; +0xef, 0x180036b4f call qword ptr [rax+1E8h] ; +0xf2, 0x180036b52 test rax, rax ; +0xf8, 0x180036b58 jz short loc_180036BBE ; +0xfb, 0x180036b5b mov rcx, [rsi+40h] ; +0xfd, 0x180036b5d mov rax, [rcx] ; +0x101, 0x180036b61 call qword ptr [rax+1E8h] ; +0x104, 0x180036b64 mov rcx, rax ; +0x10a, 0x180036b6a mov rdx, [rax] ; +0x10d, 0x180036b6d call qword ptr [rdx+130h] ; +0x110, 0x180036b70 mov rdx, rax ; +0x116, 0x180036b76 lea rcx, [rsp+88h+arg_0] ; +0x119, 0x180036b79 call ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x121, 0x180036b81 movss xmm2, [rsp+88h+arg_4] ; +0x126, 0x180036b86 lea rcx, [rsp+88h+var_68] ; +0x12f, 0x180036b8f movss xmm1, [rsp+88h+arg_0] ; +0x134, 0x180036b94 mov rax, [rsi+40h] ; +0x13d, 0x180036b9d mulss xmm2, xmm7 ; +0x141, 0x180036ba1 mulss xmm1, xmm7 ; +0x145, 0x180036ba5 mov rbx, [rax] ; +0x149, 0x180036ba9 call kmVec2Fill ; +0x14c, 0x180036bac mov rcx, [rsi+40h] ; +0x151, 0x180036bb1 mov rdx, rax ; +0x155, 0x180036bb5 call qword ptr [rbx+0B8h] ; +0x158, 0x180036bb8 cmp byte ptr [rsi+85h], 0 ; +0x15e, 0x180036bbe jz loc_180036C5F ; +0x165, 0x180036bc5 mov rcx, [rsi+40h] ; +0x16b, 0x180036bcb mov rax, [rcx] ; +0x16f, 0x180036bcf call qword ptr [rax+1D0h] ; +0x172, 0x180036bd2 mov rdi, rax ; +0x178, 0x180036bd8 test rax, rax ; +0x17b, 0x180036bdb jz short loc_180036C5F ; +0x17e, 0x180036bde mov rcx, [rsi+40h] ; +0x180, 0x180036be0 mov rdx, [rcx] ; +0x184, 0x180036be4 call qword ptr [rdx+130h] ; +0x187, 0x180036be7 mov rdx, rax ; +0x18d, 0x180036bed lea rcx, [rsp+88h+arg_10] ; +0x190, 0x180036bf0 call ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x198, 0x180036bf8 movss xmm2, [rsp+88h+arg_14] ; +0x19d, 0x180036bfd lea rcx, [rsp+88h+arg_18] ; +0x1a6, 0x180036c06 movss xmm1, [rsp+88h+arg_10] ; +0x1ae, 0x180036c0e mulss xmm2, xmm7 ; +0x1b7, 0x180036c17 mulss xmm1, xmm7 ; +0x1bb, 0x180036c1b call kmVec2Fill ; +0x1bf, 0x180036c1f mov rcx, rdi; this ; +0x1c4, 0x180036c24 xor ebx, ebx ; +0x1c7, 0x180036c27 call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1c9, 0x180036c29 test eax, eax ; +0x1ce, 0x180036c2e jz short loc_180036C5F ; +0x1d0, 0x180036c30 mov edx, ebx; unsigned int ; +0x1d2, 0x180036c32 mov rcx, rdi; this ; +0x1d4, 0x180036c34 call ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x1d7, 0x180036c37 lea rdx, [rsp+88h+arg_18] ; +0x1dc, 0x180036c3c mov rcx, rax ; +0x1e4, 0x180036c44 mov r8, [rax] ; +0x1e7, 0x180036c47 call qword ptr [r8+0B8h] ; +0x1ea, 0x180036c4a mov rcx, rdi; this ; +0x1f1, 0x180036c51 inc ebx ; +0x1f4, 0x180036c54 call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1f6, 0x180036c56 cmp ebx, eax ; +0x1fb, 0x180036c5b jb short loc_180036C32 ; +0x1fd, 0x180036c5d inc ebp ; +0x1ff, 0x180036c5f inc r14 ; +0x201, 0x180036c61 mov [rsi+70h], ebp ; +0x204, 0x180036c64 cmp ebp, r12d ; +0x207, 0x180036c67 jb loc_180036B00 ; +0x20a, 0x180036c6a mov r14, [rsp+88h+var_38] ; +0x210, 0x180036c70 mov rdi, [rsp+88h+arg_8] ; +0x215, 0x180036c75 movaps xmm7, [rsp+88h+var_58] ; +0x21d, 0x180036c7d movaps xmm6, [rsp+88h+var_48] ; +0x222, 0x180036c82 add rsp, 58h ; +0x227, 0x180036c87 pop r15 ; +0x22b, 0x180036c8b pop r13 ; +0x22d, 0x180036c8d pop r12 ; +0x22f, 0x180036c8f pop rsi ; +0x231, 0x180036c91 pop rbp ; +0x232, 0x180036c92 pop rbx ; +0x233, 0x180036c93 retn ; +0x234, 0x180036c94 call ?_Xlen@?$vector@PEAXV?$allocator@PEAX@std@@@std@@IEBAXXZ_3; std::vector::_Xlen(void) ; +0x235, 0x180036c95 db 0CCh ; +0x23a, 0x180036c9a