//
// SetGroupIDLayer::ccTouchCancelled from 0x140592cf0 to 0x140592d8c (156 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407e5a58
// > ??> @ 0x14092ce28
//
// This function is hookable on this platform (idp: pc, 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:34:32 +0000
//
__int64 __fastcall SetGroupIDLayer::ccTouchCancelled(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // rcx
v5 = *(_QWORD *)(a1 + 512);
if ( v5 && *(_DWORD *)(a2 + 56) == *(_DWORD *)(v5 + 440) )
{
*(_DWORD *)(v5 + 440) = -1;
*(_QWORD *)(v5 + 472) = 0;
*(_WORD *)(v5 + 480) = 0;
*(_BYTE *)(v5 + 508) = 0;
cocos2d::CCNode::unscheduleUpdate((cocos2d::CCNode *)v5);
}
if ( *(_BYTE *)(a1 + 528) )
{
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)(*(_QWORD *)(a1 + 520) + 320LL) + 32LL))(
*(_QWORD *)(a1 + 520) + 320LL,
a2,
a3);
*(_BYTE *)(a1 + 528) = 0;
}
return FLAlertLayer::ccTouchCancelled(a1, a2);
}