//
// ControlMenuTouch::ended from 0x6eb650 to 0x6eb666 (22 bytes)
//
// 3 xrefs:
// > GJRotationControl::ccTouchEnded @ 0x6eb9a2
// > GJScaleControl::ccTouchEnded @ 0x6ebb3a
// > GJTransformControl::ccTouchEnded @ 0x6eef42
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:57:31 +0000
//
int __fastcall ControlMenuTouch::ended(int a1)
{
int result; // r0
result = *(_DWORD *)(a1 + 12);
if ( result )
result = (*(int (__fastcall **)(int))(*(_DWORD *)result + 456))(result);
*(_DWORD *)(a1 + 12) = 0;
return result;
}