//
// cocos2d::CCMenuItem::unregisterScriptTapHandler from 0x18005bd90 to 0x18005bdc6 (54 bytes)
//
// 9 xrefs:
// > ??> @ 0x1800f75e8
// > ??> @ 0x1800f7a10
// > ??> @ 0x1800f7e58
// > ??> @ 0x1800f82a0
// > ??> @ 0x1800f86e8
// > ??> @ 0x1800f8b48
// > ??> @ 0x1800f8fa8
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2f94
//
// 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::CCMenuItem::unregisterScriptTapHandler(cocos2d::CCMenuItem *this)
{
struct cocos2d::CCScriptEngineManager *v2; // rax
if ( LODWORD(this->m_pfnSelector.adj) )
{
v2 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)v2 + 24LL))(*(_QWORD *)v2, LODWORD(this->m_pfnSelector.adj));
LODWORD(this->m_pfnSelector.adj) = 0;
}
}