//
// cocos2d::CCSet::removeAllObjects from 0x5c164c to 0x5c1670 (36 bytes)
//
// 1 xrefs:
// > cocos2d::CCSet::~CCSet @ 0x5c17aa
//
// 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::CCSet::removeAllObjects(cocos2d::CCSet *a1)
{
std::set *i; // r4
cocos2d::CCObject *M_right; // r0
for ( i = (std::set *)a1->m_pSet->_M_t._M_impl._M_header._M_left;
i != (std::set *)&a1->m_pSet->_M_t._M_impl._M_header;
i = (std::set *)sub_761FE0(i) )
{
M_right = (cocos2d::CCObject *)i->_M_t._M_impl._M_header._M_right;
if ( !M_right )
break;
cocos2d::CCObject::release(M_right);
}
}