//
// EditButtonBar::goToPage from 0x861308 to 0x86134c (68 bytes)
//
// 7 xrefs:
// > EditorUI::updateCreateMenu @ 0x7c2e0c
// > EditButtonBar::onRight @ 0x861388
// > EditButtonBar::onLeft @ 0x8613c8
// > EditButtonBar::onDotClicked @ 0x861434
// > EditorUI::setupCreateMenu @ 0xbfe574
// > EditorUI::setupCreateMenu @ 0xbfe5ac
// > ??> @ 0xfd228
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:55:36 +0000
//
__int64 __fastcall EditButtonBar::goToPage(cocos2d::CCArray ***this, int a2)
{
BoomScrollLayer::getTotalPages(*(this + 43));
BoomScrollLayer::instantMoveToPage(*(this + 43), a2 - 1);
BoomScrollLayer::instantMoveToPage(*(this + 43), a2);
return EditButtonBar::updateDotState((EditButtonBar *)this);
}