//
// EditorPauseLayer::toggleEditorBackground from 0x8b6c00 to 0x8b6c4c (76 bytes)
//
// 1 xrefs:
// > ??> @ 0xce1b8
//
// This function is hookable on this platform (idp: arm, 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:56:25 +0000
//
__int64 __fastcall EditorPauseLayer::toggleEditorBackground(LevelEditorLayer **this, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
GameManager *v4; // x0
LevelEditorLayer *v5; // x20
GameManager *v6; // x0
char GameVariable; // w0
v3 = (GameManager *)GameManager::sharedState((GameManager *)this);
v4 = (GameManager *)GameManager::toggleGameVariable(v3, "0078");
v5 = *(this + 72);
v6 = (GameManager *)GameManager::sharedState(v4);
GameVariable = GameManager::getGameVariable(v6, "0078");
return LevelEditorLayer::toggleBackground(v5, GameVariable ^ 1u);
}