//
// cocos2d::CCSpriteFrame::setTexture from 0x1003582c0 to 0x1003582fc (60 bytes)
//
// 0 xrefs:
//
// 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::CCSpriteFrame::setTexture(cocos2d::CCSpriteFrame *a1, cocos2d::CCTexture2D *a2)
{
cocos2d::CCTexture2D *m_pobTexture; // rdi
m_pobTexture = a1->m_pobTexture;
if ( m_pobTexture != a2 )
{
if ( m_pobTexture )
cocos2d::CCObject::release(m_pobTexture);
if ( a2 )
cocos2d::CCObject::retain(a2);
a1->m_pobTexture = a2;
}
}