//
// tinyxml2::MemPoolT<104>::Free from 0x18009cf10 to 0x18009cf24 (20 bytes)
//
// 5 xrefs:
// > ??> @ 0x18010b080
// > ??> @ 0x18010b0b0
// > ??> @ 0x18010b0e0
// > ??> @ 0x18010b110
// > ??> @ 0x18014cf68
//
// 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 11:22:12 +0000
//
// Alternative name is '?Free@?$MemPoolT@$0EI@@tinyxml2@@UEAAXPEAX@Z'
// Alternative name is '?Free@?$MemPoolT@$0FI@@tinyxml2@@UEAAXPEAX@Z'
// Alternative name is '?Free@?$MemPoolT@$0GA@@tinyxml2@@UEAAXPEAX@Z'
__int64 __fastcall tinyxml2::MemPoolT<104>::Free(__int64 a1, _QWORD *a2)
{
__int64 result; // rax
if ( a2 )
{
result = *(_QWORD *)(a1 + 104);
--*(_DWORD *)(a1 + 112);
*a2 = result;
*(_QWORD *)(a1 + 104) = a2;
}
return result;
}