//
// cocos2d::CCObject::~CCObject from 0x18000ea00 to 0x18000ea83 (131 bytes)
//
// 138 xrefs:
// > cocos2d::CCNode::~CCNode @ 0x180002a09
// > CCContentManager::~CCContentManager @ 0x180005d19
// > sub_180005DD0 @ 0x180005e48
// > cocos2d::CCArray::~CCArray @ 0x180006904
// > sub_180006910 @ 0x180006984
// > cocos2d::CCAutoreleasePool::~CCAutoreleasePool @ 0x180007537
// > sub_180007590 @ 0x180007616
// > cocos2d::CCDictionary::~CCDictionary @ 0x1800097a0
// > cocos2d::CCTouch::~CCTouch @ 0x1800097b0
// > sub_1800097C0 @ 0x180009834
// > sub_180009860 @ 0x1800098be
// > sub_18000EA90 @ 0x18000eaeb
// > cocos2d::CCSet::~CCSet @ 0x18000f0b2
// > sub_18000F0C0 @ 0x18000f158
// > cocos2d::CCString::~CCString @ 0x1800100bc
// > sub_180010110 @ 0x180010198
// > sub_1800224B0 @ 0x1800224e2
// > cocos2d::CCGrid3D::~CCGrid3D @ 0x180022800
// > cocos2d::CCGridBase::~CCGridBase @ 0x180022857
// > cocos2d::CCTiledGrid3D::~CCTiledGrid3D @ 0x180022900
// > sub_1800229B0 @ 0x180022a33
// > cocos2d::CCAction::~CCAction @ 0x1800240fa
// > cocos2d::CCFollow::~CCFollow @ 0x180024133
// > cocos2d::CCSpeed::~CCSpeed @ 0x180024173
// > sub_180024180 @ 0x1800241ec
// > sub_180024220 @ 0x1800242a2
// > sub_1800242D0 @ 0x180024356
// > cocos2d::CCPointArray::~CCPointArray @ 0x180025a55
// > cocos2d::CCActionManager::~CCActionManager @ 0x180037f00
// > sub_180037F10 @ 0x180037f84
// > cocos2d::CCKeyboardHandler::~CCKeyboardHandler @ 0x180044d49
// > sub_180044D50 @ 0x180044de8
// > cocos2d::CCKeyboardDispatcher::~CCKeyboardDispatcher @ 0x1800455b8
// > cocos2d::CCBMFontConfiguration::~CCBMFontConfiguration @ 0x18004896b
// > cocos2d::CCMouseHandler::~CCMouseHandler @ 0x180062ae9
// > sub_180062AF0 @ 0x180062b88
// > cocos2d::CCMouseDispatcher::~CCMouseDispatcher @ 0x180062de5
// > sub_180062DF0 @ 0x180062e81
// > sub_18006D720 @ 0x18006d782
// > cocos2d::CCEGLView::~CCEGLView @ 0x180078698
// > cocos2d::CCImage::~CCImage @ 0x18007e511
// > sub_18007E520 @ 0x18007e5a4
// > cocos2d::CCGLProgram::~CCGLProgram @ 0x180089944
// > cocos2d::CCShaderCache::~CCShaderCache @ 0x18008b594
// > sub_18008B5A0 @ 0x18008b614
// > cocos2d::CCAnimation::~CCAnimation @ 0x18008c739
// > cocos2d::CCAnimationFrame::~CCAnimationFrame @ 0x18008c777
// > sub_18008C780 @ 0x18008c7f5
// > sub_18008C830 @ 0x18008c8ba
// > cocos2d::CCAnimationCache::~CCAnimationCache @ 0x18008d2c9
// > sub_18008D2D0 @ 0x18008d348
// > cocos2d::CCSpriteFrame::~CCSpriteFrame @ 0x180092954
// > sub_180092960 @ 0x1800929f3
// > cocos2d::CCSpriteFrameCache::~CCSpriteFrameCache @ 0x1800937dd
// > cocos2d::CCNotificationCenter::~CCNotificationCenter @ 0x180096a04
// > cocos2d::CCNotificationObserver::~CCNotificationObserver @ 0x180096a41
// > sub_180096A50 @ 0x180096ac8
// > sub_180096B00 @ 0x180096b84
// > cocos2d::CCProfiler::~CCProfiler @ 0x180097a39
// > sub_180097A40 @ 0x180097ab8
// > sub_180097AF0 @ 0x180097b15
// > cocos2d::CCComponent::~CCComponent @ 0x180099954
// > sub_180099960 @ 0x1800999d1
// > cocos2d::CCTexture2D::~CCTexture2D @ 0x1800a8735
// > sub_1800A87A0 @ 0x1800a8821
// > cocos2d::CCTextureAtlas::~CCTextureAtlas @ 0x1800a9bdd
// > cocos2d::CCTextureCache::~CCTextureCache @ 0x1800aac0c
// > sub_1800AAD50 @ 0x1800aaddf
// > cocos2d::CCTextureETC::~CCTextureETC @ 0x1800ad66a
// > sub_1800AD6B0 @ 0x1800ad6e4
// > sub_1800AE210 @ 0x1800ae21f
// > cocos2d::CCTMXObjectGroup::~CCTMXObjectGroup @ 0x1800b1180
// > sub_1800B1190 @ 0x1800b121c
// > cocos2d::CCTMXLayerInfo::~CCTMXLayerInfo @ 0x1800b26be
// > cocos2d::CCTMXMapInfo::~CCTMXMapInfo @ 0x1800b2766
// > cocos2d::CCTMXTilesetInfo::~CCTMXTilesetInfo @ 0x1800b279d
// > sub_1800B27E0 @ 0x1800b287d
// > sub_1800B2940 @ 0x1800b29bd
// > cocos2d::CCTouchDispatcher::~CCTouchDispatcher @ 0x1800b629f
// > cocos2d::CCStandardTouchHandler::~CCStandardTouchHandler @ 0x1800b75f4
// > cocos2d::CCTargetedTouchHandler::~CCTargetedTouchHandler @ 0x1800b765d
// > cocos2d::CCTouchHandler::~CCTouchHandler @ 0x1800b76b9
// > sub_1800B76C0 @ 0x1800b775c
// > sub_1800B7820 @ 0x1800b78bc
// > cocos2d::CCKeypadHandler::~CCKeypadHandler @ 0x1800b7d49
// > sub_1800B7D50 @ 0x1800b7de8
// > cocos2d::CCKeypadDispatcher::~CCKeypadDispatcher @ 0x1800b8045
// > sub_1800B8050 @ 0x1800b80e1
// > cocos2d::CCScriptHandlerEntry::dCCScriptHandlerEntry @ 0x1800ba0cd
// > sub_1800BA200 @ 0x1800ba268
// > cocos2d::CCCamera::~CCCamera @ 0x1800bf84a
// > sub_1800BF850 @ 0x1800bf8bc
// > cocos2d::CCConfiguration::~CCConfiguration @ 0x1800bfba4
// > sub_1800BFBB0 @ 0x1800bfc28
// > cocos2d::CCDirector::~CCDirector @ 0x1800c16d8
// > cocos2d::CCScheduler::~CCScheduler @ 0x1800c3cb3
// > sub_1800C3CC0 @ 0x1800c3d42
// > sub_1800C3D70 @ 0x1800c3dcb
// > sub_1800D5190 @ 0x1800d51eb
// > sub_1800E5E00 @ 0x1800e5e07
// > sub_1800E5EE0 @ 0x1800e5ee7
// > sub_1800E5F10 @ 0x1800e5f17
// > sub_1800E5F40 @ 0x1800e5f47
// > sub_1800E6910 @ 0x1800e6917
// > unknown_libname_13 @ 0x1800e7d07
// > sub_1800E80A0 @ 0x1800e80ab
// > int `Concurrency::details::UMSThreadScheduler::VirtualProcessorActiveNotification @ 0x1800e89e7
// > sub_1800E8ED0 @ 0x1800e8edb
// > sub_18000EA90 @ 0x18000eaac
// > ??> @ 0x180139aeb
// > ??> @ 0x18013a3b0
// > ??> @ 0x18013a3f4
// > ??> @ 0x18013a4f4
// > ??> @ 0x18013a523
// > ??> @ 0x18013a59b
// > ??> @ 0x18013a650
// > ??> @ 0x18013b08f
// > ??> @ 0x18013b0c3
// > ??> @ 0x18013b2af
// > ??> @ 0x18013b310
// > ??> @ 0x18013cdfc
// > ??> @ 0x18013ce30
// > ??> @ 0x18014021f
// > ??> @ 0x180143642
// > ??> @ 0x180147264
// > ??> @ 0x1801474d3
// > ??> @ 0x18014907b
// > ??> @ 0x1801494fc
// > ??> @ 0x1801499d7
// > ??> @ 0x180149bdb
// > ??> @ 0x180149c13
// > ??> @ 0x18014b314
// > ??> @ 0x18014b747
// > ??> @ 0x18014b9fb
// > ??> @ 0x18014bcfb
// > ??> @ 0x18014bd57
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b7fd8
//
// 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:21 +0000
//
void __fastcall cocos2d::CCObject::~CCObject(cocos2d::CCObject *this)
{
cocos2d::CCPoolManager *v2; // rax
struct cocos2d::CCScriptEngineManager *v3; // rax
__int64 v4; // rdi
*(_QWORD *)this = &cocos2d::CCObject::`vftable';
if ( *((_DWORD *)this + 6) )
{
v2 = cocos2d::CCPoolManager::sharedPoolManager();
cocos2d::CCPoolManager::removeObject(v2, this);
}
if ( *((_DWORD *)this + 3) )
{
v3 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**(_QWORD **)v3 + 16LL))(*(_QWORD *)v3, this);
}
else
{
v4 = *(_QWORD *)cocos2d::CCScriptEngineManager::sharedManager();
if ( v4 )
{
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v4 + 8LL))(v4) == 2 )
(*(void (__fastcall **)(__int64, cocos2d::CCObject *))(*(_QWORD *)v4 + 16LL))(v4, this);
}
}
}