{"type": "func", "start": 7913868, "end": 7913944, "name": "EditorPauseLayer::toggleEditorBackground", "pseudocode": "// \n// EditorPauseLayer::toggleEditorBackground from 0x78c18c to 0x78c1d8 (76 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x9c828\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::toggleEditorBackground(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // x0\n  LevelEditorLayer *m_editorLayer; // x20\n  GameManager *v5; // x0\n  bool GameVariable; // w0\n\n  v3 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v3, \"0078\");\n  m_editorLayer = a1->m_editorLayer;\n  v5 = GameManager::sharedState();\n  GameVariable = GameManager::getGameVariable(v5, \"0078\");\n  LevelEditorLayer::toggleBackground(m_editorLayer, !GameVariable);\n}", "assembly": "; \n; EditorPauseLayer::toggleEditorBackground from 0x78c18c to 0x78c1d8 (76 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x9c828\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, 0x78c18c\nMOV             X29, SP                                                ; +0x4, 0x78c190\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x78c194\nADRP            X19, #a0078@PAGE; \"0078\"                               ; +0xc, 0x78c198\nMOV             X20, X0                                                ; +0x10, 0x78c19c\nADD             X19, X19, #a0078@PAGEOFF; \"0078\"                       ; +0x14, 0x78c1a0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x18, 0x78c1a4\nMOV             X1, X19; char *                                        ; +0x1c, 0x78c1a8\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0x20, 0x78c1ac\nLDR             X20, [X20,#0x248]                                      ; +0x24, 0x78c1b0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x28, 0x78c1b4\nMOV             X1, X19; char *                                        ; +0x2c, 0x78c1b8\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x30, 0x78c1bc\nUXTB            W0, W0                                                 ; +0x34, 0x78c1c0\nEOR             W1, W0, #1; bool                                       ; +0x38, 0x78c1c4\nMOV             X0, X20; this                                          ; +0x3c, 0x78c1c8\nLDP             X19, X20, [SP,#var_s10]                                ; +0x40, 0x78c1cc\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x44, 0x78c1d0\nB               _ZN16LevelEditorLayer16toggleBackgroundEb; LevelEditorLayer::toggleBackground(bool) ; +0x48, 0x78c1d4", "xrefs": ["<???> @ 0x9c828"], "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"}