//
// cocos2d::CCTMXLayer::create from 0x1800af8c0 to 0x1800af939 (121 bytes)
//
// 4 xrefs:
// > cocos2d::CCTMXTiledMap::buildWithMapInfo @ 0x1800b17dd
// > cocos2d::CCTMXTiledMap::parseLayer @ 0x1800b1d2e
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c23a0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:19 +0000
//
// 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 *)sub_1800E4AC0(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;
}