//
// EditButtonBar::goToPage from 0x1400d4ef0 to 0x1400d4f4c (92 bytes)
//
// 3 xrefs:
// > EditorUI::setupCreateMenu @ 0x14010dd92
// > EditorUI::setupCreateMenu @ 0x14010ddf4
// > ??> @ 0x1406c870c
//
// 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::goToPage(EditButtonBar *a1, int a2)
{
BoomScrollLayer *m_scrollLayer; // rcx
cocos2d::CCArray *m_dynamicObjects; // rcx
m_scrollLayer = a1->m_scrollLayer;
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, a2 - 1);
BoomScrollLayer::instantMoveToPage(a1->m_scrollLayer, a2);
}