//
// tinyxml2::XMLUnknown::ParseDeep from 0x18009e970 to 0x18009ea34 (196 bytes)
//
// 5 xrefs:
// > ??> @ 0x18010afb0
// > ??> @ 0x180147c4c
// > ??> @ 0x180147c5c
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c1254
//
// 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::XMLUnknown::ParseDeep(tinyxml2::XMLUnknown *this, char *a2, struct tinyxml2::StrPair *a3)
{
char v3; // al
const char *v6; // rbx
const char *v7; // rbx
__int64 v8; // rax
void **v10; // rdi
v3 = *a2;
v6 = a2;
if ( !*a2 )
{
LABEL_5:
v7 = nullptr;
LABEL_6:
v8 = *((_QWORD *)this + 1);
*(_DWORD *)(v8 + 92) = 14;
*(_QWORD *)(v8 + 104) = a2;
*(_QWORD *)(v8 + 112) = 0;
return (char *)v7;
}
while ( v3 != 62 || strncmp(v6, ">", 1u) )
{
v3 = *++v6;
if ( !v3 )
goto LABEL_5;
}
v10 = (void **)((char *)this + 32);
if ( (*((_DWORD *)this + 6) & 0x200) != 0 )
j_j_free_0(*v10);
*v10 = nullptr;
*((_QWORD *)this + 5) = v6;
*v10 = a2;
*((_DWORD *)this + 6) = 258;
v7 = v6 + 1;
if ( !v7 )
goto LABEL_6;
return (char *)v7;
}