//
// cocos2d::tgaDestroy from 0xd92dd8 to 0xd92e14 (60 bytes)
//
// 3 xrefs:
// > cocos2d::CCTileMapAtlas::~CCTileMapAtlas @ 0xdb0820
// > cocos2d::CCTileMapAtlas::releaseMap @ 0xdb08c8
// > ??> @ 0x80c98
//
// 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:08:20 +0000
//
void __fastcall cocos2d::tgaDestroy(_QWORD *p)
{
void *v2; // x0
if ( p )
{
v2 = (void *)p[2];
if ( v2 )
free(v2);
free(p);
}
}