//
// cocos2d::CCMenuItem::unregisterScriptTapHandler from 0x5d5280 to 0x5d52a2 (34 bytes)
//
// 1 xrefs:
// > cocos2d::CCMenuItem::~CCMenuItem @ 0x5d52bc
//
// 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 cocos2d::CCMenuItem::unregisterScriptTapHandler(cocos2d::CCMenuItem *a1)
{
cocos2d::CCScriptEngineManager *v2; // r0
if ( a1->m_nScriptTapHandler )
{
v2 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)v2 + 16))(*(_DWORD *)v2, a1->m_nScriptTapHandler);
a1->m_nScriptTapHandler = 0;
}
}