//
// EditButtonBar::goToPage from 0x4dde34 to 0x4dde60 (44 bytes)
//
// 6 xrefs:
// > EditorUI::updateCreateMenu @ 0x482788
// > EditButtonBar::onRight @ 0x4dde86
// > EditButtonBar::onLeft @ 0x4ddeb0
// > EditButtonBar::onDotClicked @ 0x4ddef0
// > EditorUI::setupCreateMenu @ 0x70c22a
// > EditorUI::setupCreateMenu @ 0x70c252
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:50:58 +0000
//
int __fastcall EditButtonBar::goToPage(cocos2d::CCArray ***this, int a2)
{
BoomScrollLayer::getTotalPages(*(this + 71));
BoomScrollLayer::instantMoveToPage((signed int)*(this + 71), a2 - 1);
BoomScrollLayer::instantMoveToPage((signed int)*(this + 71), a2);
return EditButtonBar::updateDotState((int)this);
}