//
// pugi::xml_document::load_buffer_inplace from 0xb5a254 to 0xb5a2d8 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x57f30
//
// 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 __usercall pugi::xml_document::load_buffer_inplace@(
pugi::xml_document *a1@,
unsigned __int8 *a2@,
unsigned __int64 a3@,
unsigned int a4@,
int a5@,
__int64 a6@)
{
pugi::xml_document::reset(a1);
sub_B57FA0(a1->_root, a1->_root, a2, a3, a4, a5, 1, 0, a6, &a1->_buffer);
return a6;
}