//
// cocos2d::CCMotionStreak::create from 0xaf7da4 to 0xaf7e30 (140 bytes)
//
// 2 xrefs:
// > PlayerObject::setupStreak @ 0x63d1f0
// > ??> @ 0xb5518
//
// 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
//
cocos2d::CCMotionStreak *cocos2d::CCMotionStreak::create(
float a1,
float a2,
float a3,
const cocos2d::ccColor3B *a4,
const char *a5)
{
cocos2d::CCMotionStreak *v6; // x19
v6 = (cocos2d::CCMotionStreak *)operator new(0x1D8u);
cocos2d::CCMotionStreak::CCMotionStreak(v6);
if ( cocos2d::CCMotionStreak::initWithFade(v6, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease(v6);
return v6;
}
else
{
v6->~CCMotionStreak_0(v6);
return nullptr;
}
}