//
// GauntletSelectLayer::onExit from 0x1401fb030 to 0x1401fb080 (80 bytes)
//
// 2 xrefs:
// > ??> @ 0x140564c60
// > ??> @ 0x1406cc9fc
//
// 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 GauntletSelectLayer::onExit(GauntletSelectLayer *a1)
{
__int64 v2; // rcx
cocos2d::CCSpriteFrameCache *v3; // rax
cocos2d::CCTextureCache *v4; // rax
cocos2d::CCLayer::onExit(a1);
if ( a1->m_exiting )
{
v3 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v2);
cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile(v3, "GauntletSheet.plist");
v4 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache();
cocos2d::CCTextureCache::removeTextureForKey(v4, "GauntletSheet.png");
}
}