//
// EditButtonBar::goToPage from 0x1006b4cd0 to 0x1006b4d11 (65 bytes)
//
// 3 xrefs:
// > EditorUI::updateCreateMenu @ 0x10000d44e
// > EditorUI::setupCreateMenu @ 0x100637e1b
// > EditorUI::setupCreateMenu @ 0x100637e69
//
// This function is hookable on this platform (idp: pc, 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:35:26 +0000
//
__int64 __fastcall EditButtonBar::goToPage(__int64 a1, int a2)
{
BoomScrollLayer::getTotalPages(*(_QWORD *)(a1 + 344));
BoomScrollLayer::instantMoveToPage(*(_QWORD *)(a1 + 344), a2 - 1);
BoomScrollLayer::instantMoveToPage(*(_QWORD *)(a1 + 344), a2);
return EditButtonBar::updateDotState(a1);
}