//
// cocos2d::CCNode::setScheduler from 0x180004f50 to 0x180004fa4 (84 bytes)
//
// 87 xrefs:
// > ??> @ 0x1800e56d0
// > ??> @ 0x1800e5d30
// > ??> @ 0x1800e60a0
// > ??> @ 0x1800e6a00
// > ??> @ 0x1800e6f08
// > ??> @ 0x1800eb6d0
// > ??> @ 0x1800ebb70
// > ??> @ 0x1800ec048
// > ??> @ 0x1800ec570
// > ??> @ 0x1800ecbc8
// > ??> @ 0x1800ed1e0
// > ??> @ 0x1800ed6a0
// > ??> @ 0x1800edbd8
// > ??> @ 0x1800ee140
// > ??> @ 0x1800ee718
// > ??> @ 0x1800eebd8
// > ??> @ 0x1800eef60
// > ??> @ 0x1800ef2e0
// > ??> @ 0x1800ef668
// > ??> @ 0x1800ef9e8
// > ??> @ 0x1800efd68
// > ??> @ 0x1800f0108
// > ??> @ 0x1800f04a8
// > ??> @ 0x1800f0848
// > ??> @ 0x1800f0be8
// > ??> @ 0x1800f0f88
// > ??> @ 0x1800f1328
// > ??> @ 0x1800f16c8
// > ??> @ 0x1800f1a68
// > ??> @ 0x1800f1df8
// > ??> @ 0x1800f2180
// > ??> @ 0x1800f2508
// > ??> @ 0x1800f2890
// > ??> @ 0x1800f2c18
// > ??> @ 0x1800f2fa0
// > ??> @ 0x1800f3328
// > ??> @ 0x1800f36b0
// > ??> @ 0x1800f3a30
// > ??> @ 0x1800f3dc0
// > ??> @ 0x1800f4158
// > ??> @ 0x1800f44f0
// > ??> @ 0x1800f4888
// > ??> @ 0x1800f4c20
// > ??> @ 0x1800f4fb8
// > ??> @ 0x1800f5368
// > ??> @ 0x1800f56f0
// > ??> @ 0x1800f5a80
// > ??> @ 0x1800f5e10
// > ??> @ 0x1800f61a0
// > ??> @ 0x1800f6530
// > ??> @ 0x1800f68c0
// > ??> @ 0x1800f6c50
// > ??> @ 0x1800f6fe8
// > ??> @ 0x1800f7550
// > ??> @ 0x1800f7978
// > ??> @ 0x1800f7dc0
// > ??> @ 0x1800f8208
// > ??> @ 0x1800f8650
// > ??> @ 0x1800f8ab0
// > ??> @ 0x1800f8f10
// > ??> @ 0x1800f9360
// > ??> @ 0x1800f9728
// > ??> @ 0x1800f9b40
// > ??> @ 0x1800f9f50
// > ??> @ 0x1800fa380
// > ??> @ 0x1800fa9f0
// > ??> @ 0x1800fb060
// > ??> @ 0x1800fb6d0
// > ??> @ 0x1800fbd40
// > ??> @ 0x1800fc3b0
// > ??> @ 0x1800fca20
// > ??> @ 0x1800fd090
// > ??> @ 0x1800fd700
// > ??> @ 0x1800fdd70
// > ??> @ 0x1800fe3e0
// > ??> @ 0x1800fea50
// > ??> @ 0x1800ff298
// > ??> @ 0x1800ffd38
// > ??> @ 0x180103a80
// > ??> @ 0x180103f70
// > ??> @ 0x1801054a8
// > ??> @ 0x180105880
// > ??> @ 0x180105cd8
// > ??> @ 0x180106140
// > ??> @ 0x180106a78
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ad618
//
// 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::CCNode::setScheduler(cocos2d::CCNode *this, struct cocos2d::CCScheduler *a2)
{
cocos2d::CCScheduler *m_pScheduler; // rcx
cocos2d::CCScheduler *v5; // rcx
m_pScheduler = this->m_pScheduler;
if ( a2 != m_pScheduler )
{
cocos2d::CCScheduler::unscheduleAllForTarget(m_pScheduler, this);
if ( a2 )
cocos2d::CCObject::retain(a2);
v5 = this->m_pScheduler;
if ( v5 )
cocos2d::CCObject::release(v5);
this->m_pScheduler = a2;
}
}