; ; cocos2d::CCNode::cleanup from 0x180002d80 to 0x180002e18 (152 bytes) ; ; 54 xrefs: ; > cocos2d::CCTransitionScene::cleanup @ 0x180052cb9 ; > @ 0x1800e56a8 ; > @ 0x1800e5d08 ; > @ 0x1800e6078 ; > @ 0x1800e69d8 ; > @ 0x1800e6ee0 ; > @ 0x1800eb6a8 ; > @ 0x1800ebb48 ; > @ 0x1800ec020 ; > @ 0x1800ec548 ; > @ 0x1800ecba0 ; > @ 0x1800ed1b8 ; > @ 0x1800ed678 ; > @ 0x1800edbb0 ; > @ 0x1800ee118 ; > @ 0x1800ee6f0 ; > @ 0x1800eebb0 ; > @ 0x1800f6fc0 ; > @ 0x1800f7528 ; > @ 0x1800f7950 ; > @ 0x1800f7d98 ; > @ 0x1800f81e0 ; > @ 0x1800f8628 ; > @ 0x1800f8a88 ; > @ 0x1800f8ee8 ; > @ 0x1800f9338 ; > @ 0x1800f9700 ; > @ 0x1800f9b18 ; > @ 0x1800f9f28 ; > @ 0x1800fa358 ; > @ 0x1800fa9c8 ; > @ 0x1800fb038 ; > @ 0x1800fb6a8 ; > @ 0x1800fbd18 ; > @ 0x1800fc388 ; > @ 0x1800fc9f8 ; > @ 0x1800fd068 ; > @ 0x1800fd6d8 ; > @ 0x1800fdd48 ; > @ 0x1800fe3b8 ; > @ 0x1800fea28 ; > @ 0x1800ff270 ; > @ 0x1800ffd10 ; > @ 0x180103a58 ; > @ 0x180103f48 ; > @ 0x180105480 ; > @ 0x180105858 ; > @ 0x180105cb0 ; > @ 0x180106118 ; > @ 0x180106a50 ; > @ 0x180130f64 ; > @ 0x180130f74 ; > @ 0x1801438a8 ; > @ 0x1801ad204 ; ; 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, 0x180002d80 sub rsp, 20h ; +0x2, 0x180002d82 mov rbx, rcx ; +0x6, 0x180002d86 mov rdx, rcx; struct cocos2d::CCObject * ; +0x9, 0x180002d89 mov rcx, [rcx+108h]; this ; +0xc, 0x180002d8c call ?removeAllActionsFromTarget@CCActionManager@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCActionManager::removeAllActionsFromTarget(cocos2d::CCObject *) ; +0x13, 0x180002d93 mov rcx, [rbx+100h]; this ; +0x18, 0x180002d98 mov rdx, rbx; struct cocos2d::CCObject * ; +0x1f, 0x180002d9f call ?unscheduleAllForTarget@CCScheduler@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCScheduler::unscheduleAllForTarget(cocos2d::CCObject *) ; +0x22, 0x180002da2 cmp dword ptr [rbx+12Ch], 0 ; +0x27, 0x180002da7 jz short loc_180002DC7 ; +0x2e, 0x180002dae call ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x30, 0x180002db0 mov r8d, 4 ; +0x35, 0x180002db5 mov rdx, rbx ; +0x3b, 0x180002dbb mov rcx, [rax] ; +0x3e, 0x180002dbe mov rax, [rcx] ; +0x41, 0x180002dc1 call qword ptr [rax+40h] ; +0x44, 0x180002dc4 mov rax, [rbx+0D0h] ; +0x47, 0x180002dc7 test rax, rax ; +0x4e, 0x180002dce jz short loc_180002E12 ; +0x51, 0x180002dd1 mov rbx, [rax+38h] ; +0x53, 0x180002dd3 mov eax, [rbx] ; +0x57, 0x180002dd7 test eax, eax ; +0x59, 0x180002dd9 jz short loc_180002E12 ; +0x5b, 0x180002ddb mov rbx, [rbx+10h] ; +0x5d, 0x180002ddd mov [rsp+28h+arg_0], rdi ; +0x61, 0x180002de1 lea rdi, [rax-1] ; +0x66, 0x180002de6 lea rdi, [rbx+rdi*8] ; +0x6a, 0x180002dea cmp rbx, rdi ; +0x6e, 0x180002dee ja short loc_180002E0D ; +0x71, 0x180002df1 mov rcx, [rbx] ; +0x73, 0x180002df3 test rcx, rcx ; +0x76, 0x180002df6 jz short loc_180002E0D ; +0x79, 0x180002df9 mov rax, [rcx] ; +0x7b, 0x180002dfb call qword ptr [rax+2C8h] ; +0x7e, 0x180002dfe add rbx, 8 ; +0x84, 0x180002e04 cmp rbx, rdi ; +0x88, 0x180002e08 jbe short loc_180002DF3 ; +0x8b, 0x180002e0b mov rdi, [rsp+28h+arg_0] ; +0x8d, 0x180002e0d add rsp, 20h ; +0x92, 0x180002e12 pop rbx ; +0x96, 0x180002e16 retn ; +0x97, 0x180002e17