//
// tinyxml2::XMLDocument::PrintError from 0xb27f94 to 0xb28050 (188 bytes)
//
// 1 xrefs:
// > ??> @ 0x9c330
//
// 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
//
__int64 __fastcall tinyxml2::XMLDocument::PrintError(tinyxml2::XMLDocument *this)
{
const char *v2; // x3
const char *v3; // x3
_QWORD s[2]; // [xsp+38h] [xbp+38h] BYREF
int v6; // [xsp+48h] [xbp+48h]
char v7[8]; // [xsp+50h] [xbp+50h] BYREF
__int64 v8; // [xsp+58h] [xbp+58h]
int v9; // [xsp+60h] [xbp+60h]
if ( *((_DWORD *)this + 23) )
{
v2 = *((const char **)this + 13);
v6 = 0;
*(_QWORD *)v7 = 0;
v8 = 0;
s[0] = 0;
s[1] = 0;
v9 = 0;
if ( v2 )
snprintf((char *)s, 0x14u, "%s", v2);
v3 = *((const char **)this + 14);
if ( v3 )
snprintf(v7, 0x14u, "%s", v3);
printf("XMLDocument error id=%d str1=%s str2=%s\n", *((_DWORD *)this + 23), (const char *)s, v7);
}
return _stack_chk_guard;
}