//
// cocos2d::extension::CCThreadPool::~CCThreadPool from 0x5abc0c to 0x5abc42 (54 bytes)
//
// 1 xrefs:
// > cocos2d::extension::CCHttpClient::~CCHttpClient @ 0x5abc5e
//
// 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
//
// Alternative name is '_ZN7cocos2d9extension12CCThreadPoolD1Ev'
void __fastcall cocos2d::extension::CCThreadPool::~CCThreadPool(pthread_t **this)
{
pthread_t *v2; // r5
pthread_t *v3; // r6
pthread_t *v4; // r0
cocos2d::extension::CCThreadPool::shutdown((cocos2d::extension::CCThreadPool *)this);
sub_76DB6C(this + 14);
std::deque>::~deque((int)(this + 3));
v2 = *this;
v3 = *(this + 1);
while ( v2 != v3 )
{
v4 = v2++;
std::thread::~thread(v4);
}
if ( *this )
operator delete(*this);
}