; ; cocos2d::CCNode::cleanup from 0x180002df0 to 0x180002e88 (152 bytes) ; ; 54 xrefs: ; > cocos2d::CCTransitionScene::cleanup @ 0x180054a69 ; > @ 0x1800eb6e8 ; > @ 0x1800ebd58 ; > @ 0x1800ec0d8 ; > @ 0x1800eca30 ; > @ 0x1800ecf40 ; > @ 0x1800f1758 ; > @ 0x1800f1c48 ; > @ 0x1800f2130 ; > @ 0x1800f2668 ; > @ 0x1800f2ce0 ; > @ 0x1800f3318 ; > @ 0x1800f37f8 ; > @ 0x1800f3d50 ; > @ 0x1800f42d8 ; > @ 0x1800f48d0 ; > @ 0x1800f4db0 ; > @ 0x1800fd408 ; > @ 0x1800fd9a0 ; > @ 0x1800fddd8 ; > @ 0x1800fe230 ; > @ 0x1800fe688 ; > @ 0x1800feae0 ; > @ 0x1800fef50 ; > @ 0x1800ff3c0 ; > @ 0x1800ff820 ; > @ 0x1800ffbf0 ; > @ 0x180100020 ; > @ 0x180100440 ; > @ 0x180100880 ; > @ 0x180100f08 ; > @ 0x180101588 ; > @ 0x180101c08 ; > @ 0x180102288 ; > @ 0x180102908 ; > @ 0x180102f88 ; > @ 0x180103608 ; > @ 0x180103c88 ; > @ 0x180104308 ; > @ 0x180104988 ; > @ 0x180105008 ; > @ 0x1801056d8 ; > @ 0x180106360 ; > @ 0x18010a120 ; > @ 0x18010a620 ; > @ 0x18010bb68 ; > @ 0x18010bf48 ; > @ 0x18010c3b0 ; > @ 0x18010c810 ; > @ 0x18010d138 ; > @ 0x180139dd0 ; > @ 0x180139de0 ; > @ 0x18014cf68 ; > @ 0x1801b721c ; ; 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 ; push rbx ; +0x0, 0x180002df0 sub rsp, 20h ; +0x2, 0x180002df2 mov rbx, rcx ; +0x6, 0x180002df6 mov rdx, rcx; struct cocos2d::CCObject * ; +0x9, 0x180002df9 mov rcx, [rcx+108h]; this ; +0xc, 0x180002dfc call ?removeAllActionsFromTarget@CCActionManager@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCActionManager::removeAllActionsFromTarget(cocos2d::CCObject *) ; +0x13, 0x180002e03 mov rcx, [rbx+100h]; this ; +0x18, 0x180002e08 mov rdx, rbx; struct cocos2d::CCObject * ; +0x1f, 0x180002e0f call ?unscheduleAllForTarget@CCScheduler@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCScheduler::unscheduleAllForTarget(cocos2d::CCObject *) ; +0x22, 0x180002e12 cmp dword ptr [rbx+12Ch], 0 ; +0x27, 0x180002e17 jz short loc_180002E37 ; +0x2e, 0x180002e1e call ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x30, 0x180002e20 mov r8d, 4 ; +0x35, 0x180002e25 mov rdx, rbx ; +0x3b, 0x180002e2b mov rcx, [rax] ; +0x3e, 0x180002e2e mov rax, [rcx] ; +0x41, 0x180002e31 call qword ptr [rax+40h] ; +0x44, 0x180002e34 mov rax, [rbx+0D0h] ; +0x47, 0x180002e37 test rax, rax ; +0x4e, 0x180002e3e jz short loc_180002E82 ; +0x51, 0x180002e41 mov rbx, [rax+38h] ; +0x53, 0x180002e43 mov eax, [rbx] ; +0x57, 0x180002e47 test eax, eax ; +0x59, 0x180002e49 jz short loc_180002E82 ; +0x5b, 0x180002e4b mov rbx, [rbx+10h] ; +0x5d, 0x180002e4d mov [rsp+28h+arg_0], rdi ; +0x61, 0x180002e51 lea rdi, [rax-1] ; +0x66, 0x180002e56 lea rdi, [rbx+rdi*8] ; +0x6a, 0x180002e5a cmp rbx, rdi ; +0x6e, 0x180002e5e ja short loc_180002E7D ; +0x71, 0x180002e61 mov rcx, [rbx] ; +0x73, 0x180002e63 test rcx, rcx ; +0x76, 0x180002e66 jz short loc_180002E7D ; +0x79, 0x180002e69 mov rax, [rcx] ; +0x7b, 0x180002e6b call qword ptr [rax+2D8h] ; +0x7e, 0x180002e6e add rbx, 8 ; +0x84, 0x180002e74 cmp rbx, rdi ; +0x88, 0x180002e78 jbe short loc_180002E63 ; +0x8b, 0x180002e7b mov rdi, [rsp+28h+arg_0] ; +0x8d, 0x180002e7d add rsp, 20h ; +0x92, 0x180002e82 pop rbx ; +0x96, 0x180002e86 retn ; +0x97, 0x180002e87