//
// cocos2d::CCLayer::ccTouchCancelled from 0x1800512a0 to 0x1800512df (63 bytes)
//
// 7 xrefs:
// > ??> @ 0x1800f3470
// > ??> @ 0x1800f3950
// > ??> @ 0x1800f3ec0
// > ??> @ 0x1800f44b8
// > ??> @ 0x1800f4a28
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bc034
//
// 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::ccTouchCancelled(
cocos2d::CCLayer *this,
struct cocos2d::CCTouch *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::CCTouch *))(**(_QWORD **)v5 + 112LL))(
*(_QWORD *)v5,
v3,
3,
a2);
}
}