//
// pugi::xml_node::type from 0x602988 to 0x602996 (14 bytes)
//
// 39 xrefs:
// > sub_602E4C @ 0x602e76
// > sub_602E4C @ 0x602fcc
// > sub_602E4C @ 0x602fe0
// > sub_602E4C @ 0x603004
// > sub_602E4C @ 0x603140
// > pugi::xml_node::set_name @ 0x603282
// > pugi::xml_node::set_value @ 0x6032b2
// > pugi::xml_node::append_attribute @ 0x6032ee
// > pugi::xml_node::append_attribute @ 0x6032f8
// > pugi::xml_node::prepend_attribute @ 0x603352
// > pugi::xml_node::prepend_attribute @ 0x60335c
// > pugi::xml_node::insert_attribute_before @ 0x6033d4
// > pugi::xml_node::insert_attribute_before @ 0x6033e8
// > pugi::xml_node::insert_attribute_after @ 0x60347c
// > pugi::xml_node::insert_attribute_after @ 0x603490
// > pugi::xml_node::append_child @ 0x603680
// > sub_6036D4 @ 0x6036ec
// > sub_6036D4 @ 0x603772
// > pugi::xml_node::prepend_child @ 0x603826
// > pugi::xml_node::insert_child_before @ 0x6038b4
// > pugi::xml_node::insert_child_after @ 0x603954
// > pugi::xml_node::append_copy @ 0x603ad2
// > pugi::xml_node::prepend_copy @ 0x603b1e
// > pugi::xml_node::insert_copy_after @ 0x603b6c
// > pugi::xml_node::insert_copy_before @ 0x603bbc
// > pugi::xml_node::offset_debug @ 0x604168
// > pugi::xml_node::append_buffer @ 0x60587a
// > pugi::xml_document::save @ 0x606292
// > sub_6065F8 @ 0x606634
// > sub_6065F8 @ 0x60663e
// > sub_6065F8 @ 0x606648
// > sub_6065F8 @ 0x606652
// > sub_6065F8 @ 0x60665c
// > sub_6065F8 @ 0x606666
// > sub_6065F8 @ 0x60667e
// > sub_6065F8 @ 0x60668a
// > sub_606D38 @ 0x606d84
// > sub_606D38 @ 0x606ddc
// > sub_606D38 @ 0x606de6
//
// 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::type(pugi::xml_node *this)
{
pugi::xml_node_struct *result; // r0
result = this->_root;
if ( result )
return (pugi::xml_node_struct *)((*(_DWORD *)result & 7) + 1);
return result;
}