//
// cocos2d::CCDisplayLinkDirector::mainLoop from 0x100484ca0 to 0x100484cd6 (54 bytes)
//
// 1 xrefs:
// > ??> @ 0x10093d2c0
//
// 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 __fastcall cocos2d::CCDisplayLinkDirector::mainLoop(cocos2d::CCDisplayLinkDirector *a1)
{
cocos2d::CCPoolManager *v1; // rax
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);
}
}