{"type": "func", "start": 4297669552, "end": 4297669666, "name": "EditorPauseLayer::updateSongButton", "pseudocode": "// \n// EditorPauseLayer::updateSongButton from 0x100293bb0 to 0x100293c22 (114 bytes)\n// \n// 0 xrefs:\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 __fastcall EditorPauseLayer::updateSongButton(EditorPauseLayer *a1)\n{\n  GameManager *v2; // rax\n  _BOOL4 m_showSongMarkers; // r14d\n\n  v2 = GameManager::sharedState();\n  m_showSongMarkers = v2->m_showSongMarkers;\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_guidelinesOffButton->setVisible)(\n    a1->m_guidelinesOffButton,\n    v2->m_showSongMarkers);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL4))a1->m_guidelinesOffButton->setEnabled)(\n    a1->m_guidelinesOffButton,\n    m_showSongMarkers);\n  LOBYTE(m_showSongMarkers) = !m_showSongMarkers;\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL4))a1->m_guidelinesOnButton->setVisible)(\n    a1->m_guidelinesOnButton,\n    m_showSongMarkers);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL4))a1->m_guidelinesOnButton->setEnabled)(\n    a1->m_guidelinesOnButton,\n    m_showSongMarkers);\n}", "assembly": "; \n; EditorPauseLayer::updateSongButton from 0x100293bb0 to 0x100293c22 (114 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x100293bb0\nmov     rbp, rsp                                                       ; +0x1, 0x100293bb1\npush    r14                                                            ; +0x4, 0x100293bb4\npush    rbx                                                            ; +0x6, 0x100293bb6\nmov     rbx, rdi                                                       ; +0x7, 0x100293bb7\ncall    GameManager__sharedState                                       ; +0xa, 0x100293bba\nmovzx   r14d, byte ptr [rax+371h]                                      ; +0xf, 0x100293bbf\nmov     rdi, [rbx+238h]                                                ; +0x17, 0x100293bc7\nmov     rax, [rdi]                                                     ; +0x1e, 0x100293bce\nmov     esi, r14d                                                      ; +0x21, 0x100293bd1\ncall    qword ptr [rax+148h]                                           ; +0x24, 0x100293bd4\nmov     rdi, [rbx+238h]                                                ; +0x2a, 0x100293bda\nmov     rax, [rdi]                                                     ; +0x31, 0x100293be1\nmov     esi, r14d                                                      ; +0x34, 0x100293be4\ncall    qword ptr [rax+410h]                                           ; +0x37, 0x100293be7\nmov     rdi, [rbx+240h]                                                ; +0x3d, 0x100293bed\nxor     r14b, 1                                                        ; +0x44, 0x100293bf4\nmov     rax, [rdi]                                                     ; +0x48, 0x100293bf8\nmovzx   r14d, r14b                                                     ; +0x4b, 0x100293bfb\nmov     esi, r14d                                                      ; +0x4f, 0x100293bff\ncall    qword ptr [rax+148h]                                           ; +0x52, 0x100293c02\nmov     rdi, [rbx+240h]                                                ; +0x58, 0x100293c08\nmov     rax, [rdi]                                                     ; +0x5f, 0x100293c0f\nmov     rax, [rax+410h]                                                ; +0x62, 0x100293c12\nmov     esi, r14d                                                      ; +0x69, 0x100293c19\npop     rbx                                                            ; +0x6c, 0x100293c1c\npop     r14                                                            ; +0x6d, 0x100293c1d\npop     rbp                                                            ; +0x6f, 0x100293c1f\njmp     rax                                                            ; +0x70, 0x100293c20", "xrefs": [], "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"}