//
// pugi::xml_document::load_file from 0x180084780 to 0x1800847f0 (112 bytes)
//
// 3 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bf5e0
// > ??> @ 0x1801bf5ec
//
// 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_file(
pugi::xml_document *a1,
__int64 a2,
const wchar_t *a3,
unsigned int a4,
int a5)
{
FILE *v9; // rax
pugi::xml_document::destroy(a1);
pugi::xml_document::create(a1);
v9 = wfopen(a3, L"rb");
sub_1800847F0(a2, a1, v9, a4, a5);
return a2;
}