//
// cocos2d::CCSAXParser::parse from 0x1800728d0 to 0x18007295c (140 bytes)
//
// 6 xrefs:
// > cocos2d::CCSAXParser::parse @ 0x1800728a6
// > cocos2d::CCTMXMapInfo::formatWithXML @ 0x1800af6da
// > cocos2d::CCTMXMapInfo::initWithXML @ 0x1800af833
// > cocos2d::CCTMXMapInfo::parseXMLString @ 0x1800afb68
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b4398
//
// 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
//
// Hidden C++ exception states: #wind=2
__int64 __fastcall cocos2d::CCSAXParser::parse(cocos2d::CCSAXParser *this, const char *a2, unsigned int a3)
{
const char *v4; // rdi
_QWORD v7[2]; // [rsp+20h] [rbp-298h] BYREF
_BYTE v8[640]; // [rsp+30h] [rbp-288h] BYREF
v4 = a2;
LOBYTE(a2) = 1;
tinyxml2::XMLDocument::XMLDocument(v8, a2, 0);
tinyxml2::XMLDocument::Parse(v8, v4, a3);
v7[0] = &cocos2d::XmlSaxHander::`vftable';
v7[1] = this;
LOBYTE(a3) = tinyxml2::XMLDocument::Accept((tinyxml2::XMLDocument *)v8, (struct tinyxml2::XMLVisitor *)v7);
v7[0] = &tinyxml2::XMLVisitor::`vftable';
tinyxml2::XMLDocument::~XMLDocument((tinyxml2::XMLDocument *)v8);
return (unsigned __int8)a3;
}