//
// EditorSoundsLayer::ccTouchCancelled from 0x1004d88f0 to 0x1004d8960 (112 bytes)
//
// 2 xrefs:
// > sub_1004D8960 @ 0x1004d8964
// > ??> @ 0x10098a9e8
//
// 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 11:06:32 +0000
//
__int64 __fastcall EditorSoundsLayer::ccTouchCancelled(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v6; // x0
v6 = *(_QWORD *)(a1 + 1152);
if ( v6 )
sub_100525990(v6, a2);
if ( *(_BYTE *)(a1 + 1168) == 1 )
{
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 1160) + 920LL))(
*(_QWORD *)(a1 + 1160),
a2,
a3);
*(_BYTE *)(a1 + 1168) = 0;
}
return FLAlertLayer::ccTouchCancelled(a1, a2);
}