//
// MenuLayer::willClose from 0x5c2c70 to 0x5c2cc4 (84 bytes)
//
// 5 xrefs:
// > MenuLayer::~MenuLayer @ 0x5c2d28
// > MenuLayer::onPlay @ 0x5c2d90
// > MenuLayer::onCreator @ 0x5c2dec
// > MenuLayer::onGarage @ 0x5c2e44
// > ??> @ 0x7bd08
//
// 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 MenuLayer::willClose(MenuLayer *a1)
{
if ( GooglePlayManager::sharedState()->m_delegate1 == &a1->GooglePlayDelegate )
GooglePlayManager::sharedState()->m_delegate1 = nullptr;
GameManager::sharedState()->m_inMenuLayer = 0;
}