//
// EditButtonBar::onRight from 0x86134c to 0x86138c (64 bytes)
//
// 3 xrefs:
// > ??> @ 0x9e950
// > EditButtonBar::loadFromItems @ 0x861b9c
// > ??> @ 0x1544638
//
// 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::onRight(cocos2d::CCArray ***this, cocos2d::CCObject *a2)
{
EditorSFXManager *v3; // x0
EditorSFXManager *v4; // x0
v3 = (EditorSFXManager *)*((unsigned __int8 *)this + 328);
if ( (_DWORD)v3 )
{
v4 = (EditorSFXManager *)EditorSFXManager::sharedState(v3);
EditorSFXManager::playAction(v4, 278);
}
return EditButtonBar::goToPage(this, *((_DWORD *)*(this + 43) + 147) + 1);
}