{"type": "func", "start": 6442606368, "end": 6442606429, "name": "cocos2d::CCPointArray::initWithCapacity", "pseudocode": "// \n// cocos2d::CCPointArray::initWithCapacity from 0x180025f20 to 0x180025f5d (61 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af37c\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::CCPointArray::initWithCapacity(cocos2d::CCPointArray *this)\n{\n  _QWORD *v2; // rax\n\n  v2 = operator new(0x18u);\n  if ( v2 )\n  {\n    *v2 = 0;\n    v2[1] = 0;\n    v2[2] = 0;\n    *((_QWORD *)this + 7) = v2;\n  }\n  else\n  {\n    *((_QWORD *)this + 7) = 0;\n  }\n  return 1;\n}", "assembly": "; \n; cocos2d::CCPointArray::initWithCapacity from 0x180025f20 to 0x180025f5d (61 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af37c\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\npush    rbx                                                            ; +0x0, 0x180025f20\nsub     rsp, 20h                                                       ; +0x2, 0x180025f22\nmov     rbx, rcx                                                       ; +0x6, 0x180025f26\nmov     ecx, 18h; Size                                                 ; +0x9, 0x180025f29\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xe, 0x180025f2e\nxor     edx, edx                                                       ; +0x13, 0x180025f33\ntest    rax, rax                                                       ; +0x15, 0x180025f35\njz      short loc_180025F51                                            ; +0x18, 0x180025f38\nmov     [rax], rdx                                                     ; +0x1a, 0x180025f3a\nmov     [rax+8], rdx                                                   ; +0x1d, 0x180025f3d\nmov     [rax+10h], rdx                                                 ; +0x21, 0x180025f41\nmov     [rbx+38h], rax                                                 ; +0x25, 0x180025f45\nmov     al, 1                                                          ; +0x29, 0x180025f49\nadd     rsp, 20h                                                       ; +0x2b, 0x180025f4b\npop     rbx                                                            ; +0x2f, 0x180025f4f\nretn                                                                   ; +0x30, 0x180025f50\nmov     [rbx+38h], rdx                                                 ; +0x31, 0x180025f51\nmov     al, 1                                                          ; +0x35, 0x180025f55\nadd     rsp, 20h                                                       ; +0x37, 0x180025f57\npop     rbx                                                            ; +0x3b, 0x180025f5b\nretn                                                                   ; +0x3c, 0x180025f5c", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801af37c"], "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"}