{"type": "func", "start": 6442596160, "end": 6442596232, "name": "cocos2d::CCGrid3D::originalVertex", "pseudocode": "// \n// cocos2d::CCGrid3D::originalVertex from 0x180023740 to 0x180023788 (72 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCGrid3DAction::originalVertex @ 0x18002b316\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::originalVertex(\n        cocos2d::CCGrid3D *this,\n        struct cocos2d::_ccVertex3F *retstr,\n        const struct cocos2d::CCPoint *a3)\n{\n  *retstr = *(struct cocos2d::_ccVertex3F *)(*((_QWORD *)this + 17)\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::originalVertex from 0x180023740 to 0x180023788 (72 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCGrid3DAction::originalVertex @ 0x18002b316\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+88h]                                                  ; +0x0, 0x180023740\nmovss   xmm0, dword ptr [rcx+44h]                                      ; +0x7, 0x180023747\naddss   xmm0, cs:flt_1800E61A8                                         ; +0xc, 0x18002374c\nmulss   xmm0, dword ptr [r8]                                           ; +0x14, 0x180023754\naddss   xmm0, dword ptr [r8+4]                                         ; +0x19, 0x180023759\nmulss   xmm0, cs:flt_1800E6700                                         ; +0x1f, 0x18002375f\ncvttss2si eax, xmm0                                                    ; +0x27, 0x180023767\nmovsxd  rcx, eax                                                       ; +0x2b, 0x18002376b\nmov     eax, [r9+rcx*4]                                                ; +0x2e, 0x18002376e\nmov     [rdx], eax                                                     ; +0x32, 0x180023772\nmov     eax, [r9+rcx*4+4]                                              ; +0x34, 0x180023774\nmov     [rdx+4], eax                                                   ; +0x39, 0x180023779\nmov     eax, [r9+rcx*4+8]                                              ; +0x3c, 0x18002377c\nmov     [rdx+8], eax                                                   ; +0x41, 0x180023781\nmov     rax, rdx                                                       ; +0x44, 0x180023784\nretn                                                                   ; +0x47, 0x180023787", "xrefs": ["cocos2d::CCGrid3DAction::originalVertex @ 0x18002b316", "<???> @ 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"}