//
// cocos2d::CCPoolManager::~CCPoolManager from 0x1800073f0 to 0x180007433 (67 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ada38
//
// 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::~CCPoolManager(cocos2d::CCPoolManager *this)
{
__int64 v2; // r8
cocos2d::CCPoolManager::finalize(this);
this->m_pCurReleasePool = nullptr;
LOBYTE(v2) = 1;
cocos2d::CCArray::removeObjectAtIndex(this->m_pReleasePoolStack, 0, v2);
if ( this->m_pReleasePoolStack )
{
((void (__fastcall *)(cocos2d::CCArray *, __int64))this->m_pReleasePoolStack->~CCArray)(
this->m_pReleasePoolStack,
1);
this->m_pReleasePoolStack = nullptr;
}
}