{"type": "func", "start": 5279496, "end": 5279524, "name": "EditorPauseLayer::toggleEditorColorMode", "pseudocode": "// \n// EditorPauseLayer::toggleEditorColorMode from 0x508f08 to 0x508f24 (28 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:51:26 +0000\n// \n\nunsigned int __fastcall EditorPauseLayer::toggleEditorColorMode(LevelEditorLayer **this, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n\n  v3 = (GameManager *)GameManager::sharedState((GameManager *)this);\n  GameManager::toggleGameVariable(v3, \"0036\");\n  return LevelEditorLayer::updateEditorMode(*(this + 114));\n}", "assembly": "; \n; EditorPauseLayer::toggleEditorColorMode from 0x508f08 to 0x508f24 (28 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:51:26 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x508f08\nMOV             R4, R0                                                 ; +0x2, 0x508f0a\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x508f0c\nLDR             R1, =(a0036 - 0x508F16); \"0036\"                        ; +0x8, 0x508f10\nADD             R1, PC; \"0036\"                                         ; +0xa, 0x508f12\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0xc, 0x508f14\nLDR.W           R0, [R4,#0x1C8]; this                                  ; +0x10, 0x508f18\nPOP.W           {R4,LR}                                                ; +0x14, 0x508f1c\nB.W             _ZN16LevelEditorLayer16updateEditorModeEv; LevelEditorLayer::updateEditorMode(void) ; +0x18, 0x508f20", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}