//
// cocos2d::CCTMXMapInfo::parseXMLString from 0xdadc7c to 0xdadd44 (200 bytes)
//
// 2 xrefs:
// > cocos2d::CCTMXMapInfo::initWithXML @ 0xdae7dc
// > ??> @ 0xaf1e0
//
// This function is hookable on this platform (idp: arm, 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 13:08:36 +0000
//
__int64 __fastcall cocos2d::CCTMXMapInfo::parseXMLString(cocos2d::CCTMXMapInfo *this, const char *a2)
{
unsigned int v2; // w20
signed int v5; // w21
unsigned __int8 v7; // w0
__int64 v8; // [xsp+40h] [xbp+40h] BYREF
v2 = 0;
v5 = strlen(a2);
if ( v5 > 0 )
{
cocos2d::CCSAXParser::CCSAXParser(&v8);
v7 = cocos2d::CCSAXParser::init((cocos2d::CCSAXParser *)&v8, "UTF-8");
v2 = v7;
if ( v7 )
{
cocos2d::CCSAXParser::setDelegator(&v8, (__int64)this + 56);
v2 = (unsigned __int8)cocos2d::CCSAXParser::parse((cocos2d::CCSAXParser *)&v8, a2, v5);
}
cocos2d::CCSAXParser::~CCSAXParser((cocos2d::CCSAXParser *)&v8);
}
return v2;
}