//
// tinyxml2::XMLDocument::Accept from 0x5eceee to 0x5ecf26 (56 bytes)
//
// 1 xrefs:
// > cocos2d::CCSAXParser::parse @ 0x5de4b0
//
// 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
//
int __fastcall tinyxml2::XMLDocument::Accept(tinyxml2::XMLDocument *this, tinyxml2::XMLVisitor *a2)
{
_DWORD *i; // r5
if ( (*(int (__fastcall **)(tinyxml2::XMLVisitor *, tinyxml2::XMLDocument *))(*(_DWORD *)a2 + 8))(a2, this) )
{
for ( i = *((_DWORD **)this + 6);
i && (*(int (__fastcall **)(_DWORD *, tinyxml2::XMLVisitor *))(*i + 56))(i, a2);
i = (_DWORD *)i[9] )
{
;
}
}
return (*(int (__fastcall **)(tinyxml2::XMLVisitor *, tinyxml2::XMLDocument *))(*(_DWORD *)a2 + 12))(a2, this);
}