//
// cocos2d::CCRenderTexture::setSprite from 0x1003c0238 to 0x1003c027c (68 bytes)
//
// 1 xrefs:
// > ??> @ 0x100811d00
//
// 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::CCRenderTexture::setSprite(cocos2d::CCRenderTexture *a1, cocos2d::CCSprite *a2)
{
cocos2d::CCSprite *m_pSprite; // x0
m_pSprite = a1->m_pSprite;
if ( m_pSprite )
cocos2d::CCObject::release(m_pSprite);
a1->m_pSprite = a2;
if ( a2 )
cocos2d::CCObject::retain(a2);
}