//
// cocos2d::CCTileMapAtlas::create from 0x100210d20 to 0x100210dc8 (168 bytes)
//
// 0 xrefs:
//
// 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:26:58 +0000
//
char *__fastcall cocos2d::CCTileMapAtlas::create(__int64 a1, __int64 a2, unsigned int a3, unsigned int a4)
{
char *v6; // rbx
v6 = (char *)operator new(0x1B0u);
cocos2d::CCAtlasNode::CCAtlasNode(v6);
*(_QWORD *)v6 = off_100AE5320;
*((_QWORD *)v6 + 40) = off_100AE5778;
*((_QWORD *)v6 + 43) = off_100AE57F8;
*(_OWORD *)(v6 + 408) = 0;
*((_DWORD *)v6 + 106) = 0;
if ( (unsigned __int8)cocos2d::CCTileMapAtlas::initWithTileFile(v6, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease(v6);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
return v6;
}