//
// cocos2d::CCTMXMapInfo::formatWithTMXFile from 0x5f8f0e to 0x5f8f40 (50 bytes)
//
// 1 xrefs:
// > cocos2d::CCTMXTiledMap::initWithTMXFile @ 0x5f8670
//
// 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
//
cocos2d::CCTMXMapInfo *cocos2d::CCTMXMapInfo::formatWithTMXFile(const char *a1)
{
cocos2d::CCTMXMapInfo *v2; // r5
v2 = (cocos2d::CCTMXMapInfo *)operator new(0x80u);
cocos2d::CCTMXMapInfo::CCTMXMapInfo(v2);
if ( cocos2d::CCTMXMapInfo::initWithTMXFile(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
v2->~CCTMXMapInfo_0(v2);
return nullptr;
}
}