//
// pugi::xml_node::previous_sibling from 0x602b30 to 0x602b66 (54 bytes)
//
// 9 xrefs:
// > pugi::xml_node_iterator::operator-- @ 0x604740
// > sub_606A28 @ 0x606a5a
// > sub_606A28 @ 0x606a64
// > sub_606A28 @ 0x606a80
// > sub_606A28 @ 0x606ab0
// > sub_606A28 @ 0x606aea
// > sub_606A28 @ 0x606b0c
// > sub_607BBC @ 0x608664
// > sub_607BBC @ 0x6086bc
//
// 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 *a2)
{
int v2; // r1
pugi::xml_node v4[2]; // [sp+0h] [bp-8h] BYREF
v4[0]._root = (pugi::xml_node_struct *)this;
v4[1]._root = a2;
if ( this->_root && (v2 = *((_DWORD *)this->_root + 5), *(_DWORD *)(v2 + 24)) )
pugi::xml_node::xml_node(v4, v2);
else
pugi::xml_node::xml_node(v4);
return v4[0]._root;
}