//
// cocos2d::CCNode::scheduleUpdateWithPriorityLua from 0x100274100 to 0x10027416d (109 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 __fastcall cocos2d::CCNode::scheduleUpdateWithPriorityLua(cocos2d::CCNode *a1, int a2, int a3)
{
cocos2d::CCScriptEngineManager *v4; // rax
cocos2d::CCScheduler::unscheduleUpdateForTarget(a1->m_pScheduler, a1);
if ( a1->m_nUpdateScriptHandler )
{
v4 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)v4 + 32LL))(
*(_QWORD *)v4,
(unsigned int)a1->m_nUpdateScriptHandler);
}
a1->m_nUpdateScriptHandler = a2;
cocos2d::CCScheduler::scheduleUpdateForTarget(a1->m_pScheduler, a1, a3, !a1->m_bRunning);
}