//
// GJRotationControl::ccTouchCancelled from 0x1401a2e20 to 0x1401a2e62 (66 bytes)
//
// 2 xrefs:
// > ??> @ 0x140751140
// > ??> @ 0x1409199a0
//
// 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
//
__int64 __fastcall GJRotationControl::ccTouchCancelled(_QWORD *a1)
{
__int64 v2; // rcx
__int64 result; // rax
v2 = a1[23];
if ( !v2 )
return (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 24LL))(a1);
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(v2 + 320) + 32LL))(v2 + 320);
a1[23] = 0;
return result;
}