//
// cocos2d::CCTMXTiledMap::initWithXML from 0x1800ae210 to 0x1800ae274 (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b8388
//
// 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
//
char __fastcall cocos2d::CCTMXTiledMap::initWithXML(cocos2d::CCTMXTiledMap *this, const char *a2, const char *a3)
{
cocos2d::CCNode *v6; // rbx
cocos2d::CCArray *v7; // rax
((void (__fastcall *)(cocos2d::CCTMXTiledMap *, _DWORD *))this->setContentSize)(this, dword_1801A9AD8);
v6 = (cocos2d::CCNode *)cocos2d::CCTMXMapInfo::formatWithXML(a2, a3);
v7 = (cocos2d::CCArray *)((__int64 (__fastcall *)(cocos2d::CCNode *))v6->_setZOrder)(v6);
cocos2d::CCArray::count(v7);
cocos2d::CCTMXTiledMap::buildWithMapInfo(this, v6);
return 1;
}