//
// cocos2d::CCObject::~CCObject from 0x18000e910 to 0x18000e993 (131 bytes)
//
// 130 xrefs:
// > cocos2d::CCNode::~CCNode @ 0x180002a39
// > CCContentManager::~CCContentManager @ 0x180005bf9
// > sub_180005CA0 @ 0x180005d18
// > cocos2d::CCArray::~CCArray @ 0x1800067c4
// > sub_1800067D0 @ 0x180006844
// > cocos2d::CCAutoreleasePool::~CCAutoreleasePool @ 0x1800073e7
// > sub_180007440 @ 0x1800074c6
// > cocos2d::CCDictionary::~CCDictionary @ 0x1800096d0
// > cocos2d::CCTouch::~CCTouch @ 0x1800096e0
// > sub_1800096F0 @ 0x180009764
// > sub_180009790 @ 0x1800097ee
// > sub_18000E9A0 @ 0x18000e9fb
// > cocos2d::CCSet::~CCSet @ 0x18000ef42
// > sub_18000EF50 @ 0x18000efe8
// > cocos2d::CCString::~CCString @ 0x18000ff59
// > sub_180021FA0 @ 0x180021fce
// > cocos2d::CCGrid3D::~CCGrid3D @ 0x1800222d0
// > cocos2d::CCGridBase::~CCGridBase @ 0x180022327
// > cocos2d::CCTiledGrid3D::~CCTiledGrid3D @ 0x1800223d0
// > sub_180022480 @ 0x180022503
// > cocos2d::CCAction::~CCAction @ 0x180023baa
// > cocos2d::CCFollow::~CCFollow @ 0x180023be3
// > cocos2d::CCSpeed::~CCSpeed @ 0x180023c23
// > sub_180023C30 @ 0x180023c9c
// > sub_180023CD0 @ 0x180023d52
// > sub_180023D80 @ 0x180023e06
// > cocos2d::CCPointArray::~CCPointArray @ 0x180025365
// > cocos2d::CCActionManager::~CCActionManager @ 0x1800377f0
// > sub_180037800 @ 0x180037874
// > cocos2d::CCKeyboardHandler::~CCKeyboardHandler @ 0x180044979
// > sub_180044980 @ 0x180044a18
// > cocos2d::CCKeyboardDispatcher::~CCKeyboardDispatcher @ 0x180044c85
// > sub_180044C90 @ 0x180044d28
// > cocos2d::CCBMFontConfiguration::~CCBMFontConfiguration @ 0x1800473ce
// > cocos2d::CCMouseHandler::~CCMouseHandler @ 0x1800608a9
// > sub_1800608B0 @ 0x180060948
// > cocos2d::CCMouseDispatcher::~CCMouseDispatcher @ 0x180060ba5
// > sub_180060BB0 @ 0x180060c41
// > sub_18006B560 @ 0x18006b5c2
// > cocos2d::CCEGLView::~CCEGLView @ 0x180075b39
// > cocos2d::CCImage::~CCImage @ 0x18007b301
// > sub_18007B310 @ 0x18007b394
// > cocos2d::CCGLProgram::~CCGLProgram @ 0x1800867b3
// > cocos2d::CCShaderCache::~CCShaderCache @ 0x1800883c4
// > sub_1800883D0 @ 0x180088444
// > cocos2d::CCAnimation::~CCAnimation @ 0x180089719
// > cocos2d::CCAnimationFrame::~CCAnimationFrame @ 0x180089757
// > sub_180089760 @ 0x1800897d5
// > sub_180089810 @ 0x18008989a
// > cocos2d::CCAnimationCache::~CCAnimationCache @ 0x18008a2a9
// > sub_18008A2B0 @ 0x18008a328
// > cocos2d::CCSpriteFrame::~CCSpriteFrame @ 0x18008f7b4
// > cocos2d::CCSpriteFrameCache::~CCSpriteFrameCache @ 0x1800905bd
// > cocos2d::CCNotificationCenter::~CCNotificationCenter @ 0x1800931e4
// > cocos2d::CCNotificationObserver::~CCNotificationObserver @ 0x180093221
// > sub_180093230 @ 0x1800932a8
// > sub_1800932E0 @ 0x180093364
// > cocos2d::CCProfiler::~CCProfiler @ 0x1800942d9
// > sub_1800942E0 @ 0x180094358
// > sub_180094390 @ 0x1800943f7
// > cocos2d::CCComponent::~CCComponent @ 0x180096056
// > cocos2d::CCTexture2D::~CCTexture2D @ 0x1800a4c75
// > sub_1800A4CE0 @ 0x1800a4d61
// > cocos2d::CCTextureAtlas::~CCTextureAtlas @ 0x1800a60c9
// > cocos2d::CCTextureCache::~CCTextureCache @ 0x1800a708c
// > sub_1800A70A0 @ 0x1800a712f
// > cocos2d::CCTextureETC::~CCTextureETC @ 0x1800a9dea
// > sub_1800A9E30 @ 0x1800a9e64
// > sub_1800AAA10 @ 0x1800aaa1f
// > cocos2d::CCTMXObjectGroup::~CCTMXObjectGroup @ 0x1800ad962
// > cocos2d::CCTMXLayerInfo::~CCTMXLayerInfo @ 0x1800aedd0
// > cocos2d::CCTMXMapInfo::~CCTMXMapInfo @ 0x1800aef68
// > cocos2d::CCTMXTilesetInfo::~CCTMXTilesetInfo @ 0x1800af03a
// > cocos2d::CCTouchDispatcher::~CCTouchDispatcher @ 0x1800b290d
// > cocos2d::CCStandardTouchHandler::~CCStandardTouchHandler @ 0x1800b3884
// > cocos2d::CCTargetedTouchHandler::~CCTargetedTouchHandler @ 0x1800b38ed
// > cocos2d::CCTouchHandler::~CCTouchHandler @ 0x1800b3949
// > sub_1800B3950 @ 0x1800b39ec
// > sub_1800B3AB0 @ 0x1800b3b4c
// > cocos2d::CCKeypadHandler::~CCKeypadHandler @ 0x1800b4009
// > sub_1800B4010 @ 0x1800b40a8
// > cocos2d::CCKeypadDispatcher::~CCKeypadDispatcher @ 0x1800b4305
// > sub_1800B4310 @ 0x1800b43a1
// > sub_1800B64C0 @ 0x1800b651b
// > sub_1800B6640 @ 0x1800b66a6
// > cocos2d::CCCamera::~CCCamera @ 0x1800bc0ea
// > sub_1800BC0F0 @ 0x1800bc15c
// > cocos2d::CCConfiguration::~CCConfiguration @ 0x1800bc444
// > sub_1800BC450 @ 0x1800bc4c8
// > cocos2d::CCDirector::~CCDirector @ 0x1800bdeb8
// > cocos2d::CCScheduler::~CCScheduler @ 0x1800c03b3
// > sub_1800C03C0 @ 0x1800c0442
// > sub_1800C0470 @ 0x1800c04cb
// > sub_1800D0DC0 @ 0x1800d0e1b
// > sub_1800E06A0 @ 0x1800e06a7
// > sub_1800E0780 @ 0x1800e0787
// > sub_1800E07B0 @ 0x1800e07b7
// > sub_1800E07E0 @ 0x1800e07e7
// > sub_1800E12C0 @ 0x1800e12c7
// > unknown_libname_9 @ 0x1800e2737
// > sub_1800E2A80 @ 0x1800e2a8b
// > int `Concurrency::details::UMSThreadScheduler::VirtualProcessorActiveNotification @ 0x1800e33c7
// > sub_1800E3910 @ 0x1800e391b
// > sub_18000E9A0 @ 0x18000e9bc
// > ??> @ 0x180130c8f
// > ??> @ 0x180131548
// > ??> @ 0x18013158c
// > ??> @ 0x18013168c
// > ??> @ 0x1801316bb
// > ??> @ 0x180131733
// > ??> @ 0x1801317e8
// > ??> @ 0x18013217f
// > ??> @ 0x1801321b3
// > ??> @ 0x1801323d8
// > ??> @ 0x180133ecc
// > ??> @ 0x180133f00
// > ??> @ 0x18013a2b2
// > ??> @ 0x18013dfac
// > ??> @ 0x18013e21b
// > ??> @ 0x18013fdb3
// > ??> @ 0x180140258
// > ??> @ 0x180140727
// > ??> @ 0x1801408ef
// > ??> @ 0x180140927
// > ??> @ 0x180141fc4
// > ??> @ 0x1801423bf
// > ??> @ 0x1801428c7
// > ??> @ 0x180142923
// > ??> @ 0x1801438a8
// > ??> @ 0x1801adf60
//
// 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::CCObject::~CCObject(cocos2d::CCObject *this)
{
cocos2d::CCPoolManager *v2; // rax
struct cocos2d::CCScriptEngineManager *v3; // rax
__int64 v4; // rdi
this->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCObject::`vftable';
if ( this->m_uAutoReleaseCount )
{
v2 = cocos2d::CCPoolManager::sharedPoolManager();
cocos2d::CCPoolManager::removeObject(v2, this);
}
if ( this->m_nLuaID )
{
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);
}
}
}