//
// cocos2d::extension::CCScrollView::ccTouchEnded from 0x180013b20 to 0x180013bd6 (182 bytes)
//
// 4 xrefs:
// > cocos2d::extension::CCTableView::ccTouchEnded @ 0x1800160aa
// > ??> @ 0x18002a970
// > ??> @ 0x180032408
// > ??> @ 0x18004c500
//
// 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:15:40 +0000
//
void __fastcall cocos2d::extension::CCScrollView::ccTouchEnded(
cocos2d::CCArray **this,
struct cocos2d::CCTouch *a2,
struct cocos2d::CCEvent *a3)
{
if ( (*((unsigned __int8 (__fastcall **)(char *, struct cocos2d::CCTouch *, struct cocos2d::CCEvent *))*(this - 40)
+ 43))(
(char *)this - 320,
a2,
a3) )
{
if ( cocos2d::CCArray::containsObject(*(this + 23), a2) )
{
if ( cocos2d::CCArray::count(*(this + 23)) == 1 && *((_BYTE *)this + 136) && !*((_BYTE *)this + 225) )
cocos2d::CCNode::schedule(this - 40, cocos2d::extension::CCScrollView::deaccelerateScrolling);
cocos2d::CCArray::removeObject(*(this + 23), a2, 1);
}
if ( !cocos2d::CCArray::count(*(this + 23)) )
{
*((_BYTE *)this + 116) = 0;
*((_BYTE *)this + 136) = 0;
}
}
}