//
// cocos2d::extension::CCScrollView::setTouchEnabled from 0x1003e49e0 to 0x1003e4a1a (58 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b3d118
// > ??> @ 0x100b3f648
//
// 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:29:47 +0000
//
__int64 __fastcall cocos2d::extension::CCScrollView::setTouchEnabled(__int64 a1, int a2)
{
__int64 result; // rax
result = cocos2d::CCLayer::setTouchEnabled();
if ( !a2 )
{
*(_BYTE *)(a1 + 428) = 0;
*(_BYTE *)(a1 + 448) = 0;
return sub_1007FF190(*(_QWORD *)(a1 + 496));
}
return result;
}