//
// pugi::xml_document::load_buffer from 0xb5a17c to 0xb5a200 (132 bytes)
//
// 6 xrefs:
// > DS_Dictionary::loadRootSubDictFromFile @ 0xb47b94
// > DS_Dictionary::loadRootSubDictFromFile @ 0xb47ca8
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0xb47ed0
// > DS_Dictionary::loadRootSubDictFromString @ 0xb48168
// > pugi::xml_document::load @ 0xb5a240
// > ??> @ 0x71208
//
// 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@(
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, 0, 0, a6, &a1->_buffer);
return a6;
}