//
// sub_100746920 from 0x100746920 to 0x100746949 (41 bytes)
//
// 2 xrefs:
// > cocos2d::CCActionManager::actionAllocWithHashElement @ 0x1002181cd
// > cocos2d::CCActionManager::addAction @ 0x100218925
//
// 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 12:36:31 +0000
//
void *__fastcall sub_100746920(__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;
}