//
// cocos2d::CCMenuItem::registerScriptTapHandler from 0x1003a7d80 to 0x1003a7da1 (33 bytes)
//
// 13 xrefs:
// > ??> @ 0x100ab69d0
// > ??> @ 0x100aeff90
// > ??> @ 0x100af5b60
// > ??> @ 0x100b14658
// > ??> @ 0x100b33be8
// > ??> @ 0x100b340a8
// > ??> @ 0x100b345a0
// > ??> @ 0x100b34a98
// > ??> @ 0x100b34fa8
// > ??> @ 0x100b354d0
// > ??> @ 0x100b359c8
// > ??> @ 0x100b72d88
// > ??> @ 0x100b7fbb8
//
// 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 12:29:22 +0000
//
__int64 __fastcall cocos2d::CCMenuItem::registerScriptTapHandler(_DWORD *a1, int a2)
{
__int64 result; // rax
result = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a1 + 1040LL))(a1);
a1[92] = a2;
return result;
}