//
// cocos2d::tgaDestroy from 0x5ece80 to 0x5ece9a (26 bytes)
//
// 2 xrefs:
// > cocos2d::CCTileMapAtlas::~CCTileMapAtlas @ 0x5f9f32
// > cocos2d::CCTileMapAtlas::releaseMap @ 0x5f9faa
//
// 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 __fastcall cocos2d::tgaDestroy(_DWORD *p)
{
void *v2; // r0
if ( p )
{
v2 = (void *)p[3];
if ( v2 )
free(v2);
j_free(p);
}
}