//
// pugi::xml_text::_data_new from 0xb56dd8 to 0xb56e5c (132 bytes)
//
// 8 xrefs:
// > pugi::xml_text::set @ 0xb5729c
// > pugi::xml_text::set @ 0xb572f4
// > pugi::xml_text::set @ 0xb57388
// > pugi::xml_text::set @ 0xb57418
// > pugi::xml_text::set @ 0xb57494
// > pugi::xml_text::set @ 0xb5750c
// > pugi::xml_text::set @ 0xb575a0
// > ??> @ 0x36270
//
// 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_text::_data_new(pugi::xml_text *this)
{
pugi::xml_node_struct *result; // x0
pugi::xml_node v3; // [xsp+38h] [xbp+38h] BYREF
pugi::xml_node v4; // [xsp+40h] [xbp+40h] BYREF
result = (pugi::xml_node_struct *)pugi::xml_text::_data(this);
if ( !result )
{
pugi::xml_node::xml_node(&v4, *(_QWORD *)this);
v3._root = pugi::xml_node::append_child(&v4, 3u);
return pugi::xml_node::internal_object(&v3);
}
return result;
}