//
// CreateGuidelinesLayer::ccTouchBegan from 0x10050e890 to 0x10050e8fc (108 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b68940
// > ??> @ 0x100b69108
//
// 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 12:31:35 +0000
//
char __fastcall CreateGuidelinesLayer::ccTouchBegan(__int64 a1)
{
__int64 v1; // rax
__int64 v3; // rdi
int v5; // [rsp-14h] [rbp-14h] BYREF
if ( *(_BYTE *)(a1 + 724) == 1 && *(int *)(a1 + 728) <= 1000 )
{
v5 = HIDWORD(v1);
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1376LL))(a1);
v3 = *(_QWORD *)(a1 + 712);
BYTE2(v5) = 0;
LOWORD(v5) = -1;
(*(void (__fastcall **)(__int64, int *))(*(_QWORD *)v3 + 960LL))(v3, &v5);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 712) + 160LL))(*(_QWORD *)(a1 + 712), 0.89999998);
++*(_DWORD *)(a1 + 728);
}
return 1;
}