//
// cocos2d::CCDirector::setActionManager from 0x7c9af6 to 0x7c9b16 (32 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:29 +0000
//
_DWORD *__fastcall cocos2d::CCDirector::setActionManager(_DWORD *this, cocos2d::CCActionManager *a2)
{
_DWORD *v2; // r5
v2 = this;
if ( (cocos2d::CCActionManager *)*(this + 24) != a2 )
{
if ( a2 )
cocos2d::CCObject::retain((int)a2);
this = (_DWORD *)v2[24];
if ( this )
this = cocos2d::CCObject::release(this);
v2[24] = a2;
}
return this;
}