//
// tinyxml2::XMLComment::ShallowClone from 0xb26cf4 to 0xb26d44 (80 bytes)
//
// 2 xrefs:
// > ??> @ 0x35328
// > ??> @ 0x1219610
//
// 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
//
tinyxml2::XMLComment *__fastcall tinyxml2::XMLComment::ShallowClone(
tinyxml2::XMLComment *this,
tinyxml2::XMLDocument *a2,
__int64 a3,
int *a4)
{
tinyxml2::XMLDocument *v4; // x19
const char *Str; // x1
v4 = a2;
if ( a2 )
{
Str = (const char *)tinyxml2::StrPair::GetStr((tinyxml2::XMLComment *)((char *)this + 24), (__int64)a2, a3, a4);
}
else
{
v4 = *((tinyxml2::XMLDocument **)this + 1);
Str = (const char *)tinyxml2::StrPair::GetStr((tinyxml2::XMLComment *)((char *)this + 24), 0, a3, a4);
}
return tinyxml2::XMLDocument::NewComment(v4, Str);
}