//
// EditorPauseLayer::toggleEditorBackground from 0x10027f120 to 0x10027f169 (73 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:27:42 +0000
//
__int64 __fastcall EditorPauseLayer::toggleEditorBackground(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v4; // rax
__int64 v5; // rdi
__int64 v6; // rbx
__int64 v7; // rdx
__int64 v8; // rax
char GameVariable; // al
GameManager::sharedState(a1, a2, a3);
v5 = v4;
GameManager::toggleGameVariable(v4, "0078");
v6 = *(_QWORD *)(a1 + 576);
GameManager::sharedState(v5, "0078", v7);
GameVariable = GameManager::getGameVariable(v8, "0078");
return LevelEditorLayer::toggleBackground(v6, GameVariable ^ 1u);
}