//
// tinyxml2::XMLComment::ShallowClone from 0x18009c9d0 to 0x18009c9fb (43 bytes)
//
// 4 xrefs:
// > ??> @ 0x1801047f8
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b7278
// > ??> @ 0x1801b7284
//
// 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::XMLComment::ShallowClone(
tinyxml2::XMLComment *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::XMLComment *)((char *)this + 24));
return tinyxml2::XMLDocument::NewComment(v2, Str);
}