{"type": "func", "start": 4191208, "end": 4191236, "name": "EditorPauseLayer::toggleEditorColorMode", "pseudocode": "// \n// EditorPauseLayer::toggleEditorColorMode from 0x3ff3e8 to 0x3ff404 (28 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::toggleEditorColorMode(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n\n  v3 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v3, \"0036\");\n  LevelEditorLayer::updateEditorMode(a1->m_editorLayer);\n}", "assembly": "; \n; EditorPauseLayer::toggleEditorColorMode from 0x3ff3e8 to 0x3ff404 (28 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            {R4,LR}                                                ; +0x0, 0x3ff3e8\nMOV             R4, R0                                                 ; +0x2, 0x3ff3ea\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x3ff3ec\nLDR             R1, =(a0036 - 0x3FF3F6); \"0036\"                        ; +0x8, 0x3ff3f0\nADD             R1, PC; \"0036\"                                         ; +0xa, 0x3ff3f2\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0xc, 0x3ff3f4\nLDR.W           R0, [R4,#0x1CC]; this                                  ; +0x10, 0x3ff3f8\nPOP.W           {R4,LR}                                                ; +0x14, 0x3ff3fc\nB.W             _ZN16LevelEditorLayer16updateEditorModeEv; LevelEditorLayer::updateEditorMode(void) ; +0x18, 0x3ff400", "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"}