//
// tinyxml2::XMLDocument::Accept from 0xb22314 to 0xb2239c (136 bytes)
//
// 3 xrefs:
// > cocos2d::CCSAXParser::parse @ 0xb04068
// > ??> @ 0xa5de0
// > ??> @ 0x12198a0
//
// 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
//
__int64 __fastcall tinyxml2::XMLDocument::Accept(tinyxml2::XMLDocument *this, tinyxml2::XMLVisitor *a2)
{
_QWORD *i; // x19
if ( (*(unsigned __int8 (__fastcall **)(tinyxml2::XMLVisitor *, tinyxml2::XMLDocument *))(*(_QWORD *)a2 + 16LL))(
a2,
this) )
{
for ( i = *((_QWORD **)this + 6); i; i = (_QWORD *)i[9] )
{
if ( !(*(unsigned __int8 (__fastcall **)(_QWORD *, tinyxml2::XMLVisitor *))(*i + 112LL))(i, a2) )
break;
}
}
return (*(__int64 (__fastcall **)(tinyxml2::XMLVisitor *, tinyxml2::XMLDocument *))(*(_QWORD *)a2 + 24LL))(a2, this);
}