//
// cocos2d::CCTextureAtlas::setTexture from 0x100269ed4 to 0x100269f10 (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007d2890
//
// 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::CCTextureAtlas::setTexture(cocos2d::CCTextureAtlas *a1, cocos2d::CCTexture2D *a2)
{
cocos2d::CCTexture2D *m_pTexture; // x0
if ( a2 )
cocos2d::CCObject::retain(a2);
m_pTexture = a1->m_pTexture;
if ( m_pTexture )
cocos2d::CCObject::release(m_pTexture);
a1->m_pTexture = a2;
}