//
// cocos2d::CCDirector::setActionManager from 0xd4848c to 0xd484d8 (76 bytes)
//
// 3 xrefs:
// > ??> @ 0xdcb88
// > ??> @ 0x15167e8
// > ??> @ 0x1516918
//
// 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 13:07:36 +0000
//
__int64 __fastcall cocos2d::CCDirector::setActionManager(__int64 this, cocos2d::CCActionManager *a2)
{
cocos2d::CCActionManager *v2; // x2
__int64 v4; // x20
v2 = *(cocos2d::CCActionManager **)(this + 112);
if ( v2 != a2 )
{
v4 = this;
if ( a2 )
{
this = cocos2d::CCObject::retain((__int64)a2);
v2 = *(cocos2d::CCActionManager **)(v4 + 112);
}
if ( v2 )
this = (__int64)cocos2d::CCObject::release(v2);
*(_QWORD *)(v4 + 112) = a2;
}
return this;
}