//
// cocos2d::CCTMXTiledMap::parseLayer from 0x1800b1d10 to 0x1800b1d50 (64 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c2670
//
// 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
//
struct cocos2d::CCTMXLayer *__fastcall cocos2d::CCTMXTiledMap::parseLayer(
cocos2d::CCTMXTiledMap *this,
struct cocos2d::CCTMXLayerInfo *a2,
struct cocos2d::CCTMXMapInfo *a3)
{
struct cocos2d::CCTMXTilesetInfo *v5; // rax
cocos2d::CCTMXLayer *v6; // rax
cocos2d::CCTMXLayer *v7; // rbx
v5 = cocos2d::CCTMXTiledMap::tilesetForLayer(this, a2, a3);
v6 = cocos2d::CCTMXLayer::create(v5, a2, a3);
*((_BYTE *)a2 + 114) = 0;
v7 = v6;
cocos2d::CCTMXLayer::setupTiles(v6);
return v7;
}