//
// EditButtonBar::onRight from 0x1400d4f50 to 0x1400d4fba (106 bytes)
//
// 2 xrefs:
// > EditButtonBar::loadFromItems @ 0x1400d4dcf
// > ??> @ 0x1406c8718
//
// 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 EditButtonBar::onRight(EditButtonBar *a1, cocos2d::CCObject *a2)
{
BoomScrollLayer *m_scrollLayer; // rcx
int m_page; // edi
cocos2d::CCArray *m_dynamicObjects; // rcx
m_scrollLayer = a1->m_scrollLayer;
m_page = m_scrollLayer->m_page;
if ( m_scrollLayer->m_dynamic )
m_dynamicObjects = m_scrollLayer->m_dynamicObjects;
else
m_dynamicObjects = m_scrollLayer->m_pages;
cocos2d::CCArray::count(m_dynamicObjects);
BoomScrollLayer::instantMoveToPage(a1->m_scrollLayer, m_page);
BoomScrollLayer::instantMoveToPage(a1->m_scrollLayer, m_page + 1);
}