{"type": "func", "start": 7914096, "end": 7914240, "name": "EditorPauseLayer::updateSongButton", "pseudocode": "// \n// EditorPauseLayer::updateSongButton from 0x78c270 to 0x78c300 (144 bytes)\n// \n// 3 xrefs:\n// > EditorPauseLayer::onSong @ 0x78c334\n// > EditorPauseLayer::customSetup @ 0x78c7dc\n// > <???> @ 0x56c40\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  GameManager *v2; // x0\n  _BOOL4 m_showSongMarkers; // w20\n\n  v2 = GameManager::sharedState();\n  m_showSongMarkers = v2->m_showSongMarkers;\n  a1->m_guidelinesOffButton->setVisible(a1->m_guidelinesOffButton, v2->m_showSongMarkers);\n  a1->m_guidelinesOffButton->setEnabled(a1->m_guidelinesOffButton, m_showSongMarkers);\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 0x78c270 to 0x78c300 (144 bytes)\n; \n; 3 xrefs:\n; > EditorPauseLayer::onSong @ 0x78c334\n; > EditorPauseLayer::customSetup @ 0x78c7dc\n; > <???> @ 0x56c40\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x78c270\nMOV             X29, SP                                                ; +0x4, 0x78c274\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x78c278\nMOV             X19, X0                                                ; +0xc, 0x78c27c\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x10, 0x78c280\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x14, 0x78c284\nLDRB            W20, [X0,#0x331]                                       ; +0x18, 0x78c288\nLDR             X2, [X19,#0x238]                                       ; +0x1c, 0x78c28c\nMOV             W1, W20                                                ; +0x20, 0x78c290\nEOR             W21, W20, #1                                           ; +0x24, 0x78c294\nMOV             X0, X2                                                 ; +0x28, 0x78c298\nLDR             X2, [X2]                                               ; +0x2c, 0x78c29c\nLDR             X2, [X2,#0x148]                                        ; +0x30, 0x78c2a0\nBLR             X2                                                     ; +0x34, 0x78c2a4\nLDR             X2, [X19,#0x238]                                       ; +0x38, 0x78c2a8\nMOV             W1, W20                                                ; +0x3c, 0x78c2ac\nMOV             X0, X2                                                 ; +0x40, 0x78c2b0\nLDR             X2, [X2]                                               ; +0x44, 0x78c2b4\nLDR             X2, [X2,#0x410]                                        ; +0x48, 0x78c2b8\nBLR             X2                                                     ; +0x4c, 0x78c2bc\nLDR             X2, [X19,#0x240]                                       ; +0x50, 0x78c2c0\nMOV             W1, W21                                                ; +0x54, 0x78c2c4\nMOV             X0, X2                                                 ; +0x58, 0x78c2c8\nLDR             X2, [X2]                                               ; +0x5c, 0x78c2cc\nLDR             X2, [X2,#0x148]                                        ; +0x60, 0x78c2d0\nBLR             X2                                                     ; +0x64, 0x78c2d4\nLDR             X2, [X19,#0x240]                                       ; +0x68, 0x78c2d8\nMOV             W1, W21                                                ; +0x6c, 0x78c2dc\nMOV             X0, X2                                                 ; +0x70, 0x78c2e0\nLDR             X2, [X2]                                               ; +0x74, 0x78c2e4\nLDR             X2, [X2,#0x410]                                        ; +0x78, 0x78c2e8\nBLR             X2                                                     ; +0x7c, 0x78c2ec\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x80, 0x78c2f0\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x84, 0x78c2f4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x88, 0x78c2f8\nRET                                                                    ; +0x8c, 0x78c2fc", "xrefs": ["EditorPauseLayer::onSong @ 0x78c334", "EditorPauseLayer::customSetup @ 0x78c7dc", "<???> @ 0x56c40"], "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"}