//
// cocos2d::CCAtlasNode::setTextureAtlas from 0x180001f70 to 0x180001fb0 (64 bytes)
//
// 5 xrefs:
// > ??> @ 0x1800e5750
// > ??> @ 0x1800eb750
// > ??> @ 0x180105900
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ad12c
//
// 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
//
void __fastcall cocos2d::CCAtlasNode::setTextureAtlas(cocos2d::CCAtlasNode *this, struct cocos2d::CCTextureAtlas *a2)
{
cocos2d::CCTextureAtlas *m_pTextureAtlas; // rcx
if ( a2 )
cocos2d::CCObject::retain(a2);
m_pTextureAtlas = this->m_pTextureAtlas;
if ( m_pTextureAtlas )
cocos2d::CCObject::release(m_pTextureAtlas);
this->m_pTextureAtlas = a2;
}