//
// cocos2d::CCMenuItem::unregisterScriptTapHandler from 0x10004cc0c to 0x10004cc4c (64 bytes)
//
// 7 xrefs:
// > cocos2d::CCMenuItem::dCCMenuItem @ 0x10004cb98
// > ??> @ 0x100770e60
// > ??> @ 0x10079f118
// > ??> @ 0x1007a79a8
// > ??> @ 0x1007c2cf8
// > ??> @ 0x1007e7570
// > ??> @ 0x1008158b8
//
// 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 *a1)
{
cocos2d::CCScriptEngineManager *v2; // x0
if ( a1->m_nScriptTapHandler )
{
v2 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)v2 + 32LL))(
*(_QWORD *)v2,
(unsigned int)a1->m_nScriptTapHandler);
a1->m_nScriptTapHandler = 0;
}
}