//
// SecretLayer4::onExit from 0x1003564a8 to 0x1003564fc (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007f39b0
//
// 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 SecretLayer4::onExit(SecretLayer4 *a1)
{
cocos2d::CCSpriteFrameCache *v2; // x0
cocos2d::CCTextureCache *v3; // x0
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");
}
}