//
// sub_1007216D0 from 0x1007216d0 to 0x100721733 (99 bytes)
//
// 2 xrefs:
// > ??> @ 0x1007248ab
// > ??> @ 0x100724ac5
//
// 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:36:14 +0000
//
__int64 __fastcall sub_1007216D0(__int64 *a1)
{
__int64 v1; // rbx
_QWORD *v2; // r14
_QWORD *v3; // rdi
__int64 result; // rax
v1 = *a1;
if ( *a1 )
{
v2 = *(_QWORD **)(v1 + 8);
if ( !v2 )
__assert_rtn("release", "pugixml.cpp", 6232, "cur");
while ( *v2 )
{
v3 = v2;
v2 = (_QWORD *)*v2;
off_100BE07E0(v3);
}
return off_100BE07E0(v1);
}
return result;
}