//
// tinyxml2::XMLDocument::PrintError from 0x7f9e2c to 0x7f9e98 (108 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:13 +0000
//
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 )
sub_993B88(v4, 20, "%s", v2);
v3 = (const char *)v1[15];
if ( v3 )
sub_993B88(v5, 20, "%s", v3);
return sub_993B2C("XMLDocument error id=%d str1=%s str2=%s\n", v1[12], v4, v5);
}
return this;
}