//
// tinyxml2::XMLElement::GetText from 0x18009d290 to 0x18009d2cd (61 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c1098
//
// 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
//
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));
}