//
// tinyxml2::XMLDocument::PrintError from 0x5eedd4 to 0x5eee40 (108 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall tinyxml2::XMLDocument::PrintError(int this)
{
_DWORD *v1; // r5
const char *v2; // r3
const char *v3; // r3
char v4[20]; // [sp+4h] [bp+0h] BYREF
char v5[20]; // [sp+18h] [bp+14h] BYREF
v1 = (_DWORD *)this;
if ( *(_DWORD *)(this + 48) )
{
memset(v4, 0, sizeof(v4));
memset(v5, 0, sizeof(v5));
v2 = (const char *)v1[14];
if ( v2 )
snprintf(v4, 0x14u, "%s", v2);
v3 = (const char *)v1[15];
if ( v3 )
snprintf(v5, 0x14u, "%s", v3);
return printf("XMLDocument error id=%d str1=%s str2=%s\n", v1[12], v4, v5);
}
return this;
}