//
// sub_18009D810 from 0x18009d810 to 0x18009d83b (43 bytes)
//
// 3 xrefs:
// > cocos2d::CCActionManager::actionAllocWithHashElement @ 0x1800378d0
// > cocos2d::CCActionManager::addAction @ 0x180037ded
// > ??> @ 0x1801b7410
//
// 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 sub_18009D810(__int64 a1)
{
unsigned int v2; // eax
void *result; // rax
v2 = 2 * *(_DWORD *)(a1 + 4);
*(_DWORD *)(a1 + 4) = v2;
result = realloc(*(void **)(a1 + 16), 8LL * v2);
*(_QWORD *)(a1 + 16) = result;
return result;
}