//
// cocos2d::extension::CCScrollView::ccTouchCancelled from 0xaa50c4 to 0xaa5128 (100 bytes)
//
// 4 xrefs:
// > `non-virtual thunk to'cocos2d::extension::CCScrollView::ccTouchCancelled @ 0xaa512c
// > cocos2d::extension::CCTableView::ccTouchCancelled @ 0xaa8ea0
// > ??> @ 0x6c600
// > ??> @ 0x11f94d8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void cocos2d::extension::CCScrollView::ccTouchCancelled(
cocos2d::extension::CCScrollView *a1,
cocos2d::CCTouch *a2,
cocos2d::CCEvent *a3)
{
if ( a1->isVisible(a1) )
{
cocos2d::CCArray::removeObject(a1->m_pTouches, a2, 1);
if ( !(unsigned int)cocos2d::CCArray::count(a1->m_pTouches) )
{
a1->m_bDragging = 0;
a1->m_bTouchMoved = 0;
}
}
}