//
// cocos2d::tgaDestroy from 0xb22230 to 0xb2226c (60 bytes)
//
// 3 xrefs:
// > cocos2d::CCTileMapAtlas::~CCTileMapAtlas @ 0xb3dd78
// > cocos2d::CCTileMapAtlas::releaseMap @ 0xb3de20
// > ??> @ 0x5e338
//
// 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(_QWORD *p)
{
void *v2; // x0
if ( p )
{
v2 = (void *)p[2];
if ( v2 )
free(v2);
free(p);
}
}