//
// cocos2d::CCTMXTiledMap::createWithXML from 0x8052e8 to 0x805320 (56 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d::CCTMXTiledMap *__fastcall cocos2d::CCTMXTiledMap::createWithXML(
cocos2d::CCTMXTiledMap *this,
const char *a2,
const char *a3)
{
cocos2d::CCTMXTiledMap *v5; // r5
v5 = (cocos2d::CCTMXTiledMap *)operator new(0x128u);
cocos2d::CCTMXTiledMap::CCTMXTiledMap(v5);
if ( cocos2d::CCTMXTiledMap::initWithXML(v5, this, a2) )
{
cocos2d::CCObject::autorelease(v5);
return v5;
}
else
{
(*(void (__fastcall **)(cocos2d::CCTMXTiledMap *))(*(_DWORD *)v5 + 8))(v5);
return nullptr;
}
}