//
// ControlMenuTouch::ended from 0xbce850 to 0xbce884 (52 bytes)
//
// 4 xrefs:
// > GJRotationControl::ccTouchEnded @ 0xbcf3f4
// > GJScaleControl::ccTouchEnded @ 0xbcf654
// > GJTransformControl::ccTouchEnded @ 0xbd39e0
// > ??> @ 0x5dfb8
//
// 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::ended(__int64 a1)
{
__int64 result; // x0
result = *(_QWORD *)(a1 + 24);
if ( result )
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 912LL))(result);
*(_QWORD *)(a1 + 24) = 0;
return result;
}