//
// cocos2d::CCSpriteFrame::setTexture from 0x180090370 to 0x1800903b5 (69 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b62b8
//
// 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 *this, struct cocos2d::CCTexture2D *a2)
{
struct cocos2d::CCTexture2D *m_pobTexture; // rcx
m_pobTexture = this->m_pobTexture;
if ( m_pobTexture != a2 )
{
if ( m_pobTexture )
cocos2d::CCObject::release(m_pobTexture);
if ( a2 )
cocos2d::CCObject::retain(a2);
this->m_pobTexture = a2;
}
}