//
// cocos2d::CCMotionStreak::initWithFade from 0x18005d080 to 0x18005d0ea (106 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b312c
//
// 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
//
char __fastcall cocos2d::CCMotionStreak::initWithFade(
cocos2d::CCMotionStreak *this,
float a2,
float a3,
float a4,
const struct cocos2d::_ccColor3B *a5,
struct cocos2d::CCTexture2D *a6)
{
cocos2d::CCTextureCache *v7; // rax
struct cocos2d::CCTexture2D *v8; // rax
v7 = cocos2d::CCTextureCache::sharedTextureCache();
v8 = cocos2d::CCTextureCache::addImage(v7, (const char *)a6, 0);
return cocos2d::CCMotionStreak::initWithFade(this, a2, a3, a4, a5, v8);
}