; ; cocos2d::CCArray::createWithCapacity from 0x180006b10 to 0x180006ba2 (146 bytes) ; ; 19 xrefs: ; > cocos2d::CCNode::addChild @ 0x180002bff ; > cocos2d::CCNode::childrenAlloc @ 0x180002d5e ; > cocos2d::CCDictionary::allKeys @ 0x180009874 ; > cocos2d::CCAnimate::reverse @ 0x180035a29 ; > cocos2d::CCLayerMultiplex::initWithArray @ 0x180050032 ; > cocos2d::CCLayerMultiplex::initWithLayers @ 0x1800503a5 ; > cocos2d::CCAnimationCache::parseVersion1 @ 0x18008a95d ; > cocos2d::CCAnimationCache::parseVersion2 @ 0x18008ace5 ; > cocos2d::CCNotificationCenter::CCNotificationCenter @ 0x180092f59 ; > cocos2d::CCNotificationCenter::postNotification @ 0x180093611 ; > cocos2d::CCNotificationCenter::postNotification @ 0x180093732 ; > cocos2d::CCNotificationCenter::sharedNotificationCenter @ 0x180093af6 ; > cocos2d::CCTMXMapInfo::internalInit @ 0x1800af93e ; > cocos2d::CCTouchDispatcher::init @ 0x1800b2f42 ; > cocos2d::CCTouchDispatcher::init @ 0x1800b2f58 ; > cocos2d::CCTouchDispatcher::init @ 0x1800b2f6e ; > cocos2d::CCScheduler::scheduleScriptFunc @ 0x1800c1b4a ; > @ 0x1801438a8 ; > @ 0x1801ad93c ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x180006b10 mov [rsp+arg_10], rsi ; +0x5, 0x180006b15 push rdi ; +0xa, 0x180006b1a sub rsp, 20h ; +0xb, 0x180006b1b mov esi, ecx ; +0xf, 0x180006b1f mov ecx, 40h ; '@'; Size ; +0x11, 0x180006b21 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x16, 0x180006b26 mov rdi, rax ; +0x1b, 0x180006b2b mov [rsp+28h+arg_8], rax ; +0x1e, 0x180006b2e test rax, rax ; +0x23, 0x180006b33 jz short loc_180006B6C ; +0x26, 0x180006b36 mov rcx, rax; this ; +0x28, 0x180006b38 call ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x2b, 0x180006b3b nop ; +0x30, 0x180006b40 lea rax, ??_7CCArray@cocos2d@@6B@; const cocos2d::CCArray::`vftable' ; +0x31, 0x180006b41 mov [rdi], rax ; +0x38, 0x180006b48 mov qword ptr [rdi+38h], 0 ; +0x3b, 0x180006b4b lea rcx, [rdi+38h] ; +0x43, 0x180006b53 call sub_18009DA50 ; +0x47, 0x180006b57 mov ecx, 1; Count ; +0x4c, 0x180006b5c call sub_18009DC90 ; +0x51, 0x180006b61 mov [rdi+38h], rax ; +0x56, 0x180006b66 jmp short loc_180006B6E ; +0x5a, 0x180006b6a xor edi, edi ; +0x5c, 0x180006b6c test rdi, rdi ; +0x5e, 0x180006b6e jz short loc_180006B8F ; +0x61, 0x180006b71 lea rcx, [rdi+38h] ; +0x63, 0x180006b73 call sub_18009DA50 ; +0x67, 0x180006b77 mov ecx, esi; Count ; +0x6c, 0x180006b7c call sub_18009DC90 ; +0x6e, 0x180006b7e mov [rdi+38h], rax ; +0x73, 0x180006b83 mov rcx, rdi; this ; +0x77, 0x180006b87 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x7a, 0x180006b8a mov rax, rdi ; +0x7f, 0x180006b8f mov rbx, [rsp+28h+arg_0] ; +0x82, 0x180006b92 mov rsi, [rsp+28h+arg_10] ; +0x87, 0x180006b97 add rsp, 20h ; +0x8c, 0x180006b9c pop rdi ; +0x90, 0x180006ba0 retn ; +0x91, 0x180006ba1