{"type": "func", "start": 4297671040, "end": 4297671087, "name": "EditorPauseLayer::toggleEditorColorMode", "pseudocode": "// \n// EditorPauseLayer::toggleEditorColorMode from 0x100294180 to 0x1002941af (47 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::customSetup @ 0x1002932fa\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::toggleEditorColorMode(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v2; // rax\n\n  v2 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v2, \"0036\");\n  LevelEditorLayer::updateEditorMode(a1->m_editorLayer);\n}", "assembly": "; \n; EditorPauseLayer::toggleEditorColorMode from 0x100294180 to 0x1002941af (47 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::customSetup @ 0x1002932fa\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    rbp                                                            ; +0x0, 0x100294180\nmov     rbp, rsp                                                       ; +0x1, 0x100294181\npush    rbx                                                            ; +0x4, 0x100294184\npush    rax                                                            ; +0x5, 0x100294185\nmov     rbx, rdi                                                       ; +0x6, 0x100294186\ncall    GameManager__sharedState                                       ; +0x9, 0x100294189\nlea     rsi, a0036; \"0036\"                                             ; +0xe, 0x10029418e\nmov     rdi, rax                                                       ; +0x15, 0x100294195\ncall    GameManager__toggleGameVariable                                ; +0x18, 0x100294198\nmov     rdi, [rbx+248h]                                                ; +0x1d, 0x10029419d\nadd     rsp, 8                                                         ; +0x24, 0x1002941a4\npop     rbx                                                            ; +0x28, 0x1002941a8\npop     rbp                                                            ; +0x29, 0x1002941a9\njmp     LevelEditorLayer__updateEditorMode                             ; +0x2a, 0x1002941aa", "xrefs": ["EditorPauseLayer::customSetup @ 0x1002932fa"], "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"}