//
// cocos2d::CCMenu::ccTouchCancelled from 0x7dbd32 to 0x7dbd4c (26 bytes)
//
// 2 xrefs:
// > CCMenuExtra::ccTouchCancelled @ 0x3c6440
// > `non-virtual thunk to'cocos2d::CCMenu::ccTouchCancelled @ 0x7dbd50
//
// 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 12:00:45 +0000
//
int __fastcall cocos2d::CCMenu::ccTouchCancelled(int a1)
{
int result; // r0
result = *(_DWORD *)(a1 + 336);
if ( result )
result = (*(int (__fastcall **)(int))(*(_DWORD *)result + 512))(result);
*(_DWORD *)(a1 + 332) = 0;
return result;
}