//
// tinyxml2::XMLElement::ParseDeep from 0x5eed7c to 0x5eedd2 (86 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
//
tinyxml2::XMLUtil *__fastcall tinyxml2::XMLElement::ParseDeep(
tinyxml2::XMLElement *this,
tinyxml2::XMLUtil *a2,
tinyxml2::StrPair *a3)
{
tinyxml2::XMLUtil *v5; // r0
char *v6; // r1
tinyxml2::XMLUtil *result; // r0
tinyxml2::XMLUtil *v8; // r1
v5 = tinyxml2::XMLUtil::SkipWhiteSpace(a2, (char *)a2);
v6 = (char *)v5;
if ( !v5 )
return nullptr;
if ( *(_BYTE *)v5 == 47 )
{
v6 = (char *)v5 + 1;
*((_DWORD *)this + 11) = 2;
}
v8 = (tinyxml2::XMLUtil *)tinyxml2::StrPair::ParseName((tinyxml2::XMLElement *)((char *)this + 12), v6);
if ( *((_DWORD *)this + 4) == *((_DWORD *)this + 5) )
return nullptr;
result = tinyxml2::XMLElement::ParseAttributes(this, v8);
if ( !result )
return nullptr;
if ( *(_BYTE *)result )
{
if ( !*((_DWORD *)this + 11) )
return tinyxml2::XMLNode::ParseDeep(this, result, a3);
}
return result;
}