{"type": "func", "start": 6442597520, "end": 6442597592, "name": "cocos2d::CCGrid3D::originalVertex", "pseudocode": "// \n// cocos2d::CCGrid3D::originalVertex from 0x180023c90 to 0x180023cd8 (72 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCGrid3DAction::originalVertex @ 0x18002b9d6\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\n_DWORD *__fastcall cocos2d::CCGrid3D::originalVertex(__int64 a1, _DWORD *a2, float *a3)\n{\n  __int64 v3; // r9\n  __int64 v4; // rcx\n\n  v3 = *(_QWORD *)(a1 + 136);\n  v4 = (int)(float)((float)((float)((float)(*(float *)(a1 + 68) + 1.0) * *a3) + a3[1]) * 3.0);\n  *a2 = *(_DWORD *)(v3 + 4 * v4);\n  a2[1] = *(_DWORD *)(v3 + 4 * v4 + 4);\n  a2[2] = *(_DWORD *)(v3 + 4 * v4 + 8);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCGrid3D::originalVertex from 0x180023c90 to 0x180023cd8 (72 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCGrid3DAction::originalVertex @ 0x18002b9d6\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; \nmov     r9, [rcx+88h]                                                  ; +0x0, 0x180023c90\nmovss   xmm0, dword ptr [rcx+44h]                                      ; +0x7, 0x180023c97\naddss   xmm0, cs:flt_1800EC208                                         ; +0xc, 0x180023c9c\nmulss   xmm0, dword ptr [r8]                                           ; +0x14, 0x180023ca4\naddss   xmm0, dword ptr [r8+4]                                         ; +0x19, 0x180023ca9\nmulss   xmm0, cs:Y                                                     ; +0x1f, 0x180023caf\ncvttss2si eax, xmm0                                                    ; +0x27, 0x180023cb7\nmovsxd  rcx, eax                                                       ; +0x2b, 0x180023cbb\nmov     eax, [r9+rcx*4]                                                ; +0x2e, 0x180023cbe\nmov     [rdx], eax                                                     ; +0x32, 0x180023cc2\nmov     eax, [r9+rcx*4+4]                                              ; +0x34, 0x180023cc4\nmov     [rdx+4], eax                                                   ; +0x39, 0x180023cc9\nmov     eax, [r9+rcx*4+8]                                              ; +0x3c, 0x180023ccc\nmov     [rdx+8], eax                                                   ; +0x41, 0x180023cd1\nmov     rax, rdx                                                       ; +0x44, 0x180023cd4\nretn                                                                   ; +0x47, 0x180023cd7", "xrefs": ["cocos2d::CCGrid3DAction::originalVertex @ 0x18002b9d6", "<???> @ 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"}