//
// ControlMenuTouch::cancelled from 0xbce884 to 0xbce8b8 (52 bytes)
//
// 7 xrefs:
// > GJRotationControl::ccTouchCancelled @ 0xbce924
// > GJScaleControl::ccTouchCancelled @ 0xbce98c
// > GJTransformControl::ccTouchCancelled @ 0xbce9f4
// > GJRotationControl::finishTouch @ 0xbcf334
// > GJScaleControl::finishTouch @ 0xbcf55c
// > GJTransformControl::finishTouch @ 0xbd07e8
// > ??> @ 0xe8048
//
// 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:03:36 +0000
//
__int64 __fastcall ControlMenuTouch::cancelled(__int64 a1)
{
__int64 result; // x0
result = *(_QWORD *)(a1 + 24);
if ( result )
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 920LL))(result);
*(_QWORD *)(a1 + 24) = 0;
return result;
}