; ; cocos2d::CCAutoreleasePool::clear from 0x180007580 to 0x1800075e8 (104 bytes) ; ; 4 xrefs: ; > cocos2d::CCPoolManager::finalize @ 0x180007638 ; > cocos2d::CCPoolManager::pop @ 0x1800076b3 ; > @ 0x1801438a8 ; > @ 0x1801ada68 ; ; 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, 0x180007580 sub rsp, 20h ; +0x2, 0x180007582 mov rbx, rcx ; +0x6, 0x180007586 mov rcx, [rcx+38h]; this ; +0x9, 0x180007589 call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xd, 0x18000758d test eax, eax ; +0x12, 0x180007592 jz short loc_1800075E2 ; +0x14, 0x180007594 mov rax, [rbx+38h] ; +0x16, 0x180007596 test rax, rax ; +0x1a, 0x18000759a jz short loc_1800075D4 ; +0x1d, 0x18000759d mov rdx, [rax+38h] ; +0x1f, 0x18000759f mov eax, [rdx] ; +0x23, 0x1800075a3 test eax, eax ; +0x25, 0x1800075a5 jz short loc_1800075D4 ; +0x27, 0x1800075a7 mov rdx, [rdx+10h] ; +0x29, 0x1800075a9 lea rcx, [rax-1] ; +0x2d, 0x1800075ad lea rcx, [rdx+rcx*8] ; +0x31, 0x1800075b1 cmp rcx, rdx ; +0x35, 0x1800075b5 jb short loc_1800075D4 ; +0x38, 0x1800075b8 nop word ptr [rax+rax+00h] ; +0x3a, 0x1800075ba mov rax, [rcx] ; +0x40, 0x1800075c0 test rax, rax ; +0x43, 0x1800075c3 jz short loc_1800075D4 ; +0x46, 0x1800075c6 dec dword ptr [rax+18h] ; +0x48, 0x1800075c8 sub rcx, 8 ; +0x4b, 0x1800075cb cmp rcx, rdx ; +0x4f, 0x1800075cf jnb short loc_1800075C0 ; +0x52, 0x1800075d2 mov rcx, [rbx+38h]; this ; +0x54, 0x1800075d4 add rsp, 20h ; +0x58, 0x1800075d8 pop rbx ; +0x5c, 0x1800075dc jmp ?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x5d, 0x1800075dd add rsp, 20h ; +0x62, 0x1800075e2 pop rbx ; +0x66, 0x1800075e6 retn ; +0x67, 0x1800075e7