//
// MapSelectLayer::onExit from 0xac4644 to 0xac4690 (76 bytes)
//
// 2 xrefs:
// > ??> @ 0xf0508
// > ??> @ 0x14ab040
//
// 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:01:06 +0000
//
__int64 __fastcall MapSelectLayer::onExit(GJBigSprite **this)
{
__int64 result; // x0
cocos2d::CCTextureCache *v3; // x0
GJBigSprite::unloadAll(*(this + 51));
cocos2d::CCLayer::onExit((cocos2d::CCLayer *)this);
result = *((unsigned __int8 *)this + 432);
if ( *((_BYTE *)this + 432) )
{
v3 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache((cocos2d::CCTextureCache *)result);
return cocos2d::CCTextureCache::removeTextureForKey(v3, "mapimages/image_small.png");
}
return result;
}