//
// cocos2d::CCDirector::getVisibleOrigin from 0x1800be690 to 0x1800be6cc (60 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b91c8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
_DWORD *__fastcall cocos2d::CCDirector::getVisibleOrigin(cocos2d::CCDirector *this, _DWORD *a2)
{
cocos2d::CCEGLView *m_pobOpenGLView; // rcx
m_pobOpenGLView = this->m_pobOpenGLView;
if ( m_pobOpenGLView )
((void (__fastcall *)(cocos2d::CCEGLView *))m_pobOpenGLView->getVisibleOrigin)(m_pobOpenGLView);
else
cocos2d::cc_timeval::operator=(a2, dword_1801A9B30);
return a2;
}