//
// CreateGuidelinesLayer::ccTouchBegan from 0x6e7cbc to 0x6e7d74 (184 bytes)
//
// 4 xrefs:
// > `non-virtual thunk to'CreateGuidelinesLayer::ccTouchBegan @ 0x6e7d7c
// > ??> @ 0x97f18
// > ??> @ 0x1425eb0
// > ??> @ 0x1426640
//
// 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 12:51:44 +0000
//
__int64 __fastcall CreateGuidelinesLayer::ccTouchBegan(__int64 a1)
{
__int64 *v3; // x0
__int64 v4; // x3
void (__fastcall *v5)(__int64 *, _BYTE *); // x2
_BYTE v6[8]; // [xsp+20h] [xbp+20h] BYREF
if ( *(_BYTE *)(a1 + 724) && *(int *)(a1 + 728) <= 1000 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1376LL))(a1);
v3 = *(__int64 **)(a1 + 712);
v4 = *v3;
v6[0] = -1;
v6[1] = -1;
v5 = *(void (__fastcall **)(__int64 *, _BYTE *))(v4 + 960);
v6[2] = 0;
v5(v3, v6);
(*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 712) + 160LL))(*(_QWORD *)(a1 + 712), 0.9);
++*(_DWORD *)(a1 + 728);
}
return 1;
}