//
// pugi::xml_node::parent from 0x602b6c to 0x602b9e (50 bytes)
//
// 40 xrefs:
// > pugi::xml_node::path @ 0x603e22
// > pugi::xml_node::path @ 0x603e32
// > pugi::xml_node::first_element_by_path @ 0x603efe
// > pugi::xml_node::traverse @ 0x604024
// > pugi::xml_node::traverse @ 0x604042
// > pugi::xml_node_iterator::xml_node_iterator @ 0x604670
// > pugi::xml_named_node_iterator::xml_named_node_iterator @ 0x604894
// > sub_6066CC @ 0x6066ee
// > sub_6066CC @ 0x60670c
// > sub_60672C @ 0x6067b0
// > sub_6067EC @ 0x606874
// > sub_6068B0 @ 0x6068ec
// > sub_6068B0 @ 0x606944
// > sub_60697C @ 0x6069e2
// > sub_606A28 @ 0x606a76
// > sub_606A28 @ 0x606afa
// > sub_606A28 @ 0x606b2c
// > sub_606C20 @ 0x606c68
// > sub_606D38 @ 0x606e4e
// > pugi::xpath_node::parent @ 0x607036
// > sub_60703C @ 0x60718c
// > sub_60703C @ 0x6071ac
// > sub_60703C @ 0x6071ca
// > sub_60703C @ 0x6071e0
// > sub_60703C @ 0x607204
// > sub_60703C @ 0x60720c
// > sub_60703C @ 0x60721e
// > sub_60703C @ 0x607226
// > sub_60703C @ 0x607230
// > sub_60730C @ 0x607392
// > sub_60730C @ 0x6073ee
// > sub_607BBC @ 0x607d3c
// > sub_607BBC @ 0x607d82
// > sub_607BBC @ 0x607dbc
// > sub_607BBC @ 0x607e02
// > sub_607BBC @ 0x60849e
// > sub_607BBC @ 0x6084ae
// > sub_607BBC @ 0x60850e
// > sub_607BBC @ 0x608522
// > sub_608878 @ 0x608e5e
//
// 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
//
pugi::xml_node_struct *__fastcall pugi::xml_node::parent(pugi::xml_node *this, pugi::xml_node_struct *a2)
{
pugi::xml_node v3[2]; // [sp+0h] [bp-8h] BYREF
v3[0]._root = (pugi::xml_node_struct *)this;
v3[1]._root = a2;
if ( this->_root )
pugi::xml_node::xml_node(v3, *((_DWORD *)this->_root + 1));
else
pugi::xml_node::xml_node(v3);
return v3[0]._root;
}