// // EditorPauseLayer::toggleEditorColorMode from 0x1400dcfe0 to 0x1400dd038 (88 bytes) // // 2 xrefs: // > EditorPauseLayer::customSetup @ 0x1400dc489 // > @ 0x1406c8994 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=1 void EditorPauseLayer::toggleEditorColorMode(EditorPauseLayer *a1, cocos2d::CCObject *a2) { void *v3; // [rsp+30h] [rbp+8h] if ( !qword_1406C2ED8 ) { v3 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00(v3); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); } GameManager::toggleGameVariable((GameManager *)a1, "0036"); LevelEditorLayer::updateEditorMode(a1->m_editorLayer); }