// // EditorPauseLayer::onSong from 0x100293b00 to 0x100293b8f (143 bytes) // // 1 xrefs: // > EditorPauseLayer::customSetup @ 0x100291d19 // // 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::onSong(EditorPauseLayer *a1, cocos2d::CCObject *a2) { GameManager *v3; // r14 GameManager *v4; // rax v3 = GameManager::sharedState(); v3->m_showSongMarkers = !GameManager::sharedState()->m_showSongMarkers; v4 = GameManager::sharedState(); LODWORD(v3) = v4->m_showSongMarkers; ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_guidelinesOffButton->setVisible)( a1->m_guidelinesOffButton, v4->m_showSongMarkers); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_guidelinesOffButton->setEnabled)( a1->m_guidelinesOffButton, (unsigned int)v3); LOBYTE(v3) = (unsigned __int8)v3 ^ 1; ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_guidelinesOnButton->setVisible)( a1->m_guidelinesOnButton, (unsigned __int8)v3); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_guidelinesOnButton->setEnabled)( a1->m_guidelinesOnButton, (unsigned __int8)v3); }