{"type": "func", "start": 6442607920, "end": 6442608043, "name": "cocos2d::CCPointArray::create", "pseudocode": "// \n// cocos2d::CCPointArray::create from 0x180026530 to 0x1800265ab (123 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b9478\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:30 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCPointArray *__fastcall cocos2d::CCPointArray::create()\n{\n  cocos2d::CCObject *v0; // rax\n  cocos2d::CCObject *v1; // rbx\n  _QWORD *v2; // rax\n\n  v0 = (cocos2d::CCObject *)sub_1800E4AC0(0x40u);\n  v1 = v0;\n  if ( v0 )\n  {\n    cocos2d::CCObject::CCObject(v0);\n    *(_QWORD *)v1 = &cocos2d::CCPointArray::`vftable';\n    *((_QWORD *)v1 + 7) = 0;\n  }\n  else\n  {\n    v1 = nullptr;\n  }\n  if ( v1 )\n  {\n    v2 = (_QWORD *)sub_1800E4AC0(0x18u);\n    if ( v2 )\n    {\n      *v2 = 0;\n      v2[1] = 0;\n      v2[2] = 0;\n    }\n    *((_QWORD *)v1 + 7) = v2;\n    cocos2d::CCObject::autorelease(v1);\n  }\n  return v1;\n}", "assembly": "; \n; cocos2d::CCPointArray::create from 0x180026530 to 0x1800265ab (123 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b9478\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:30 +0000\n; \npush    rbx                                                            ; +0x0, 0x180026530\nsub     rsp, 20h                                                       ; +0x2, 0x180026532\nmov     ecx, 40h ; '@'; Size                                           ; +0x6, 0x180026536\ncall    sub_1800E4AC0                                                  ; +0xb, 0x18002653b\nmov     rbx, rax                                                       ; +0x10, 0x180026540\nmov     [rsp+28h+arg_8], rax                                           ; +0x13, 0x180026543\ntest    rax, rax                                                       ; +0x18, 0x180026548\njz      short loc_180026569                                            ; +0x1b, 0x18002654b\nmov     rcx, rax; this                                                 ; +0x1d, 0x18002654d\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x20, 0x180026550\nlea     rax, ??_7CCPointArray@cocos2d@@6B@; const cocos2d::CCPointArray::`vftable' ; +0x25, 0x180026555\nmov     [rbx], rax                                                     ; +0x2c, 0x18002655c\nmov     qword ptr [rbx+38h], 0                                         ; +0x2f, 0x18002655f\njmp     short loc_18002656B                                            ; +0x37, 0x180026567\nxor     ebx, ebx                                                       ; +0x39, 0x180026569\ntest    rbx, rbx                                                       ; +0x3b, 0x18002656b\njz      short loc_1800265A2                                            ; +0x3e, 0x18002656e\nmov     ecx, 18h; Size                                                 ; +0x40, 0x180026570\ncall    sub_1800E4AC0                                                  ; +0x45, 0x180026575\ntest    rax, rax                                                       ; +0x4a, 0x18002657a\njz      short loc_180026596                                            ; +0x4d, 0x18002657d\nmov     qword ptr [rax], 0                                             ; +0x4f, 0x18002657f\nmov     qword ptr [rax+8], 0                                           ; +0x56, 0x180026586\nmov     qword ptr [rax+10h], 0                                         ; +0x5e, 0x18002658e\nmov     [rbx+38h], rax                                                 ; +0x66, 0x180026596\nmov     rcx, rbx; this                                                 ; +0x6a, 0x18002659a\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x6d, 0x18002659d\nmov     rax, rbx                                                       ; +0x72, 0x1800265a2\nadd     rsp, 20h                                                       ; +0x75, 0x1800265a5\npop     rbx                                                            ; +0x79, 0x1800265a9\nretn                                                                   ; +0x7a, 0x1800265aa", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b9478"], "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"}