//
// cocos2d::CCLayer::ccTouchesCancelled from 0x1800513a0 to 0x1800513df (63 bytes)
//
// 8 xrefs:
// > ??> @ 0x1800f3490
// > ??> @ 0x1800f3970
// > ??> @ 0x1800f3ee0
// > ??> @ 0x1800f44d8
// > ??> @ 0x1800f4a48
// > ??> @ 0x1800fd590
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bc064
//
// 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:21:45 +0000
//
void __fastcall cocos2d::CCLayer::ccTouchesCancelled(
cocos2d::CCLayer *this,
struct cocos2d::CCSet *a2,
struct cocos2d::CCEvent *a3)
{
char *v3; // rbx
struct cocos2d::CCScriptEngineManager *v5; // rax
v3 = (char *)this - 320;
if ( *((_DWORD *)this - 5) )
{
v5 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, char *, __int64, struct cocos2d::CCSet *))(**(_QWORD **)v5 + 104LL))(
*(_QWORD *)v5,
v3,
3,
a2);
}
}