//
// CreateGuidelinesLayer::ccTouchEnded from 0x140134d60 to 0x140134dba (90 bytes)
//
// 3 xrefs:
// > ??> @ 0x140736640
// > ??> @ 0x140736b68
// > ??> @ 0x140917090
//
// 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:04 +0000
//
__int64 __fastcall CreateGuidelinesLayer::ccTouchEnded(__int64 a1)
{
void (__fastcall ***v2)(_QWORD, __int16 *); // rcx
__int64 result; // rax
__int16 v4; // [rsp+30h] [rbp+8h] BYREF
char v5; // [rsp+32h] [rbp+Ah]
if ( *(_BYTE *)(a1 + 404) )
{
v2 = (void (__fastcall ***)(_QWORD, __int16 *))(*(_QWORD *)(a1 + 392) + 320LL);
v4 = -26881;
v5 = 0;
(**v2)(v2, &v4);
return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 392) + 160LL))(*(_QWORD *)(a1 + 392));
}
return result;
}