//
// tinyxml2::XMLComment::ParseDeep from 0x18009e310 to 0x18009e3d4 (196 bytes)
//
// 5 xrefs:
// > ??> @ 0x18010ae90
// > ??> @ 0x180147bf4
// > ??> @ 0x180147c04
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c11c4
//
// 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::XMLComment::ParseDeep(tinyxml2::XMLComment *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) = 12;
*(_QWORD *)(v8 + 104) = a2;
*(_QWORD *)(v8 + 112) = 0;
return (char *)v7;
}
while ( v3 != 45 || strncmp(v6, "-->", 3u) )
{
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 + 3;
if ( !v7 )
goto LABEL_6;
return (char *)v7;
}