//
// tinyxml2::XMLDocument::Print from 0xd98cbc to 0xd98d80 (196 bytes)
//
// 2 xrefs:
// > tinyxml2::XMLDocument::SaveFile @ 0xd98db8
// > ??> @ 0xc97a8
//
// This function is hookable on this platform (idp: arm, 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 13:08:23 +0000
//
__int64 __fastcall tinyxml2::XMLDocument::Print(tinyxml2::XMLDocument *this, tinyxml2::XMLPrinter *a2)
{
long double v4; // q0
tinyxml2::XMLPrinter *v5; // x1
_QWORD v7[21]; // [xsp+38h] [xbp+38h] BYREF
void *v8; // [xsp+E0h] [xbp+E0h]
__int64 v9; // [xsp+E8h] [xbp+E8h] BYREF
void *v10; // [xsp+140h] [xbp+140h]
__int64 v11; // [xsp+148h] [xbp+148h] BYREF
v4 = tinyxml2::XMLPrinter::XMLPrinter((__int64)v7, (__int64)&_sF + 152, 0);
if ( a2 )
v5 = a2;
else
v5 = (tinyxml2::XMLPrinter *)v7;
(*(void (__fastcall **)(tinyxml2::XMLDocument *, tinyxml2::XMLPrinter *, long double))(*(_QWORD *)this + 112LL))(
this,
v5,
v4);
v7[0] = off_152F730;
if ( v10 != &v11 && v10 )
operator delete[](v10);
if ( v8 != &v9 && v8 )
operator delete[](v8);
return _stack_chk_guard;
}