//
// pugi::xml_document::load_buffer from 0x180081310 to 0x180081394 (132 bytes)
//
// 7 xrefs:
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bbc8
// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001be42
// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001bf19
// > DS_Dictionary::loadRootSubDictFromString @ 0x18001c0ea
// > pugi::xml_document::load @ 0x1800812f9
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b52d4
//
// 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_document::load_buffer(
pugi::xml_document *a1,
__int64 a2,
__int64 a3,
__int64 a4,
int a5,
int a6)
{
char v11; // [rsp+38h] [rbp-20h]
char v12; // [rsp+40h] [rbp-18h]
pugi::xml_document::destroy(a1);
pugi::xml_document::create(a1);
v12 = 0;
v11 = 0;
sub_1800813A0(a2, a1->_root, a1->_root, a3, a4, a5, a6, v11, v12, &a1->_buffer);
return a2;
}