{"type": "func", "start": 6442948864, "end": 6442948965, "name": "cocos2d::CCEGLView::getMousePosition", "pseudocode": "// \n// cocos2d::CCEGLView::getMousePosition from 0x180079900 to 0x180079965 (101 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180107070\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bebfc\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:59 +0000\n// \n\nfloat *__fastcall cocos2d::CCEGLView::getMousePosition(float *a1, float *a2)\n{\n  float v2; // xmm3_4\n  float v4; // xmm0_4\n\n  v2 = a1[25];\n  v4 = 1.0;\n  if ( v2 == 0.0 )\n    v2 = 1.0;\n  if ( a1[26] != 0.0 )\n    v4 = a1[26];\n  kmVec2Fill(a2, (float)(a1[56] - a1[8]) / v2, (float)(a1[57] - a1[9]) / v4);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCEGLView::getMousePosition from 0x180079900 to 0x180079965 (101 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180107070\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bebfc\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:59 +0000\n; \npush    rbx                                                            ; +0x0, 0x180079900\nsub     rsp, 20h                                                       ; +0x2, 0x180079902\nmovss   xmm3, dword ptr [rcx+64h]                                      ; +0x6, 0x180079906\nxorps   xmm2, xmm2                                                     ; +0xb, 0x18007990b\nucomiss xmm3, xmm2                                                     ; +0xe, 0x18007990e\nmov     rbx, rdx                                                       ; +0x11, 0x180079911\nmovss   xmm0, cs:flt_1800EC208                                         ; +0x14, 0x180079914\njp      short loc_180079923                                            ; +0x1c, 0x18007991c\njnz     short loc_180079923                                            ; +0x1e, 0x18007991e\nmovaps  xmm3, xmm0                                                     ; +0x20, 0x180079920\nmovss   xmm1, dword ptr [rcx+68h]                                      ; +0x23, 0x180079923\nucomiss xmm1, xmm2                                                     ; +0x28, 0x180079928\njp      short loc_18007992F                                            ; +0x2b, 0x18007992b\njz      short loc_180079932                                            ; +0x2d, 0x18007992d\nmovaps  xmm0, xmm1                                                     ; +0x2f, 0x18007992f\nmovss   xmm2, dword ptr [rcx+0E4h]                                     ; +0x32, 0x180079932\nmovss   xmm1, dword ptr [rcx+0E0h]                                     ; +0x3a, 0x18007993a\nsubss   xmm2, dword ptr [rcx+24h]                                      ; +0x42, 0x180079942\nsubss   xmm1, dword ptr [rcx+20h]                                      ; +0x47, 0x180079947\nmov     rcx, rbx                                                       ; +0x4c, 0x18007994c\ndivss   xmm2, xmm0                                                     ; +0x4f, 0x18007994f\ndivss   xmm1, xmm3                                                     ; +0x53, 0x180079953\ncall    kmVec2Fill                                                     ; +0x57, 0x180079957\nmov     rax, rbx                                                       ; +0x5c, 0x18007995c\nadd     rsp, 20h                                                       ; +0x5f, 0x18007995f\npop     rbx                                                            ; +0x63, 0x180079963\nretn                                                                   ; +0x64, 0x180079964", "xrefs": ["<???> @ 0x180107070", "<???> @ 0x18014cf68", "<???> @ 0x1801bebfc"], "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"}