//
// sub_18007A840 from 0x18007a840 to 0x18007a871 (49 bytes)
//
// 2 xrefs:
// > cocos2d::CCEGLView::setupWindow @ 0x18007b9ff
// > ??> @ 0x1801bed4c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:00 +0000
//
void sub_18007A840()
{
cocos2d::CCDirector *v0; // rax
cocos2d::CCApplication *v1; // rax
if ( qword_1801B2540 )
{
v0 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::setViewport(v0);
v1 = cocos2d::CCApplication::sharedApplication();
cocos2d::CCApplication::checkMonitorChanged(v1);
}
}