//
// EditorPauseLayer::updateSongButton from 0x100293bb0 to 0x100293c22 (114 bytes)
//
// 0 xrefs:
//
// 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)
{
GameManager *v2; // rax
_BOOL4 m_showSongMarkers; // r14d
v2 = GameManager::sharedState();
m_showSongMarkers = v2->m_showSongMarkers;
((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_guidelinesOffButton->setVisible)(
a1->m_guidelinesOffButton,
v2->m_showSongMarkers);
((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL4))a1->m_guidelinesOffButton->setEnabled)(
a1->m_guidelinesOffButton,
m_showSongMarkers);
LOBYTE(m_showSongMarkers) = !m_showSongMarkers;
((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL4))a1->m_guidelinesOnButton->setVisible)(
a1->m_guidelinesOnButton,
m_showSongMarkers);
((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL4))a1->m_guidelinesOnButton->setEnabled)(
a1->m_guidelinesOnButton,
m_showSongMarkers);
}