//
// cocos2d::CCDisplayLinkDirector::mainLoop from 0xad7690 to 0xad76cc (60 bytes)
//
// 2 xrefs:
// > ??> @ 0xb34c0
// > ??> @ 0x1200fb8
//
// 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 cocos2d::CCDisplayLinkDirector::mainLoop(cocos2d::CCDisplayLinkDirector *a1)
{
cocos2d::CCPoolManager *v1; // x0
if ( a1->m_bPurgeDirecotorInNextLoop )
{
a1->m_bPurgeDirecotorInNextLoop = 0;
cocos2d::CCDirector::purgeDirector(a1);
}
else if ( !*(&a1->m_bFastMenu + 1) )
{
cocos2d::CCDirector::drawScene(a1);
v1 = cocos2d::CCPoolManager::sharedPoolManager();
cocos2d::CCPoolManager::pop(v1);
}
}