//
// EditorUI::ccTouchCancelled from 0x6f108c to 0x6f10e6 (90 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditorUI::ccTouchCancelled @ 0x6f10ea
//
// 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:57:35 +0000
//
int __fastcall EditorUI::ccTouchCancelled(_DWORD *a1, int a2)
{
int v2; // r4
int v3; // r0
int (*v4)(void); // r3
v2 = *(_DWORD *)(a2 + 52);
if ( a1[129] == v2 )
{
a1[129] = -1;
v3 = a1[144];
}
else if ( a1[130] == v2 )
{
a1[130] = -1;
v3 = a1[148];
}
else
{
if ( a1[133] != v2 )
{
v4 = *(int (**)(void))(*a1 + 456);
return v4();
}
a1[133] = -1;
v3 = a1[149];
}
v4 = *(int (**)(void))(*(_DWORD *)v3 + 460);
return v4();
}