//
// pugi::xml_document::load from 0x1800812d0 to 0x180081307 (55 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b52c8
//
// 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(__int64 a1, __int64 a2, __int64 a3, int a4)
{
__int64 v6; // r9
v6 = -1;
do
++v6;
while ( *(_BYTE *)(a3 + v6) );
pugi::xml_document::load_buffer(a1, a2, a3, v6, a4, 1);
return a2;
}