//
// cocos2d::CCMenuItemSprite::~CCMenuItemSprite from 0x18005bd00 to 0x18005bd57 (87 bytes)
//
// 5 xrefs:
// > sub_1800E7950 @ 0x1800e7957
// > sub_18005BF40 @ 0x18005bf59
// > ??> @ 0x180141f8f
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bce98
//
// 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:49 +0000
//
// Alternative name is '??1CCMenuItemAtlasFont@cocos2d@@UEAA@XZ'
// Alternative name is '??1CCMenuItemImage@cocos2d@@UEAA@XZ'
// Alternative name is '??1CCMenuItemLabel@cocos2d@@UEAA@XZ'
// Hidden C++ exception states: #wind=1
void __fastcall cocos2d::CCMenuItemSprite::~CCMenuItemSprite(cocos2d::CCMenuItemSprite *this)
{
struct cocos2d::CCScriptEngineManager *v2; // rax
*(_QWORD *)this = &cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)this + 40) = &cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCRGBAProtocol'};
if ( *((_DWORD *)this + 92) )
{
v2 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)v2 + 24LL))(*(_QWORD *)v2, *((unsigned int *)this + 92));
*((_DWORD *)this + 92) = 0;
}
cocos2d::CCNodeRGBA::~CCNodeRGBA(this);
}