//
// tinyxml2::XMLDocument::PrintError from 0xd98b34 to 0xd98bf0 (188 bytes)
//
// 1 xrefs:
// > ??> @ 0xcdb88
//
// 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:22 +0000
//
__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;
}