// // cocos2d::CCParticleBatchNode::removeAllChildrenWithCleanup from 0xb02b34 to 0xb02bcc (152 bytes) // // 2 xrefs: // > @ 0xc7e60 // > @ 0x12170a8 // // 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 cocos2d::CCParticleBatchNode::removeAllChildrenWithCleanup(cocos2d::CCParticleBatchNode *a1, bool a2) { cocos2d::CCArray *m_pChildren; // x0 cocos2d::CCArray *v5; // x0 cocos2d::ccArray *data; // x1 cocos2d::CCObject **arr; // x19 cocos2d::CCObject **v8; // x20 cocos2d::CCObject *v9; // x0 m_pChildren = a1->m_pChildren; if ( m_pChildren ) { if ( (unsigned int)cocos2d::CCArray::count(m_pChildren) ) { v5 = a1->m_pChildren; if ( v5 ) { data = v5->data; if ( data->num ) { arr = data->arr; v8 = &arr[data->num - 1]; while ( v8 >= arr ) { v9 = *arr; if ( !*arr ) break; ++arr; ((void (__fastcall *)(cocos2d::CCObject *, _QWORD))v9->__vftable[11].~CCObject)(v9, 0); } } } } } cocos2d::CCNode::removeAllChildrenWithCleanup(a1, a2); cocos2d::CCTextureAtlas::removeAllQuads(a1->m_pTextureAtlas); }
GD Web Decomp Icon

GD Web Decomp

Raw Source