//
// cocos2d::CCTMXTiledMap::initWithTMXFile from 0xb3a93c to 0xb3a9b0 (116 bytes)
//
// 2 xrefs:
// > cocos2d::CCTMXTiledMap::create @ 0xb3a9d8
// > ??> @ 0x89850
//
// 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; // x0
cocos2d::CCArray *v5; // x0
cocos2d::CCTMXMapInfo *v7; // [xsp+28h] [xbp+28h]
a1->setContentSize(a1, &stru_12474A0);
v4 = cocos2d::CCTMXMapInfo::formatWithTMXFile(a2);
if ( !v4 )
return 0;
v7 = v4;
v5 = (cocos2d::CCArray *)((__int64 (*)(void))v4->getTilesets)();
cocos2d::CCArray::count(v5);
cocos2d::CCTMXTiledMap::buildWithMapInfo(a1, v7);
return 1;
}