//
// tinyxml2::XMLElement::ParseDeep from 0x18009e4b0 to 0x18009e558 (168 bytes)
//
// 3 xrefs:
// > ??> @ 0x18010b050
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c120c
//
// This function is hookable on this platform (idp: pc, 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 11:22:12 +0000
//
char *__fastcall tinyxml2::XMLElement::ParseDeep(tinyxml2::XMLElement *this, char *a2, struct tinyxml2::StrPair *a3)
{
char v3; // al
char *i; // rbx
char *v7; // rax
char *result; // rax
v3 = *a2;
for ( i = a2; v3 >= 0; v3 = *++i )
{
if ( !isspace((unsigned __int8)v3) )
break;
}
if ( *i == 47 )
{
*((_DWORD *)this + 22) = 2;
++i;
}
v7 = tinyxml2::StrPair::ParseName((tinyxml2::XMLElement *)((char *)this + 24), i);
if ( *((_QWORD *)this + 4) == *((_QWORD *)this + 5) )
return nullptr;
result = tinyxml2::XMLElement::ParseAttributes(this, v7);
if ( result && *result && !*((_DWORD *)this + 22) )
return tinyxml2::XMLNode::ParseDeep(this, result, a3);
return result;
}