//
// cocos2d::CCTMXTiledMap::initWithXML from 0x8052b0 to 0x8052e4 (52 bytes)
//
// 1 xrefs:
// > cocos2d::CCTMXTiledMap::createWithXML @ 0x805302
//
// 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::CCTMXTiledMap::initWithXML(
cocos2d::CCTMXTiledMap *this,
cocos2d::CCTMXMapInfo *a2,
const char *a3)
{
const char *v6; // r2
cocos2d::CCTMXMapInfo *v7; // r4
cocos2d::CCArray *v8; // r0
(*(void (__fastcall **)(cocos2d::CCTMXTiledMap *, void *))(*(_DWORD *)this + 160))(this, &unk_D312D8);
v7 = (cocos2d::CCTMXMapInfo *)cocos2d::CCTMXMapInfo::formatWithXML(a2, a3, v6);
v8 = (cocos2d::CCArray *)(*(int (__fastcall **)(cocos2d::CCTMXMapInfo *))(*(_DWORD *)v7 + 48))(v7);
cocos2d::CCArray::count(v8);
cocos2d::CCTMXTiledMap::buildWithMapInfo(this, v7);
return 1;
}