//
// cocos2d::CCActionManager::actionAllocWithHashElement from 0xd36b5c to 0xd36bac (80 bytes)
//
// 2 xrefs:
// > cocos2d::CCActionManager::addAction @ 0xd37470
// > ??> @ 0x8db80
//
// 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:07:23 +0000
//
_DWORD *__fastcall cocos2d::CCActionManager::actionAllocWithHashElement(__int64 a1, _DWORD **a2)
{
_DWORD *result; // x0
result = *a2;
if ( *a2 )
{
if ( *result == result[1] )
return (_DWORD *)cocos2d::ccArrayDoubleCapacity();
}
else
{
result = (_DWORD *)cocos2d::ccArrayNew((cocos2d *)byte_4, (unsigned int)a2);
*a2 = result;
}
return result;
}