; ; cocos2d::CCParticleBatchNode::removeAllChildrenWithCleanup from 0x180061910 to 0x1800619ae (158 bytes) ; ; 6 xrefs: ; > @ 0x1800fa2c0 ; > @ 0x1801399e0 ; > @ 0x180139a14 ; > @ 0x1801438a8 ; > @ 0x1801b3660 ; > @ 0x1801b366c ; ; 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_10], rbp ; +0x0, 0x180061910 push rdi ; +0x5, 0x180061915 sub rsp, 20h ; +0x6, 0x180061916 mov rdi, rcx ; +0xa, 0x18006191a movzx ebp, dl ; +0xd, 0x18006191d mov rcx, [rcx+0D0h]; this ; +0x10, 0x180061920 test rcx, rcx ; +0x17, 0x180061927 jz short loc_18006198C ; +0x1a, 0x18006192a call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1c, 0x18006192c test eax, eax ; +0x21, 0x180061931 jz short loc_18006198C ; +0x23, 0x180061933 mov rax, [rdi+0D0h] ; +0x25, 0x180061935 test rax, rax ; +0x2c, 0x18006193c jz short loc_18006198C ; +0x2f, 0x18006193f mov [rsp+28h+arg_0], rbx ; +0x31, 0x180061941 mov rbx, [rax+38h] ; +0x36, 0x180061946 mov eax, [rbx] ; +0x3a, 0x18006194a test eax, eax ; +0x3c, 0x18006194c jz short loc_180061987 ; +0x3e, 0x18006194e mov rbx, [rbx+10h] ; +0x40, 0x180061950 mov [rsp+28h+arg_8], rsi ; +0x44, 0x180061954 lea rsi, [rax-1] ; +0x49, 0x180061959 lea rsi, [rbx+rsi*8] ; +0x4d, 0x18006195d cmp rbx, rsi ; +0x51, 0x180061961 ja short loc_180061982 ; +0x54, 0x180061964 mov rcx, [rbx] ; +0x56, 0x180061966 test rcx, rcx ; +0x59, 0x180061969 jz short loc_180061982 ; +0x5c, 0x18006196c mov rax, [rcx] ; +0x5e, 0x18006196e xor edx, edx ; +0x61, 0x180061971 call qword ptr [rax+370h] ; +0x63, 0x180061973 add rbx, 8 ; +0x69, 0x180061979 cmp rbx, rsi ; +0x6d, 0x18006197d jbe short loc_180061966 ; +0x70, 0x180061980 mov rsi, [rsp+28h+arg_8] ; +0x72, 0x180061982 mov rbx, [rsp+28h+arg_0] ; +0x77, 0x180061987 movzx edx, bpl; bool ; +0x7c, 0x18006198c mov rcx, rdi; this ; +0x80, 0x180061990 call ?removeAllChildrenWithCleanup@CCNode@cocos2d@@UEAAX_N@Z; cocos2d::CCNode::removeAllChildrenWithCleanup(bool) ; +0x83, 0x180061993 mov rcx, [rdi+148h]; this ; +0x88, 0x180061998 mov rbp, [rsp+28h+arg_10] ; +0x8f, 0x18006199f add rsp, 20h ; +0x94, 0x1800619a4 pop rdi ; +0x98, 0x1800619a8 jmp ?removeAllQuads@CCTextureAtlas@cocos2d@@QEAAXXZ; cocos2d::CCTextureAtlas::removeAllQuads(void) ; +0x99, 0x1800619a9