//
// tinyxml2::MemPoolT<72>::~MemPoolT from 0xd93644 to 0xd936c8 (132 bytes)
//
// 2 xrefs:
// > ??> @ 0x5be10
// > ??> @ 0x152f218
//
// 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 tinyxml2::MemPoolT<72>::~MemPoolT(_DWORD *a1)
{
__int64 v2; // x20
int v3; // w19
int v4; // w1
void *v5; // x0
_DWORD *v6; // x0
v2 = 0;
v3 = 0;
v4 = a1[25];
*(_QWORD *)a1 = &off_152F210;
if ( v4 > 0 )
{
do
{
++v3;
v5 = *(void **)(*((_QWORD *)a1 + 1) + v2);
v2 += 8;
operator delete(v5);
}
while ( v3 < a1[25] );
}
v6 = *((_DWORD **)a1 + 1);
if ( v6 != a1 + 4 && v6 )
operator delete[](v6);
operator delete(a1);
}