//
// cocos2d::CCNode::scheduleUpdateWithPriorityLua from 0x1002606a0 to 0x10026070d (109 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:27:31 +0000
//
__int64 __fastcall cocos2d::CCNode::scheduleUpdateWithPriorityLua(__int64 a1, int a2, unsigned int a3)
{
__int64 v5; // rdi
_QWORD *v6; // rax
v5 = *(_QWORD *)(a1 + 256);
cocos2d::CCScheduler::unscheduleUpdateForTarget(v5, a1);
if ( *(_DWORD *)(a1 + 296) )
{
v6 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager(v5);
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v6 + 32LL))(*v6, *(unsigned int *)(a1 + 296));
}
*(_DWORD *)(a1 + 296) = a2;
return cocos2d::CCScheduler::scheduleUpdateForTarget(
*(_QWORD *)(a1 + 256),
a1,
a3,
*(unsigned __int8 *)(a1 + 272) ^ 1u);
}