{"type": "func", "start": 6442900080, "end": 6442900190, "name": "cocos2d::CCEGLViewProtocol::getVisibleOrigin", "pseudocode": "// \n// cocos2d::CCEGLViewProtocol::getVisibleOrigin from 0x18006da70 to 0x18006dade (110 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180106908\n// > <???> @ 0x180107000\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801be158\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:55 +0000\n// \n\nfloat *__fastcall cocos2d::CCEGLViewProtocol::getVisibleOrigin(__int64 a1, float *a2)\n{\n  if ( *(_DWORD *)(a1 + 108) == 1 )\n    kmVec2Fill(\n      a2,\n      (float)(*(float *)(a1 + 24) - (float)(*(float *)(a1 + 16) / *(float *)(a1 + 100))) * 0.5,\n      (float)(*(float *)(a1 + 28) - (float)(*(float *)(a1 + 20) / *(float *)(a1 + 104))) * 0.5);\n  else\n    cocos2d::cc_timeval::operator=(a2, dword_1801B24B8);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCEGLViewProtocol::getVisibleOrigin from 0x18006da70 to 0x18006dade (110 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180106908\n; > <???> @ 0x180107000\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801be158\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:55 +0000\n; \npush    rbx                                                            ; +0x0, 0x18006da70\nsub     rsp, 20h                                                       ; +0x2, 0x18006da72\ncmp     dword ptr [rcx+6Ch], 1                                         ; +0x6, 0x18006da76\nmov     rbx, rdx                                                       ; +0xa, 0x18006da7a\njnz     short loc_18006DAC6                                            ; +0xd, 0x18006da7d\nmovss   xmm0, dword ptr [rcx+14h]                                      ; +0xf, 0x18006da7f\ndivss   xmm0, dword ptr [rcx+68h]                                      ; +0x14, 0x18006da84\nmovss   xmm2, dword ptr [rcx+1Ch]                                      ; +0x19, 0x18006da89\nmovss   xmm1, dword ptr [rcx+18h]                                      ; +0x1e, 0x18006da8e\nsubss   xmm2, xmm0                                                     ; +0x23, 0x18006da93\nmovss   xmm0, dword ptr [rcx+10h]                                      ; +0x27, 0x18006da97\ndivss   xmm0, dword ptr [rcx+64h]                                      ; +0x2c, 0x18006da9c\nmov     rcx, rdx                                                       ; +0x31, 0x18006daa1\nmulss   xmm2, cs:dword_1800EC358                                       ; +0x34, 0x18006daa4\nsubss   xmm1, xmm0                                                     ; +0x3c, 0x18006daac\nmulss   xmm1, cs:dword_1800EC358                                       ; +0x40, 0x18006dab0\ncall    kmVec2Fill                                                     ; +0x48, 0x18006dab8\nmov     rax, rbx                                                       ; +0x4d, 0x18006dabd\nadd     rsp, 20h                                                       ; +0x50, 0x18006dac0\npop     rbx                                                            ; +0x54, 0x18006dac4\nretn                                                                   ; +0x55, 0x18006dac5\nlea     rdx, dword_1801B24B8                                           ; +0x56, 0x18006dac6\nmov     rcx, rbx                                                       ; +0x5d, 0x18006dacd\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x60, 0x18006dad0\nmov     rax, rbx                                                       ; +0x65, 0x18006dad5\nadd     rsp, 20h                                                       ; +0x68, 0x18006dad8\npop     rbx                                                            ; +0x6c, 0x18006dadc\nretn                                                                   ; +0x6d, 0x18006dadd", "xrefs": ["<???> @ 0x180106908", "<???> @ 0x180107000", "<???> @ 0x18014cf68", "<???> @ 0x1801be158"], "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"}