{"type": "func", "start": 6443230864, "end": 6443230924, "name": "cocos2d::CCDirector::getVisibleOrigin", "pseudocode": "// \n// cocos2d::CCDirector::getVisibleOrigin from 0x1800be690 to 0x1800be6cc (60 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b91c8\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\n_DWORD *__fastcall cocos2d::CCDirector::getVisibleOrigin(cocos2d::CCDirector *this, _DWORD *a2)\n{\n  cocos2d::CCEGLView *m_pobOpenGLView; // rcx\n\n  m_pobOpenGLView = this->m_pobOpenGLView;\n  if ( m_pobOpenGLView )\n    ((void (__fastcall *)(cocos2d::CCEGLView *))m_pobOpenGLView->getVisibleOrigin)(m_pobOpenGLView);\n  else\n    cocos2d::cc_timeval::operator=(a2, dword_1801A9B30);\n  return a2;\n}", "assembly": "; \n; cocos2d::CCDirector::getVisibleOrigin from 0x1800be690 to 0x1800be6cc (60 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b91c8\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, 0x1800be690\nsub     rsp, 20h                                                       ; +0x2, 0x1800be692\nmov     rcx, [rcx+0B8h]                                                ; +0x6, 0x1800be696\nmov     rbx, rdx                                                       ; +0xd, 0x1800be69d\ntest    rcx, rcx                                                       ; +0x10, 0x1800be6a0\njz      short loc_1800BE6B4                                            ; +0x13, 0x1800be6a3\nmov     rax, [rcx]                                                     ; +0x15, 0x1800be6a5\ncall    qword ptr [rax+40h]                                            ; +0x18, 0x1800be6a8\nmov     rax, rbx                                                       ; +0x1b, 0x1800be6ab\nadd     rsp, 20h                                                       ; +0x1e, 0x1800be6ae\npop     rbx                                                            ; +0x22, 0x1800be6b2\nretn                                                                   ; +0x23, 0x1800be6b3\nlea     rdx, dword_1801A9B30                                           ; +0x24, 0x1800be6b4\nmov     rcx, rbx                                                       ; +0x2b, 0x1800be6bb\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x2e, 0x1800be6be\nmov     rax, rbx                                                       ; +0x33, 0x1800be6c3\nadd     rsp, 20h                                                       ; +0x36, 0x1800be6c6\npop     rbx                                                            ; +0x3a, 0x1800be6ca\nretn                                                                   ; +0x3b, 0x1800be6cb", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b91c8"], "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"}