//
// MapSelectLayer::onExit from 0x100269130 to 0x100269177 (71 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008eb318
//
// 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 MapSelectLayer::onExit(MapSelectLayer *a1)
{
cocos2d::CCTextureCache *v1; // rax
GJBigSprite::unloadAll(a1->m_bigSprite);
cocos2d::CCLayer::onExit(a1);
if ( a1->m_unloadTexturesOnExit )
{
v1 = cocos2d::CCTextureCache::sharedTextureCache();
cocos2d::CCTextureCache::removeTextureForKey(v1, "mapimages/image_small.png");
}
}