//
// tinyxml2::XMLText::ShallowClone from 0x18009cac0 to 0x18009caff (63 bytes)
//
// 3 xrefs:
// > ??> @ 0x180104768
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b72a8
//
// 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
//
struct tinyxml2::XMLNode *__fastcall tinyxml2::XMLText::ShallowClone(tinyxml2::XMLText *this, struct XMLDocument *a2)
{
tinyxml2::XMLDocument *v2; // rbx
const char *Str; // rax
struct tinyxml2::XMLNode *result; // rax
v2 = a2;
if ( !a2 )
v2 = *((tinyxml2::XMLDocument **)this + 1);
Str = tinyxml2::StrPair::GetStr((tinyxml2::XMLText *)((char *)this + 24));
result = tinyxml2::XMLDocument::NewText(v2, Str);
*((_BYTE *)result + 88) = *((_BYTE *)this + 88);
return result;
}