//
// cocos2d::CCNode::removeFromParentAndCleanup from 0x5bcb2e to 0x5bcb4c (30 bytes)
//
// 0 xrefs:
//
// 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::CCNode::removeFromParentAndCleanup(cocos2d::CCNode *a1, bool a2)
{
cocos2d::CCNode *m_pParent; // r0
m_pParent = a1->m_pParent;
if ( m_pParent )
m_pParent->removeChild_0(m_pParent, a1, a2);
}