//
// tinyxml2::XMLComment::ParseDeep from 0x18009a6a0 to 0x18009a74f (175 bytes)
//
// 3 xrefs:
// > ??> @ 0x180104810
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b6f6c
//
// 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
//
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
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;
}
if ( (*((_DWORD *)this + 6) & 0x200) != 0 )
j_j_free_0(*((void **)this + 4));
*((_QWORD *)this + 5) = v6;
*((_QWORD *)this + 4) = a2;
*((_DWORD *)this + 6) = 258;
v7 = v6 + 3;
if ( !v7 )
goto LABEL_6;
return (char *)v7;
}