//
// pugi::xml_document::load_buffer_inplace_own from 0x180081680 to 0x180081704 (132 bytes)
//
// 5 xrefs:
// > sub_18007ECE0 @ 0x18007efa5
// > sub_18007EFF0 @ 0x18007f2ba
// > sub_1800817F0 @ 0x18008193c
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b5328
//
// 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_inplace_own(
pugi::xml_document *a1,
__int64 a2,
char *a3,
unsigned __int64 a4,
int a5,
unsigned int a6)
{
pugi::xml_document::destroy(a1);
pugi::xml_document::create(a1);
sub_1800813A0(a2, (__int64)a1->_root, (__int64)a1->_root, a3, a4, a5, a6, 1, 1, &a1->_buffer);
return a2;
}