{"type": "func", "start": 6442891520, "end": 6442891593, "name": "cocos2d::CCEGLViewProtocol::getVisibleSize", "pseudocode": "// \n// cocos2d::CCEGLViewProtocol::getVisibleSize from 0x18006b900 to 0x18006b949 (73 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1801002b0\n// > <???> @ 0x1801008e0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b3e10\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\nfloat *__fastcall cocos2d::CCEGLViewProtocol::getVisibleSize(cocos2d::CCEGLViewProtocol *this, float *a2)\n{\n  if ( this->m_eResolutionPolicy == kResolutionNoBorder )\n    kmVec2Fill(a2, this->m_obScreenSize.width / this->m_fScaleX, this->m_obScreenSize.height / this->m_fScaleY);\n  else\n    cocos2d::cc_timeval::operator=(a2, &this->m_obDesignResolutionSize);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCEGLViewProtocol::getVisibleSize from 0x18006b900 to 0x18006b949 (73 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1801002b0\n; > <???> @ 0x1801008e0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b3e10\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\npush    rbx                                                            ; +0x0, 0x18006b900\nsub     rsp, 20h                                                       ; +0x2, 0x18006b902\ncmp     dword ptr [rcx+6Ch], 1                                         ; +0x6, 0x18006b906\nmov     rbx, rdx                                                       ; +0xa, 0x18006b90a\njnz     short loc_18006B934                                            ; +0xd, 0x18006b90d\nmovss   xmm2, dword ptr [rcx+14h]                                      ; +0xf, 0x18006b90f\nmovss   xmm1, dword ptr [rcx+10h]                                      ; +0x14, 0x18006b914\ndivss   xmm2, dword ptr [rcx+68h]                                      ; +0x19, 0x18006b919\ndivss   xmm1, dword ptr [rcx+64h]                                      ; +0x1e, 0x18006b91e\nmov     rcx, rdx                                                       ; +0x23, 0x18006b923\ncall    kmVec2Fill                                                     ; +0x26, 0x18006b926\nmov     rax, rbx                                                       ; +0x2b, 0x18006b92b\nadd     rsp, 20h                                                       ; +0x2e, 0x18006b92e\npop     rbx                                                            ; +0x32, 0x18006b932\nretn                                                                   ; +0x33, 0x18006b933\nlea     rdx, [rcx+18h]                                                 ; +0x34, 0x18006b934\nmov     rcx, rbx                                                       ; +0x38, 0x18006b938\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x3b, 0x18006b93b\nmov     rax, rbx                                                       ; +0x40, 0x18006b940\nadd     rsp, 20h                                                       ; +0x43, 0x18006b943\npop     rbx                                                            ; +0x47, 0x18006b947\nretn                                                                   ; +0x48, 0x18006b948", "xrefs": ["<???> @ 0x1801002b0", "<???> @ 0x1801008e0", "<???> @ 0x1801438a8", "<???> @ 0x1801b3e10"], "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"}