//
// EditButtonBar::onLeft from 0x1004a374c to 0x1004a3790 (68 bytes)
//
// 1 xrefs:
// > EditButtonBar::loadFromItems @ 0x1004a339c
//
// 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 11:06:03 +0000
//
__int64 __fastcall EditButtonBar::onLeft(__int64 a1, __n128 a2)
{
__int64 v3; // x0
if ( *(_BYTE *)(a1 + 328) == 1 )
{
v3 = EditorSFXManager::sharedState(a2);
EditorSFXManager::playAction_1(v3, 278);
}
return EditButtonBar::goToPage(a1, (unsigned int)(*(_DWORD *)(*(_QWORD *)(a1 + 344) + 588LL) - 1));
}