//
// cocos2d::CCTMXMapInfo::formatWithXML from 0x805ea4 to 0x805eda (54 bytes)
//
// 1 xrefs:
// > cocos2d::CCTMXTiledMap::initWithXML @ 0x8052c8
//
// 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:24 +0000
//
cocos2d::CCTMXMapInfo *__fastcall cocos2d::CCTMXMapInfo::formatWithXML(
cocos2d::CCTMXMapInfo *this,
char *a2,
const char *a3)
{
cocos2d::CCTMXMapInfo *v5; // r5
v5 = (cocos2d::CCTMXMapInfo *)operator new(0x98u);
cocos2d::CCTMXMapInfo::CCTMXMapInfo(v5);
if ( cocos2d::CCTMXMapInfo::initWithXML(v5, (const char *)this, a2) )
{
cocos2d::CCObject::autorelease(v5);
return v5;
}
else
{
(*(void (__fastcall **)(cocos2d::CCTMXMapInfo *))(*(_DWORD *)v5 + 8))(v5);
return nullptr;
}
}