//
// pugi::xml_node::previous_sibling from 0xb51dfc to 0xb51e6c (112 bytes)
//
// 12 xrefs:
// > pugi::xml_node_iterator::operator-- @ 0xb579b4
// > sub_B5BB90 @ 0xb5bbe4
// > sub_B5BB90 @ 0xb5bc24
// > sub_B5BB90 @ 0xb5bc8c
// > sub_B5BB90 @ 0xb5bca4
// > sub_B5BB90 @ 0xb5bcec
// > sub_B5BB90 @ 0xb5bd64
// > sub_B5E2F8 @ 0xb5e848
// > sub_B5E2F8 @ 0xb5e870
// > sub_B5E2F8 @ 0xb5ff1c
// > sub_B5E2F8 @ 0xb5ff44
// > ??> @ 0x461b8
//
// 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::previous_sibling(pugi::xml_node *this)
{
pugi::xml_node_struct *root; // x0
__int64 v2; // x1
pugi::xml_node v4; // [xsp+20h] [xbp+20h] BYREF
root = this->_root;
if ( root && (v2 = *((_QWORD *)root + 5), *(_QWORD *)(v2 + 48)) )
{
pugi::xml_node::xml_node(&v4, v2);
return v4._root;
}
else
{
pugi::xml_node::xml_node(&v4);
return v4._root;
}
}