//
// cocos2d::CCSet::dCCSet from 0x1001ac3ac to 0x1001ac3fc (80 bytes)
//
// 2 xrefs:
// > j_cocos2d::CCSet::dCCSet @ 0x1001ac478
// > sub_1001AC47C @ 0x1001ac484
//
// 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
//
cocos2d::CCObject *__fastcall cocos2d::CCSet::dCCSet(__int64 a1)
{
_QWORD **v2; // x20
*(_QWORD *)a1 = off_1007AEC48;
cocos2d::CCSet::removeAllObjects((cocos2d::CCSet *)a1);
v2 = *(_QWORD ***)(a1 + 56);
if ( v2 )
{
sub_100017D70(*(_QWORD *)(a1 + 56), v2[1]);
operator delete(v2);
*(_QWORD *)(a1 + 56) = 0;
}
return cocos2d::CCObject::dCCObject((cocos2d::CCObject *)a1);
}