// // cocos2d::CCArray::createWithCapacity from 0x180006c50 to 0x180006ce2 (146 bytes) // // 19 xrefs: // > cocos2d::CCNode::addChild @ 0x180002bcf // > cocos2d::CCNode::childrenAlloc @ 0x180002dce // > cocos2d::CCDictionary::allKeys @ 0x180009944 // > cocos2d::CCAnimate::reverse @ 0x1800360d9 // > cocos2d::CCLayerMultiplex::initWithArray @ 0x180051e52 // > cocos2d::CCLayerMultiplex::initWithLayers @ 0x1800521c5 // > cocos2d::CCAnimationCache::parseVersion1 @ 0x18008d9cf // > cocos2d::CCAnimationCache::parseVersion2 @ 0x18008dde8 // > cocos2d::CCNotificationCenter::CCNotificationCenter @ 0x180096789 // > cocos2d::CCNotificationCenter::postNotification @ 0x180096df1 // > cocos2d::CCNotificationCenter::postNotification @ 0x180096f02 // > cocos2d::CCNotificationCenter::sharedNotificationCenter @ 0x180097298 // > cocos2d::CCTMXMapInfo::internalInit @ 0x1800b328d // > cocos2d::CCTouchDispatcher::init @ 0x1800b69a2 // > cocos2d::CCTouchDispatcher::init @ 0x1800b69b8 // > cocos2d::CCTouchDispatcher::init @ 0x1800b69ce // > cocos2d::CCScheduler::scheduleScriptFunc @ 0x1800c542a // > @ 0x18014cf68 // > @ 0x1801b7960 // // 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::createWithCapacity(size_t Count) { unsigned int v1; // esi cocos2d::CCObject *v2; // rax cocos2d::CCObject *v3; // rdi v1 = Count; v2 = (cocos2d::CCObject *)sub_1800E4AC0(0x40u); v3 = v2; if ( v2 ) { cocos2d::CCObject::CCObject(v2); *(_QWORD *)v3 = &cocos2d::CCArray::`vftable'; *((_QWORD *)v3 + 7) = 0; sub_1800A16E0((char *)v3 + 56); *((_QWORD *)v3 + 7) = sub_1800A1920(1u); } else { v3 = nullptr; } if ( v3 ) { sub_1800A16E0((char *)v3 + 56); *((_QWORD *)v3 + 7) = sub_1800A1920(v1); cocos2d::CCObject::autorelease(v3); } return v3; }