//
// tinyxml2::XMLDocument::SaveFile from 0x7f9f94 to 0x7f9fcc (56 bytes)
//
// 1 xrefs:
// > tinyxml2::XMLDocument::SaveFile @ 0x7f9ff8
//
// 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::SaveFile(tinyxml2::XMLDocument *a1, int a2, char a3)
{
int v4; // r6
_BYTE v6[236]; // [sp+0h] [bp-F0h] BYREF
tinyxml2::XMLPrinter::XMLPrinter((int)v6, a2, a3);
tinyxml2::XMLDocument::Print(a1, (tinyxml2::XMLPrinter *)v6);
v4 = *((_DWORD *)a1 + 12);
tinyxml2::XMLPrinter::~XMLPrinter((tinyxml2::XMLPrinter *)v6);
return v4;
}