//
// EditorPauseLayer::toggleEditorBackground from 0x78c18c to 0x78c1d8 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x9c828
//
// 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
//
void EditorPauseLayer::toggleEditorBackground(EditorPauseLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
LevelEditorLayer *m_editorLayer; // x20
GameManager *v5; // x0
bool GameVariable; // w0
v3 = GameManager::sharedState();
GameManager::toggleGameVariable(v3, "0078");
m_editorLayer = a1->m_editorLayer;
v5 = GameManager::sharedState();
GameVariable = GameManager::getGameVariable(v5, "0078");
LevelEditorLayer::toggleBackground(m_editorLayer, !GameVariable);
}