// // cocos2d::CCParticleBatchNode::removeAllChildrenWithCleanup from 0x180061910 to 0x1800619ae (158 bytes) // // 6 xrefs: // > @ 0x1800fa2c0 // > @ 0x1801399e0 // > @ 0x180139a14 // > @ 0x1801438a8 // > @ 0x1801b3660 // > @ 0x1801b366c // // 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::CCParticleBatchNode::removeAllChildrenWithCleanup(cocos2d::CCParticleBatchNode *this, char a2) { cocos2d::CCArray *m_pChildren; // rcx cocos2d::CCArray *v5; // rax cocos2d::ccArray *data; // rbx __int64 num; // rax cocos2d::CCObject **arr; // rbx cocos2d::CCObject **i; // rsi m_pChildren = this->m_pChildren; if ( m_pChildren ) { if ( (unsigned int)cocos2d::CCArray::count(m_pChildren) ) { v5 = this->m_pChildren; if ( v5 ) { data = v5->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; for ( i = &arr[num - 1]; arr <= i; ++arr ) { if ( !*arr ) break; ((void (__fastcall *)(cocos2d::CCObject *, _QWORD))(*arr)->__vftable[12].isEqual)(*arr, 0); } } } } } cocos2d::CCNode::removeAllChildrenWithCleanup(this, a2); cocos2d::CCTextureAtlas::removeAllQuads(this->m_pTextureAtlas); }
GD Web Decomp Icon

GD Web Decomp

Raw Source