//
// EditorUI::ccTouchCancelled from 0xbd6950 to 0xbd69fc (172 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'EditorUI::ccTouchCancelled @ 0xbd6a00
// > ??> @ 0x69e38
// > ??> @ 0x1437108
//
// 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 13:03:40 +0000
//
__int64 __fastcall EditorUI::ccTouchCancelled(__int64 a1, __int64 a2)
{
int v2; // w4
__int64 v4; // x4
__int64 v5; // x4
__int64 v6; // x4
v2 = *(_DWORD *)(a2 + 56);
if ( *(_DWORD *)(a1 + 696) == v2 )
{
v5 = *(_QWORD *)(a1 + 760);
*(_DWORD *)(a1 + 696) = -1;
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 920LL))(v5);
}
else if ( v2 == *(_DWORD *)(a1 + 700) )
{
v6 = *(_QWORD *)(a1 + 784);
*(_DWORD *)(a1 + 700) = -1;
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 920LL))(v6);
}
else if ( v2 == *(_DWORD *)(a1 + 712) )
{
v4 = *(_QWORD *)(a1 + 792);
*(_DWORD *)(a1 + 712) = -1;
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 920LL))(v4);
}
else
{
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 912LL))(a1);
}
}