; ; cocos2d::CCNode::removeAllChildrenWithCleanup from 0x1800046a0 to 0x18000477e (222 bytes) ; ; 83 xrefs: ; > cocos2d::CCParticleBatchNode::removeAllChildrenWithCleanup @ 0x180063db3 ; > cocos2d::CCSprite::removeAllChildrenWithCleanup @ 0x18008f28c ; > cocos2d::CCSpriteBatchNode::removeAllChildrenWithCleanup @ 0x180092003 ; > cocos2d::CCParallaxNode::removeAllChildrenWithCleanup @ 0x1800ae4dc ; > @ 0x1800eb650 ; > @ 0x1800ebcc0 ; > @ 0x1800ec040 ; > @ 0x1800ec998 ; > @ 0x1800ecea8 ; > @ 0x1800f16c0 ; > @ 0x1800f3280 ; > @ 0x1800f3760 ; > @ 0x1800f3cb8 ; > @ 0x1800f4240 ; > @ 0x1800f4838 ; > @ 0x1800f4d18 ; > @ 0x1800f50b0 ; > @ 0x1800f5440 ; > @ 0x1800f57d8 ; > @ 0x1800f5b68 ; > @ 0x1800f5ef8 ; > @ 0x1800f62a8 ; > @ 0x1800f6658 ; > @ 0x1800f6a08 ; > @ 0x1800f6db8 ; > @ 0x1800f7168 ; > @ 0x1800f7518 ; > @ 0x1800f78c8 ; > @ 0x1800f7c78 ; > @ 0x1800f8018 ; > @ 0x1800f83b0 ; > @ 0x1800f8748 ; > @ 0x1800f8ae0 ; > @ 0x1800f8e78 ; > @ 0x1800f9210 ; > @ 0x1800f95a8 ; > @ 0x1800f9940 ; > @ 0x1800f9cd0 ; > @ 0x1800fa070 ; > @ 0x1800fa418 ; > @ 0x1800fa7c0 ; > @ 0x1800fab68 ; > @ 0x1800faf10 ; > @ 0x1800fb2b8 ; > @ 0x1800fb678 ; > @ 0x1800fba10 ; > @ 0x1800fbdb0 ; > @ 0x1800fc150 ; > @ 0x1800fc4f0 ; > @ 0x1800fc890 ; > @ 0x1800fcc30 ; > @ 0x1800fcfd0 ; > @ 0x1800fd370 ; > @ 0x1800fd908 ; > @ 0x1800fdd40 ; > @ 0x1800fe198 ; > @ 0x1800fe5f0 ; > @ 0x1800fea48 ; > @ 0x1800feeb8 ; > @ 0x1800ff328 ; > @ 0x1800ff788 ; > @ 0x1800ffb58 ; > @ 0x1800fff88 ; > @ 0x1801003a8 ; > @ 0x180100e70 ; > @ 0x1801014f0 ; > @ 0x180101b70 ; > @ 0x1801021f0 ; > @ 0x180102870 ; > @ 0x180102ef0 ; > @ 0x180103570 ; > @ 0x180103bf0 ; > @ 0x180104270 ; > @ 0x1801048f0 ; > @ 0x180104f70 ; > @ 0x180105640 ; > @ 0x1801062c8 ; > @ 0x18010beb0 ; > @ 0x18010c778 ; > @ 0x180139b98 ; > @ 0x180139bf0 ; > @ 0x18014cf68 ; > @ 0x1801b74e0 ; ; 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:21:17 +0000 ; mov [rsp+arg_18], rbp ; +0x0, 0x1800046a0 push rsi ; +0x5, 0x1800046a5 sub rsp, 20h ; +0x6, 0x1800046a6 mov rsi, rcx ; +0xa, 0x1800046aa movzx ebp, dl ; +0xd, 0x1800046ad mov rcx, [rcx+0D0h]; this ; +0x10, 0x1800046b0 test rcx, rcx ; +0x17, 0x1800046b7 jz loc_180004773 ; +0x1a, 0x1800046ba call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x20, 0x1800046c0 test eax, eax ; +0x25, 0x1800046c5 jz loc_180004773 ; +0x27, 0x1800046c7 mov rax, [rsi+0D0h] ; +0x2d, 0x1800046cd test rax, rax ; +0x34, 0x1800046d4 jz loc_180004767 ; +0x37, 0x1800046d7 mov [rsp+28h+arg_8], rdi ; +0x3d, 0x1800046dd mov rdi, [rax+38h] ; +0x42, 0x1800046e2 mov eax, [rdi] ; +0x46, 0x1800046e6 test eax, eax ; +0x48, 0x1800046e8 jz short loc_180004762 ; +0x4a, 0x1800046ea mov rdi, [rdi+10h] ; +0x4c, 0x1800046ec mov [rsp+28h+arg_10], r14 ; +0x50, 0x1800046f0 lea r14, [rax-1] ; +0x55, 0x1800046f5 lea r14, [rdi+r14*8] ; +0x59, 0x1800046f9 cmp rdi, r14 ; +0x5d, 0x1800046fd ja short loc_18000475D ; +0x60, 0x180004700 mov [rsp+28h+arg_0], rbx ; +0x62, 0x180004702 mov rbx, [rdi] ; +0x67, 0x180004707 test rbx, rbx ; +0x6a, 0x18000470a jz short loc_180004758 ; +0x6d, 0x18000470d cmp byte ptr [rsi+110h], 0 ; +0x6f, 0x18000470f jz short loc_180004730 ; +0x76, 0x180004716 mov rax, [rbx] ; +0x78, 0x180004718 mov rcx, rbx ; +0x7b, 0x18000471b call qword ptr [rax+2D0h] ; +0x7e, 0x18000471e mov rax, [rbx] ; +0x84, 0x180004724 mov rcx, rbx ; +0x87, 0x180004727 call qword ptr [rax+2C8h] ; +0x8a, 0x18000472a test bpl, bpl ; +0x90, 0x180004730 jz short loc_180004741 ; +0x93, 0x180004733 mov rax, [rbx] ; +0x95, 0x180004735 mov rcx, rbx ; +0x98, 0x180004738 call qword ptr [rax+2D8h] ; +0x9b, 0x18000473b mov rax, [rbx] ; +0xa1, 0x180004741 xor edx, edx ; +0xa4, 0x180004744 mov rcx, rbx ; +0xa6, 0x180004746 call qword ptr [rax+1F0h] ; +0xa9, 0x180004749 add rdi, 8 ; +0xaf, 0x18000474f cmp rdi, r14 ; +0xb3, 0x180004753 jbe short loc_180004707 ; +0xb6, 0x180004756 mov rbx, [rsp+28h+arg_0] ; +0xb8, 0x180004758 mov r14, [rsp+28h+arg_10] ; +0xbd, 0x18000475d mov rdi, [rsp+28h+arg_8] ; +0xc2, 0x180004762 mov rcx, [rsi+0D0h]; this ; +0xc7, 0x180004767 call ?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0xce, 0x18000476e mov rbp, [rsp+28h+arg_18] ; +0xd3, 0x180004773 add rsp, 20h ; +0xd8, 0x180004778 pop rsi ; +0xdc, 0x18000477c retn ; +0xdd, 0x18000477d