//
// cocos2d::CCMotionStreak::setTexture from 0x5d6754 to 0x5d677a (38 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::CCMotionStreak::setTexture @ 0x5d677e
//
// 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; // r0
if ( a1->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;
}
}