{"type": "func", "start": 6442479504, "end": 6442479551, "name": "cocos2d::CCArray::initWithCapacity", "pseudocode": "// \n// cocos2d::CCArray::initWithCapacity from 0x180006f90 to 0x180006fbf (47 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCParticleBatchNode::addChildHelper @ 0x180061270\n// > cocos2d::CCParticleBatchNode::initWithTexture @ 0x180061770\n// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x18008e726\n// > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x18008e756\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad990\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nchar __fastcall cocos2d::CCArray::initWithCapacity(cocos2d::CCArray *this, unsigned int a2)\n{\n  cocos2d::ccArray **p_data; // rdi\n\n  p_data = &this->data;\n  sub_18009DA50(&this->data);\n  *p_data = (cocos2d::ccArray *)sub_18009DC90(a2);\n  return 1;\n}", "assembly": "; \n; cocos2d::CCArray::initWithCapacity from 0x180006f90 to 0x180006fbf (47 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCParticleBatchNode::addChildHelper @ 0x180061270\n; > cocos2d::CCParticleBatchNode::initWithTexture @ 0x180061770\n; > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x18008e726\n; > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x18008e756\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad990\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180006f90\npush    rdi                                                            ; +0x5, 0x180006f95\nsub     rsp, 20h                                                       ; +0x6, 0x180006f96\nlea     rdi, [rcx+38h]                                                 ; +0xa, 0x180006f9a\nmov     ebx, edx                                                       ; +0xe, 0x180006f9e\nmov     rcx, rdi                                                       ; +0x10, 0x180006fa0\ncall    sub_18009DA50                                                  ; +0x13, 0x180006fa3\nmov     ecx, ebx; Count                                                ; +0x18, 0x180006fa8\ncall    sub_18009DC90                                                  ; +0x1a, 0x180006faa\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x1f, 0x180006faf\nmov     [rdi], rax                                                     ; +0x24, 0x180006fb4\nmov     al, 1                                                          ; +0x27, 0x180006fb7\nadd     rsp, 20h                                                       ; +0x29, 0x180006fb9\npop     rdi                                                            ; +0x2d, 0x180006fbd\nretn                                                                   ; +0x2e, 0x180006fbe", "xrefs": ["cocos2d::CCParticleBatchNode::addChildHelper @ 0x180061270", "cocos2d::CCParticleBatchNode::initWithTexture @ 0x180061770", "cocos2d::CCSpriteBatchNode::initWithTexture @ 0x18008e726", "cocos2d::CCSpriteBatchNode::initWithTexture @ 0x18008e756", "<???> @ 0x1801438a8", "<???> @ 0x1801ad990"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}