//
// pugi::xml_node::root from 0xdc56b0 to 0xdc5730 (128 bytes)
//
// 5 xrefs:
// > pugi::xml_node::first_element_by_path @ 0xdc9ee8
// > pugi::xml_node::offset_debug @ 0xdca8ec
// > pugi::xml_node::append_buffer @ 0xdcda0c
// > sub_DD1888 @ 0xdd1c60
// > ??> @ 0x77320
//
// 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:50 +0000
//
__int64 __fastcall pugi::xml_node::root(pugi::xml_node *this)
{
_QWORD *v1; // x0
_QWORD *v2; // x0
__int64 v3; // x1
__int64 v5; // [xsp+20h] [xbp+20h] BYREF
v1 = *(_QWORD **)this;
if ( v1 )
{
v2 = (_QWORD *)(*v1 & 0xFFFFFFFFFFFFFFE0LL);
if ( *v2 )
v3 = *v2 - 64LL;
else
v3 = 0;
pugi::xml_node::xml_node(&v5, v3);
return v5;
}
else
{
pugi::xml_node::xml_node(&v5);
return v5;
}
}