//
// SecretLayer3::onExit from 0x140584fd0 to 0x14058500b (59 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407dfcb0
// > ??> @ 0x14092ca08
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:34:27 +0000
//
void __fastcall SecretLayer3::onExit(cocos2d::CCLayer *a1)
{
__int64 v1; // rdx
__int64 v2; // rcx
cocos2d::CCSpriteFrameCache *v3; // rax
__int64 v4; // rcx
cocos2d::CCTextureCache *v5; // rax
cocos2d::CCLayer::onExit(a1);
v3 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v2, v1);
cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile(v3, "DungeonSheet.plist");
v5 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v4);
cocos2d::CCTextureCache::removeTextureForKey(v5, "DungeonSheet.png");
}