//
// cocos2d::ccArrayFree from 0xd92058 to 0xd92098 (64 bytes)
//
// 9 xrefs:
// > cocos2d::CCScheduler::removeHashElement @ 0xd226d8
// > cocos2d::CCActionManager::deleteHashElement @ 0xd369ec
// > cocos2d::CCArray::~CCArray @ 0xd46b24
// > cocos2d::CCArray::initWithCapacity @ 0xd46ccc
// > cocos2d::CCArray::initWithObject @ 0xd47110
// > cocos2d::CCArray::initWithObjects @ 0xd47220
// > cocos2d::CCArray::initWithArray @ 0xd473dc
// > cocos2d::CCParallaxNode::~CCParallaxNode @ 0xdaa638
// > ??> @ 0xbbc18
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:08:19 +0000
//
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;
}
}