//
// cocos2d::ccArrayNew from 0x7f751c to 0x7f7548 (44 bytes)
//
// 4 xrefs:
// > cocos2d::CCScheduler::scheduleSelector @ 0x7b4b28
// > cocos2d::CCActionManager::actionAllocWithHashElement @ 0x7bfc68
// > cocos2d::CCArray::initWithCapacity @ 0x7c8f34
// > cocos2d::CCParallaxNode::CCParallaxNode @ 0x803850
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:01:10 +0000
//
_DWORD *__fastcall cocos2d::ccArrayNew(cocos2d *this, unsigned int a2)
{
cocos2d *v2; // r5
_DWORD *v3; // r4
void *v4; // r0
if ( this )
v2 = this;
else
v2 = (cocos2d *)(&dword_0 + 1);
v3 = malloc(0x10u);
*v3 = 0;
v4 = calloc((size_t)v2, 4u);
v3[1] = v2;
v3[2] = -1;
v3[3] = v4;
return v3;
}