//
// tinyxml2::XMLDocument::LoadFile from 0x7f9aa4 to 0x7f9ae0 (60 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:13 +0000
//
int __fastcall tinyxml2::XMLDocument::LoadFile(tinyxml2::XMLDocument *this, const char *a2)
{
FILE *v4; // r5
tinyxml2::XMLNode::DeleteChildren((int)this);
tinyxml2::XMLDocument::InitDocument(this);
v4 = fopen(a2, "rb");
if ( v4 )
{
tinyxml2::XMLDocument::LoadFile((int)this, v4);
fclose(v4);
}
else
{
tinyxml2::XMLDocument::SetError(this, 3, (int)a2, 0);
}
return *((_DWORD *)this + 12);
}