//
// EditButtonBar::onRight from 0x1006b4a50 to 0x1006b4abf (111 bytes)
//
// 1 xrefs:
// > EditButtonBar::loadFromItems @ 0x1006b4683
//
// 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::onRight(__int64 a1)
{
__int64 v2; // rax
__int64 v3; // rdi
int v4; // r14d
if ( *(_BYTE *)(a1 + 328) == 1 )
{
v2 = EditorSFXManager::sharedState(a1);
EditorSFXManager::playAction_1(v2, 278);
}
v3 = *(_QWORD *)(a1 + 344);
v4 = *(_DWORD *)(v3 + 588);
BoomScrollLayer::getTotalPages(v3);
BoomScrollLayer::instantMoveToPage(*(_QWORD *)(a1 + 344), v4);
BoomScrollLayer::instantMoveToPage(*(_QWORD *)(a1 + 344), v4 + 1);
return EditButtonBar::updateDotState(a1);
}