//
// sub_1003F2E74 from 0x1003f2e74 to 0x1003f2eac (56 bytes)
//
// 1 xrefs:
// > cocos2d::CCActionManager::actionAllocWithHashElement @ 0x100390a60
//
// 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:04:31 +0000
//
void *__fastcall sub_1003F2E74(__int64 a1)
{
unsigned int v2; // w8
void *result; // x0
v2 = 2 * *(_DWORD *)(a1 + 4);
*(_DWORD *)(a1 + 4) = v2;
result = realloc(*(void **)(a1 + 16), 8LL * v2);
*(_QWORD *)(a1 + 16) = result;
return result;
}