//
// SecretLayer3::onExit from 0xa8a500 to 0xa8a530 (48 bytes)
//
// 2 xrefs:
// > ??> @ 0x6c598
// > ??> @ 0x149a6c0
//
// This function is hookable on this platform (idp: arm, 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 13:00:37 +0000
//
__int64 __fastcall SecretLayer3::onExit(SecretLayer3 *this)
{
cocos2d::CCSpriteFrameCache *v1; // x0
cocos2d::CCSpriteFrameCache *v2; // x0
cocos2d::CCTextureCache *v3; // x0
cocos2d::CCTextureCache *v4; // x0
v1 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCLayer::onExit(this);
v2 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v1);
v3 = (cocos2d::CCTextureCache *)cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile(v2, "DungeonSheet.plist");
v4 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v3);
return cocos2d::CCTextureCache::removeTextureForKey(v4, "DungeonSheet.png");
}