{"type": "func", "start": 4298759528, "end": 4298759584, "name": "EditorPauseLayer::onSong", "pseudocode": "// \n// EditorPauseLayer::onSong from 0x10039dd68 to 0x10039dda0 (56 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::customSetup @ 0x10039c484\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::onSong(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // x20\n\n  v3 = GameManager::sharedState();\n  v3->m_showSongMarkers = !GameManager::sharedState()->m_showSongMarkers;\n  EditorPauseLayer::updateSongButton(a1);\n}", "assembly": "; \n; EditorPauseLayer::onSong from 0x10039dd68 to 0x10039dda0 (56 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::customSetup @ 0x10039c484\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10039dd68\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10039dd6c\nADD             X29, SP, #0x10                                         ; +0x8, 0x10039dd70\nMOV             X19, X0                                                ; +0xc, 0x10039dd74\nBL              GameManager__sharedState                               ; +0x10, 0x10039dd78\nMOV             X20, X0                                                ; +0x14, 0x10039dd7c\nBL              GameManager__sharedState                               ; +0x18, 0x10039dd80\nLDRB            W8, [X0,#0x371]                                        ; +0x1c, 0x10039dd84\nEOR             W8, W8, #1                                             ; +0x20, 0x10039dd88\nSTRB            W8, [X20,#0x371]                                       ; +0x24, 0x10039dd8c\nMOV             X0, X19                                                ; +0x28, 0x10039dd90\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x2c, 0x10039dd94\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x30, 0x10039dd98\nB               EditorPauseLayer__updateSongButton                     ; +0x34, 0x10039dd9c", "xrefs": ["EditorPauseLayer::customSetup @ 0x10039c484"], "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"}