{"type": "func", "start": 6442606912, "end": 6442606967, "name": "cocos2d::CCPointArray::replaceControlPoint", "pseudocode": "// \n// cocos2d::CCPointArray::replaceControlPoint from 0x180026140 to 0x180026177 (55 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af3b8\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\nvoid __fastcall cocos2d::CCPointArray::replaceControlPoint(\n        cocos2d::CCPointArray *this,\n        struct cocos2d::CCPoint *a2,\n        unsigned int a3)\n{\n  _QWORD *v3; // rax\n\n  v3 = *((_QWORD **)this + 7);\n  if ( (__int64)(v3[1] - *v3) >> 3 <= (unsigned __int64)a3 )\n    std::vector<void *>::_Xlen();\n  **(struct cocos2d::CCPoint **)(*v3 + 8LL * a3) = *a2;\n}", "assembly": "; \n; cocos2d::CCPointArray::replaceControlPoint from 0x180026140 to 0x180026177 (55 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af3b8\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\nsub     rsp, 28h                                                       ; +0x0, 0x180026140\nmov     rax, [rcx+38h]                                                 ; +0x4, 0x180026144\nmov     r9d, r8d                                                       ; +0x8, 0x180026148\nmov     r8, [rax]                                                      ; +0xb, 0x18002614b\nmov     rcx, [rax+8]                                                   ; +0xe, 0x18002614e\nsub     rcx, r8                                                        ; +0x12, 0x180026152\nsar     rcx, 3                                                         ; +0x15, 0x180026155\ncmp     rcx, r9                                                        ; +0x19, 0x180026159\njbe     short loc_180026171                                            ; +0x1c, 0x18002615c\nmov     eax, [rdx]                                                     ; +0x1e, 0x18002615e\nmov     rcx, [r8+r9*8]                                                 ; +0x20, 0x180026160\nmov     [rcx], eax                                                     ; +0x24, 0x180026164\nmov     eax, [rdx+4]                                                   ; +0x26, 0x180026166\nmov     [rcx+4], eax                                                   ; +0x29, 0x180026169\nadd     rsp, 28h                                                       ; +0x2c, 0x18002616c\nretn                                                                   ; +0x30, 0x180026170\ncall    ?_Xlen@?$vector@PEAXV?$allocator@PEAX@std@@@std@@IEBAXXZ_3; std::vector<void *>::_Xlen(void) ; +0x31, 0x180026171\ndb 0CCh                                                                ; +0x36, 0x180026176", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801af3b8"], "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"}