//
// cocos2d::CCMotionStreak::setTexture from 0xaf7268 to 0xaf72b4 (76 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'cocos2d::CCMotionStreak::setTexture @ 0xaf72b8
// > ??> @ 0x2e398
// > ??> @ 0x1211378
//
// 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::CCMotionStreak::setTexture(cocos2d::CCMotionStreak *a1, cocos2d::CCTexture2D *a2)
{
cocos2d::CCTexture2D *m_pTexture; // x2
m_pTexture = a1->m_pTexture;
if ( m_pTexture != a2 )
{
if ( a2 )
{
cocos2d::CCObject::retain(a2);
m_pTexture = a1->m_pTexture;
}
if ( m_pTexture )
cocos2d::CCObject::release(m_pTexture);
a1->m_pTexture = a2;
}
}