//
// pugi::xml_document::load_buffer from 0x180084310 to 0x180084394 (132 bytes)
//
// 7 xrefs:
// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001ba87
// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001bd3a
// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001bdc3
// > DS_Dictionary::loadRootSubDictFromString @ 0x18001bfb0
// > pugi::xml_document::load @ 0x1800842f0
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bf580
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:03 +0000
//
__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_1800843A0(a2, *(_QWORD *)a1, *(_QWORD *)a1, a3, a4, a5, a6, v11, v12, (char *)a1 + 8);
return a2;
}