//
// EditorUI::ccTouchCancelled from 0x1401c1a00 to 0x1401c1a7f (127 bytes)
//
// 1 xrefs:
// > ??> @ 0x1407511d8
//
// 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:28:03 +0000
//
__int64 __fastcall EditorUI::ccTouchCancelled(__int64 a1, __int64 a2)
{
int v2; // eax
v2 = *(_DWORD *)(a2 + 56);
if ( *(_DWORD *)(a1 + 424) == v2 )
{
*(_DWORD *)(a1 + 424) = -1;
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(*(_QWORD *)(a1 + 488) + 320LL) + 32LL))(*(_QWORD *)(a1 + 488) + 320LL);
}
else if ( *(_DWORD *)(a1 + 428) == v2 )
{
*(_DWORD *)(a1 + 428) = -1;
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(*(_QWORD *)(a1 + 512) + 320LL) + 32LL))(*(_QWORD *)(a1 + 512) + 320LL);
}
else if ( *(_DWORD *)(a1 + 440) == v2 )
{
*(_DWORD *)(a1 + 440) = -1;
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(*(_QWORD *)(a1 + 520) + 320LL) + 32LL))(*(_QWORD *)(a1 + 520) + 320LL);
}
else
{
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 24LL))(a1);
}
}