//
// cocos2d::extension::CCScrollView::setTouchEnabled from 0xaa6e58 to 0xaa6e9c (68 bytes)
//
// 3 xrefs:
// > ??> @ 0x78f60
// > ??> @ 0x11f9528
// > ??> @ 0x11f9b98
//
// 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::setTouchEnabled(cocos2d::extension::CCScrollView *a1, bool a2)
{
_BOOL4 v2; // w19
v2 = a2;
cocos2d::CCLayer::setTouchEnabled(a1, a2);
if ( !v2 )
{
a1->m_bDragging = 0;
a1->m_bTouchMoved = 0;
cocos2d::CCArray::removeAllObjects(a1->m_pTouches);
}
}