//
// cocos2d::CCPoolManager::~CCPoolManager from 0x180007540 to 0x180007583 (67 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b7a5c
//
// 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::~CCPoolManager(cocos2d::CCPoolManager *this)
{
__int64 v2; // r8
cocos2d::CCPoolManager::finalize(this);
*((_QWORD *)this + 1) = 0;
LOBYTE(v2) = 1;
cocos2d::CCArray::removeObjectAtIndex(*(cocos2d::CCArray **)this, 0, v2);
if ( *(_QWORD *)this )
{
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)this + 8LL))(*(_QWORD *)this, 1);
*(_QWORD *)this = 0;
}
}