//
// cocos2d::CCEGLViewProtocol::handleTouchesCancel from 0x100511750 to 0x1005117c3 (115 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b64ba0
// > ??> @ 0x100b69e00
//
// 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 12:31:36 +0000
//
__int64 __fastcall cocos2d::CCEGLViewProtocol::handleTouchesCancel(
__int64 a1,
int a2,
__int64 a3,
__int64 a4,
__int64 a5,
double a6)
{
_BYTE v10[64]; // [rsp+0h] [rbp-70h] BYREF
double v11; // [rsp+40h] [rbp-30h]
v11 = a6;
cocos2d::CCSet::CCSet(v10);
cocos2d::CCEGLViewProtocol::getSetOfTouchesEndOrCancel(a1, (__int64)v10, a2, a3, a4, a5, v11);
(*(void (__fastcall **)(_QWORD, _BYTE *, _QWORD))(**(_QWORD **)(a1 + 8) + 24LL))(*(_QWORD *)(a1 + 8), v10, 0);
return sub_100898B00(v10);
}