//
// tinyxml2::MemPoolT<104>::Free from 0x1800992c0 to 0x1800992d4 (20 bytes)
//
// 5 xrefs:
// > ??> @ 0x180104a00
// > ??> @ 0x180104a30
// > ??> @ 0x180104a60
// > ??> @ 0x180104a90
// > ??> @ 0x1801438a8
//
// 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
//
// 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;
}