//
// cocos2d::CCDirector::setScheduler from 0x1800bfb90 to 0x1800bfbd0 (64 bytes)
//
// 4 xrefs:
// > ??> @ 0x1801072e8
// > ??> @ 0x1801073f8
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b93a8
//
// 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::CCDirector::setScheduler(cocos2d::CCDirector *this, struct cocos2d::CCScheduler *a2)
{
cocos2d::CCScheduler *m_pScheduler; // rcx
if ( this->m_pScheduler != a2 )
{
if ( a2 )
cocos2d::CCObject::retain(a2);
m_pScheduler = this->m_pScheduler;
if ( m_pScheduler )
cocos2d::CCObject::release(m_pScheduler);
this->m_pScheduler = a2;
}
}