//
// cocos2d::extension::CCScrollView::ccTouchCancelled from 0x1003e6440 to 0x1003e6496 (86 bytes)
//
// 3 xrefs:
// > cocos2d::extension::CCTableView::ccTouchCancelled @ 0x10041a9a9
// > sub_10041A9F0 @ 0x10041aa04
// > ??> @ 0x100b3d0c8
//
// 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:29:47 +0000
//
__int64 __fastcall cocos2d::extension::CCScrollView::ccTouchCancelled(__int64 a1, __int64 a2)
{
__int64 result; // rax
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 352LL))(a1);
if ( (_BYTE)result )
{
sub_1007FF140(*(_QWORD *)(a1 + 496), a2, 1);
result = sub_1007FEF90(*(_QWORD *)(a1 + 496));
if ( !(_DWORD)result )
{
*(_BYTE *)(a1 + 428) = 0;
*(_BYTE *)(a1 + 448) = 0;
}
}
return result;
}