//
// cocos2d::CCSet::~CCSet from 0x18000eef0 to 0x18000ef47 (87 bytes)
//
// 13 xrefs:
// > cocos2d::CCEGLViewProtocol::handleTouchesBegin @ 0x18006bb67
// > cocos2d::CCEGLViewProtocol::handleTouchesCancel @ 0x18006bc19
// > cocos2d::CCEGLViewProtocol::handleTouchesEnd @ 0x18006bcb9
// > cocos2d::CCEGLViewProtocol::handleTouchesMove @ 0x18006be3d
// > sub_1800E26E0 @ 0x1800e26e7
// > sub_1800E2740 @ 0x1800e2747
// > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1800e2757
// > sub_18000EF50 @ 0x18000ef69
// > ??> @ 0x18013a2a7
// > ??> @ 0x18013a313
// > ??> @ 0x18013a347
// > ??> @ 0x1801438a8
// > ??> @ 0x1801adfc0
//
// 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::CCSet::~CCSet(cocos2d::CCSet *this)
{
std::set *m_pSet; // rdi
this->__vftable = (cocos2d::CCSet_vtbl *)&cocos2d::CCSet::`vftable';
cocos2d::CCSet::removeAllObjects(this);
m_pSet = this->m_pSet;
if ( m_pSet )
{
sub_18000EBC0((void **)&this->m_pSet->_Mypair._Myval2._Myval2._Myhead, (__int64)this->m_pSet);
j_j_free_0(m_pSet);
this->m_pSet = nullptr;
}
cocos2d::CCObject::~CCObject(this);
}