//
// cocos2d::CCTMXMapInfo::parseXMLString from 0x1800afaf0 to 0x1800afb9f (175 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b84e4
//
// 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=1
char __fastcall cocos2d::CCTMXMapInfo::parseXMLString(cocos2d::CCTMXMapInfo *this, const char *a2)
{
float v2; // xmm1_4
__int64 v5; // rbx
char v6; // bl
struct cocos2d::CCSAXDelegator *v7; // rdx
cocos2d::CCThread v9; // [rsp+38h] [rbp+10h] BYREF
v5 = -1;
do
++v5;
while ( a2[v5] );
if ( !a2 || (int)v5 <= 0 )
return 0;
pugi::xml_node::xml_node(&v9);
if ( cocos2d::CCComponent::serialize((cocos2d::CCComponent *)&v9, "UTF-8") )
{
v7 = &this->cocos2d::CCSAXDelegator;
if ( !this )
v7 = nullptr;
cocos2d::CCSAXParser::setDelegator((cocos2d::CCSAXParser *)&v9, v7);
v6 = cocos2d::CCSAXParser::parse((cocos2d::CCSAXParser *)&v9, a2, v5);
}
else
{
v6 = 0;
}
cocos2d::CCNode::updateTweenActionInt((cocos2d::CCNode *)&v9, v2);
return v6;
}