//
// cocos2d::CCTMXMapInfo::parseXMLString from 0x805700 to 0x805768 (104 bytes)
//
// 1 xrefs:
// > cocos2d::CCTMXMapInfo::initWithXML @ 0x805ea0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:23 +0000
//
int __fastcall cocos2d::CCTMXMapInfo::parseXMLString(cocos2d::CCTMXMapInfo *this, const char *a2, int a3)
{
signed int v5; // r8
int v6; // r6
_DWORD v8[3]; // [sp+0h] [bp-Ch] BYREF
v8[0] = this;
v8[1] = a2;
v8[2] = a3;
v5 = strlen(a2);
if ( v5 <= 0 )
return 0;
cocos2d::CCSAXParser::CCSAXParser(v8);
v6 = cocos2d::CCSAXParser::init((cocos2d::CCSAXParser *)v8, "UTF-8");
if ( v6 )
{
cocos2d::CCSAXParser::setDelegator(v8, (int)this + 52);
v6 = cocos2d::CCSAXParser::parse((cocos2d::CCSAXParser *)v8, a2, v5);
}
cocos2d::CCSAXParser::~CCSAXParser((cocos2d::CCSAXParser *)v8);
return v6;
}