//
// cocos2d::CCPoolManager::addObject from 0x180007680 to 0x1800076c1 (65 bytes)
//
// 3 xrefs:
// > cocos2d::CCObject::autorelease @ 0x18000eb44
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b7a80
//
// 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:18 +0000
//
void __fastcall cocos2d::CCPoolManager::addObject(cocos2d::CCPoolManager *this, struct cocos2d::CCObject *a2)
{
if ( !*((_QWORD *)this + 1) )
cocos2d::CCPoolManager::push(this);
cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(*((_QWORD *)this + 1) + 56LL), a2);
++*((_DWORD *)a2 + 6);
cocos2d::CCObject::release(a2);
}