//
// pugi::xml_node::type from 0xb51acc to 0xb51aec (32 bytes)
//
// 40 xrefs:
// > sub_B52594 @ 0xb525e8
// > sub_B52594 @ 0xb52954
// > sub_B52594 @ 0xb5307c
// > sub_B52594 @ 0xb53098
// > sub_B52594 @ 0xb530c0
// > pugi::xml_node::set_name @ 0xb542dc
// > pugi::xml_node::set_value @ 0xb54338
// > pugi::xml_node::append_attribute @ 0xb543a8
// > pugi::xml_node::append_attribute @ 0xb543b8
// > pugi::xml_node::prepend_attribute @ 0xb5445c
// > pugi::xml_node::prepend_attribute @ 0xb5446c
// > pugi::xml_node::insert_attribute_before @ 0xb54598
// > pugi::xml_node::insert_attribute_before @ 0xb545a8
// > pugi::xml_node::insert_attribute_after @ 0xb54718
// > pugi::xml_node::insert_attribute_after @ 0xb54728
// > pugi::xml_node::append_child @ 0xb54b40
// > sub_B54BF0 @ 0xb54c24
// > sub_B54BF0 @ 0xb54d50
// > pugi::xml_node::prepend_child @ 0xb54e18
// > pugi::xml_node::insert_child_before @ 0xb54f90
// > pugi::xml_node::insert_child_after @ 0xb5512c
// > pugi::xml_node::append_copy @ 0xb55444
// > pugi::xml_node::prepend_copy @ 0xb554d0
// > pugi::xml_node::insert_copy_after @ 0xb55560
// > pugi::xml_node::insert_copy_before @ 0xb555f4
// > pugi::xml_node::offset_debug @ 0xb56c9c
// > pugi::xml_node::append_buffer @ 0xb59d58
// > pugi::xml_document::save @ 0xb5adec
// > sub_B5B4E0 @ 0xb5b590
// > sub_B5B4E0 @ 0xb5b5c8
// > sub_B5B4E0 @ 0xb5b62c
// > sub_B5B4E0 @ 0xb5b644
// > sub_B5B4E0 @ 0xb5b68c
// > sub_B5B4E0 @ 0xb5b6a0
// > sub_B5B4E0 @ 0xb5b75c
// > sub_B5B4E0 @ 0xb5b76c
// > sub_B5C1E8 @ 0xb5c290
// > sub_B5C1E8 @ 0xb5c308
// > sub_B5C1E8 @ 0xb5c318
// > ??> @ 0xb69d0
//
// 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 pugi::xml_node::type(pugi::xml_node *this)
{
pugi::xml_node_struct *root; // x0
root = this->_root;
if ( root )
return ((unsigned int)*(_QWORD *)root & 7) + 1;
else
return 0;
}