{"type": "func", "start": 6442598160, "end": 6442598230, "name": "cocos2d::CCGrid3D::setVertex", "pseudocode": "// \n// cocos2d::CCGrid3D::setVertex from 0x180023f10 to 0x180023f56 (70 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCGrid3DAction::setVertex @ 0x18002bb00\n// > <???> @ 0x18014cf68\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:29 +0000\n// \n\nvoid __fastcall cocos2d::CCGrid3D::setVertex(\n        cocos2d::CCGrid3D *this,\n        const struct cocos2d::CCPoint *a2,\n        const struct cocos2d::_ccVertex3F *a3)\n{\n  __int64 v3; // r9\n  __int64 v4; // rcx\n\n  v3 = *((_QWORD *)this + 16);\n  v4 = (int)(float)((float)((float)((float)(*((float *)this + 17) + 1.0) * *(float *)a2) + *((float *)a2 + 1)) * 3.0);\n  *(_DWORD *)(v3 + 4 * v4) = *(_DWORD *)a3;\n  *(_DWORD *)(v3 + 4 * v4 + 4) = *((_DWORD *)a3 + 1);\n  *(_DWORD *)(v3 + 4 * v4 + 8) = *((_DWORD *)a3 + 2);\n}", "assembly": "; \n; cocos2d::CCGrid3D::setVertex from 0x180023f10 to 0x180023f56 (70 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCGrid3DAction::setVertex @ 0x18002bb00\n; > <???> @ 0x18014cf68\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:29 +0000\n; \nmovss   xmm0, dword ptr [rcx+44h]                                      ; +0x0, 0x180023f10\nmov     r9, [rcx+80h]                                                  ; +0x5, 0x180023f15\naddss   xmm0, cs:flt_1800EC208                                         ; +0xc, 0x180023f1c\nmulss   xmm0, dword ptr [rdx]                                          ; +0x14, 0x180023f24\naddss   xmm0, dword ptr [rdx+4]                                        ; +0x18, 0x180023f28\nmulss   xmm0, cs:Y                                                     ; +0x1d, 0x180023f2d\ncvttss2si eax, xmm0                                                    ; +0x25, 0x180023f35\nmovsxd  rcx, eax                                                       ; +0x29, 0x180023f39\nmov     eax, [r8]                                                      ; +0x2c, 0x180023f3c\nmov     [r9+rcx*4], eax                                                ; +0x2f, 0x180023f3f\nmov     eax, [r8+4]                                                    ; +0x33, 0x180023f43\nmov     [r9+rcx*4+4], eax                                              ; +0x37, 0x180023f47\nmov     eax, [r8+8]                                                    ; +0x3c, 0x180023f4c\nmov     [r9+rcx*4+8], eax                                              ; +0x40, 0x180023f50\nretn                                                                   ; +0x45, 0x180023f55", "xrefs": ["cocos2d::CCGrid3DAction::setVertex @ 0x18002bb00", "<???> @ 0x18014cf68"], "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"}