//
// cocos2d::CCActionManager::actionAllocWithHashElement from 0x5b93fc to 0x5b9420 (36 bytes)
//
// 1 xrefs:
// > cocos2d::CCActionManager::addAction @ 0x5b982e
//
// 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::CCActionManager::actionAllocWithHashElement(cocos2d::CCActionManager *a1, cocos2d::_hashElement *a2)
{
cocos2d *v2; // r0
v2 = *(cocos2d **)a2;
if ( *(_DWORD *)a2 )
{
if ( *(_DWORD *)v2 == *((_DWORD *)v2 + 1) )
cocos2d::ccArrayDoubleCapacity(v2, (cocos2d::_ccArray *)a2);
}
else
{
*(_DWORD *)a2 = cocos2d::ccArrayNew((cocos2d *)byte_4, (unsigned int)a2);
}
}