//
// sub_1800A14A0 from 0x1800a14a0 to 0x1800a14cb (43 bytes)
//
// 3 xrefs:
// > cocos2d::CCActionManager::actionAllocWithHashElement @ 0x180037fe0
// > cocos2d::CCActionManager::addAction @ 0x180038503
// > ??> @ 0x1801c16b0
//
// This function is hookable on this platform (idp: pc, 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:22:13 +0000
//
void *__fastcall sub_1800A14A0(__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;
}