//
// pugi::xml_parse_result::description from 0x605934 to 0x6059bc (136 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
//
const char *__fastcall pugi::xml_parse_result::description(pugi::xml_parse_result *this)
{
const char *result; // r0
switch ( *(_DWORD *)this )
{
case 0:
result = "No error";
break;
case 1:
result = "File was not found";
break;
case 2:
result = "Error reading from file/stream";
break;
case 3:
result = "Could not allocate memory";
break;
case 4:
result = "Internal error occurred";
break;
case 5:
result = "Could not determine tag type";
break;
case 6:
result = "Error parsing document declaration/processing instruction";
break;
case 7:
result = "Error parsing comment";
break;
case 8:
result = "Error parsing CDATA section";
break;
case 9:
result = "Error parsing document type declaration";
break;
case 0xA:
result = "Error parsing PCDATA section";
break;
case 0xB:
result = "Error parsing start element tag";
break;
case 0xC:
result = "Error parsing element attribute";
break;
case 0xD:
result = "Error parsing end element tag";
break;
case 0xE:
result = "Start-end tags mismatch";
break;
case 0xF:
result = "Unable to append nodes: root is not an element or document";
break;
case 0x10:
result = "No document element found";
break;
default:
result = "Unknown error";
break;
}
return result;
}