//
// cocos2d::CCArray::create from 0x180006ba0 to 0x180006c29 (137 bytes)
//
// 25 xrefs:
// > cocos2d::CCArray::create @ 0x180006b2f
// > cocos2d::CCDictionary::allKeys @ 0x180009a3d
// > cocos2d::CCDictionary::allKeysForObject @ 0x180009a9c
// > DS_Dictionary::getArrayForKey @ 0x180019a54
// > DS_Dictionary::getArrayForKey @ 0x180019a5e
// > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x180045416
// > cocos2d::CCMenu::alignItemsInColumns @ 0x18005a200
// > cocos2d::CCMenu::alignItemsInRows @ 0x18005a6e0
// > cocos2d::CCMenuItemToggle::createWithTarget @ 0x18005cbcf
// > cocos2d::CCMenuItemToggle::createWithTarget @ 0x18005cca5
// > cocos2d::CCMenuItemToggle::initWithItem @ 0x18005ce45
// > cocos2d::CCMenuItemToggle::initWithTarget @ 0x18005d2b5
// > cocos2d::CCMouseDispatcher::CCMouseDispatcher @ 0x180062d67
// > cocos2d::CCAnimation::create @ 0x18008cd85
// > cocos2d::CCAnimation::init @ 0x18008ce7b
// > cocos2d::CCAnimation::initWithSpriteFrames @ 0x18008d09d
// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary @ 0x1800952e1
// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromTexture @ 0x180095830
// > cocos2d::CCNotificationCenter::removeAllObservers @ 0x1800970f4
// > cocos2d::CCTMXObjectGroup::CCTMXObjectGroup @ 0x1800b10fe
// > cocos2d::CCTMXMapInfo::internalInit @ 0x1800b31d0
// > cocos2d::CCTMXMapInfo::internalInit @ 0x1800b31e1
// > cocos2d::CCKeypadDispatcher::CCKeypadDispatcher @ 0x1800b7fc7
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b7948
//
// 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:21:18 +0000
//
// Hidden C++ exception states: #wind=2
struct cocos2d::CCArray *__fastcall cocos2d::CCArray::create()
{
cocos2d::CCObject *v0; // rax
cocos2d::CCObject *v1; // rdi
v0 = (cocos2d::CCObject *)sub_1800E4AC0(0x40u);
v1 = v0;
if ( v0 )
{
cocos2d::CCObject::CCObject(v0);
*(_QWORD *)v1 = &cocos2d::CCArray::`vftable';
*((_QWORD *)v1 + 7) = 0;
sub_1800A16E0((char *)v1 + 56);
*((_QWORD *)v1 + 7) = sub_1800A1920(1u);
}
else
{
v1 = nullptr;
}
if ( v1 )
{
sub_1800A16E0((char *)v1 + 56);
*((_QWORD *)v1 + 7) = sub_1800A1920(1u);
cocos2d::CCObject::autorelease(v1);
}
return v1;
}