//
// cocos2d::CCMenu::ccTouchEnded from 0xd63538 to 0xd63580 (72 bytes)
//
// 6 xrefs:
// > CCMenuExtra::ccTouchEnded @ 0x6912f4
// > SliderTouchLogic::ccTouchEnded @ 0x6b6434
// > `non-virtual thunk to'cocos2d::CCMenu::ccTouchEnded @ 0xd63584
// > ??> @ 0xd45a8
// > ??> @ 0x14c34a0
// > ??> @ 0x15242d0
//
// 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:52 +0000
//
__int64 __fastcall cocos2d::CCMenu::ccTouchEnded(__int64 a1)
{
__int64 result; // x0
result = *(_QWORD *)(a1 + 432);
if ( result )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)result + 1024LL))(result);
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 432) + 1008LL))(*(_QWORD *)(a1 + 432));
}
*(_DWORD *)(a1 + 428) = 0;
return result;
}