//
// cocos2d::CCTMXLayer::create from 0x1002438a0 to 0x10024395c (188 bytes)
//
// 1 xrefs:
// > cocos2d::CCTMXTiledMap::parseLayer @ 0x100519b1a
//
// 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 12:27:18 +0000
//
char *__fastcall cocos2d::CCTMXLayer::create(__int64 a1, __int64 a2, __int64 a3)
{
char *v4; // rbx
v4 = (char *)operator new(0x1E0u);
cocos2d::CCSpriteBatchNode::CCSpriteBatchNode((__int64)v4);
*(_QWORD *)v4 = off_100AF02D0;
*((_QWORD *)v4 + 40) = off_100AF06A0;
sub_100278630(v4 + 356, &unk_100BE1818);
sub_100278630(v4 + 364, &unk_100BE1818);
*((_QWORD *)v4 + 50) = 0;
*((_WORD *)v4 + 204) = 0;
*(_OWORD *)(v4 + 376) = 0;
*(_OWORD *)(v4 + 456) = 0;
if ( !(unsigned __int8)cocos2d::CCTMXLayer::initWithTilesetInfo(v4, a1, a2, a3) )
return nullptr;
cocos2d::CCObject::autorelease(v4);
return v4;
}