//
// cocos2d::CCActionManager::actionAllocWithHashElement from 0x100390a4c to 0x100390a8c (64 bytes)
//
// 1 xrefs:
// > cocos2d::CCActionManager::addAction @ 0x100391120
//
// 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 11:03:37 +0000
//
_DWORD *__fastcall cocos2d::CCActionManager::actionAllocWithHashElement(__int64 a1, _DWORD **a2)
{
_DWORD *result; // x0
result = *a2;
if ( *a2 )
{
if ( *result == result[1] )
return (_DWORD *)sub_1003F2E74();
}
else
{
result = (_DWORD *)sub_1003F2DA8(4);
*a2 = result;
}
return result;
}