//
// GJBaseGameLayer::removeMiddleground from 0x100114c50 to 0x100114c80 (48 bytes)
//
// 1 xrefs:
// > LevelSettingsLayer::selectArtClosed @ 0x10026f522
//
// 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 GJBaseGameLayer::removeMiddleground(GJBaseGameLayer *a1)
{
GJMGLayer *m_middleground; // rdi
m_middleground = a1->m_middleground;
if ( m_middleground )
{
((void (__fastcall *)(GJMGLayer *))m_middleground->removeFromParent)(m_middleground);
a1->m_middleground = nullptr;
}
}