//
// CCMenuExtra::ccTouchEnded from 0x691294 to 0x6912f8 (100 bytes)
//
// 4 xrefs:
// > `non-virtual thunk to'CCMenuExtra::ccTouchEnded @ 0x6912fc
// > ??> @ 0xcfe08
// > ??> @ 0x1416490
// > ??> @ 0x14e2dc0
//
// 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 12:50:35 +0000
//
__int64 __fastcall CCMenuExtra::ccTouchEnded(__int64 a1, __int64 a2, __int64 a3)
{
__int64 result; // x0
CCMenuExtra::stopRepeat((CCMenuExtra *)a1);
if ( !*(_BYTE *)(a1 + 448) )
return cocos2d::CCMenu::ccTouchEnded(a1, a2, a3);
result = *(_QWORD *)(a1 + 432);
*(_BYTE *)(a1 + 448) = 0;
if ( result )
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 1024LL))(result);
*(_DWORD *)(a1 + 428) = 0;
return result;
}