//
// BoomScrollLayer::moveToPageEnded from 0x56d8cc to 0x56d990 (196 bytes)
//
// 6 xrefs:
// > BoomScrollLayer::instantMoveToPage @ 0x56df7c
// > BoomScrollLayer::instantMoveToPage @ 0x56df90
// > BoomScrollLayer::quickUpdate @ 0x56e428
// > ??> @ 0xb2680
// > BoomScrollLayer::moveToPage @ 0x56e08c
// > ??> @ 0x122e300
//
// 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 BoomScrollLayer::moveToPageEnded(BoomScrollLayer *a1)
{
BoomScrollLayerDelegate *m_delegate; // x0
const cocos2d::CCPoint *v3; // x0
int v4; // w0
cocos2d::CCPoint v5; // [xsp+30h] [xbp+30h] BYREF
cocos2d::CCPoint v6; // 0:s0.4,4:s1.4
if ( a1->m_slowPage != a1->m_page )
{
m_delegate = a1->m_delegate;
if ( m_delegate )
((void (__fastcall *)(BoomScrollLayerDelegate *, BoomScrollLayer *))m_delegate->scrollLayerScrolledToPage)(
m_delegate,
a1);
}
cocos2d::CCNode::stopActionByTag(a1->m_extendedLayer, 2);
v3 = a1->m_extendedLayer->getPosition(a1->m_extendedLayer);
cocos2d::CCPoint::CCPoint(&v5, v3);
v4 = BoomScrollLayer::pageNumberForPosition(a1, v6);
a1->m_page = v4;
a1->m_slowPage = v4;
BoomScrollLayer::updateDots(a1, 0.0);
}