//
// cocos2d::CCTMXTiledMap::parseLayer from 0x1800ae470 to 0x1800ae4b0 (64 bytes)
//
// 3 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b83a0
// > ??> @ 0x1801b83ac
//
// 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
//
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);
BYTE2(a2[2].__vftable) = 0;
v7 = v6;
cocos2d::CCTMXLayer::setupTiles(v6);
return v7;
}