//
// sub_100647DE0 from 0x100647de0 to 0x100647e8c (172 bytes)
//
// 0 xrefs:
//
// 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
//
__int64 __fastcall sub_100647DE0(__int64 a1, unsigned __int64 *a2, __int64 a3, __int64 a4)
{
__int64 *v5; // r14
_QWORD *v6; // r15
_QWORD *v7; // rdi
__int64 *v9[3]; // [rsp+0h] [rbp-40h] BYREF
__int128 v10; // [rsp+18h] [rbp-28h] BYREF
sub_1006447B0((__int64 *)v9, a3, a4);
v10 = *a2;
sub_100647180(a1, v9, &v10);
v5 = v9[0];
if ( v9[0] )
{
v6 = (_QWORD *)v9[0][1];
if ( !v6 )
__assert_rtn("release", "pugixml.cpp", 6232, "cur");
while ( *v6 )
{
v7 = v6;
v6 = (_QWORD *)*v6;
off_10099E668(v7);
}
off_10099E668(v5);
}
return a1;
}