//
// cocos2d::extension::CCScrollView::setTouchEnabled from 0x5a947c to 0x5a949e (34 bytes)
//
// 0 xrefs:
//
// 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; // r5
v2 = a2;
cocos2d::CCLayer::setTouchEnabled(a1, a2);
if ( !v2 )
{
a1->m_bDragging = 0;
a1->m_bTouchMoved = 0;
cocos2d::CCArray::removeAllObjects(a1->m_pTouches);
}
}