//
// sub_18009DC90 from 0x18009dc90 to 0x18009dce1 (81 bytes)
//
// 20 xrefs:
// > cocos2d::CCArray::CCArray @ 0x18000672c
// > cocos2d::CCArray::CCArray @ 0x180006788
// > cocos2d::CCArray::copyWithZone @ 0x180006927
// > cocos2d::CCArray::copyWithZone @ 0x18000694a
// > cocos2d::CCArray::create @ 0x180006aaa
// > cocos2d::CCArray::create @ 0x180006aca
// > cocos2d::CCArray::createWithCapacity @ 0x180006b61
// > cocos2d::CCArray::createWithCapacity @ 0x180006b7e
// > cocos2d::CCArray::createWithObject @ 0x180006de2
// > cocos2d::CCArray::createWithObject @ 0x180006e0b
// > cocos2d::CCArray::init @ 0x180006f17
// > cocos2d::CCArray::initWithArray @ 0x180006f5e
// > cocos2d::CCArray::initWithCapacity @ 0x180006faa
// > cocos2d::CCArray::initWithObject @ 0x180006fe6
// > cocos2d::CCActionManager::actionAllocWithHashElement @ 0x1800378b6
// > cocos2d::CCActionManager::addAction @ 0x180037ddc
// > cocos2d::CCParallaxNode::CCParallaxNode @ 0x1800aa8b3
// > cocos2d::CCScheduler::scheduleSelector @ 0x1800c207d
// > ??> @ 0x1801b7488
// > ??> @ 0x1801b7494
//
// 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
//
_QWORD *__fastcall sub_18009DC90(size_t Count)
{
unsigned int v1; // edi
_QWORD *v2; // rbx
v1 = 1;
if ( (_DWORD)Count )
v1 = Count;
v2 = malloc(0x18u);
*(_DWORD *)v2 = 0;
v2[2] = calloc(v1, 8u);
*((_DWORD *)v2 + 1) = v1;
*((_DWORD *)v2 + 2) = -1;
return v2;
}