//
// GJShopLayer::onExit from 0x4e2fbc to 0x4e3030 (116 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 GJShopLayer::onExit(GJShopLayer *a1)
{
std::string *p_m_sheetName; // r6
cocos2d::CCSpriteFrameCache *v2; // r7
cocos2d::CCTextureCache *v3; // r7
char *v4; // [sp+0h] [bp-Ch] BYREF
v4 = (char *)a1;
p_m_sheetName = &a1->m_sheetName;
cocos2d::CCLayer::onExit(a1);
v2 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
std::operator+((int)&v4, (int)p_m_sheetName, ".plist");
cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile(v2, v4);
sub_774008(&v4);
v3 = cocos2d::CCTextureCache::sharedTextureCache();
std::operator+((int)&v4, (int)p_m_sheetName, ".png");
cocos2d::CCTextureCache::removeTextureForKey(v3, v4);
sub_774008(&v4);
}