//
// cocos2d::extension::CCScrollView::getScriptHandler from 0x5a932a to 0x5a934e (36 bytes)
//
// 0 xrefs:
//
// 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
//
int cocos2d::extension::CCScrollView::getScriptHandler(cocos2d::extension::CCScrollView *a1, int a2)
{
cocos2d::extension::CCScrollView *v3; // r0
int v5; // [sp+4h] [bp-4h] BYREF
v5 = a2;
v3 = (cocos2d::extension::CCScrollView *)std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::find(
(int)&a1->m_mapScriptHandler,
&v5);
if ( v3 == (cocos2d::extension::CCScrollView *)&a1->m_mapScriptHandler.m_header )
return 0;
else
return v3->m_uAutoReleaseCount;
}