//
// tinyxml2::StrPair::ParseText from 0x18009eae0 to 0x18009eb7e (158 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c1284
//
// 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::StrPair::ParseText(tinyxml2::StrPair *this, char *a2, char *Str, int a4)
{
char v4; // di
char *v8; // rbx
size_t v10; // rax
char v11; // dl
size_t v12; // rsi
v4 = *Str;
v8 = a2;
v10 = strlen(Str);
v11 = *v8;
v12 = v10;
if ( !*v8 )
return nullptr;
while ( v11 != v4 || strncmp(v8, Str, v12) )
{
v11 = *++v8;
if ( !v11 )
return nullptr;
}
tinyxml2::StrPair::Set(this, a2, v8, a4);
return &v8[v12];
}