//
// cocos2d::CCTMXLayer::setTileSet from 0x18005bd40 to 0x18005bd80 (64 bytes)
//
// 4 xrefs:
// > ??> @ 0x1800f8fe0
// > ??> @ 0x180105d58
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2f88
//
// 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
//
// Alternative name is '?setSubItems@CCMenuItemToggle@cocos2d@@UEAAXPEAVCCArray@2@@Z'
void __fastcall cocos2d::CCTMXLayer::setTileSet(cocos2d::CCTMXLayer *this, struct cocos2d::CCTMXTilesetInfo *a2)
{
cocos2d::CCObject *v4; // rcx
if ( a2 )
cocos2d::CCObject::retain(a2);
v4 = *((cocos2d::CCObject **)this + 48);
if ( v4 )
cocos2d::CCObject::release(v4);
*((_QWORD *)this + 48) = a2;
}