//
// cocos2d::CCTileMapAtlas::releaseMap from 0x100211340 to 0x100211388 (72 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:26:58 +0000
//
__int64 __fastcall cocos2d::CCTileMapAtlas::releaseMap(__int64 a1)
{
void *v2; // rdi
__int64 result; // rax
__int64 v4; // rdi
v2 = *(void **)(a1 + 408);
if ( v2 )
result = sub_1002A91B0(v2);
*(_QWORD *)(a1 + 408) = 0;
v4 = *(_QWORD *)(a1 + 416);
if ( v4 )
{
result = cocos2d::CCObject::release(v4);
*(_QWORD *)(a1 + 416) = 0;
}
return result;
}