//
// cocos2d::CCNode::setScheduler from 0x7c4dfa to 0x7c4e24 (42 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:00:24 +0000
//
cocos2d::CCScheduler **__fastcall cocos2d::CCNode::setScheduler(
cocos2d::CCScheduler **this,
cocos2d::CCScheduler *a2,
int a3)
{
cocos2d::CCScheduler **v3; // r5
v3 = this;
if ( a2 != *(this + 54) )
{
cocos2d::CCNode::unscheduleAllSelectors((cocos2d::CCNode *)this, (int)a2, a3);
if ( a2 )
cocos2d::CCObject::retain(a2);
this = (cocos2d::CCScheduler **)v3[54];
if ( this )
this = (cocos2d::CCScheduler **)cocos2d::CCObject::release((cocos2d::CCObject *)this);
v3[54] = a2;
}
return this;
}