//
// cocos2d::CCNode::setActionManager from 0x180004af0 to 0x180004b44 (84 bytes)
//
// 87 xrefs:
// > ??> @ 0x1800eb700
// > ??> @ 0x1800ebd70
// > ??> @ 0x1800ec0f0
// > ??> @ 0x1800eca48
// > ??> @ 0x1800ecf58
// > ??> @ 0x1800f1770
// > ??> @ 0x1800f1c60
// > ??> @ 0x1800f2148
// > ??> @ 0x1800f2680
// > ??> @ 0x1800f2cf8
// > ??> @ 0x1800f3330
// > ??> @ 0x1800f3810
// > ??> @ 0x1800f3d68
// > ??> @ 0x1800f42f0
// > ??> @ 0x1800f48e8
// > ??> @ 0x1800f4dc8
// > ??> @ 0x1800f5160
// > ??> @ 0x1800f54f0
// > ??> @ 0x1800f5888
// > ??> @ 0x1800f5c18
// > ??> @ 0x1800f5fa8
// > ??> @ 0x1800f6358
// > ??> @ 0x1800f6708
// > ??> @ 0x1800f6ab8
// > ??> @ 0x1800f6e68
// > ??> @ 0x1800f7218
// > ??> @ 0x1800f75c8
// > ??> @ 0x1800f7978
// > ??> @ 0x1800f7d28
// > ??> @ 0x1800f80c8
// > ??> @ 0x1800f8460
// > ??> @ 0x1800f87f8
// > ??> @ 0x1800f8b90
// > ??> @ 0x1800f8f28
// > ??> @ 0x1800f92c0
// > ??> @ 0x1800f9658
// > ??> @ 0x1800f99f0
// > ??> @ 0x1800f9d80
// > ??> @ 0x1800fa120
// > ??> @ 0x1800fa4c8
// > ??> @ 0x1800fa870
// > ??> @ 0x1800fac18
// > ??> @ 0x1800fafc0
// > ??> @ 0x1800fb368
// > ??> @ 0x1800fb728
// > ??> @ 0x1800fbac0
// > ??> @ 0x1800fbe60
// > ??> @ 0x1800fc200
// > ??> @ 0x1800fc5a0
// > ??> @ 0x1800fc940
// > ??> @ 0x1800fcce0
// > ??> @ 0x1800fd080
// > ??> @ 0x1800fd420
// > ??> @ 0x1800fd9b8
// > ??> @ 0x1800fddf0
// > ??> @ 0x1800fe248
// > ??> @ 0x1800fe6a0
// > ??> @ 0x1800feaf8
// > ??> @ 0x1800fef68
// > ??> @ 0x1800ff3d8
// > ??> @ 0x1800ff838
// > ??> @ 0x1800ffc08
// > ??> @ 0x180100038
// > ??> @ 0x180100458
// > ??> @ 0x180100898
// > ??> @ 0x180100f20
// > ??> @ 0x1801015a0
// > ??> @ 0x180101c20
// > ??> @ 0x1801022a0
// > ??> @ 0x180102920
// > ??> @ 0x180102fa0
// > ??> @ 0x180103620
// > ??> @ 0x180103ca0
// > ??> @ 0x180104320
// > ??> @ 0x1801049a0
// > ??> @ 0x180105020
// > ??> @ 0x1801056f0
// > ??> @ 0x180106378
// > ??> @ 0x18010a138
// > ??> @ 0x18010a638
// > ??> @ 0x18010bb80
// > ??> @ 0x18010bf60
// > ??> @ 0x18010c3c8
// > ??> @ 0x18010c828
// > ??> @ 0x18010d150
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b75a0
//
// 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 11:21:17 +0000
//
void __fastcall cocos2d::CCNode::setActionManager(cocos2d::CCNode *this, struct cocos2d::CCActionManager *a2)
{
cocos2d::CCActionManager *v4; // rcx
cocos2d::CCObject *v5; // rcx
v4 = *((cocos2d::CCActionManager **)this + 33);
if ( a2 != v4 )
{
cocos2d::CCActionManager::removeAllActionsFromTarget(v4, this);
if ( a2 )
cocos2d::CCObject::retain(a2);
v5 = *((cocos2d::CCObject **)this + 33);
if ( v5 )
cocos2d::CCObject::release(v5);
*((_QWORD *)this + 33) = a2;
}
}