//
// cocos2d::CCScheduler::dCCScheduler from 0x1001aa258 to 0x1001aa298 (64 bytes)
//
// 2 xrefs:
// > j_cocos2d::CCScheduler::dCCScheduler @ 0x1001aa2a4
// > sub_1001AA2A8 @ 0x1001aa2b0
//
// 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
//
cocos2d::CCObject *__fastcall cocos2d::CCScheduler::dCCScheduler(cocos2d::CCScheduler *a1)
{
cocos2d::CCObject *m_pScriptHandlerEntries; // x0
a1->__vftable = (cocos2d::CCScheduler_vtbl *)off_1007AEB10;
cocos2d::CCScheduler::unscheduleAllWithMinPriority(a1, 0x80000000);
m_pScriptHandlerEntries = a1->m_pScriptHandlerEntries;
if ( m_pScriptHandlerEntries )
cocos2d::CCObject::release(m_pScriptHandlerEntries);
return cocos2d::CCObject::dCCObject(a1);
}