//
// GJRotationControl::ccTouchEnded from 0xbcf398 to 0xbcf408 (112 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'GJRotationControl::ccTouchEnded @ 0xbcf40c
// > ??> @ 0x9feb0
// > ??> @ 0x14e1cf0
//
// 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 GJRotationControl::ccTouchEnded(_DWORD *a1, __int64 a2)
{
__int64 v2; // x20
__int64 result; // x0
v2 = (__int64)(a1 + 120);
if ( ControlMenuTouch::tracking((ControlMenuTouch *)(a1 + 120)) )
return ControlMenuTouch::ended(v2);
result = *(unsigned int *)(a2 + 56);
if ( a1[110] == (_DWORD)result )
return GJRotationControl::finishTouch((GJRotationControl *)a1);
return result;
}