//
// cocos2d::extension::CCScrollView::performedAnimatedScroll from 0xaa507c to 0xaa50c4 (72 bytes)
//
// 5 xrefs:
// > ??> @ 0x86d48
// > cocos2d::extension::CCScrollView::stoppedAnimatedScroll @ 0xaa4f8c
// > cocos2d::extension::CCScrollView::performedAnimatedScroll @ 0xaa50b4
// > cocos2d::extension::CCScrollView::setContentOffsetInDuration @ 0xaa5414
// > ??> @ 0x122c8d0
//
// 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
//
void cocos2d::extension::CCScrollView::performedAnimatedScroll(cocos2d::extension::CCScrollView *a1, float a2)
{
cocos2d::extension::CCScrollViewDelegate *m_pDelegate; // x0
cocos2d::SEL_SCHEDULE v4; // 0:x1.16
if ( a1->m_bDragging )
{
v4.adj = 0;
v4.ptr = (void (__cdecl *)(float))cocos2d::extension::CCScrollView::performedAnimatedScroll;
cocos2d::CCNode::unschedule(a1, v4);
}
else
{
m_pDelegate = a1->m_pDelegate;
if ( m_pDelegate )
((void (__fastcall *)(cocos2d::extension::CCScrollViewDelegate *, cocos2d::extension::CCScrollView *, float))m_pDelegate->scrollViewDidScroll)(
m_pDelegate,
a1,
a2);
}
}