//
// sub_180077C40 from 0x180077c40 to 0x180077c64 (36 bytes)
//
// 2 xrefs:
// > cocos2d::CCEGLView::setupWindow @ 0x180078bd5
// > ??> @ 0x1801b4a40
//
// 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
//
void sub_180077C40()
{
cocos2d::CCDirector *v0; // rax
if ( qword_1801A8500 )
{
v0 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::setViewport(v0);
}
}