//
// cocos2d::CCMenuItem::unregisterScriptTapHandler from 0xd66060 to 0xd660a4 (68 bytes)
//
// 15 xrefs:
// > cocos2d::CCMenuItem::~CCMenuItem @ 0xd660cc
// > ??> @ 0xcdb70
// > ??> @ 0x1416bc0
// > ??> @ 0x14170e0
// > ??> @ 0x141dc70
// > ??> @ 0x14314d0
// > ??> @ 0x1488120
// > ??> @ 0x14e1820
// > ??> @ 0x1524a90
// > ??> @ 0x1524f70
// > ??> @ 0x1525450
// > ??> @ 0x1525910
// > ??> @ 0x1525df0
// > ??> @ 0x15262f0
// > ??> @ 0x15267f0
//
// This function is hookable on this platform (idp: arm, 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 13:07:53 +0000
//
_DWORD *__fastcall cocos2d::CCMenuItem::unregisterScriptTapHandler(_DWORD *this)
{
_DWORD *v1; // x19
_QWORD *v2; // x0
if ( *(this + 92) )
{
v1 = this;
v2 = (_QWORD *)cocos2d::CCScriptEngineManager::sharedManager((cocos2d::CCScriptEngineManager *)this);
this = (_DWORD *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v2 + 32LL))(*v2, (unsigned int)v1[92]);
v1[92] = 0;
}
return this;
}