//
// EditorUI::ccTouchCancelled from 0x100162340 to 0x1001623b0 (112 bytes)
//
// 2 xrefs:
// > sub_1001623B0 @ 0x1001623b4
// > ??> @ 0x10096d208
//
// 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 10:59:46 +0000
//
__int64 __fastcall EditorUI::ccTouchCancelled(__int64 a1, __int64 a2)
{
int v2; // w8
__int64 v3; // x8
__int64 v4; // x8
v2 = *(_DWORD *)(a2 + 56);
if ( *(_DWORD *)(a1 + 696) == v2 )
{
*(_DWORD *)(a1 + 696) = -1;
v3 = 760;
}
else if ( *(_DWORD *)(a1 + 700) == v2 )
{
*(_DWORD *)(a1 + 700) = -1;
v3 = 784;
}
else
{
if ( *(_DWORD *)(a1 + 712) != v2 )
{
v4 = 912;
return (*(__int64 (**)(void))(*(_QWORD *)a1 + v4))();
}
*(_DWORD *)(a1 + 712) = -1;
v3 = 792;
}
a1 = *(_QWORD *)(a1 + v3);
v4 = 920;
return (*(__int64 (**)(void))(*(_QWORD *)a1 + v4))();
}