//
// PlayLayer::toggleMGVisibility from 0x5c9184 to 0x5c9198 (20 bytes)
//
// 2 xrefs:
// > ??> @ 0x4fb90
// > ??> @ 0x1148a60
//
// 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 PlayLayer::toggleMGVisibility(PlayLayer *a1, bool a2)
{
GJMGLayer *m_middleground; // x0
m_middleground = a1->m_middleground;
if ( m_middleground )
GJMGLayer::toggleVisible02(m_middleground, a2);
}