//
// EditorPauseLayer::updateSongButton from 0x10039ddb4 to 0x10039de24 (112 bytes)
//
// 2 xrefs:
// > EditorPauseLayer::customSetup @ 0x10039c594
// > EditorPauseLayer::onSong @ 0x10039dd9c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall EditorPauseLayer::updateSongButton(EditorPauseLayer *a1)
{
_BOOL8 m_showSongMarkers; // x20
m_showSongMarkers = GameManager::sharedState()->m_showSongMarkers;
((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL8))a1->m_guidelinesOffButton->setVisible)(
a1->m_guidelinesOffButton,
m_showSongMarkers);
((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL8))a1->m_guidelinesOffButton->setEnabled)(
a1->m_guidelinesOffButton,
m_showSongMarkers);
((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_guidelinesOnButton->setVisible)(
a1->m_guidelinesOnButton,
(unsigned int)m_showSongMarkers ^ 1);
((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_guidelinesOnButton->setEnabled)(
a1->m_guidelinesOnButton,
(unsigned int)m_showSongMarkers ^ 1);
}