//
// cocos2d::CCMenuItem::unregisterScriptTapHandler from 0x18005ddc0 to 0x18005ddf6 (54 bytes)
//
// 9 xrefs:
// > ??> @ 0x1800fda60
// > ??> @ 0x1800fde98
// > ??> @ 0x1800fe2f0
// > ??> @ 0x1800fe748
// > ??> @ 0x1800feba0
// > ??> @ 0x1800ff010
// > ??> @ 0x1800ff480
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd24c
//
// 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
//
void __fastcall cocos2d::CCMenuItem::unregisterScriptTapHandler(cocos2d::CCMenuItem *this)
{
struct cocos2d::CCScriptEngineManager *v2; // rax
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;
}
}