//
// cocos2d::CCTMXMapInfo::formatWithTMXFile from 0xb3c0cc to 0xb3c138 (108 bytes)
//
// 2 xrefs:
// > cocos2d::CCTMXTiledMap::initWithTMXFile @ 0xb3a968
// > ??> @ 0x5bb48
//
// 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 *v1; // x19
v1 = (cocos2d::CCTMXMapInfo *)operator new(0xB0u);
cocos2d::CCTMXMapInfo::CCTMXMapInfo(v1);
if ( cocos2d::CCTMXMapInfo::initWithTMXFile(v1, a1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
v1->~CCTMXMapInfo_0(v1);
return nullptr;
}
}