//
// cocos2d::extension::CCScrollView::setTouchEnabled from 0x7af11c to 0x7af13e (34 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:05 +0000
//
int __fastcall cocos2d::extension::CCScrollView::setTouchEnabled(cocos2d::CCArray **this, _BOOL4 a2)
{
int result; // r0
result = cocos2d::CCLayer::setTouchEnabled((cocos2d::CCLayer *)this, a2);
if ( !a2 )
{
*((_BYTE *)this + 336) = 0;
*((_BYTE *)this + 352) = 0;
return cocos2d::CCArray::removeAllObjects(*(this + 99));
}
return result;
}