{"type": "func", "start": 7914240, "end": 7914296, "name": "EditorPauseLayer::onSong", "pseudocode": "// \n// EditorPauseLayer::onSong from 0x78c300 to 0x78c338 (56 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x927f0\n// > EditorPauseLayer::customSetup @ 0x78c6c4\n// > EditorPauseLayer::customSetup @ 0x78c6e8\n// > <???> @ 0x122d008\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; // x19\n\n  v3 = GameManager::sharedState();\n  v3->m_showSongMarkers = !GameManager::sharedState()->m_showSongMarkers;\n  EditorPauseLayer::updateSongButton(a1);\n}", "assembly": "; \n; EditorPauseLayer::onSong from 0x78c300 to 0x78c338 (56 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x927f0\n; > EditorPauseLayer::customSetup @ 0x78c6c4\n; > EditorPauseLayer::customSetup @ 0x78c6e8\n; > <???> @ 0x122d008\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,#-0x20+var_s0]!                          ; +0x0, 0x78c300\nMOV             X29, SP                                                ; +0x4, 0x78c304\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x78c308\nMOV             X20, X0                                                ; +0xc, 0x78c30c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x10, 0x78c310\nMOV             X19, X0                                                ; +0x14, 0x78c314\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x18, 0x78c318\nLDRB            W1, [X0,#0x331]                                        ; +0x1c, 0x78c31c\nMOV             X0, X20; this                                          ; +0x20, 0x78c320\nEOR             W1, W1, #1                                             ; +0x24, 0x78c324\nSTRB            W1, [X19,#0x331]                                       ; +0x28, 0x78c328\nLDP             X19, X20, [SP,#var_s10]                                ; +0x2c, 0x78c32c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x30, 0x78c330\nB               _ZN16EditorPauseLayer16updateSongButtonEv; EditorPauseLayer::updateSongButton(void) ; +0x34, 0x78c334", "xrefs": ["<???> @ 0x927f0", "EditorPauseLayer::customSetup @ 0x78c6c4", "EditorPauseLayer::customSetup @ 0x78c6e8", "<???> @ 0x122d008"], "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"}