//
// PlayLayer::toggleMGVisibility from 0x1000b9d30 to 0x1000b9d4c (28 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b7388
//
// 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 __fastcall PlayLayer::toggleMGVisibility(PlayLayer *a1, bool a2)
{
GJMGLayer *m_middleground; // rdi
m_middleground = a1->m_middleground;
if ( m_middleground )
GJMGLayer::toggleVisible02(m_middleground, a2);
}