//
// MenuLayer::willClose from 0x30a5d6 to 0x30a600 (42 bytes)
//
// 4 xrefs:
// > MenuLayer::~MenuLayer @ 0x30a654
// > MenuLayer::onPlay @ 0x30a692
// > MenuLayer::onCreator @ 0x30a6cc
// > MenuLayer::onGarage @ 0x30a704
//
// 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;
}