{"type": "func", "start": 6442608720, "end": 6442608775, "name": "cocos2d::CCPointArray::replaceControlPoint", "pseudocode": "// \n// cocos2d::CCPointArray::replaceControlPoint from 0x180026850 to 0x180026887 (55 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b94cc\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\nvoid __fastcall cocos2d::CCPointArray::replaceControlPoint(\n        cocos2d::CCPointArray *this,\n        struct cocos2d::CCPoint *a2,\n        unsigned int a3)\n{\n  _QWORD *v3; // rax\n  _DWORD *v4; // rcx\n\n  v3 = *((_QWORD **)this + 7);\n  if ( (__int64)(v3[1] - *v3) >> 3 <= (unsigned __int64)a3 )\n    std::vector<void *>::_Xlen();\n  v4 = *(_DWORD **)(*v3 + 8LL * a3);\n  *v4 = *(_DWORD *)a2;\n  v4[1] = *((_DWORD *)a2 + 1);\n}", "assembly": "; \n; cocos2d::CCPointArray::replaceControlPoint from 0x180026850 to 0x180026887 (55 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b94cc\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; \nsub     rsp, 28h                                                       ; +0x0, 0x180026850\nmov     rax, [rcx+38h]                                                 ; +0x4, 0x180026854\nmov     r10d, r8d                                                      ; +0x8, 0x180026858\nmov     r9, [rax]                                                      ; +0xb, 0x18002685b\nmov     rcx, [rax+8]                                                   ; +0xe, 0x18002685e\nsub     rcx, r9                                                        ; +0x12, 0x180026862\nsar     rcx, 3                                                         ; +0x15, 0x180026865\ncmp     rcx, r10                                                       ; +0x19, 0x180026869\njbe     short loc_180026881                                            ; +0x1c, 0x18002686c\nmov     eax, [rdx]                                                     ; +0x1e, 0x18002686e\nmov     rcx, [r9+r10*8]                                                ; +0x20, 0x180026870\nmov     [rcx], eax                                                     ; +0x24, 0x180026874\nmov     eax, [rdx+4]                                                   ; +0x26, 0x180026876\nmov     [rcx+4], eax                                                   ; +0x29, 0x180026879\nadd     rsp, 28h                                                       ; +0x2c, 0x18002687c\nretn                                                                   ; +0x30, 0x180026880\ncall    ?_Xlen@?$vector@PEAXV?$allocator@PEAX@std@@@std@@IEBAXXZ_3; std::vector<void *>::_Xlen(void) ; +0x31, 0x180026881\ndb 0CCh                                                                ; +0x36, 0x180026886", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b94cc"], "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"}