//
// MapSelectLayer::onExit from 0x50fb34 to 0x50fb5e (42 bytes)
//
// 0 xrefs:
//
// 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 MapSelectLayer::onExit(MapSelectLayer *a1)
{
cocos2d::CCTextureCache *v2; // r0
GJBigSprite::unloadAll(a1->m_bigSprite);
cocos2d::CCLayer::onExit(a1);
if ( a1->m_unloadTexturesOnExit )
{
v2 = cocos2d::CCTextureCache::sharedTextureCache();
cocos2d::CCTextureCache::removeTextureForKey(v2, "mapimages/image_small.png");
}
}