//
// EditorPauseLayer::toggleEditorBackground from 0x100294760 to 0x1002947a9 (73 bytes)
//
// 0 xrefs:
//
// 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 __fastcall EditorPauseLayer::toggleEditorBackground(EditorPauseLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v2; // rax
LevelEditorLayer *m_editorLayer; // rbx
GameManager *v4; // rax
bool GameVariable; // al
v2 = GameManager::sharedState();
GameManager::toggleGameVariable(v2, "0078");
m_editorLayer = a1->m_editorLayer;
v4 = GameManager::sharedState();
GameVariable = GameManager::getGameVariable(v4, "0078");
LevelEditorLayer::toggleBackground(m_editorLayer, !GameVariable);
}