//
// sub_1800A1920 from 0x1800a1920 to 0x1800a1971 (81 bytes)
//
// 20 xrefs:
// > cocos2d::CCArray::CCArray @ 0x18000686c
// > cocos2d::CCArray::CCArray @ 0x1800068c8
// > cocos2d::CCArray::copyWithZone @ 0x180006a67
// > cocos2d::CCArray::copyWithZone @ 0x180006a8a
// > cocos2d::CCArray::create @ 0x180006bea
// > cocos2d::CCArray::create @ 0x180006c0a
// > cocos2d::CCArray::createWithCapacity @ 0x180006ca1
// > cocos2d::CCArray::createWithCapacity @ 0x180006cbe
// > cocos2d::CCArray::createWithObject @ 0x180006f32
// > cocos2d::CCArray::createWithObject @ 0x180006f5b
// > cocos2d::CCArray::init @ 0x180007067
// > cocos2d::CCArray::initWithArray @ 0x1800070ae
// > cocos2d::CCArray::initWithCapacity @ 0x1800070fa
// > cocos2d::CCArray::initWithObject @ 0x180007136
// > cocos2d::CCActionManager::actionAllocWithHashElement @ 0x180037fc6
// > cocos2d::CCActionManager::addAction @ 0x1800384f2
// > cocos2d::CCParallaxNode::CCParallaxNode @ 0x1800ae0b3
// > cocos2d::CCScheduler::scheduleSelector @ 0x1800c5988
// > ??> @ 0x1801c1728
// > ??> @ 0x1801c1734
//
// 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
//
_QWORD *__fastcall sub_1800A1920(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;
}