//
// cocos2d::CCTextureAtlas::setTexture from 0x1800a6e90 to 0x1800a6eca (58 bytes)
//
// 4 xrefs:
// > ??> @ 0x180104f00
// > ??> @ 0x1801062e8
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b7dac
//
// 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 '?setLayers@CCTMXMapInfo@cocos2d@@UEAAXPEAVCCArray@2@@Z'
void __fastcall cocos2d::CCTextureAtlas::setTexture(cocos2d::CCTextureAtlas *this, struct cocos2d::CCTexture2D *a2)
{
cocos2d::CCTexture2D *m_pTexture; // rcx
if ( a2 )
cocos2d::CCObject::retain(a2);
m_pTexture = this->m_pTexture;
if ( m_pTexture )
cocos2d::CCObject::release(m_pTexture);
this->m_pTexture = a2;
}