//
// cocos2d::CCPoolManager::removeObject from 0x1001b01d4 to 0x1001b0228 (84 bytes)
//
// 1 xrefs:
// > cocos2d::CCObject::dCCObject @ 0x1000848f0
//
// 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 *a1, cocos2d::CCObject *a2)
{
unsigned int v3; // w20
cocos2d::CCAutoreleasePool *m_pCurReleasePool; // x21
if ( a2->m_uAutoReleaseCount )
{
v3 = 0;
m_pCurReleasePool = a1->m_pCurReleasePool;
do
{
sub_10024A444(m_pCurReleasePool->m_pManagedObjectArray, a2, 0);
++v3;
}
while ( v3 < a2->m_uAutoReleaseCount );
}
}