//
// cocos2d::extension::CCScrollView::setTouchEnabled from 0xd18824 to 0xd18868 (68 bytes)
//
// 3 xrefs:
// > ??> @ 0xa1cb0
// > ??> @ 0x150edf8
// > ??> @ 0x150f488
//
// This function is hookable on this platform (idp: arm, 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 13:07:07 +0000
//
__int64 __fastcall cocos2d::extension::CCScrollView::setTouchEnabled(cocos2d::CCArray **this, bool a2)
{
_BOOL4 v2; // w19
__int64 result; // x0
v2 = a2;
result = cocos2d::CCLayer::setTouchEnabled((cocos2d::CCLayer *)this, a2);
if ( !v2 )
{
*((_BYTE *)this + 428) = 0;
*((_BYTE *)this + 448) = 0;
return cocos2d::CCArray::removeAllObjects(*(this + 62));
}
return result;
}