//
// cocos2d::CCMotionStreak::initWithFade from 0x18005f0e0 to 0x18005f14a (106 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd3e4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:50 +0000
//
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);
}