//
// cocos2d::ccArrayFree from 0xb214e0 to 0xb21520 (64 bytes)
//
// 9 xrefs:
// > cocos2d::CCScheduler::removeHashElement @ 0xab0dec
// > cocos2d::CCActionManager::deleteHashElement @ 0xac4c08
// > cocos2d::CCArray::~CCArray @ 0xad3d28
// > cocos2d::CCArray::initWithCapacity @ 0xad3eac
// > cocos2d::CCArray::initWithObject @ 0xad42f0
// > cocos2d::CCArray::initWithObjects @ 0xad4400
// > cocos2d::CCArray::initWithArray @ 0xad45bc
// > cocos2d::CCParallaxNode::~CCParallaxNode @ 0xb37ecc
// > ??> @ 0x8dd20
//
// 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::ccArrayFree(void **a1)
{
unsigned int *v2; // x0
v2 = (unsigned int *)*a1;
if ( v2 )
{
cocos2d::ccArrayRemoveAllObjects(v2);
free(*((void **)*a1 + 2));
free(*a1);
*a1 = nullptr;
}
}