{"type": "func", "start": 6442596960, "end": 6442597032, "name": "cocos2d::CCGrid3D::vertex", "pseudocode": "// \n// cocos2d::CCGrid3D::vertex from 0x180023a60 to 0x180023aa8 (72 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCGrid3DAction::vertex @ 0x18002b746\n// > <???> @ 0x1801438a8\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\nstruct cocos2d::_ccVertex3F *__fastcall cocos2d::CCGrid3D::vertex(\n        cocos2d::CCGrid3D *this,\n        struct cocos2d::_ccVertex3F *retstr,\n        const struct cocos2d::CCPoint *a3)\n{\n  *retstr = *(struct cocos2d::_ccVertex3F *)(*((_QWORD *)this + 16)\n                                           + 4LL\n                                           * (int)(float)((float)((float)((float)(this->m_sGridSize.height + 1.0) * a3->x)\n                                                                + a3->y)\n                                                        * 3.0));\n  return retstr;\n}", "assembly": "; \n; cocos2d::CCGrid3D::vertex from 0x180023a60 to 0x180023aa8 (72 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCGrid3DAction::vertex @ 0x18002b746\n; > <???> @ 0x1801438a8\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\nmov     r9, [rcx+80h]                                                  ; +0x0, 0x180023a60\nmovss   xmm0, dword ptr [rcx+44h]                                      ; +0x7, 0x180023a67\naddss   xmm0, cs:flt_1800E61A8                                         ; +0xc, 0x180023a6c\nmulss   xmm0, dword ptr [r8]                                           ; +0x14, 0x180023a74\naddss   xmm0, dword ptr [r8+4]                                         ; +0x19, 0x180023a79\nmulss   xmm0, cs:flt_1800E6700                                         ; +0x1f, 0x180023a7f\ncvttss2si eax, xmm0                                                    ; +0x27, 0x180023a87\nmovsxd  rcx, eax                                                       ; +0x2b, 0x180023a8b\nmov     eax, [r9+rcx*4]                                                ; +0x2e, 0x180023a8e\nmov     [rdx], eax                                                     ; +0x32, 0x180023a92\nmov     eax, [r9+rcx*4+4]                                              ; +0x34, 0x180023a94\nmov     [rdx+4], eax                                                   ; +0x39, 0x180023a99\nmov     eax, [r9+rcx*4+8]                                              ; +0x3c, 0x180023a9c\nmov     [rdx+8], eax                                                   ; +0x41, 0x180023aa1\nmov     rax, rdx                                                       ; +0x44, 0x180023aa4\nretn                                                                   ; +0x47, 0x180023aa7", "xrefs": ["cocos2d::CCGrid3DAction::vertex @ 0x18002b746", "<???> @ 0x1801438a8"], "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"}