//
// cocos2d::CCSAXParser::parse from 0x180074e10 to 0x180074e9c (140 bytes)
//
// 6 xrefs:
// > cocos2d::CCSAXParser::parse @ 0x180074de5
// > cocos2d::CCTMXMapInfo::formatWithXML @ 0x1800b3025
// > cocos2d::CCTMXMapInfo::initWithXML @ 0x1800b317e
// > cocos2d::CCTMXMapInfo::parseXMLString @ 0x1800b34cf
// > ??> @ 0x18014cf68
// > ??> @ 0x1801be6d4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:58 +0000
//
// 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;
}