//
// LevelEditorLayer::toggleBackground from 0x4618fc to 0x46190c (16 bytes)
//
// 2 xrefs:
// > EditorPauseLayer::toggleEditorBackground @ 0x50903c
// > MapSelectLayer::init @ 0x640e7e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:53 +0000
//
int __fastcall LevelEditorLayer::toggleBackground(LevelEditorLayer *this, bool a2)
{
int result; // r0
result = *((_DWORD *)this + 612);
if ( result )
return (*(int (__fastcall **)(int, bool))(*(_DWORD *)result + 172))(result, a2);
return result;
}