//
// cocos2d::CCNode::pauseSchedulerAndActions from 0x1002d9380 to 0x1002d93bc (60 bytes)
//
// 6 xrefs:
// > sub_1001B56B0 @ 0x1001b57b0
// > cocos2d::CCNode::onExit @ 0x1002d92f8
// > sub_100405040 @ 0x1004050b0
// > sub_100405040 @ 0x1004050b8
// > sub_100405110 @ 0x1004051fc
// > LevelEditorLayer::onStopPlaytest @ 0x10040531c
//
// This function is hookable on this platform (idp: arm, 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 11:02:43 +0000
//
unsigned __int64 __fastcall cocos2d::CCNode::pauseSchedulerAndActions(unsigned __int64 result)
{
unsigned __int64 v1; // x19
if ( (*(_BYTE *)(result + 313) & 1) == 0 )
{
v1 = result;
cocos2d::CCScheduler::pauseTarget(*(_QWORD *)(result + 256), result);
return cocos2d::CCActionManager::pauseTarget(*(_QWORD *)(v1 + 264), v1);
}
return result;
}