//
// tinyxml2::XMLDocument::PrintError from 0x18009b1e0 to 0x18009b280 (160 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b7014
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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_18009CFD0(Buffer, 0x14u, "%s");
if ( *((_QWORD *)this + 14) )
sub_18009CFD0(v3, 0x14u, "%s");
sub_180074CB0("XMLDocument error id=%d str1=%s str2=%s\n", *((_DWORD *)this + 23), Buffer, v3);
}
}