//
// cocos2d::CCTMXLayer::create from 0x1800ac0d0 to 0x1800ac149 (121 bytes)
//
// 4 xrefs:
// > cocos2d::CCTMXTiledMap::buildWithMapInfo @ 0x1800adf8d
// > cocos2d::CCTMXTiledMap::parseLayer @ 0x1800ae48e
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b80dc
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCTMXLayer *__fastcall cocos2d::CCTMXLayer::create(
struct cocos2d::CCTMXTilesetInfo *a1,
struct cocos2d::CCTMXLayerInfo *a2,
struct cocos2d::CCTMXMapInfo *a3)
{
cocos2d::CCTMXLayer *v6; // rax
cocos2d::CCTMXLayer *v7; // rbx
v6 = (cocos2d::CCTMXLayer *)operator new(0x1E8u);
if ( v6 )
v7 = cocos2d::CCTMXLayer::CCTMXLayer(v6);
else
v7 = nullptr;
if ( !cocos2d::CCTMXLayer::initWithTilesetInfo(v7, a1, a2, a3) )
return nullptr;
cocos2d::CCObject::autorelease(v7);
return v7;
}