//
// cocos2d::CCMenuItem::registerScriptTapHandler from 0xd654f0 to 0xd65524 (52 bytes)
//
// 14 xrefs:
// > ??> @ 0xa4830
// > ??> @ 0x1416bb8
// > ??> @ 0x14170d8
// > ??> @ 0x141dc68
// > ??> @ 0x14314c8
// > ??> @ 0x1488118
// > ??> @ 0x14e1818
// > ??> @ 0x1524a88
// > ??> @ 0x1524f68
// > ??> @ 0x1525448
// > ??> @ 0x1525908
// > ??> @ 0x1525de8
// > ??> @ 0x15262e8
// > ??> @ 0x15267e8
//
// 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
//
__int64 __fastcall cocos2d::CCMenuItem::registerScriptTapHandler(cocos2d::CCMenuItem *this, int a2)
{
__int64 result; // x0
result = (*(__int64 (__fastcall **)(cocos2d::CCMenuItem *))(*(_QWORD *)this + 1040LL))(this);
*((_DWORD *)this + 92) = a2;
return result;
}