// // cocos2d::CCNode::~CCNode from 0x1800028e0 to 0x180002a3e (350 bytes) // // 27 xrefs: // > cocos2d::CCNodeRGBA::~CCNodeRGBA @ 0x180002a58 // > sub_180002A60 @ 0x180002ac2 // > sub_180002AF0 @ 0x180002b66 // > ObjectDecoder::~ObjectDecoder @ 0x180017b50 // > sub_180018550 @ 0x1800185ae // > cocos2d::CCLayer::~CCLayer @ 0x18004ee53 // > cocos2d::CCScene::~CCScene @ 0x180051a9a // > sub_180051AA0 @ 0x180051b08 // > cocos2d::CCClippingNode::~CCClippingNode @ 0x18005c04c // > sub_18005C060 @ 0x18005c0db // > cocos2d::CCRenderTexture::~CCRenderTexture @ 0x18005f2fe // > cocos2d::CCParticleBatchNode::~CCParticleBatchNode @ 0x180060ffa // > sub_180061000 @ 0x180061089 // > cocos2d::CCParticleSystem::~CCParticleSystem @ 0x1800656d1 // > cocos2d::CCSpriteBatchNode::~CCSpriteBatchNode @ 0x18008dd2b // > sub_18008DD30 @ 0x18008ddca // > cocos2d::CCParallaxNode::~CCParallaxNode @ 0x1800aa945 // > sub_1800AA950 @ 0x1800aa9db // > cocos2d::CCTMXTiledMap::~CCTMXTiledMap @ 0x1800add5e // > sub_1800ADD70 @ 0x1800ade0d // > sub_1800E20B0 @ 0x1800e20b7 // > sub_180002A60 @ 0x180002a7c // > @ 0x180137f6f // > @ 0x1801384d7 // > @ 0x180139d17 // > @ 0x1801438a8 // > @ 0x1801ad1bc // // 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 // void __fastcall cocos2d::CCNode::~CCNode(cocos2d::CCNode *this) { struct cocos2d::CCScriptEngineManager *v2; // rax struct cocos2d::CCScriptEngineManager *v3; // rax cocos2d::CCActionManager *m_pActionManager; // rcx cocos2d::CCScheduler *m_pScheduler; // rcx cocos2d::CCCamera *m_pCamera; // rcx cocos2d::CCGridBase *m_pGrid; // rcx cocos2d::CCGLProgram *m_pShaderProgram; // rcx cocos2d::CCObject *m_pUserObject; // rcx cocos2d::CCComponentContainer *m_pComponentContainer; // rcx cocos2d::CCArray *m_pChildren; // rcx cocos2d::CCArray *v12; // rax cocos2d::ccArray *data; // rcx __int64 num; // rax cocos2d::CCObject **arr; // rcx cocos2d::CCObject **i; // rdx cocos2d::CCArray *v17; // rcx this->__vftable = (cocos2d::CCNode_vtbl *)&cocos2d::CCNode::`vftable'; if ( this->m_nScriptHandler ) { v2 = cocos2d::CCScriptEngineManager::sharedManager(); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)v2 + 24LL))( *(_QWORD *)v2, (unsigned int)this->m_nScriptHandler); this->m_nScriptHandler = 0; } if ( this->m_nUpdateScriptHandler ) { v3 = cocos2d::CCScriptEngineManager::sharedManager(); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)v3 + 24LL))( *(_QWORD *)v3, (unsigned int)this->m_nUpdateScriptHandler); } m_pActionManager = this->m_pActionManager; if ( m_pActionManager ) cocos2d::CCObject::release(m_pActionManager); m_pScheduler = this->m_pScheduler; if ( m_pScheduler ) cocos2d::CCObject::release(m_pScheduler); m_pCamera = this->m_pCamera; if ( m_pCamera ) cocos2d::CCObject::release(m_pCamera); m_pGrid = this->m_pGrid; if ( m_pGrid ) cocos2d::CCObject::release(m_pGrid); m_pShaderProgram = this->m_pShaderProgram; if ( m_pShaderProgram ) cocos2d::CCObject::release(m_pShaderProgram); m_pUserObject = this->m_pUserObject; if ( m_pUserObject ) cocos2d::CCObject::release(m_pUserObject); ((void (__fastcall *)(cocos2d::CCComponentContainer *))this->m_pComponentContainer->removeAll)(this->m_pComponentContainer); m_pComponentContainer = this->m_pComponentContainer; if ( m_pComponentContainer ) { ((void (__fastcall *)(cocos2d::CCComponentContainer *, __int64))m_pComponentContainer->~CCComponentContainer)( m_pComponentContainer, 1); this->m_pComponentContainer = nullptr; } m_pChildren = this->m_pChildren; if ( m_pChildren ) { if ( cocos2d::CCArray::count(m_pChildren) ) { v12 = this->m_pChildren; if ( v12 ) { data = v12->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; for ( i = &arr[num - 1]; arr <= i; ++arr ) { if ( !*arr ) break; *(_QWORD *)&(*arr)[3].m_uOrderOfArrival = 0; } } } } } v17 = this->m_pChildren; if ( v17 ) cocos2d::CCObject::release(v17); cocos2d::CCObject::~CCObject(this); }