//
// tinyxml2::XMLElement::GetText from 0x180099640 to 0x18009967d (61 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b6e40
//
// 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
//
const char *__fastcall tinyxml2::XMLElement::GetText(tinyxml2::XMLElement *this)
{
__int64 v2; // rcx
__int64 v3; // rax
v2 = *((_QWORD *)this + 6);
if ( !v2 || !(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2) )
return nullptr;
v3 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 6) + 16LL))(*((_QWORD *)this + 6));
return tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(v3 + 24));
}