//
// LevelEditorLayer::toggleBackground from 0x78c314 to 0x78c33c (40 bytes)
//
// 3 xrefs:
// > EditorPauseLayer::toggleEditorBackground @ 0x8b6c48
// > MapSelectLayer::init @ 0xac446c
// > ??> @ 0xc7558
//
// 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:53:27 +0000
//
__int64 __fastcall LevelEditorLayer::toggleBackground(LevelEditorLayer *this, unsigned __int8 a2)
{
__int64 result; // x0
result = *((_QWORD *)this + 493);
if ( result )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 344LL))(result, a2);
return result;
}