//
// cocos2d::extension::CCScrollView::setTouchEnabled from 0x1800122b0 to 0x1800122ee (62 bytes)
//
// 4 xrefs:
// > ??> @ 0x18002ad50
// > ??> @ 0x18002b2e8
// > ??> @ 0x180032408
// > ??> @ 0x18004c2b4
//
// 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::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);
}
}