//
// cocos2d::extension::CCScrollView::ccTouchCancelled from 0x5a804c to 0x5a807c (48 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'cocos2d::extension::CCScrollView::ccTouchCancelled @ 0x5a8080
// > cocos2d::extension::CCTableView::ccTouchCancelled @ 0x5aa72e
//
// 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 ( ((int (__fastcall *)(cocos2d::extension::CCScrollView *, cocos2d::CCTouch *, cocos2d::CCEvent *))a1->isVisible)(
a1,
a2,
a3) )
{
cocos2d::CCArray::removeObject(a1->m_pTouches, a2, 1);
if ( !cocos2d::CCArray::count(a1->m_pTouches) )
{
a1->m_bDragging = 0;
a1->m_bTouchMoved = 0;
}
}
}