//
// cocos2d::extension::CCScrollView::setTouchEnabled from 0x180012850 to 0x18001288e (62 bytes)
//
// 4 xrefs:
// > ??> @ 0x1800286b8
// > ??> @ 0x180028c30
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004a3d4
//
// 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 __fastcall cocos2d::extension::CCScrollView::setTouchEnabled(cocos2d::CCArray **this, bool a2)
{
cocos2d::CCArray *v4; // rcx
cocos2d::CCLayer::setTouchEnabled((cocos2d::CCLayer *)this, a2);
if ( !a2 )
{
v4 = *(this + 63);
*((_BYTE *)this + 436) = 0;
*((_BYTE *)this + 456) = 0;
cocos2d::CCArray::removeAllObjects(v4);
}
}