//
// tinyxml2::StrPair::ParseText from 0x18009ae20 to 0x18009aecc (172 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b6fe4
//
// 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::StrPair::ParseText(tinyxml2::StrPair *this, char *a2, char *Str2, int a4)
{
char v4; // bp
char *v7; // rbx
size_t v10; // rdi
char v11; // al
v4 = *Str2;
v7 = a2;
v10 = -1;
do
++v10;
while ( Str2[v10] );
v11 = *a2;
if ( !*a2 )
return nullptr;
while ( v11 != v4 || strncmp(v7, Str2, v10) )
{
v11 = *++v7;
if ( !v11 )
return nullptr;
}
tinyxml2::StrPair::Set(this, a2, v7, a4);
return &v7[v10];
}