//
// tinyxml2::XMLElement::Accept from 0xb2243c to 0xb224c8 (140 bytes)
//
// 2 xrefs:
// > ??> @ 0x6c498
// > ??> @ 0x1219800
//
// 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::XMLElement::Accept(tinyxml2::XMLElement *this, tinyxml2::XMLVisitor *a2)
{
_QWORD *i; // x19
if ( (*(unsigned __int8 (__fastcall **)(tinyxml2::XMLVisitor *, tinyxml2::XMLElement *, _QWORD))(*(_QWORD *)a2 + 32LL))(
a2,
this,
*((_QWORD *)this + 12)) )
{
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::XMLElement *))(*(_QWORD *)a2 + 40LL))(a2, this);
}