//
// tinyxml2::XMLHandle::ToUnknown from 0x1800d1510 to 0x1800d1543 (51 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ba3b0
//
// 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::XMLUnknown *__fastcall tinyxml2::XMLHandle::ToUnknown(tinyxml2::XMLHandle *this)
{
__int64 v2; // rcx
v2 = *(_QWORD *)this;
if ( v2 && (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 88LL))(v2) )
return (*(struct tinyxml2::XMLUnknown *(__fastcall **)(_QWORD))(**(_QWORD **)this + 88LL))(*(_QWORD *)this);
else
return nullptr;
}