//
// tinyxml2::XMLUnknown::ShallowClone from 0x18009cb00 to 0x18009cb2b (43 bytes)
//
// 3 xrefs:
// > ??> @ 0x180104918
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b72b4
//
// 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::XMLUnknown::ShallowClone(
tinyxml2::XMLUnknown *this,
struct XMLDocument *a2)
{
tinyxml2::XMLDocument *v2; // rbx
const char *Str; // rax
v2 = a2;
if ( !a2 )
v2 = *((tinyxml2::XMLDocument **)this + 1);
Str = tinyxml2::StrPair::GetStr((tinyxml2::XMLUnknown *)((char *)this + 24));
return tinyxml2::XMLDocument::NewUnknown(v2, Str);
}