{"type": "func", "start": 4193936, "end": 4193972, "name": "EditorPauseLayer::onSong", "pseudocode": "// \n// EditorPauseLayer::onSong from 0x3ffe90 to 0x3ffeb4 (36 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 EditorPauseLayer::onSong(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r5\n\n  v3 = GameManager::sharedState();\n  v3->m_showSongMarkers = !GameManager::sharedState()->m_showSongMarkers;\n  EditorPauseLayer::updateSongButton(a1);\n}", "assembly": "; \n; EditorPauseLayer::onSong from 0x3ffe90 to 0x3ffeb4 (36 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            {R3-R5,LR}                                             ; +0x0, 0x3ffe90\nMOV             R4, R0                                                 ; +0x2, 0x3ffe92\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x3ffe94\nMOV             R5, R0                                                 ; +0x8, 0x3ffe98\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xa, 0x3ffe9a\nLDRB.W          R3, [R0,#0x299]                                        ; +0xe, 0x3ffe9e\nMOV             R0, R4; this                                           ; +0x12, 0x3ffea2\nEOR.W           R3, R3, #1                                             ; +0x14, 0x3ffea4\nSTRB.W          R3, [R5,#0x299]                                        ; +0x18, 0x3ffea8\nPOP.W           {R3-R5,LR}                                             ; +0x1c, 0x3ffeac\nB.W             _ZN16EditorPauseLayer16updateSongButtonEv; EditorPauseLayer::updateSongButton(void) ; +0x20, 0x3ffeb0", "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"}