//
// cocos2d::CCMotionStreak::initWithFade from 0x5d6f70 to 0x5d6fa6 (54 bytes)
//
// 1 xrefs:
// > cocos2d::CCMotionStreak::create @ 0x5d6fd0
//
// 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
//
bool cocos2d::CCMotionStreak::initWithFade(
cocos2d::CCMotionStreak *a1,
float a2,
float a3,
float a4,
const cocos2d::ccColor3B *a5,
const char *a6)
{
cocos2d::CCTextureCache *v10; // r0
cocos2d::CCTexture2D *v11; // r0
v10 = cocos2d::CCTextureCache::sharedTextureCache();
v11 = cocos2d::CCTextureCache::addImage(v10, a6, 0);
return cocos2d::CCMotionStreak::initWithFade(a1, a2, a3, a4, (int)a5, (int)v11);
}