{"type": "func", "start": 6442606128, "end": 6442606251, "name": "cocos2d::CCPointArray::create", "pseudocode": "// \n// cocos2d::CCPointArray::create from 0x180025e30 to 0x180025eab (123 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af364\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\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  cocos2d::CCObject_vtbl *v2; // rax\n\n  v0 = (cocos2d::CCObject *)operator new(0x40u);\n  v1 = v0;\n  if ( v0 )\n  {\n    cocos2d::CCObject::CCObject(v0);\n    v1->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCPointArray::`vftable';\n    v1[1].__vftable = nullptr;\n  }\n  else\n  {\n    v1 = nullptr;\n  }\n  if ( v1 )\n  {\n    v2 = (cocos2d::CCObject_vtbl *)operator new(0x18u);\n    if ( v2 )\n    {\n      v2->copyWithZone = nullptr;\n      v2->~CCObject = nullptr;\n      v2->isEqual = nullptr;\n    }\n    v1[1].__vftable = v2;\n    cocos2d::CCObject::autorelease(v1);\n  }\n  return (struct cocos2d::CCPointArray *)v1;\n}", "assembly": "; \n; cocos2d::CCPointArray::create from 0x180025e30 to 0x180025eab (123 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af364\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, 0x180025e30\nsub     rsp, 20h                                                       ; +0x2, 0x180025e32\nmov     ecx, 40h ; '@'; Size                                           ; +0x6, 0x180025e36\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x180025e3b\nmov     rbx, rax                                                       ; +0x10, 0x180025e40\nmov     [rsp+28h+arg_8], rax                                           ; +0x13, 0x180025e43\ntest    rax, rax                                                       ; +0x18, 0x180025e48\njz      short loc_180025E69                                            ; +0x1b, 0x180025e4b\nmov     rcx, rax; this                                                 ; +0x1d, 0x180025e4d\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x20, 0x180025e50\nlea     rax, ??_7CCPointArray@cocos2d@@6B@; const cocos2d::CCPointArray::`vftable' ; +0x25, 0x180025e55\nmov     [rbx], rax                                                     ; +0x2c, 0x180025e5c\nmov     qword ptr [rbx+38h], 0                                         ; +0x2f, 0x180025e5f\njmp     short loc_180025E6B                                            ; +0x37, 0x180025e67\nxor     ebx, ebx                                                       ; +0x39, 0x180025e69\ntest    rbx, rbx                                                       ; +0x3b, 0x180025e6b\njz      short loc_180025EA2                                            ; +0x3e, 0x180025e6e\nmov     ecx, 18h; Size                                                 ; +0x40, 0x180025e70\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x45, 0x180025e75\ntest    rax, rax                                                       ; +0x4a, 0x180025e7a\njz      short loc_180025E96                                            ; +0x4d, 0x180025e7d\nmov     qword ptr [rax], 0                                             ; +0x4f, 0x180025e7f\nmov     qword ptr [rax+8], 0                                           ; +0x56, 0x180025e86\nmov     qword ptr [rax+10h], 0                                         ; +0x5e, 0x180025e8e\nmov     [rbx+38h], rax                                                 ; +0x66, 0x180025e96\nmov     rcx, rbx; this                                                 ; +0x6a, 0x180025e9a\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x6d, 0x180025e9d\nmov     rax, rbx                                                       ; +0x72, 0x180025ea2\nadd     rsp, 20h                                                       ; +0x75, 0x180025ea5\npop     rbx                                                            ; +0x79, 0x180025ea9\nretn                                                                   ; +0x7a, 0x180025eaa", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801af364"], "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"}