//
// cocos2d::CCMotionStreak::setTexture from 0x18005d150 to 0x18005d190 (64 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800f9838
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b3138
//
// 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::CCMotionStreak::setTexture(cocos2d::CCMotionStreak *this, struct cocos2d::CCTexture2D *a2)
{
cocos2d::CCObject *v4; // rcx
if ( *(struct cocos2d::CCTexture2D **)&this->m_nTag != a2 )
{
if ( a2 )
cocos2d::CCObject::retain(a2);
v4 = *(cocos2d::CCObject **)&this->m_nTag;
if ( v4 )
cocos2d::CCObject::release(v4);
*(_QWORD *)&this->m_nTag = a2;
}
}