//
// CreateGuidelinesLayer::ccTouchEnded from 0x3f799c to 0x3f79ee (82 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CreateGuidelinesLayer::ccTouchEnded @ 0x3f79fc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:18 +0000
//
int __fastcall CreateGuidelinesLayer::ccTouchEnded(int result, int a2, int a3)
{
int v3; // r5
int *v4; // r0
int v5; // r3
void (__fastcall *v6)(int *, _DWORD *); // r3
_DWORD v7[3]; // [sp+0h] [bp-Ch] BYREF
v7[0] = result;
v7[1] = a2;
v7[2] = a3;
v3 = result;
if ( *(_BYTE *)(result + 552) )
{
v4 = *(int **)(result + 544);
v5 = *v4;
LOWORD(v7[0]) = -26881;
v6 = *(void (__fastcall **)(int *, _DWORD *))(v5 + 480);
BYTE2(v7[0]) = 0;
v6(v4, v7);
return (*(int (__fastcall **)(_DWORD, int))(**(_DWORD **)(v3 + 544) + 80))(*(_DWORD *)(v3 + 544), 1061997773);
}
return result;
}