//
// cocos2d::CCTMXLayer::create from 0x804878 to 0x8048a6 (46 bytes)
//
// 1 xrefs:
// > cocos2d::CCTMXTiledMap::parseLayer @ 0x8050c6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:22 +0000
//
int __fastcall cocos2d::CCTMXLayer::create(
cocos2d::CCTMXLayer *this,
cocos2d::CCTMXTilesetInfo *a2,
cocos2d::CCTMXLayerInfo *a3,
cocos2d::CCTMXMapInfo *a4)
{
cocos2d::CCTMXLayer *v7; // r4
int result; // r0
v7 = (cocos2d::CCTMXLayer *)operator new(0x16Cu);
cocos2d::CCTMXLayer::CCTMXLayer(v7);
result = cocos2d::CCTMXLayer::initWithTilesetInfo(v7, this, a2, a3);
if ( result )
{
cocos2d::CCObject::autorelease(v7);
return (int)v7;
}
return result;
}