{"type": "func", "start": 6442479840, "end": 6442479887, "name": "cocos2d::CCArray::initWithCapacity", "pseudocode": "// \n// cocos2d::CCArray::initWithCapacity from 0x1800070e0 to 0x18000710f (47 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCParticleBatchNode::addChildHelper @ 0x180063680\n// > cocos2d::CCParticleBatchNode::initWithTexture @ 0x180063b80\n// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x180091957\n// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x180091987\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b79b4\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\nchar __fastcall cocos2d::CCArray::initWithCapacity(cocos2d::CCArray *this, unsigned int a2)\n{\n  _QWORD *v2; // rdi\n\n  v2 = (_QWORD *)((char *)this + 56);\n  sub_1800A16E0((char *)this + 56);\n  *v2 = sub_1800A1920(a2);\n  return 1;\n}", "assembly": "; \n; cocos2d::CCArray::initWithCapacity from 0x1800070e0 to 0x18000710f (47 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCParticleBatchNode::addChildHelper @ 0x180063680\n; > cocos2d::CCParticleBatchNode::initWithTexture @ 0x180063b80\n; > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x180091957\n; > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x180091987\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b79b4\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_0], rbx                                               ; +0x0, 0x1800070e0\npush    rdi                                                            ; +0x5, 0x1800070e5\nsub     rsp, 20h                                                       ; +0x6, 0x1800070e6\nlea     rdi, [rcx+38h]                                                 ; +0xa, 0x1800070ea\nmov     ebx, edx                                                       ; +0xe, 0x1800070ee\nmov     rcx, rdi                                                       ; +0x10, 0x1800070f0\ncall    sub_1800A16E0                                                  ; +0x13, 0x1800070f3\nmov     ecx, ebx; Count                                                ; +0x18, 0x1800070f8\ncall    sub_1800A1920                                                  ; +0x1a, 0x1800070fa\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x1f, 0x1800070ff\nmov     [rdi], rax                                                     ; +0x24, 0x180007104\nmov     al, 1                                                          ; +0x27, 0x180007107\nadd     rsp, 20h                                                       ; +0x29, 0x180007109\npop     rdi                                                            ; +0x2d, 0x18000710d\nretn                                                                   ; +0x2e, 0x18000710e", "xrefs": ["cocos2d::CCParticleBatchNode::addChildHelper @ 0x180063680", "cocos2d::CCParticleBatchNode::initWithTexture @ 0x180063b80", "cocos2d::CCSpriteBatchNode::initWithTexture @ 0x180091957", "cocos2d::CCSpriteBatchNode::initWithTexture @ 0x180091987", "<???> @ 0x18014cf68", "<???> @ 0x1801b79b4"], "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"}