//
// cocos2d::CCPoolManager::removeObject from 0x180007840 to 0x180007886 (70 bytes)
//
// 3 xrefs:
// > cocos2d::CCObject::~CCObject @ 0x18000e938
// > ??> @ 0x1801438a8
// > ??> @ 0x1801adaec
//
// 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
//
void __fastcall cocos2d::CCPoolManager::removeObject(cocos2d::CCPoolManager *this, struct cocos2d::CCObject *a2)
{
cocos2d::CCAutoreleasePool *m_pCurReleasePool; // rsi
unsigned int i; // ebx
m_pCurReleasePool = this->m_pCurReleasePool;
for ( i = 0; i < a2->m_uAutoReleaseCount; ++i )
cocos2d::CCArray::removeObject(m_pCurReleasePool->m_pManagedObjectArray, a2);
}