//
// cocos2d::CCTMXMapInfo::parseXMLString from 0x1800b3460 to 0x1800b3506 (166 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c27b4
//
// 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:22:20 +0000
//
// Hidden C++ exception states: #wind=1
char __fastcall cocos2d::CCTMXMapInfo::parseXMLString(cocos2d::CCTMXMapInfo *this, const char *a2)
{
float v2; // xmm1_4
int v5; // eax
unsigned int v6; // edi
char v7; // bl
struct cocos2d::CCSAXDelegator *v8; // rdx
char v10; // [rsp+38h] [rbp+10h] BYREF
v5 = strlen(a2);
v6 = v5;
if ( !a2 || v5 <= 0 )
return 0;
cocos2d::CCThread::CCThread((cocos2d::CCThread *)&v10);
if ( cocos2d::CCComponent::serialize((cocos2d::CCComponent *)&v10, "UTF-8") )
{
v8 = (cocos2d::CCTMXMapInfo *)((char *)this + 56);
if ( !this )
v8 = nullptr;
cocos2d::CCSAXParser::setDelegator((cocos2d::CCSAXParser *)&v10, v8);
v7 = cocos2d::CCSAXParser::parse((cocos2d::CCSAXParser *)&v10, a2, v6);
}
else
{
v7 = 0;
}
cocos2d::CCNode::updateTweenActionInt((cocos2d::CCNode *)&v10, v2);
return v7;
}