//
// SecretLayer4::onExit from 0x4f21ac to 0x4f21d8 (44 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 SecretLayer4::onExit(SecretLayer4 *a1)
{
cocos2d::CCSpriteFrameCache *v2; // r0
cocos2d::CCTextureCache *v3; // r0
cocos2d::CCLayer::onExit(a1);
if ( a1->m_exiting )
{
v2 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile(v2, "SecretSheet.plist");
v3 = cocos2d::CCTextureCache::sharedTextureCache();
cocos2d::CCTextureCache::removeTextureForKey(v3, "SecretSheet.png");
}
}