//
// sub_100722B50 from 0x100722b50 to 0x100722bda (138 bytes)
//
// 5 xrefs:
// > ??> @ 0x100721900
// > ??> @ 0x100722d91
// > ??> @ 0x100723b0d
// > ??> @ 0x100723d9a
// > ??> @ 0x10072403a
//
// 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
//
_QWORD *__fastcall sub_100722B50(__int64 a1)
{
_QWORD *v1; // r14
_QWORD *v3; // rdi
_QWORD *v4; // rbx
_QWORD *result; // rax
_QWORD *v6; // rdi
v1 = *(_QWORD **)(a1 + 8208);
if ( !v1 )
goto LABEL_8;
while ( *v1 )
{
v3 = v1;
v1 = (_QWORD *)*v1;
off_100BE07E0(v3);
}
v4 = *(_QWORD **)(a1 + 8232);
if ( !v4 )
LABEL_8:
__assert_rtn("release", "pugixml.cpp", 6232, "cur");
while ( 1 )
{
result = (_QWORD *)*v4;
if ( !*v4 )
break;
v6 = v4;
v4 = (_QWORD *)*v4;
off_100BE07E0(v6);
}
return result;
}