//
// cocos2d::CCActionManager::pauseAllRunningActions from 0x1800381c0 to 0x18003822e (110 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0b7c
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCSet *__fastcall cocos2d::CCActionManager::pauseAllRunningActions(cocos2d::CCActionManager *this)
{
cocos2d::CCSet *v2; // rax
cocos2d::CCSet *v3; // rdi
cocos2d::_hashElement *i; // rbx
v2 = (cocos2d::CCSet *)operator new(0x40u);
if ( v2 )
v3 = cocos2d::CCSet::CCSet(v2);
else
v3 = nullptr;
cocos2d::CCObject::autorelease(v3);
for ( i = this->m_pTargets; i; i = *((cocos2d::_hashElement **)i + 7) )
{
if ( !*((_BYTE *)i + 33) )
{
*((_BYTE *)i + 33) = 1;
cocos2d::CCSet::addObject(v3, *((struct cocos2d::CCObject **)i + 1));
}
}
return v3;
}