{"type": "func", "start": 4193860, "end": 4193936, "name": "EditorPauseLayer::updateSongButton", "pseudocode": "// \n// EditorPauseLayer::updateSongButton from 0x3ffe44 to 0x3ffe90 (76 bytes)\n// \n// 2 xrefs:\n// > EditorPauseLayer::onSong @ 0x3ffeb0\n// > EditorPauseLayer::customSetup @ 0x4001e4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditorPauseLayer::updateSongButton(EditorPauseLayer *a1)\n{\n  int m_showSongMarkers; // r4\n  _BOOL4 v3; // r1\n\n  m_showSongMarkers = GameManager::sharedState()->m_showSongMarkers;\n  a1->m_guidelinesOffButton->setVisible(a1->m_guidelinesOffButton, m_showSongMarkers);\n  v3 = m_showSongMarkers;\n  m_showSongMarkers ^= 1u;\n  a1->m_guidelinesOffButton->setEnabled(a1->m_guidelinesOffButton, v3);\n  a1->m_guidelinesOnButton->setVisible(a1->m_guidelinesOnButton, m_showSongMarkers);\n  a1->m_guidelinesOnButton->setEnabled(a1->m_guidelinesOnButton, m_showSongMarkers);\n}", "assembly": "; \n; EditorPauseLayer::updateSongButton from 0x3ffe44 to 0x3ffe90 (76 bytes)\n; \n; 2 xrefs:\n; > EditorPauseLayer::onSong @ 0x3ffeb0\n; > EditorPauseLayer::customSetup @ 0x4001e4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3ffe44\nMOV             R5, R0                                                 ; +0x2, 0x3ffe46\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x3ffe48\nLDRB.W          R4, [R0,#0x299]                                        ; +0x8, 0x3ffe4c\nLDR.W           R0, [R5,#0x1C4]                                        ; +0xc, 0x3ffe50\nMOV             R1, R4                                                 ; +0x10, 0x3ffe54\nLDR             R3, [R0]                                               ; +0x12, 0x3ffe56\nLDR.W           R3, [R3,#0xA4]                                         ; +0x14, 0x3ffe58\nBLX             R3                                                     ; +0x18, 0x3ffe5c\nLDR.W           R0, [R5,#0x1C4]                                        ; +0x1a, 0x3ffe5e\nMOV             R1, R4                                                 ; +0x1e, 0x3ffe62\nEOR.W           R4, R4, #1                                             ; +0x20, 0x3ffe64\nLDR             R3, [R0]                                               ; +0x24, 0x3ffe68\nLDR.W           R3, [R3,#0x208]                                        ; +0x26, 0x3ffe6a\nBLX             R3                                                     ; +0x2a, 0x3ffe6e\nLDR.W           R0, [R5,#0x1C8]                                        ; +0x2c, 0x3ffe70\nMOV             R1, R4                                                 ; +0x30, 0x3ffe74\nLDR             R3, [R0]                                               ; +0x32, 0x3ffe76\nLDR.W           R3, [R3,#0xA4]                                         ; +0x34, 0x3ffe78\nBLX             R3                                                     ; +0x38, 0x3ffe7c\nLDR.W           R0, [R5,#0x1C8]                                        ; +0x3a, 0x3ffe7e\nMOV             R1, R4                                                 ; +0x3e, 0x3ffe82\nPOP.W           {R4-R6,LR}                                             ; +0x40, 0x3ffe84\nLDR             R3, [R0]                                               ; +0x44, 0x3ffe88\nLDR.W           R3, [R3,#0x208]                                        ; +0x46, 0x3ffe8a\nBX              R3                                                     ; +0x4a, 0x3ffe8e", "xrefs": ["EditorPauseLayer::onSong @ 0x3ffeb0", "EditorPauseLayer::customSetup @ 0x4001e4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}