//
// tinyxml2::XMLDocument::Accept from 0x1800982c0 to 0x180098325 (101 bytes)
//
// 6 xrefs:
// > cocos2d::CCSAXParser::parse @ 0x180072926
// > ??> @ 0x180104b18
// > ??> @ 0x18013eabc
// > ??> @ 0x18013eacc
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b6b7c
//
// 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
//
bool __fastcall tinyxml2::XMLDocument::Accept(tinyxml2::XMLDocument *this, struct tinyxml2::XMLVisitor *a2)
{
_QWORD *i; // rbx
if ( (*(unsigned __int8 (__fastcall **)(struct tinyxml2::XMLVisitor *, tinyxml2::XMLDocument *))(*(_QWORD *)a2 + 16LL))(
a2,
this) )
{
for ( i = *((_QWORD **)this + 6); i; i = (_QWORD *)i[9] )
{
if ( !(*(unsigned __int8 (__fastcall **)(_QWORD *, struct tinyxml2::XMLVisitor *))(*i + 112LL))(i, a2) )
break;
}
}
return (*(bool (__fastcall **)(struct tinyxml2::XMLVisitor *, tinyxml2::XMLDocument *))(*(_QWORD *)a2 + 32LL))(
a2,
this);
}