//
// tinyxml2::XMLDocument::PrintError from 0x18009ee90 to 0x18009ef32 (162 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c12b4
//
// 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:12 +0000
//
void __fastcall tinyxml2::XMLDocument::PrintError(tinyxml2::XMLDocument *this)
{
__int64 v2; // r9
char v3[16]; // [rsp+20h] [rbp-48h] BYREF
int v4; // [rsp+30h] [rbp-38h]
char Buffer[16]; // [rsp+38h] [rbp-30h] BYREF
int v6; // [rsp+48h] [rbp-20h]
if ( *((_DWORD *)this + 23) )
{
v2 = *((_QWORD *)this + 13);
v6 = 0;
v4 = 0;
*(_OWORD *)Buffer = 0;
*(_OWORD *)v3 = 0;
if ( v2 )
sub_1800A0C60(Buffer, 0x14u, "%s");
if ( *((_QWORD *)this + 14) )
sub_1800A0C60(v3, 0x14u, "%s");
sub_180077BC0("XMLDocument error id=%d str1=%s str2=%s\n", *((_DWORD *)this + 23), Buffer, v3);
}
}