{"type": "func", "start": 4193696, "end": 4193744, "name": "EditorPauseLayer::toggleEditorBackground", "pseudocode": "// \n// EditorPauseLayer::toggleEditorBackground from 0x3ffda0 to 0x3ffdd0 (48 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::toggleEditorBackground(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n  LevelEditorLayer *m_editorLayer; // r5\n  GameManager *v5; // r0\n  bool v6; // r1\n\n  v3 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v3, \"0078\");\n  m_editorLayer = a1->m_editorLayer;\n  v5 = GameManager::sharedState();\n  v6 = !GameManager::getGameVariable(v5, \"0078\");\n  LevelEditorLayer::toggleBackground(m_editorLayer, v6);\n}", "assembly": "; \n; EditorPauseLayer::toggleEditorBackground from 0x3ffda0 to 0x3ffdd0 (48 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, 0x3ffda0\nMOV             R5, R0                                                 ; +0x2, 0x3ffda2\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x3ffda4\nLDR             R4, =(a0078 - 0x3FFDAE); \"0078\"                        ; +0x8, 0x3ffda8\nADD             R4, PC; \"0078\"                                         ; +0xa, 0x3ffdaa\nMOV             R1, R4; char *                                         ; +0xc, 0x3ffdac\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0xe, 0x3ffdae\nLDR.W           R5, [R5,#0x1CC]                                        ; +0x12, 0x3ffdb2\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x16, 0x3ffdb6\nMOV             R1, R4; char *                                         ; +0x1a, 0x3ffdba\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x1c, 0x3ffdbc\nEOR.W           R1, R0, #1                                             ; +0x20, 0x3ffdc0\nMOV             R0, R5; this                                           ; +0x24, 0x3ffdc4\nPOP.W           {R3-R5,LR}                                             ; +0x26, 0x3ffdc6\nUXTB            R1, R1; bool                                           ; +0x2a, 0x3ffdca\nB.W             _ZN16LevelEditorLayer16toggleBackgroundEb; LevelEditorLayer::toggleBackground(bool) ; +0x2c, 0x3ffdcc", "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"}