//
// cocos2d::CCTileMapAtlas::create from 0x5fa108 to 0x5fa150 (72 bytes)
//
// 0 xrefs:
//
// 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::CCTileMapAtlas *cocos2d::CCTileMapAtlas::create(const char *a1, const char *a2, int a3, int a4)
{
cocos2d::CCTileMapAtlas *v8; // r5
v8 = (cocos2d::CCTileMapAtlas *)operator new(0x158u);
cocos2d::CCTileMapAtlas::CCTileMapAtlas(v8);
if ( cocos2d::CCTileMapAtlas::initWithTileFile(v8, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease(v8);
return v8;
}
else
{
v8->~CCTileMapAtlas_0(v8);
return nullptr;
}
}