//
// cocos2d::CCPoolManager::removeObject from 0x1003f6d70 to 0x1003f6db2 (66 bytes)
//
// 3 xrefs:
// > cocos2d::CCObject::dCCObject @ 0x10048a965
// > sub_10048A9B0 @ 0x10048a9d5
// > sub_10048AA20 @ 0x10048aa45
//
// 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)
{
cocos2d::CCAutoreleasePool *m_pCurReleasePool; // r14
unsigned int v3; // r15d
if ( a2->m_uAutoReleaseCount )
{
m_pCurReleasePool = a1->m_pCurReleasePool;
v3 = 0;
do
{
sub_100720220(m_pCurReleasePool->m_pManagedObjectArray, a2, 0);
++v3;
}
while ( v3 < a2->m_uAutoReleaseCount );
}
}