//
// GJRotationControl::ccTouchEnded from 0x1401a2dc0 to 0x1401a2e1c (92 bytes)
//
// 2 xrefs:
// > ??> @ 0x140751138
// > ??> @ 0x140919994
//
// This function is hookable on this platform (idp: pc, 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 11:27:48 +0000
//
void __fastcall GJRotationControl::ccTouchEnded(__int64 a1, __int64 a2)
{
__int64 v3; // rcx
__int64 v4; // rcx
v3 = a1 - 320;
if ( *(_QWORD *)(v3 + 504) )
{
v4 = *(_QWORD *)(a1 + 184);
if ( v4 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)(v4 + 320) + 24LL))(v4 + 320);
*(_QWORD *)(a1 + 184) = 0;
}
else if ( *(_DWORD *)(a1 + 120) == *(_DWORD *)(a2 + 56) )
{
GJRotationControl::finishTouch(v3);
}
}