//
// cocos2d::CCTMXMapInfo::formatWithXML from 0xdae7e0 to 0xdae854 (116 bytes)
//
// 2 xrefs:
// > cocos2d::CCTMXTiledMap::initWithXML @ 0xdad24c
// > ??> @ 0xe4a60
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:08:37 +0000
//
cocos2d::CCTMXMapInfo *__fastcall cocos2d::CCTMXMapInfo::formatWithXML(
cocos2d::CCTMXMapInfo *this,
char *a2,
const char *a3)
{
cocos2d::CCTMXMapInfo *v4; // x19
v4 = (cocos2d::CCTMXMapInfo *)operator new(0xE0u);
cocos2d::CCTMXMapInfo::CCTMXMapInfo(v4);
if ( (unsigned __int8)cocos2d::CCTMXMapInfo::initWithXML(v4, (const char *)this, a2) )
{
cocos2d::CCObject::autorelease(v4);
return v4;
}
else
{
(*(void (__fastcall **)(cocos2d::CCTMXMapInfo *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
}