//
// cocos2d::CCSet::removeAllObjects from 0x7c85e6 to 0x7c860a (36 bytes)
//
// 1 xrefs:
// > cocos2d::CCSet::~CCSet @ 0x7c8662
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:00:27 +0000
//
_DWORD *__fastcall cocos2d::CCSet::removeAllObjects(_DWORD *this)
{
_DWORD *v1; // r5
_DWORD *i; // r4
v1 = this;
for ( i = *(_DWORD **)*(this + 13); i != (_DWORD *)(v1[13] + 4); i = this )
{
this = (_DWORD *)i[4];
if ( !this )
break;
cocos2d::CCObject::release(this);
this = std::__tree_next *>(i);
}
return this;
}