//
// tinyxml2::XMLElement::ParseDeep from 0xd98a50 to 0xd98b34 (228 bytes)
//
// 2 xrefs:
// > ??> @ 0x77bd8
// > ??> @ 0x152f668
//
// 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
//
char *__fastcall tinyxml2::XMLElement::ParseDeep(tinyxml2::XMLElement *this, char *a2, tinyxml2::StrPair *a3)
{
char *v4; // x20
int v5; // w19
char *v7; // x1
char *result; // x0
int v9; // t1
v4 = a2;
v5 = (unsigned __int8)*a2;
if ( (v5 & 0x80) == 0 )
{
while ( isspace(v5) )
{
v9 = (unsigned __int8)*++v4;
v5 = v9;
if ( (v9 & 0x80) != 0 )
goto LABEL_2;
}
if ( v5 == 47 )
{
++v4;
*((_DWORD *)this + 22) = 2;
}
}
LABEL_2:
v7 = tinyxml2::StrPair::ParseName((tinyxml2::XMLElement *)((char *)this + 24), v4);
if ( *((_QWORD *)this + 4) == *((_QWORD *)this + 5) )
return nullptr;
result = tinyxml2::XMLElement::ParseAttributes(this, v7);
if ( !result )
return nullptr;
if ( *result )
{
if ( !*((_DWORD *)this + 22) )
return tinyxml2::XMLNode::ParseDeep(this, result, a3);
}
return result;
}