//
// cocos2d::CCTileMapAtlas::releaseMap from 0x5f9fa0 to 0x5f9fc4 (36 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 cocos2d::CCTileMapAtlas::releaseMap(cocos2d::CCTileMapAtlas *a1)
{
cocos2d::sImageTGA *m_pTGAInfo; // r0
cocos2d::CCDictionary *m_pPosToAtlasIndex; // r0
m_pTGAInfo = a1->m_pTGAInfo;
if ( m_pTGAInfo )
cocos2d::tgaDestroy(m_pTGAInfo);
m_pPosToAtlasIndex = a1->m_pPosToAtlasIndex;
a1->m_pTGAInfo = nullptr;
if ( m_pPosToAtlasIndex )
{
cocos2d::CCObject::release(m_pPosToAtlasIndex);
a1->m_pPosToAtlasIndex = nullptr;
}
}