//
// sub_1006673F0 from 0x1006673f0 to 0x100667419 (41 bytes)
//
// 2 xrefs:
// > cocos2d::CCActionManager::actionAllocWithHashElement @ 0x10023398d
// > cocos2d::CCActionManager::addAction @ 0x1002340e5
//
// 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_1006673F0(__int64 a1)
{
__int64 v1; // rsi
void *result; // rax
v1 = (unsigned int)(2 * *(_DWORD *)(a1 + 4));
*(_DWORD *)(a1 + 4) = v1;
result = realloc(*(void **)(a1 + 16), 8 * v1);
*(_QWORD *)(a1 + 16) = result;
return result;
}