//
// cocos2d::CCNode::scheduleUpdateWithPriorityLua from 0x5be284 to 0x5be2ac (40 bytes)
//
// 0 xrefs:
//
// 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 cocos2d::CCNode::scheduleUpdateWithPriorityLua(cocos2d::CCNode *a1, int a2, int a3)
{
bool m_bRunning; // r3
cocos2d::CCNode::unscheduleUpdate(a1);
m_bRunning = a1->m_bRunning;
a1->m_nUpdateScriptHandler = a2;
cocos2d::CCScheduler::scheduleUpdateForTarget(a1->m_pScheduler, a1, a3, !m_bRunning);
}