//
// cocos2d::tgaDestroy from 0x7f7ec8 to 0x7f7ee2 (26 bytes)
//
// 2 xrefs:
// > cocos2d::CCTileMapAtlas::~CCTileMapAtlas @ 0x8074fa
// > cocos2d::CCTileMapAtlas::releaseMap @ 0x807572
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:11 +0000
//
void __fastcall cocos2d::tgaDestroy(_DWORD *p)
{
void *v2; // r0
if ( p )
{
v2 = (void *)p[3];
if ( v2 )
free(v2);
j_free(p);
}
}