//
// cocos2d::CCTMXTiledMap::initWithTMXFile from 0x5f865c to 0x5f8690 (52 bytes)
//
// 1 xrefs:
// > cocos2d::CCTMXTiledMap::create @ 0x5f86aa
//
// 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
//
bool cocos2d::CCTMXTiledMap::initWithTMXFile(cocos2d::CCTMXTiledMap *a1, const char *a2)
{
cocos2d::CCTMXMapInfo *v4; // r0
cocos2d::CCTMXMapInfo *v5; // r4
cocos2d::CCArray *v6; // r0
a1->setContentSize(a1, &stru_ACAB74);
v4 = cocos2d::CCTMXMapInfo::formatWithTMXFile(a2);
v5 = v4;
if ( v4 )
{
v6 = v4->getTilesets(v4);
cocos2d::CCArray::count(v6);
cocos2d::CCTMXTiledMap::buildWithMapInfo(a1, v5);
LOBYTE(v4) = 1;
}
return (char)v4;
}