//
// cocos2d::CCSpriteFrame::setTexture from 0xb1954c to 0xb19594 (72 bytes)
//
// 2 xrefs:
// > cocos2d::CCSpriteFrame::copyWithZone @ 0xb19654
// > ??> @ 0x67998
//
// 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 cocos2d::CCSpriteFrame::setTexture(cocos2d::CCSpriteFrame *a1, cocos2d::CCTexture2D *a2)
{
cocos2d::CCTexture2D *m_pobTexture; // x2
m_pobTexture = a1->m_pobTexture;
if ( m_pobTexture != a2 )
{
if ( m_pobTexture )
cocos2d::CCObject::release(a1->m_pobTexture);
if ( a2 )
cocos2d::CCObject::retain(a2);
a1->m_pobTexture = a2;
}
}