{"type": "func", "start": 6442478496, "end": 6442478633, "name": "cocos2d::CCArray::create", "pseudocode": "// \n// cocos2d::CCArray::create from 0x180006ba0 to 0x180006c29 (137 bytes)\n// \n// 25 xrefs:\n// > cocos2d::CCArray::create @ 0x180006b2f\n// > cocos2d::CCDictionary::allKeys @ 0x180009a3d\n// > cocos2d::CCDictionary::allKeysForObject @ 0x180009a9c\n// > DS_Dictionary::getArrayForKey @ 0x180019a54\n// > DS_Dictionary::getArrayForKey @ 0x180019a5e\n// > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x180045416\n// > cocos2d::CCMenu::alignItemsInColumns @ 0x18005a200\n// > cocos2d::CCMenu::alignItemsInRows @ 0x18005a6e0\n// > cocos2d::CCMenuItemToggle::createWithTarget @ 0x18005cbcf\n// > cocos2d::CCMenuItemToggle::createWithTarget @ 0x18005cca5\n// > cocos2d::CCMenuItemToggle::initWithItem @ 0x18005ce45\n// > cocos2d::CCMenuItemToggle::initWithTarget @ 0x18005d2b5\n// > cocos2d::CCMouseDispatcher::CCMouseDispatcher @ 0x180062d67\n// > cocos2d::CCAnimation::create @ 0x18008cd85\n// > cocos2d::CCAnimation::init @ 0x18008ce7b\n// > cocos2d::CCAnimation::initWithSpriteFrames @ 0x18008d09d\n// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary @ 0x1800952e1\n// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromTexture @ 0x180095830\n// > cocos2d::CCNotificationCenter::removeAllObservers @ 0x1800970f4\n// > cocos2d::CCTMXObjectGroup::CCTMXObjectGroup @ 0x1800b10fe\n// > cocos2d::CCTMXMapInfo::internalInit @ 0x1800b31d0\n// > cocos2d::CCTMXMapInfo::internalInit @ 0x1800b31e1\n// > cocos2d::CCKeypadDispatcher::CCKeypadDispatcher @ 0x1800b7fc7\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b7948\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:18 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nstruct cocos2d::CCArray *__fastcall cocos2d::CCArray::create()\n{\n  cocos2d::CCObject *v0; // rax\n  cocos2d::CCObject *v1; // rdi\n\n  v0 = (cocos2d::CCObject *)sub_1800E4AC0(0x40u);\n  v1 = v0;\n  if ( v0 )\n  {\n    cocos2d::CCObject::CCObject(v0);\n    *(_QWORD *)v1 = &cocos2d::CCArray::`vftable';\n    *((_QWORD *)v1 + 7) = 0;\n    sub_1800A16E0((char *)v1 + 56);\n    *((_QWORD *)v1 + 7) = sub_1800A1920(1u);\n  }\n  else\n  {\n    v1 = nullptr;\n  }\n  if ( v1 )\n  {\n    sub_1800A16E0((char *)v1 + 56);\n    *((_QWORD *)v1 + 7) = sub_1800A1920(1u);\n    cocos2d::CCObject::autorelease(v1);\n  }\n  return v1;\n}", "assembly": "; \n; cocos2d::CCArray::create from 0x180006ba0 to 0x180006c29 (137 bytes)\n; \n; 25 xrefs:\n; > cocos2d::CCArray::create @ 0x180006b2f\n; > cocos2d::CCDictionary::allKeys @ 0x180009a3d\n; > cocos2d::CCDictionary::allKeysForObject @ 0x180009a9c\n; > DS_Dictionary::getArrayForKey @ 0x180019a54\n; > DS_Dictionary::getArrayForKey @ 0x180019a5e\n; > cocos2d::CCKeyboardDispatcher::CCKeyboardDispatcher @ 0x180045416\n; > cocos2d::CCMenu::alignItemsInColumns @ 0x18005a200\n; > cocos2d::CCMenu::alignItemsInRows @ 0x18005a6e0\n; > cocos2d::CCMenuItemToggle::createWithTarget @ 0x18005cbcf\n; > cocos2d::CCMenuItemToggle::createWithTarget @ 0x18005cca5\n; > cocos2d::CCMenuItemToggle::initWithItem @ 0x18005ce45\n; > cocos2d::CCMenuItemToggle::initWithTarget @ 0x18005d2b5\n; > cocos2d::CCMouseDispatcher::CCMouseDispatcher @ 0x180062d67\n; > cocos2d::CCAnimation::create @ 0x18008cd85\n; > cocos2d::CCAnimation::init @ 0x18008ce7b\n; > cocos2d::CCAnimation::initWithSpriteFrames @ 0x18008d09d\n; > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary @ 0x1800952e1\n; > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromTexture @ 0x180095830\n; > cocos2d::CCNotificationCenter::removeAllObservers @ 0x1800970f4\n; > cocos2d::CCTMXObjectGroup::CCTMXObjectGroup @ 0x1800b10fe\n; > cocos2d::CCTMXMapInfo::internalInit @ 0x1800b31d0\n; > cocos2d::CCTMXMapInfo::internalInit @ 0x1800b31e1\n; > cocos2d::CCKeypadDispatcher::CCKeypadDispatcher @ 0x1800b7fc7\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b7948\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:18 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180006ba0\npush    rdi                                                            ; +0x5, 0x180006ba5\nsub     rsp, 20h                                                       ; +0x6, 0x180006ba6\nmov     ecx, 40h ; '@'; Size                                           ; +0xa, 0x180006baa\ncall    sub_1800E4AC0                                                  ; +0xf, 0x180006baf\nmov     rdi, rax                                                       ; +0x14, 0x180006bb4\nmov     [rsp+28h+arg_0], rax                                           ; +0x17, 0x180006bb7\ntest    rax, rax                                                       ; +0x1c, 0x180006bbc\njz      short loc_180006BF5                                            ; +0x1f, 0x180006bbf\nmov     rcx, rax; this                                                 ; +0x21, 0x180006bc1\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x24, 0x180006bc4\nnop                                                                    ; +0x29, 0x180006bc9\nlea     rax, ??_7CCArray@cocos2d@@6B@; const cocos2d::CCArray::`vftable' ; +0x2a, 0x180006bca\nmov     [rdi], rax                                                     ; +0x31, 0x180006bd1\nmov     qword ptr [rdi+38h], 0                                         ; +0x34, 0x180006bd4\nlea     rcx, [rdi+38h]                                                 ; +0x3c, 0x180006bdc\ncall    sub_1800A16E0                                                  ; +0x40, 0x180006be0\nmov     ecx, 1; Count                                                  ; +0x45, 0x180006be5\ncall    sub_1800A1920                                                  ; +0x4a, 0x180006bea\nmov     [rdi+38h], rax                                                 ; +0x4f, 0x180006bef\njmp     short loc_180006BF7                                            ; +0x53, 0x180006bf3\nxor     edi, edi                                                       ; +0x55, 0x180006bf5\ntest    rdi, rdi                                                       ; +0x57, 0x180006bf7\njz      short loc_180006C1B                                            ; +0x5a, 0x180006bfa\nlea     rcx, [rdi+38h]                                                 ; +0x5c, 0x180006bfc\ncall    sub_1800A16E0                                                  ; +0x60, 0x180006c00\nmov     ecx, 1; Count                                                  ; +0x65, 0x180006c05\ncall    sub_1800A1920                                                  ; +0x6a, 0x180006c0a\nmov     [rdi+38h], rax                                                 ; +0x6f, 0x180006c0f\nmov     rcx, rdi; this                                                 ; +0x73, 0x180006c13\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x76, 0x180006c16\nmov     rax, rdi                                                       ; +0x7b, 0x180006c1b\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x7e, 0x180006c1e\nadd     rsp, 20h                                                       ; +0x83, 0x180006c23\npop     rdi                                                            ; +0x87, 0x180006c27\nretn                                                                   ; +0x88, 0x180006c28", "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"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}