//
// BoomScrollLayer::moveToPageEnded from 0x10012bf7c to 0x10012c008 (140 bytes)
//
// 3 xrefs:
// > BoomScrollLayer::instantMoveToPage @ 0x10012c0c8
// > BoomScrollLayer::quickUpdate @ 0x10012c380
// > BoomScrollLayer::moveToPage @ 0x10012c1ec
//
// 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 __fastcall BoomScrollLayer::moveToPageEnded(BoomScrollLayer *a1)
{
BoomScrollLayerDelegate *m_delegate; // x0
__int64 *v3; // x0
int v4; // w0
float v5; // s0
__int64 v6; // [xsp+8h] [xbp-18h] BYREF
cocos2d::CCPoint v7; // 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 = (__int64 *)((__int64 (__fastcall *)(ExtendedLayer *))a1->m_extendedLayer->getPosition)(a1->m_extendedLayer);
v7.x = sub_1000229B8(&v6, v3);
v4 = BoomScrollLayer::pageNumberForPosition(a1, v7);
a1->m_page = v4;
a1->m_slowPage = v4;
BoomScrollLayer::updateDots(a1, v5);
}