//
// tinyxml2::XMLText::ShallowClone from 0x1800a0750 to 0x1800a078f (63 bytes)
//
// 3 xrefs:
// > ??> @ 0x18010ade8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c1548
//
// 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:13 +0000
//
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;
}