//
// tinyxml2::XMLText::ShallowClone from 0x5ee818 to 0x5ee83c (36 bytes)
//
// 0 xrefs:
//
// 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
//
_DWORD *__fastcall tinyxml2::XMLText::ShallowClone(tinyxml2::XMLText *this, tinyxml2::XMLDocument *a2)
{
tinyxml2::XMLDocument *v3; // r5
const char *Str; // r0
_DWORD *result; // r0
v3 = a2;
if ( !a2 )
v3 = *((tinyxml2::XMLDocument **)this + 1);
Str = (const char *)tinyxml2::StrPair::GetStr((tinyxml2::XMLText *)((char *)this + 12));
result = tinyxml2::XMLDocument::NewText(v3, Str);
*((_BYTE *)result + 44) = *((_BYTE *)this + 44);
return result;
}